/* ============================================================
   NH Labs — AI Assessment landing page
   Aesthetic: "engineered paper" — warm paper, ink lines,
   hard offset shadows, mono spec-labels, green accent,
   yellow marker highlights, blueprint-grid dark sections.
   Theme baked from the approved design tweaks:
   accent green #1F8A4C/#16713D · marker #F2C230 · hard shadows.
   NOTE: form error states are intentionally pinned to red #C23C16
   (NOT var(--accent)) so errors never read as success-green if the
   theme changes. Do not "fix" them back to the accent variable.
   ============================================================ */

:root {
  --paper:    #F3EFE5;
  --paper-2:  #EBE5D7;
  --card:     #FCFAF4;
  --ink:      #17130E;
  --ink-2:    #544C3F;
  --ink-3:    #8A8170;
  --line:     #17130E;
  --accent:   #1F8A4C;
  --accent-2: #16713D;
  --marker:   #F2C230;
  --night:    #0F1F1D;
  --night-2:  #16302B;
  --on-night: #EDE7DA;
  --on-night-2: #9FB1AC;
  --shadow:   4px 4px 0 var(--ink);
  --shadow-sm: 2px 2px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);
  --radius: 4px;
  --maxw: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  overflow-x: hidden;
}

::selection { background: var(--marker); color: var(--ink); }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
section { position: relative; }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.display {
  font-size: clamp(2.7rem, 6.2vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.h2 { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -0.02em; }
p { text-wrap: pretty; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: var(--ink-2); line-height: 1.5; }

/* spec-label / eyebrow */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--marker); }
.eyebrow.on-dark::before { background: var(--marker); }

.mark { background: linear-gradient(transparent 62%, var(--marker) 62% 92%, transparent 92%); }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  padding: 15px 26px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .14s var(--ease), box-shadow .14s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translate(2px,2px); box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn .arrow { transition: transform .18s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1.5px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-color: var(--ink); }
.nav-inner {
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; flex: none;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--accent);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.brand-mark svg { display: block; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.03em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 90px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin: 22px 0 0; }
.hero .lede { margin-top: 24px; max-width: 30ch; }
.hero-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 34px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-2);
  letter-spacing: 0.02em;
}
.avatars { display: flex; }
.avatars span {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--ink);
  margin-left: -9px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  color: var(--ink);
}
.avatars span:first-child { margin-left: 0; }

/* ---------- hero visual (caption + chat mock) ---------- */
.mock-caption { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px 2px; }

/* ---------- friendly chat mock (hero visual) ---------- */
.cmock {
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.cmock-head {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px;
  background: var(--paper-2);
  border-bottom: 1.5px solid var(--ink);
  border-radius: 12px 12px 0 0;
}
.cmock-av {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  background: var(--accent); color: #fff;
  border: 1.5px solid var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700;
}
.cmock-name { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
.cmock-status {
  font-size: 0.78rem; color: var(--ink-3);
  display: flex; align-items: center; gap: 6px;
}
.cmock-status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #1F8A4C; border: 1px solid var(--ink);
}
.cmock-body {
  min-height: 330px;
  padding: 20px 18px 16px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.cbub {
  max-width: 86%;
  padding: 10px 15px;
  border-radius: 16px;
  font-size: 0.92rem; line-height: 1.45;
  border: 1.5px solid var(--ink);
}
.cbub.user {
  align-self: flex-end;
  background: var(--accent); color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: var(--shadow-sm);
  min-height: 2.55em; min-width: 3.2em;
}
.cbub.ai {
  align-self: flex-start;
  background: var(--paper-2); color: var(--ink);
  border-bottom-left-radius: 4px;
}
.cbub.typing { display: flex; gap: 5px; align-items: center; padding: 13px 15px; }
.cbub.typing i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3);
  animation: cdot 1s infinite;
}
.cbub.typing i:nth-child(2) { animation-delay: .15s; }
.cbub.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cdot { 0%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.clist {
  align-self: flex-start;
  width: 100%; max-width: 92%;
  border: 1.5px solid var(--ink); border-radius: 10px;
  background: #fff; box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.clist-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 14px;
  background: var(--marker);
  border-bottom: 1.5px solid var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
}
.clist-head span:last-child { font-family: var(--font-body); font-weight: 500; font-size: 0.76rem; color: var(--ink-2); }
.clist-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  font-size: 0.86rem;
  border-top: 1px solid var(--paper-2);
}
.clist-row:first-of-type { border-top: none; }
.clist-row .tick {
  width: 19px; height: 19px; flex: none; border-radius: 50%;
  background: #1F8A4C; color: #fff;
  display: grid; place-items: center;
}
.clist-row .tick svg { width: 11px; height: 11px; }
.clist-row .when { margin-left: auto; flex: none; color: var(--ink-3); font-size: 0.78rem; }
.clist-row.ready { background: var(--paper-2); color: var(--ink-2); }
.clist-row.ready .when b { color: var(--ink); font-family: var(--font-display); }
.cmock-input {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-top: 1.5px solid var(--ink);
  background: var(--paper-2);
  border-radius: 0 0 12px 12px;
}
.cmock-input .fakefield {
  flex: 1;
  background: #fff; border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem; color: var(--ink-3);
}
.cmock-input .sendbtn {
  width: 36px; height: 36px; flex: none; border-radius: 50%;
  background: var(--accent); color: #fff;
  border: 1.5px solid var(--ink);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.typing-caret {
  display: inline-block; width: 7px; height: 1em; background: var(--marker);
  margin-left: 2px; transform: translateY(2px);
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 0%,50%{opacity:1} 50.01%,100%{opacity:0} }

/* floating badge on hero mock */
.mock-badge {
  position: absolute; right: -16px; top: 26px;
  background: var(--marker); color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 9px 13px; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.02em; transform: rotate(2deg);
}
.mock-badge .big { font-family: var(--font-display); font-size: 1.4rem; display: block; letter-spacing: -0.02em; }

/* ---------- generic section ---------- */
.sec { padding: 96px 0; }
.sec-head { max-width: 56ch; }
.sec-head h2 { margin: 16px 0 0; }
.sec-head .lede { margin-top: 18px; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.step {
  background: var(--card); border: 1.5px solid var(--ink); border-radius: 8px;
  padding: 28px 26px 30px; box-shadow: var(--shadow); position: relative;
}
.step-num {
  font-family: var(--font-display); font-weight: 700; font-size: 3.4rem;
  color: var(--paper-2); line-height: 1; -webkit-text-stroke: 1.5px var(--ink);
}
.step h3 { margin: 6px 0 10px; }
.step p { color: var(--ink-2); }
.step .tag { margin-top: 18px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent-2); letter-spacing: 0.05em; }

/* ---------- quiz ---------- */
.quiz-sec { background: var(--paper); }
.quiz-shell {
  margin-top: 48px;
  border: 1.5px solid var(--ink); border-radius: 12px; background: var(--card);
  box-shadow: var(--shadow-lg); overflow: hidden;
  max-width: 760px; margin-left: auto; margin-right: auto;
}
.quiz-top {
  background: var(--ink); color: var(--paper); padding: 18px 26px;
  display: flex; align-items: center; justify-content: space-between;
}
.quiz-top .lbl { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--marker); }
.quiz-progress { display: flex; gap: 6px; }
.quiz-progress i { width: 26px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.2); display: block; transition: background .3s; }
.quiz-progress i.on { background: var(--accent); }
.quiz-progress i.done { background: var(--marker); }
.quiz-body { padding: 40px 44px 44px; }
.quiz-q { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem,2.4vw,1.9rem); letter-spacing: -0.02em; line-height: 1.1; }
.quiz-sub { color: var(--ink-2); margin-top: 8px; }
.quiz-opts { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.qopt {
  text-align: left; font-family: var(--font-body); font-size: 1.02rem; color: var(--ink);
  padding: 16px 20px; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--paper);
  cursor: pointer; display: flex; align-items: center; gap: 14px;
  transition: transform .12s var(--ease), box-shadow .12s var(--ease);
}
.qopt:hover { transform: translateX(4px); background: var(--card); box-shadow: var(--shadow-sm); }
.qopt .key {
  width: 28px; height: 28px; flex: none; border: 1.5px solid var(--ink); border-radius: 6px;
  display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; font-size: 0.82rem;
  background: var(--card);
}
.qopt.sel { background: var(--accent); color: #fff; border-color: var(--ink); }
.qopt.sel .key { background: #fff; color: var(--ink); }
.quiz-nav { margin-top: 30px; display: flex; align-items: center; justify-content: space-between; }
.quiz-back { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-2); background: none; border: none; cursor: pointer; letter-spacing: 0.04em; padding: 10px 8px; margin: -10px -8px; }
.quiz-back:hover { color: var(--ink); }
.quiz-count { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-2); }
.quiz-q:focus, #quiz-result-head:focus { outline: none; }

/* quiz result */
.qr-head { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; }
.gauge { position: relative; width: 160px; height: 160px; flex: none; }
.gauge svg { transform: rotate(-90deg); }
.gauge .score { position: absolute; inset: 0; display: grid; place-items: center; }
.gauge .score b { font-family: var(--font-display); font-size: 3rem; letter-spacing: -0.04em; line-height: 1; }
.gauge .score span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; color: var(--ink-2); text-transform: uppercase; }
.qr-band { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2); }
.qr-head h3 { font-size: clamp(1.6rem,3vw,2.2rem); margin: 10px 0; }
.qr-head p { color: var(--ink-2); max-width: 40ch; }
.qr-breakdown { margin-top: 30px; display: grid; gap: 14px; }
.qrb-top { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 6px; }
.qrb-top .v { font-family: var(--font-mono); color: var(--ink-2); }
.qrb-bar { height: 9px; border: 1.5px solid var(--ink); border-radius: 5px; overflow: hidden; background: var(--paper); }
.qrb-bar i { display: block; height: 100%; background: var(--accent); transition: width 1s var(--ease); }
.qr-cta { margin-top: 34px; padding-top: 30px; border-top: 1.5px solid var(--ink); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; margin-top: 56px; }
.quote {
  border: 1.5px solid var(--ink); border-radius: 10px; padding: 32px 32px 28px; background: var(--card);
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.quote.big { background: var(--accent); color: #fff; }
.quote .qmark { font-family: var(--font-display); font-size: 3rem; line-height: 0.6; color: var(--marker); }
.quote.big .qmark { color: #fff; }
.quote blockquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.1rem,1.7vw,1.5rem); letter-spacing: -0.02em; line-height: 1.25; margin: 16px 0 auto; }
.quote.big blockquote { font-size: clamp(1.4rem,2.2vw,1.9rem); }
.quote .who { margin-top: 26px; display: flex; align-items: center; gap: 12px; }
.quote .who .av { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; background: var(--marker); color: var(--ink); }
.quote.big .who .av { border-color: #fff; }
.quote .who .nm { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; }
.quote .who .rl { font-size: 0.85rem; color: var(--ink-2); }
.quote.big .who .rl { color: rgba(255,255,255,.8); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; margin-top: 48px; align-items: start; }
.faq-list { border-top: 1.5px solid var(--ink); }
.faq-item { border-bottom: 1.5px solid var(--ink); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; color: var(--ink);
}
.faq-q .pm { flex: none; width: 26px; height: 26px; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; transition: transform .25s; }
.faq-item.open .faq-q .pm { background: var(--accent); color: #fff; transform: rotate(135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-item.open .faq-a { max-height: 480px; } /* headroom for 200% text zoom / narrow screens */
.faq-a > div { padding: 0 0 24px; color: var(--ink-2); max-width: 60ch; }

/* ---------- final CTA ---------- */
.cta-sec { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.cta-sec::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 0);
  background-size: 22px 22px; pointer-events: none;
}
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; }
.cta-sec h2 { color: var(--paper); }
.cta-sec .lede { color: rgba(237,231,218,.75); margin-top: 18px; }
.cta-points { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.cta-points li { display: flex; gap: 12px; align-items: center; list-style: none; color: var(--on-night); }
.cta-points svg { color: var(--marker); flex: none; }
.form-card {
  background: var(--card); color: var(--ink); border: 1.5px solid var(--ink);
  border-radius: 12px; padding: 32px; box-shadow: var(--shadow-lg);
}
.form-card h3 { margin-bottom: 6px; }
.form-card .fc-sub { color: var(--ink-2); font-size: 0.92rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 7px; }
.field input, .field select {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--ink); border-radius: 7px; background: var(--paper);
  transition: box-shadow .15s, border-color .15s;
}
.field input:focus, .field select:focus { outline: none; box-shadow: var(--shadow-sm); border-color: var(--accent-2); }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 1px; }
.field.err input, .field.err select { border-color: #C23C16; background: #fdeee9; }
.field .msg { color: #C23C16; font-size: 0.8rem; margin-top: 5px; display: none; }
.field.err .msg { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; font-size: 0.85rem; color: var(--ink-2); line-height: 1.4; cursor: pointer; }
.check-row input { width: 18px; height: 18px; flex: none; margin-top: 1px; accent-color: var(--accent); cursor: pointer; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-error { display: none; margin-top: 14px; color: #C23C16; font-size: 0.9rem; }
.form-error.show { display: block; }
.form-error a { color: inherit; font-weight: 600; }
.form-success { text-align: center; padding: 20px 0; }
.form-success:focus { outline: none; }
.form-success .check { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: var(--shadow); }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--ink-2); }

/* honeypot — visually removed, still in the form for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ---------- footer ---------- */
.footer { background: var(--night); color: var(--on-night-2); padding: 56px 0 34px; border-top: 1.5px solid var(--ink); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand-name { color: var(--on-night); }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.fcol h5 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-night-2); margin-bottom: 16px; }
.fcol a { display: block; color: var(--on-night); text-decoration: none; font-size: 0.95rem; margin-bottom: 11px; opacity: .8; }
.fcol a:hover { opacity: 1; color: var(--marker); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.76rem; }
.footer-blurb { max-width: 30ch; font-size: 0.92rem; line-height: 1.5; margin-top: 14px; }

/* ---------- scroll reveal ---------- */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
/* Hidden pre-animation state ONLY once JS confirms the page is rendering.
   If anim-ready is never added (no-JS), content stays visible. */
.anim-ready .reveal { opacity: 0; transform: translateY(26px); }
.anim-ready .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .anim-ready .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .mock-badge { right: 10px; }
  .steps { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .sec { padding: 68px 0; }
  .quiz-body { padding: 28px 24px 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
}
