/* Counselor Practice Exams — marketing site, second pass (31 Oct 2026).
   Shares the app's palette, type scale and card language so the site and the
   product no longer look like two different products. */

:root{
  --ink:#17302F; --green:#1E6B66; --green-2:#2A8079;
  --bg:#F7F4EE; --card:#FFFFFF; --muted:#4B6361; --faint:#8A978E;
  --line:#DDD7CA; --warm:#8A5A14; --amber:#C9821F; --tint:#DCEEEA;
  --sans:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
  --serif:'Plus Jakarta Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --wrap:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);
  font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
a{color:inherit}
img{max-width:100%}

/* ---------- header ---------- */
.site-head{position:sticky;top:0;z-index:40;background:rgba(247,244,238,.92);
  backdrop-filter:saturate(1.6) blur(8px);border-bottom:1px solid var(--line)}
.site-head .wrap{display:flex;align-items:center;gap:18px;height:64px}
.brand .wordmark{display:inline}
.tm{font-size:.52em;vertical-align:super;line-height:0;font-weight:600;letter-spacing:0;margin-left:1px}
.brand{display:flex;align-items:center;gap:9px;text-decoration:none;font-weight:700;
  font-size:17px;letter-spacing:-.01em;margin-right:auto}
.brand .dot{width:24px;height:24px;border-radius:7px;background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M10 18.5l5.5 5.5L26 12.5' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;flex:none}
.site-head nav{display:flex;align-items:center;gap:6px}
.site-head nav a{text-decoration:none;color:var(--muted);font-size:14.5px;padding:8px 11px;
  border-radius:9px;white-space:nowrap}
.site-head nav a:hover{color:var(--ink)}
.site-head nav a[aria-current="page"]{color:var(--ink);font-weight:600;background:var(--tint)}
/* .site-head nav a out-specifies .btn, so the nav CTA needs saying again or it renders
   dark green on dark green. Caught in a screenshot, not in the markup. */
.site-head nav a.btn{color:#fff}
.site-head nav a.btn:hover{color:#fff}

.btn{display:inline-block;background:var(--green);color:#fff;text-decoration:none;
  font-weight:650;font-size:14.5px;padding:10px 18px;border-radius:10px;white-space:nowrap}
.btn:hover{background:var(--green-2)}
.btn.lg{font-size:16px;padding:14px 26px;border-radius:12px}
.btn.alt{background:#fff;color:var(--ink);border:1px solid var(--line)}
.btn.alt:hover{background:#fff;border-color:#CBD6CD}

/* ---------- sections ---------- */
section{padding:76px 0}
section.tight{padding:52px 0}
section.tint{background:#E9EFE9;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.eyebrow{font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--faint);
  font-weight:700;margin:0 0 14px}
h1{font-family:var(--serif);font-weight:400;font-size:clamp(34px,5vw,52px);line-height:1.1;
  letter-spacing:-.015em;margin:0 0 18px;max-width:21ch;text-wrap:balance}
h2{font-family:var(--serif);font-weight:400;font-size:clamp(26px,3.2vw,34px);line-height:1.2;
  letter-spacing:-.01em;margin:0 0 12px;max-width:26ch}
h3{font-size:17px;font-weight:680;margin:0 0 7px;letter-spacing:-.005em}
p{margin:0 0 14px;color:var(--muted)}
p.lede{font-size:18.5px;line-height:1.6;color:var(--muted);max-width:56ch;margin-bottom:26px}
p.note{font-size:13.5px;color:var(--faint);margin-top:14px}
.hero{padding:84px 0 70px}
.cta-row{display:flex;gap:11px;flex-wrap:wrap}

/* ---------- the three questions ---------- */
.q{display:grid;grid-template-columns:62px 1fr;gap:26px;padding:34px 0;border-top:1px solid var(--line)}
.q:first-of-type{border-top:0;padding-top:8px}
.q .idx{font-family:var(--serif);font-size:34px;line-height:1;color:#BFCCC2}
.q h2{margin-bottom:10px}
.q .body{max-width:62ch}
.q .body p:last-child{margin-bottom:0}
.q .aside{font-size:14px;color:var(--faint);border-left:2px solid var(--line);padding-left:14px;margin-top:16px}

/* ---------- cards ---------- */
.grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:22px 24px}
.card .n{font-family:var(--serif);font-size:30px;color:var(--green);line-height:1;margin-bottom:8px}
.card p:last-child{margin-bottom:0}
.card p{font-size:14.5px}

/* ---------- sources ---------- */
.sources{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:9px}
.sources li{display:grid;grid-template-columns:62px 1fr;gap:14px;align-items:baseline;
  padding:11px 0;border-top:1px solid var(--line)}
.sources .n{font-family:var(--serif);font-size:21px;color:var(--green);text-align:right}
.sources .s{font-size:14.5px;color:var(--muted)}

/* ---------- sample question ---------- */
.sample{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:26px 28px;
  max-width:720px;margin-top:22px}
.sample .dom{display:inline-block;font-size:11.5px;letter-spacing:.07em;text-transform:uppercase;
  font-weight:700;color:var(--green);background:var(--tint);border-radius:99px;padding:4px 11px}
.sample .stem{font-size:16.5px;color:var(--ink);margin:14px 0 16px;line-height:1.55}
.opt{border:1px solid var(--line);border-radius:10px;padding:11px 14px;margin-bottom:8px;
  font-size:15px;color:var(--muted)}
.opt.right{border-color:var(--green);background:#EEF4EF;color:var(--ink);font-weight:600}
.why{background:#F4F7F4;border-radius:12px;padding:16px 18px;font-size:14.5px;color:var(--muted);
  line-height:1.6;margin-top:14px}
.why b{color:var(--ink)}
.src{margin-top:12px;padding-top:11px;border-top:1px solid var(--line);font-size:13px;color:var(--faint)}

/* ---------- pricing ---------- */
.price{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:32px 34px;
  max-width:560px}
.price .amt{font-family:var(--serif);font-size:48px;line-height:1;color:var(--ink)}
.price .per{font-size:17px;color:var(--muted);font-family:var(--sans)}
.price ul{list-style:none;margin:22px 0;padding:0}
.price li{font-size:15px;color:var(--muted);padding:9px 0 9px 27px;position:relative;
  border-top:1px solid var(--line)}
.price li:before{content:"";position:absolute;left:3px;top:17px;width:9px;height:5px;
  border-left:2px solid var(--green);border-bottom:2px solid var(--green);transform:rotate(-45deg)}
.renew{background:#E9EFE9;border-radius:12px;padding:15px 17px;font-size:14px;color:var(--muted);
  line-height:1.6;margin:18px 0 0}
.renew b{color:var(--ink)}

/* ---------- footer ---------- */
footer{background:#15211B;color:#B9C9BF;padding:52px 0 40px;font-size:14px}
footer .cols{display:grid;gap:26px;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  padding-bottom:30px;border-bottom:1px solid rgba(255,255,255,.12)}
footer a{display:block;color:#B9C9BF;text-decoration:none;padding:4px 0}
footer a:hover{color:#fff}
footer .brand{color:#fff}
footer .brand .dot{background:#4E8A6B}
footer .legal{font-size:12.5px;color:#7E9389;line-height:1.65;margin:26px 0 0;max-width:92ch}
footer .legal b{color:#B9C9BF}
footer .copyline{font-size:12.5px;color:#7E9389;line-height:1.65;margin:14px 0 0;max-width:92ch}

/* ---------- small screens ---------- */
/* Below ~340px the header could not fit the logo, four links and the button, so the
   button hung past the right edge and the whole page scrolled sideways. Found by
   measuring every page at 320/360/390/430. Let the header wrap instead of overflow. */
@media (max-width:380px){
  .site-head .wrap{flex-wrap:wrap;row-gap:6px}
  .site-head nav{flex-wrap:wrap}
  .site-head nav a{padding:7px 6px;font-size:13.5px}
  /* A nowrap call-to-action is wider than a 320px screen. Let it wrap rather than
     drag the whole page sideways. */
  .btn.lg{white-space:normal;font-size:15px;padding:13px 18px}
  /* The 2027 blueprint table cannot fit; give it its own scroll so the PAGE stays
     locked. A table that scrolls is fine; a page that scrolls sideways is not. */
  table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
}
/* Nothing may push the page sideways. A long unbreakable word -- a URL, an email, a
   DSM code -- is the usual culprit and it depends on the webfont, so it will not show
   up in a test that cannot load one. */
body{overflow-wrap:break-word}
table{max-width:100%}

@media (max-width:760px){
  section{padding:54px 0}
  .hero{padding:52px 0 44px}
  .site-head .wrap{gap:10px;padding:0 16px}
  .site-head nav{gap:2px}
  .site-head nav a{padding:8px 8px;font-size:14px}
  .wrap{padding:0 16px}
  .hide-sm{display:none}
  .q{grid-template-columns:1fr;gap:10px;padding:26px 0}
  .q .idx{font-size:26px}
  .price{padding:26px 22px}
  .sample{padding:20px 18px}
}

/* placeholder notice used on the three legal pages until they are written */
.todo{background:#F3EBE1;border:1px solid #E3D3BE;border-radius:12px;padding:16px 18px;
  font-size:14.5px;color:var(--muted);line-height:1.6}
.todo b{color:var(--ink)}
code{background:#E9EFE9;border-radius:5px;padding:1px 5px;font-size:13.5px}
