/* Public pages of the NWP Family Research Panel. The look follows the main
   website, nwpsychometric.com (plan Amendment 7): Inter, the brand blue, the
   teal-to-blue accent, its labels, cards and buttons. Written for a phone
   first, as one narrow column, and widened for a computer second.
   The typeface is served from this site: the content policy allows no other
   site, and no outside service learns who opened a page. */
@font-face { font-family:"Inter"; font-style:normal; font-weight:400 700; font-display:swap;
  src:url(/assets/inter-latin.woff2) format("woff2"); }

:root { --brand:#1a56db; --brand-ink:#12408f; --brand-wash:#eaf0fd; --ink:#141a24; --ink-2:#414a58;
  --ink-3:#636b7a; --rule:#e2e6ec; --rule-2:#cfd5de; --bg:#fff; --bg-2:#f5f7fa; --bad:#a4262c;
  --sans:"Inter","Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif; --r:12px;
  --sh:0 1px 2px rgba(20,26,36,.05),0 8px 24px rgba(20,26,36,.07);
  --grad:linear-gradient(90deg,#0ad8c0,#10afce 45%,#1a81c7 75%,#12539e); }
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; background:var(--bg); color:var(--ink); font:400 1.0625rem/1.6 var(--sans); }
a { color:var(--brand-ink); } a:hover { color:var(--ink); }
:focus-visible { outline:2px solid var(--brand); outline-offset:2px; border-radius:4px; }
.wrap { max-width:46rem; margin:0 auto; padding:0 1.25rem; }
.wrap.wide { max-width:64rem; }
.skip { position:absolute; left:-999px; } .skip:focus { left:1rem; top:1rem; background:#fff; padding:.5rem 1rem; z-index:60; }
h1, h2, h3 { margin:0; line-height:1.15; letter-spacing:-.015em; font-weight:700; }
h1 { font-size:clamp(1.9rem,6vw,2.8rem); }
h2 { font-size:clamp(1.4rem,4vw,1.8rem); margin-bottom:1rem; }
h3 { font-size:1.125rem; line-height:1.3; }
p { margin:0 0 1em; }
.lede { font-size:clamp(1.1rem,2.4vw,1.25rem); color:var(--ink-2); line-height:1.55; margin-top:1.1rem; }
.eyebrow { font:600 .75rem/1.4 var(--sans); letter-spacing:.1em; text-transform:uppercase; color:var(--brand); margin:0 0 .9rem; }
.cap { font-size:.875rem; color:var(--ink-3); margin:.6rem 0 0; }

/* header */
header.site { background:#fff; border-bottom:1px solid var(--rule); }
header.site::before { content:""; display:block; height:4px; background:var(--grad); }
.bar { display:flex; flex-wrap:wrap; align-items:center; gap:.2rem 1.5rem; padding-top:.8rem; padding-bottom:.6rem; }
.logo { line-height:0; } .logo img { height:1.6rem; width:auto; display:block; }
/* The panel's name is the site's title and the way back to the landing page:
   in the brand blue, centered in the space between the logo and the menu
   (Robert, 2026-12-05). */
a.home { flex:1 1 0; min-width:0; text-align:center; font:700 1.25rem/1.2 var(--sans); letter-spacing:-.01em; color:var(--brand); text-decoration:none; }
a.home:hover { color:var(--brand-ink); }
a.home br { display:none; }
nav.main { display:flex; flex-wrap:wrap; align-items:center; gap:.1rem; }
nav.main a { font:500 .9375rem var(--sans); color:var(--ink-2); text-decoration:none; padding:.5rem .65rem; border-radius:8px; white-space:nowrap; }
nav.main a:hover, nav.main a[aria-current=page] { background:var(--bg-2); color:var(--ink); }
nav.main a.btn.small { font:600 .9375rem/1 var(--sans); padding:.6rem 1rem; margin-left:.5rem; color:#fff; }
nav.main a.btn.small:hover { background:var(--brand-ink); color:#fff; }
/* On a phone: the logo at the left of the first line, the title centered on
   its own line, and the pages (and Join) centered on the line below. */
@media (max-width:760px) {
  .bar { padding-top:.9rem; gap:.2rem .8rem; }
  .logo { width:100%; } .logo img { height:1.45rem; }
  a.home { flex:1 1 100%; font-size:1.3rem; padding:.55rem 0 .15rem; }
  nav.main { width:100%; justify-content:center; }
  nav.main a.btn.small { margin-left:.3rem; padding:.55rem .85rem; }
}
@media (max-width:370px) { nav.main a { padding-left:.45rem; padding-right:.45rem; } }

/* sections */
section { padding:clamp(2.25rem,6vw,3.75rem) 0; }
section.tint { background:var(--bg-2); }
section.hero { padding-bottom:clamp(2rem,5vw,3rem); }
section.brand { background:var(--brand); color:#fff; }
section.brand h2 { color:#fff; } section.brand p { color:#e6eeff; }

/* buttons and the join form */
.btn { display:inline-block; font:600 1rem/1 var(--sans); padding:.95rem 1.4rem; border-radius:8px; border:1px solid var(--brand);
  color:var(--brand-ink); background:#fff; text-decoration:none; cursor:pointer; }
.btn:hover { background:var(--brand-wash); color:var(--brand-ink); }
.btn.solid { background:var(--brand); color:#fff; } .btn.solid:hover { background:var(--brand-ink); color:#fff; }
section.brand .btn.solid { background:#fff; color:var(--brand-ink); border-color:#fff; }
.actions { display:flex; flex-wrap:wrap; gap:.7rem; margin-top:1.6rem; }
form.join { display:flex; flex-wrap:wrap; gap:.6rem; margin-top:1.6rem; max-width:32rem; }
form.join label { width:100%; font-weight:600; font-size:.9375rem; }
/* 16px or more, or an iPhone zooms the page when the field is tapped */
form.join input { flex:1 1 14rem; font:400 1rem var(--sans); padding:.85rem .8rem; border:1px solid var(--rule-2); border-radius:8px; min-width:0; color:var(--ink); background:#fff; }
form.join .msg { width:100%; margin:.2rem 0 0; font-weight:600; }
form.join .msg.bad { color:var(--bad); }
section.brand form.join .cap, section.brand form.join .msg { color:#fff; }
section.brand form.join input { border-color:#fff; }

/* cards */
.grid3 { display:grid; grid-template-columns:minmax(0,1fr); gap:1rem; }
@media (min-width:800px) { .grid3 { grid-template-columns:repeat(3,minmax(0,1fr)); } }
.card { background:#fff; border:1px solid var(--rule); border-radius:var(--r); padding:1.35rem; box-shadow:var(--sh); }
.card h3 { margin-bottom:.5rem; } .card p { color:var(--ink-2); margin:0; }
.card p + p { margin-top:.8em; }
.stack { display:grid; gap:1rem; }

/* lists */
ul.check { list-style:none; margin:0 0 1.2rem; padding:0; }
ul.check li { padding:.6rem 0 .6rem 1.8rem; position:relative; border-bottom:1px solid var(--rule); }
ul.check li::before { content:""; position:absolute; left:.2rem; top:1.05rem; width:.5rem; height:.85rem;
  border-right:2px solid var(--brand); border-bottom:2px solid var(--brand); transform:rotate(45deg); }
ul.plain { margin:0 0 1.2rem; padding-left:1.2rem; } ul.plain li { margin:.4rem 0; }
ol.steps { margin:0; padding:0; list-style:none; display:grid; gap:1rem; }
/* Each step has a small picture in place of a number (Robert, 2026-12-05). */
ol.steps li { background:#fff; border:1px solid var(--rule); border-radius:10px; padding:1.2rem 1.2rem 1.2rem 4.6rem; position:relative; }
ol.steps li img { position:absolute; left:1.1rem; top:1.1rem; width:2.6rem; height:2.6rem; padding:.55rem; border-radius:50%; background:var(--brand-wash); }
ol.steps b { display:block; margin-bottom:.3rem; font-size:1.0625rem; }
ol.steps span { color:var(--ink-2); }

/* long text pages */
.text h2 { margin-top:2.4rem; } .text h2:first-child { margin-top:0; }
.text h3 { margin:1.6rem 0 .4rem; }
.text p, .text li { color:var(--ink-2); } .text b { color:var(--ink); }
.qa { border-bottom:1px solid var(--rule); padding:1.1rem 0; } .qa h3 { margin:0 0 .4rem; } .qa p:last-child, .qa ul:last-child { margin-bottom:0; }

/* footer */
footer.site { background:var(--ink); color:#c6ccd8; padding:2.5rem 0 2rem; font-size:.9375rem; }
footer.site a { color:#fff; }
footer.site img { height:1.6rem; width:auto; display:block; margin-bottom:1.2rem; }
footer.site ul { list-style:none; margin:0 0 1.2rem; padding:0; display:flex; flex-wrap:wrap; gap:.5rem 1.4rem; }
footer.site p { margin:0; }
