/* TestCheck landing page. Tokens come from /static/shared/tokens.css. Layout is container-query based, so one file covers 1440px and 390px. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font); line-height: 1.6; -webkit-text-size-adjust: 100%; }
a { color: var(--ink); } a:hover { color: var(--ink-soft); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
p { margin: 0; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--sent-text); outline-offset: 2px; }
.rc { container-type: inline-size; min-height: 100vh; overflow-x: clip; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 12px 16px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; color: #fff; }
.muted { color: var(--muted); } .small { font-size: 13px; } .center { text-align: center; } .nowrap { white-space: nowrap; } .bold { font-weight: 600; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap); padding: 0 20px; border-radius: var(--r-btn); font: 500 15px var(--font); text-decoration: none; border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink); cursor: pointer; }
.btn:hover { background: var(--nav-active); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-hover); color: #fff; border-color: var(--ink-hover); }
.btn-green { background: #007A5E; color: #fff; border-color: #007A5E; } /* white on #007A5E = 5.32:1 (brand #009473 is only 3.83:1) */
.btn-green:hover { background: var(--ready-text); color: #fff; border-color: var(--ready-text); }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn.small { font-size: 14px; }
.btn.block { width: 100%; }
span.btn { cursor: default; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); }
.tile { border-radius: var(--r-tile); padding: 6px 8px; font-size: 11px; line-height: 1.35; }
.tile b { display: block; font-size: 15px; font-weight: 600; }
.tile span { display: block; }
.behind { background: var(--behind-tile-bg); color: var(--behind-text); }
.ontrack { background: var(--ontrack-tile-bg); color: var(--ontrack-text); }
.ready { background: var(--ready-tile-bg); color: var(--ready-text); }
.waiting { background: var(--waiting-tile-bg); color: var(--waiting-text); }
.badge { width: var(--badge); height: var(--badge); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.k1 { background: var(--child-veryperi-badge-bg); color: var(--child-veryperi-initial-text); }
.k2 { background: var(--child-radiantorchid-badge-bg); color: var(--child-radiantorchid-initial-text); }
.eyebrow { font: 600 13px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--behind-text); margin: 0 0 12px; }
.eyebrow-y { color: #F5DF4D; }
.h2 { font-size: clamp(28px, 4cqi, 44px); line-height: 1.12; }
.h2-s { font-size: clamp(26px, 3.6cqi, 40px); }
.on-ink { color: #fff; max-width: 680px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; list-style: none; }

/* header */
.hdr { max-width: 1200px; margin: 0 auto; padding: 16px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.hdr-logo { display: flex; align-items: center; min-height: var(--tap); }
.hdr-logo img { display: block; height: 32px; width: auto; }
.hdr-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; font-size: 15px; }
.hdr-links, .hdr-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.navlink { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 6px; text-decoration: none; }
.navlink.active { font-weight: 600; box-shadow: inset 0 -3px 0 #007A5E; }
.lang { min-height: var(--tap); border: 1px solid var(--border-strong); border-radius: var(--r-btn); background: var(--surface); color: var(--ink); font: 14px var(--font); padding: 0 8px; max-width: 160px; }

/* hero */
.hero { max-width: 1200px; margin: 0 auto; padding: 48px 24px 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 440px; min-width: 0; }
.hero h1 { font-size: clamp(36px, 6cqi, 68px); line-height: 1.04; overflow-wrap: break-word; }
.lede { font-size: 19px; margin: 24px 0 32px; max-width: 520px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }

/* cycle diagram: absolute % layout on a 860x730 crop of the 1200x880 design; text scales with the container (cqi) */
.cyc { flex: 1.4 1 520px; min-width: 0; max-width: 700px; margin: 0 auto; container-type: inline-size; }
.cyc-stage { position: relative; aspect-ratio: 860 / 730; }
.cyc-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cyc-hub { position: absolute; left: 38.37%; top: 43.84%; width: 23.26%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1cqi; text-align: center; padding: 2cqi; box-shadow: 0 3cqi 6cqi -2.5cqi rgba(22,22,58,.45), 0 0 0 1.2cqi rgba(22,22,58,.06); }
.cyc-hub-i { width: 3.7cqi; height: 3.7cqi; }
.cyc-hub-t { font: 600 max(14px, 2.56cqi)/1.15 var(--font-head); letter-spacing: -0.01em; }
.cyc-hub-s { font-size: max(12px, 1.5cqi); line-height: 1.3; color: #C9C9DC; }
.cyc-card { position: absolute; width: 34.88%; min-height: 25cqi; padding: 2.79cqi; display: flex; flex-direction: column; gap: 1.4cqi; background: var(--surface); border: 1px solid var(--border); border-radius: 2.3cqi; box-shadow: 0 2cqi 4.6cqi -2.8cqi rgba(22,22,58,.28); }
.cyc-card.c1 { left: 32.56%; top: 1.64%; }
.cyc-card.c2 { left: 62.79%; top: 63.29%; }
.cyc-card.c3 { left: 2.33%; top: 63.29%; }
.cyc-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cyc-step { font: 600 max(12px, 1.63cqi) var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--ready-text); }
.cyc-ico { width: max(28px, 4.65cqi); height: max(28px, 4.65cqi); border-radius: 28%; background: #F0EFEA; display: flex; align-items: center; justify-content: center; flex: none; }
.cyc-ico svg { width: 55%; height: 55%; }
.cyc-card h3 { font-size: max(15px, 2.79cqi); line-height: 1.17; }
.cyc-chips { margin-top: auto; display: flex; gap: 1cqi; }
.cyc-chips span { flex: 1; min-width: 0; height: max(30px, 5.1cqi); border-radius: 1.2cqi; background: #F0EFEA; display: flex; align-items: center; justify-content: center; font: 500 max(12px, 1.63cqi) var(--font); color: var(--ink-soft); }
.cyc-chips .on { background: var(--ink); color: #fff; font-weight: 600; }
.cyc-msg { margin-top: auto; display: flex; align-items: center; gap: 1.2cqi; padding: 1.2cqi 1.4cqi; border-radius: 1.6cqi 1.6cqi 1.6cqi .5cqi; background: #E0E1EE; font-size: max(12px, 1.63cqi); line-height: 1.3; color: #3E3E70; }
.cyc-msg b { font-weight: 600; }
.cyc-ini { width: max(24px, 3.26cqi); height: max(24px, 3.26cqi); flex: none; border-radius: 50%; background: #6667AB; color: #fff; display: flex; align-items: center; justify-content: center; font-size: max(12px, 1.5cqi); font-weight: 600; }
.cyc-gauge { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.cyc-bar { position: relative; display: flex; gap: .5cqi; height: max(8px, 1.16cqi); }
.cyc-bar span { flex: 1; border-radius: 99px; }
.cyc-bar .r { background: #DD4124; } .cyc-bar .y { background: #F5DF4D; } .cyc-bar .g { background: #009473; }
.cyc-bar i { position: absolute; left: 82%; top: 50%; width: max(14px, 2.3cqi); height: max(14px, 2.3cqi); transform: translate(-50%, -50%); box-sizing: border-box; border-radius: 50%; background: #fff; border: max(3px, .46cqi) solid var(--ink); }
.cyc-lbl { display: flex; font-size: max(12px, 1.4cqi); line-height: 1.3; color: var(--muted); }
.cyc-lbl span { flex: 1; }
.cyc-lbl span:nth-child(2) { text-align: center; }
.cyc-lbl .rdy { text-align: right; color: var(--ready-text); font-weight: 600; }
.cyc-arrow { display: none; }

/* phone: hub becomes a compact header badge, the three steps stack with small arrows between them, text >= 14px */

@container (max-width: 519px) {
  .cyc-stage { aspect-ratio: auto; display: flex; flex-direction: column; align-items: stretch; }
  .cyc-ring { display: none; }
  .cyc-hub { position: static; width: auto; aspect-ratio: auto; align-self: center; border-radius: 20px; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 4px 10px; padding: 12px 20px; margin-bottom: 14px; box-shadow: none; }
  .cyc-hub-i { width: 22px; height: 22px; }
  .cyc-hub-t { font-size: 18px; }
  .cyc-hub-s { font-size: 14px; flex-basis: 100%; }
  .cyc-card, .cyc-card.c1, .cyc-card.c2, .cyc-card.c3 { position: static; width: auto; min-height: 0; padding: 20px; gap: 12px; border-radius: 18px; }
  .cyc-step { font-size: 14px; }
  .cyc-ico { width: 40px; height: 40px; }
  .cyc-card h3 { font-size: 21px; }
  .cyc-chips { gap: 8px; }
  .cyc-chips span { height: 44px; font-size: 14px; border-radius: 10px; }
  .cyc-msg { font-size: 14px; gap: 10px; padding: 10px 12px; border-radius: 14px 14px 14px 4px; }
  .cyc-ini { width: 28px; height: 28px; font-size: 14px; }
  .cyc-bar { height: 10px; gap: 4px; }
  .cyc-bar i { width: 20px; height: 20px; border-width: 4px; }
  .cyc-lbl { font-size: 14px; }
  .cyc-arrow { display: flex; justify-content: center; height: 32px; align-items: center; }
  .cyc-arrow svg { width: 22px; height: 22px; }
}

/* bands: the page alternates so neighbouring sections never share a background —
   hero (cream) · report (white) · features (ink) · pricing (cream) · privacy (white) · final CTA (cream, ink card) · footer (white) */
.band-white { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band-white .card { box-shadow: 0 18px 40px -28px rgba(22,22,58,.35); } /* white cards on a white band need a lift */
.band-white .rep-stats > div { background: var(--page); }
.band-ink { background: var(--ink); color: #fff; }
.inner { max-width: 1200px; margin: 0 auto; padding: 80px 24px; }

.report { max-width: 1200px; margin: 0 auto; padding: 88px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.report-copy { flex: 1 1 400px; min-width: 0; }
.lede2 { font-size: 18px; margin: 20px 0 24px; }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 12px; }
.tick { padding: 2px 8px; height: fit-content; }
.ticks b { font-weight: 600; }
.rep-card { flex: 1 1 420px; min-width: 0; padding: 22px; }
.verdict { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-radius: var(--r-btn); padding: 12px 14px; margin-top: 8px; }
.pct { font: 600 28px var(--font-head); }
.v-right { text-align: right; }
.rep-h { font-weight: 600; font-size: 14px; margin: 18px 0 6px; }
.legend { font-size: 12px; margin: 6px 0 14px; }
.rep-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; font-size: 13px; }
.rep-stats > div { background: var(--page); border-radius: var(--r-btn); padding: 10px 12px; }
.rep-stats b { font-weight: 600; }

.feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 32px; margin-top: 44px; }
.feat h3 { color: #fff; font-size: 19px; margin-bottom: 6px; }
.feat p { color: #C9C8D6; }
.steps { margin-top: 0; gap: 32px 40px; }
.steps .eyebrow { margin: 0 0 10px; }
.steps-note { color: #C9C8D6; margin-top: 40px; font-size: 18px; max-width: 680px; }

.pricing { max-width: 1200px; margin: 0 auto; padding: 88px 24px; }
.pr-sub { font-size: 18px; margin: 14px auto 40px; max-width: 560px; }
.plans { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 1000px; margin: 0 auto; }
.plan { padding: 28px; display: flex; flex-direction: column; }
.plan .plan-d { flex: 1; }
.plan h3 { font-size: 20px; }
.plan-best { border: 2px solid var(--ink); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.best { background: var(--ready-tile-bg); color: var(--ready-text); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.price { margin: 14px 0 4px; }
.amt { font: 600 44px var(--font-head); }
.plan-d { margin: 0 0 22px; font-size: 15px; }
.refpane { max-width: 1000px; margin: 20px auto 0; padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; background: var(--ready-tile-bg); border: 2px solid var(--brand-green); border-radius: var(--r-card); }
.refpane-ico { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: #007A5E; color: #fff; align-items: center; justify-content: center; flex: none; }
.refpane-ico svg { width: 20px; height: 20px; }
.refpane-txt { flex: 1 1 260px; display: flex; flex-direction: column; gap: 4px; }
.refpane-txt .refpane-d { color: var(--ink-soft); }
.art ol.steps { margin: 18px 0; padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.pr-foot { margin-top: 22px; }

.priv { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 80px; padding-bottom: 80px; }
.priv-h { flex: 1 1 320px; min-width: 0; }
.priv-g { flex: 2 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.priv-g h3 { font-size: 18px; margin-bottom: 6px; }

.faq { max-width: 820px; margin: 0 auto; padding: 56px 24px 96px; min-height: 50vh; }
.faq .h2 { margin-bottom: 28px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq details { padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 500; min-height: var(--tap); padding: 12px 0; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { padding-bottom: 4px; }
.faq details p { padding: 0 0 18px; }

.final { max-width: 1200px; margin: 0 auto; padding: 88px 24px; }
.final-in { background: var(--ink); border-radius: 24px; padding: clamp(36px, 6cqi, 72px) 32px; text-align: center; }
.final-in h2 { color: #fff; font-size: clamp(28px, 4.4cqi, 50px); }
.final-in .btn-green { box-shadow: 0 0 0 1px rgba(255,255,255,.3); }
.final-in p { color: #C9C8D6; font-size: 18px; margin: 16px auto 28px; max-width: 520px; }

.ftr { border-top: 1px solid var(--border); background: var(--surface); }
.ftr-in { max-width: 1200px; margin: 0 auto; padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; font-size: 14px; }
.ftr-links { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-right: auto; }
.ftr-links a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 4px; }
.ftr-by { flex: 1 1 100%; margin-top: 4px; }

@container (max-width: 600px) {
  .hdr { padding: 12px 16px; }
  /* phone header: logo row, a compact row of section links, then Log in + Start free (44px targets) */
  .hdr-nav { width: 100%; flex-direction: column; align-items: stretch; gap: 4px; }
  .hdr-links { justify-content: space-between; flex-wrap: nowrap; gap: 0; font-size: 14px; }
  .hdr-links .navlink { padding: 0 4px; }
  .hdr-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero { padding: 24px 16px 48px; gap: 36px; }
  .inner, .report, .pricing { padding: 56px 16px; }
  .faq { padding: 32px 16px 56px; }
  .final { padding: 56px 16px; }
  .ftr-in { padding: 16px; }
  .lede { font-size: 17px; }
  .cta-row .btn { flex: 1 1 100%; }
  .rep-card { padding: 16px; }
  .plan { padding: 22px; }
  .refpane { padding: 18px; }
}
@container (min-width: 760px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* long-form article pages (How it works, Pricing, FAQ): one readable column, text first */
.art { max-width: 720px; margin: 0 auto; padding: 48px 24px 24px; font-size: 18px; line-height: 1.7; }
.art h1 { font-size: clamp(34px, 5cqi, 48px); line-height: 1.1; overflow-wrap: break-word; }
.art-intro { font-size: 20px; line-height: 1.55; color: var(--muted); margin: 18px 0 28px; }
.art h2 { font-size: clamp(25px, 3.4cqi, 32px); line-height: 1.2; margin: 56px 0 14px; scroll-margin-top: 16px; }
.art h3 { font-size: 20px; line-height: 1.3; margin: 30px 0 8px; }
.art p { margin: 0 0 14px; }
.art ul { list-style: none; margin: 18px 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.art ul li { position: relative; padding-left: 22px; }
.art ul li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: #007A5E; }
.art li b { font-weight: 600; }
.art a:not(.btn) { color: var(--ink); text-underline-offset: 3px; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 18px 22px; font-size: 16px; line-height: 1.5; }
.toc-t { font: 600 13px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px !important; }
.toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 2px; }
.toc a { display: inline-flex; align-items: center; min-height: 32px; }
.ref { width: 100%; border-collapse: collapse; margin: 32px 0 0; font-size: 16px; line-height: 1.45; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); }
.ref th, .ref td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.ref thead th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.ref tbody tr:last-child > * { border-bottom: 0; }
.ref tbody th { font-weight: 600; }
.ref td:nth-child(2) { white-space: nowrap; font-weight: 600; }
.art-cta { margin: 56px 0 0; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.art-cta p { margin: 0; flex: 1 1 260px; font-weight: 500; }
@container (max-width: 600px) {
  .art { padding: 28px 16px 16px; font-size: 17px; }
  .art-intro { font-size: 18px; }
  .art h2 { margin-top: 44px; }
  .art-cta { padding: 20px; }
  .art-cta .btn { width: 100%; }
  .ref { font-size: 15px; }
  .ref th, .ref td { padding: 10px; }
}
