/* FoundFacts 5x5 — matrix (rows) design; palette + fonts shared with the site. */

@font-face{ font-family:'Inter'; font-style:normal; font-weight:100 900; font-display:swap; src:url('/fonts/inter-variable.woff2') format('woff2'); }
@font-face{ font-family:'Inter'; font-style:italic; font-weight:100 900; font-display:swap; src:url('/fonts/inter-italic-variable.woff2') format('woff2'); }
@font-face{ font-family:'Fraunces'; font-style:normal; font-weight:100 900; font-display:swap; src:url('/fonts/fraunces-variable.woff2') format('woff2'); }

:root {
  /* Palette shared with the site (index.html) — light-only, like the site. */
  --bg: #F2F6F2; --panel: #FFFFFF; --ink: #243240; --ink-soft: #3B5266;
  --ink-faint: #55748F; --line: #D4DBDF; --line-soft: #E7ECEA;
  --accent: #C4423A; --accent-ink: #722634; --accent-tint: rgba(196,66,58,.22);
  --sage: #D0DFBA; --sage-dark: #5E7157; --cloud: #ECEDEC;
  --radius: 12px; --name-col: 96px; --cite-col: 130px; --col-gap: 1.8rem; --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.75rem; } /* clear the sticky nav on anchor jumps */
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5; -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 820px; margin: 0 auto; padding: 1.75rem 1.25rem 3rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.page-head { margin: 0.5rem 0 1.25rem; }
/* Heading + tagline now sit inside the white form band; the band's own
   padding gives the top space, so drop the head's own top margin. */
#check-form .page-head { margin-top: 0; }
.eyebrow {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint); margin: 0 0 0.35rem;
}
/* Accent eyebrow matching the home page hero (index.html's .subtitle) — a
   bolder, branded marker than the muted .eyebrow above. */
.subtitle {
  display: inline-flex; align-items: center; gap: 0.55em;
  margin: 0 0 0.6rem; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink);
}
.subtitle::before {
  content: ""; width: 0; height: 0;
  border-top: 4px solid transparent; border-bottom: 4px solid transparent;
  border-left: 7px solid var(--accent-ink);
}
h1 { font-family: "Fraunces", Georgia, serif; font-weight: 800; font-size: 1.9rem; margin: 0 0 0.3rem; letter-spacing: -0.02em; line-height: 1.06; text-wrap: balance; }
.tagline { margin: 0.2rem 0 0; font-weight: 600; color: var(--ink-soft); }
/* Form header hierarchy: eyebrow raised and dimmed; tagline dimmed and
   de-bolded, with a touch more air above it. Scoped to #check-form so the
   base .subtitle/.tagline rules (used elsewhere, e.g. the legal pages'
   taglines) are untouched.
   The eyebrow uses position:relative/top, not margin-top: .subtitle is
   display:inline-flex, and margin-top on an atomic inline-level box here
   doesn't shift its rendered position at all (verified — 0/-10px/-25px/
   -100px all rendered identically). top on a relatively-positioned box
   always works, regardless of display type. */
#check-form .subtitle { position: relative; top: -12px; opacity: 0.7; }
#check-form .tagline { margin-top: 5px; margin-bottom: 30px; font-size: 0.92rem; font-weight: 400; font-style: italic; opacity: 0.7; }

/* --- Form --- */
/* Everpresent entry band: a full-bleed white band (edge to edge, flush
   under the sticky header — the classic 100vw + calc(50% - 50vw) breakout,
   with a matching negative top margin to cancel .wrap's own top padding)
   holding the form (left) and a grey guidance panel (right). Turnstile has
   no background of its own, so the band's white shows straight through it.
   .form-band-inner re-applies .wrap's max-width/horizontal padding so the
   content stays aligned with the rest of the page's centered column. */
.form-band {
  background: var(--panel);
  width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  margin-top: -1.75rem; margin-bottom: 2rem;
  /* Divider right where the band's white meets the page's sage — the same
     full-width 1px line as the one after the report (#unlock-citations's
     border-top). */
  border-bottom: 1px solid var(--line);
}
.form-band-inner { max-width: 820px; margin-inline: auto; padding: 50px 1.25rem 25px; }
#check-form { width: 100%; max-width: 760px; }
/* Each field row: the input on the left, a per-field instruction box on the
   right (stacks under the input on mobile). The box has a slight fill, no border. */
.field { margin-bottom: 1rem; display: flex; gap: 1rem; align-items: stretch; }
.field-main { flex: 1 1 auto; min-width: 0; }
.field-help {
  flex: 0 0 42%; display: flex; align-items: center;
  padding: 0.55rem 0.8rem;
  color: var(--ink-faint); font-size: 0.85rem; line-height: 1.4;
}
.field label { display: block; font-weight: 600; margin-bottom: 0.25rem; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.07em; }
.required { color: #c0392b; font-weight: 400; font-size: 0.9em; }
.optional { font-weight: 400; color: var(--ink-faint); font-size: 0.9em; }
.field input, .field select {
  width: 100%; padding: 0.6rem; border: 1px solid var(--line);
  border-radius: 6px; font: inherit; background: var(--bg); color: var(--ink);
}
/* Claim to Fame: type dropdown on the left, text field fills the rest so the
   pair's right edge lines up with the full-width Name field above. */
.claim-row { display: flex; gap: 0.5rem; align-items: stretch; }
.claim-row .cat-select { flex: 0 0 auto; width: auto; }
.claim-row input { flex: 1 1 auto; min-width: 0; }
.field-heading { display: block; font-weight: 600; margin-bottom: 0.4rem; }
/* Category radios (still used by the homepage form): two columns of three. */
.radio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; }
.field .radio-opt { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-weight: 400; }
.radio-opt input[type="radio"] {
  width: auto; flex: none; margin: 0; padding: 0; border: none;
  background: none; accent-color: var(--accent);
}
.field-error, .form-error { color: #c0392b; margin: 0.35rem 0 0; font-size: 0.9rem; }
/* Remaining daily runs, under the button. */
.runs-left { margin: 0.55rem 0 0; font-size: 0.82rem; color: var(--ink-soft); text-align: center; opacity: 0.6; }
#submit-btn {
  width: 100%; margin-top: 15px; padding: 0.75rem; font-size: 1.05rem; font-weight: 600;
  border: none; border-radius: 6px; background: var(--accent); color: #fff; cursor: pointer;
}
#submit-btn:disabled { opacity: 0.6; cursor: wait; }
/* Out of daily checks: looks clearly disabled (greyed), not just "working". */
#submit-btn.exhausted { background: var(--line); color: var(--ink-faint); opacity: 1; cursor: not-allowed; }
/* Turnstile sits below the button and only shows when a challenge is needed —
   once solved, the widget goes invisible (see the callbacks in app.js). Fixed
   height (Cloudflare's own compact-widget size, matching .contact-form
   .cf-turnstile elsewhere) reserves the space up front so mounting, solving,
   and re-showing for another check never shifts the page. */
#turnstile-container { min-height: 65px; }
#turnstile-container.solved { visibility: hidden; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }

/* --- Results --- */
/* The form/report divider lives on .form-band's bottom edge (see above) so
   it sits exactly at the white/sage boundary. padding-bottom is the
   report's own closing breathing room before the footer. */
#results-section { padding-bottom: 40px; }
.subject-prompt { font-size: 1.15rem; font-style: italic; color: var(--ink-soft); margin: 0.5rem 0 0.2rem; }
.caption { font-weight: 600; color: var(--ink-soft); margin: 0 0 0.5rem; }

.notice {
  display: flex; gap: 0.55rem; align-items: flex-start;
  background: var(--line-soft); border: 1px solid var(--line);
  border-radius: 10px; padding: 0.6rem 0.8rem; margin: 1.1rem 0 1rem;
}
.notice svg { flex-shrink: 0; margin-top: 1px; color: var(--ink-faint); }
.notice .warn { margin: 0; font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.notice .store { margin: 0.35rem 0 0; font-size: 0.8rem; color: var(--ink-soft); }

/* "What to look for": read it while the report loads, not after scrolling
   past it — sits above the progress bar, on the page's own sage background
   (not full-bleed white like #unlock-citations below). */
#how-to-read { margin: 0 0 1.2rem; }

.rerun-wrap { margin: 0 0 0.9rem; }
.rerun {
  font: inherit; font-size: 0.85rem; font-weight: 600;
  color: var(--accent); background: transparent; border: 1px solid var(--accent);
  border-radius: 8px; padding: 0.45rem 0.9rem; cursor: pointer;
}
.rerun:hover { filter: brightness(1.06); }

/* "What AI said" header row: heading left, Unlock button right; stacks on mobile. */
/* Heading + timestamp stack on the left; the Unlock button sits at the right,
   its bottom edge aligned with the timestamp's (align-items: flex-end). */
.answers-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.answers-head-text { min-width: 0; }
.answers-head .section-h { margin-bottom: 0; }
.answers-head .answers-time { margin: 0; }
.unlock-btn {
  flex: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
  font: inherit; font-size: 0.9rem; font-weight: 600;
  color: #fff; background: var(--accent); border: 1px solid var(--accent);
  border-radius: 9px; padding: 0.6rem 1.05rem; cursor: pointer;
}
.unlock-btn svg { width: 14px; height: 14px; }
.unlock-btn:hover { filter: brightness(1.06); }
/* Disabled until a run has fully streamed in — no paying for a half report. */
.unlock-btn:disabled, .buy-btn:disabled { opacity: 0.5; cursor: not-allowed; filter: none; }
.unlock-btn:disabled:hover, .buy-btn:disabled:hover { filter: none; }
/* Button + its one-line microcopy, stacked and right-aligned in the head. */
.unlock-top-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 0.35rem; }
.unlock-microcopy { margin: 0; font-size: 0.75rem; line-height: 1.4; color: var(--ink-faint); max-width: 26ch; text-align: left; }
/* Honeypot: off-screen (not display:none, which some bots skip). */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

/* Progress bar: indeterminate shimmer during the initial silence, then a real
   4%-per-answer fill once results start streaming. */
.progress-wrap { margin: 0 0 1.2rem; }
.progress-track {
  height: 18px; border-radius: 999px; background: var(--line-soft); overflow: hidden;
}
.progress-fill {
  height: 100%; width: 0; border-radius: 999px; background: var(--accent);
  transition: width 0.45s ease;
}
.progress-fill.indeterminate {
  width: 40%; transition: none; animation: prog-slide 1.15s ease-in-out infinite;
}
@keyframes prog-slide {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(275%); }
}
.progress-label { margin: 0.45rem 0 0; font-size: 0.82rem; color: var(--ink-soft); text-align: center; }

/* One question = one card. --qcolor drives the header band and the tags. */
.qcard {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 1.1rem;
}
.q-head {
  display: grid; grid-template-columns: var(--name-col) 1fr; gap: var(--col-gap);
  align-items: start; padding: 0.85rem 1.1rem; background: var(--qcolor); color: #fff;
}
.q-left { display: flex; align-items: flex-start; justify-content: flex-end; padding-top: 0.15rem; }
.q-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.85); text-align: right; }
.q-right { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.q-text { font-size: 1.02rem; font-weight: 600; margin: 0; }
.q-prompt { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.q-prompt strong { font-weight: 700; }

.model {
  display: grid; grid-template-columns: var(--name-col) 1fr var(--cite-col); gap: var(--col-gap);
  align-items: start; padding: 0.7rem 1.1rem; border-top: 1px solid var(--line-soft);
}
/* Citation pill lives in its own column so the answer clamp can't crop it. */
.cite { padding-top: 0.15rem; }
.model:first-of-type { border-top: none; }
.who { display: flex; align-items: center; justify-content: space-between; padding-top: 0.1rem; color: var(--ink-faint); }
.logo { width: 20px; height: 20px; flex-shrink: 0; color: var(--ink-faint); }
.logo svg { width: 20px; height: 20px; display: block; }
/* The open ChatGPT mark reads smaller than the filled marks — render it 24px
   (scaled from the 20px box so the row alignment is undisturbed). */
.logo svg.mark-chatgpt { width: 24px; height: 24px; transform: translate(-2px, -2px); }
.logo .initials { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.02em; }
.provider { font-size: 0.84rem; font-weight: 600; color: var(--ink-faint); text-align: right; }
.answer {
  font-size: 0.95rem; color: var(--ink); max-width: 60ch;
  /* Never taller than two lines on desktop (four on mobile — see the 620px
     media query); adds its own ellipsis when cut. */
  display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.answer.empty { color: var(--ink-faint); font-style: italic; }
.answer.pending { color: var(--ink-faint); font-style: italic; }
/* Empty-state placeholder: two faint bars standing in for the answer text. */
.answer.skeleton {
  min-height: 2.3em; border-radius: 6px;
  background-image: linear-gradient(var(--line) 0 0), linear-gradient(var(--line) 0 0);
  background-repeat: no-repeat;
  background-size: 100% 0.72em, 66% 0.72em;
  background-position: 0 0.2em, 0 1.35em;
}

/* Citation-count tag takes the card's colour. Filled = has citations, dotted = none. */
.tag {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 0.12rem 0.5rem; border-radius: 999px;
  white-space: nowrap;
}
.tag.cited { color: var(--qcolor); background: color-mix(in srgb, var(--qcolor) 14%, transparent); }
.tag.none { color: color-mix(in srgb, var(--qcolor) 60%, var(--ink-faint)); background: transparent; border: 1px dotted color-mix(in srgb, var(--qcolor) 45%, transparent); }
.pips { display: inline-flex; gap: 2px; align-items: center; }
.pip { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
/* "+" for 6+ : inline-flex + line-height:1 so its glyph centers on the pip row
   (a bare line-height:0 span dropped it below the pips' baseline). */
.pip-plus {
  display: inline-flex; align-items: center; align-self: center;
  font-size: 0.8rem; font-weight: 700; line-height: 1; margin-left: -1px;
  transform: translateY(-2px); /* nudge the glyph up onto the pip centre */
}

/* --- Shared site chrome (nav + footer), matching index.html --- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(242, 246, 242, 0.86); backdrop-filter: saturate(1.3) blur(8px);
  border-bottom: 1px solid var(--line);
}
/* No flex-wrap here on purpose: the header must stay a CONSTANT height at
   every width (see the mobile collapse below) — a sticky header that grows
   a second row breaks scroll-padding-top for every anchor link on the page. */
.nav {
  max-width: var(--maxw); margin-inline: auto;
  padding: 9px clamp(1.25rem, 5vw, 3rem); /* trimmed 6px each side for a shorter bar */
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { height: 60px; width: auto; display: block; }
.nav-right { display: flex; align-items: center; gap: 1.4rem; }
.nav-links { display: flex; gap: 1.4rem; align-items: center; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.nav-links a:hover { color: var(--accent-ink); }
.nav-unlock { display: inline-flex; align-items: center; gap: 0.35em; }
.nav-unlock svg { width: 14px; height: 14px; flex-shrink: 0; }
.nav-links a.active { color: var(--accent-ink); box-shadow: inset 0 -2px 0 var(--accent); } /* scrollspy */
.nav-cta {
  display: inline-flex; align-items: center; font-weight: 600; font-size: 0.92rem; line-height: 1;
  padding: 0.6rem 1.05rem; border-radius: 6px; border: 1px solid var(--accent-ink);
  color: var(--accent-ink); background: transparent; white-space: nowrap; text-decoration: none;
}
.nav-cta:hover { border-color: var(--accent); color: var(--accent); }
/* The sitewide :focus-visible ring (below) is a 3px accent-red halo — right
   for a plain text link, but loud and alarming on a solid bordered pill.
   Keep a visible keyboard-focus indicator (don't remove it outright), just
   in a neutral color that matches this button's own quiet palette. */
.nav-cta:focus-visible { outline-color: var(--ink-soft); }

/* Hamburger toggle — hidden on desktop, where every link shows inline. */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0; flex: none;
  border: 1px solid var(--line); border-radius: 6px;
  background: transparent; color: var(--ink-soft); cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }
.nav-toggle:hover { border-color: var(--accent); color: var(--accent); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile: the plain jump-links collapse behind the hamburger; the CTA pill
   (the $ button) stays visible at all times — only the free links move.
   The dropdown is absolutely positioned so opening it never changes the
   header's own height. The CTA keeps its full font size; only its "Unlock"
   word hides here (the icon stands in for it) — "citations" alone is short
   enough to fit at full size down to ~360px. */
@media (max-width: 720px) {
  .brand-logo { height: 34px; }
  .nav-right { gap: 0.4rem; }
  .nav-toggle { display: inline-flex; }
  .nav-unlock { padding: 0.5rem 0.7rem; }
  .nav-unlock .unlock-word { display: none; }
  .nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%; z-index: 1;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--panel); border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(36, 50, 64, 0.12);
    padding: 0.5rem clamp(1.25rem, 5vw, 3rem) 0.75rem;
  }
  .nav-links.nav-open { display: flex; }
  .nav-links a { padding: 0.65rem 0; border-bottom: 1px solid var(--line-soft); }
  .nav-links a:last-child { border-bottom: none; }
}

.site-footer { background: var(--ink); color: var(--cloud); margin-top: 3rem; }
.footer-inner {
  max-width: var(--maxw); margin-inline: auto; padding: 2.5rem clamp(1.25rem, 5vw, 3rem);
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; justify-content: space-between;
}
.footer-inner a { color: #d0dfba; }
.footer-brand { font-family: "Fraunces", Georgia, serif; font-weight: 800; font-size: 1.2rem; margin: 0 0 0.4rem; }
.footer-brand .dot { color: #e15047; }
.footer-col { font-size: 0.85rem; line-height: 1.7; color: #afc0c6; max-width: 34ch; margin: 0; }
.footer-col strong { color: var(--cloud); font-weight: 600; }
.footer-legal {
  max-width: var(--maxw); margin-inline: auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem) 2.5rem; font-size: 0.76rem; color: #8ba0a8;
}
.footer-legal a { color: var(--sage); }

/* Section headings across the results page. */
.section-h {
  font-family: "Fraunces", Georgia, serif; font-weight: 800; font-size: 1.4rem;
  letter-spacing: -0.015em; color: var(--ink); margin: 0 0 0.6rem;
}
/* Full-bleed white behind "Unlock citations" — same 100vw breakout as
   .form-band. Margin zeroed (padding does the job instead) so no
   page-background-colored gap shows before the white starts;
   .section-inner restores .wrap's max-width/horizontal padding so the
   content keeps its usual alignment. (#how-to-read used to share this
   treatment — it now sits on the page's own sage background instead.) */
#unlock-citations {
  background: var(--panel);
  width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  margin-top: 0; margin-bottom: 0; padding-bottom: 1.75rem;
}
.section-inner { max-width: 820px; margin-inline: auto; padding: 0 1.25rem; }
#answers.section-h { margin-top: 1.9rem; margin-bottom: 0.15rem; }
/* Run timestamp under the answers heading — plain text, not part of the head. */
.answers-time { margin: 0 0 0.8rem; font-size: 0.9rem; color: var(--ink-faint); opacity: 0.75; }
.answer a { color: var(--accent); text-decoration: underline; word-break: break-word; }
.answers-time:empty { display: none; }

/* Wrap-up + actions. */
.wrapup { margin-top: 2rem; }

/* 1px rule dividing the report from "Unlock citations" (.answers-head and
   #how-to-read have no rule of their own — see their own margins above). */
#results-section .wrapup {
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}
/* Generous close beneath the report — space between the last answer card
   and the divider before "Unlock citations". */
#cards { padding-bottom: 40px; }
/* Product-style earning cards: a sample image, name, and features above the form. */
.product-media {
  aspect-ratio: 16 / 10; border-radius: 10px; border: 1px solid var(--line);
  background: var(--line-soft); overflow: hidden; margin: 0 0 0.9rem;
}
.product-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: top; display: block;
}
.product-name {
  margin: 0 0 0.5rem; font-family: "Fraunces", Georgia, serif; font-weight: 700;
  font-size: 1.15rem; color: var(--ink); letter-spacing: -0.01em;
}
.product-features { margin: 0 0 0.85rem; padding-left: 1.1rem; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.5; }
.product-features li { margin-bottom: 0.2rem; }
.explainer {
  font-size: 0.9rem; color: var(--ink-soft);
  background: var(--line-soft); border: 1px dashed var(--line);
  border-radius: 10px; padding: 1rem; margin: 0 0 1.25rem; text-align: center;
}
/* "What to look for" card: dark-sage card holding the heading, prose, and a
   white checklist box — sits on the page's own sage background. Card chrome
   (background/border/radius/padding) lives on .read-card, the outer wrapper;
   .read-cols is just the two-column flex layout inside it. */
.read-card {
  background: var(--sage-dark); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2.5rem;
}
.read-card .section-h { color: #fff; }
/* Two-column read: prose left, white checklist box right (35% of the
   content width, 50px gutter). column-reverse on mobile puts the checklist
   directly under the section heading, above the prose. */
.read-cols { display: flex; align-items: flex-start; }
.read-cols .read-prose { flex: 1 1 auto; min-width: 0; color: rgba(255, 255, 255, 0.9); }
.read-callout {
  flex: 0 0 35%; margin-left: 50px;
  background: var(--panel); color: var(--ink); border: 1px solid var(--line);
  border-radius: 10px; padding: 1rem 1.1rem;
  font-size: 0.95rem; line-height: 1.5;
}
.read-callout p { margin: 0; }
/* Red pops harder on the checklist's white than it did on dark sage — the
   whole point of flipping that box's colors. */
.callout-link { color: var(--accent); font-weight: 700; text-decoration: underline; }
/* Heading + checklist inside the callout: heading in the site's display
   face. List markers are open squares (☐), not default bullets — a hanging
   indent (negative text-indent balancing the li's own padding-left) keeps
   wrapped lines aligned under the text, not under the glyph. */
.read-callout h3 {
  margin: 0 0 0.5rem; font-family: "Fraunces", Georgia, serif;
  font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em;
}
.read-callout ul { list-style: none; margin: 0; padding: 0; }
.read-callout li { margin-bottom: 0.4rem; padding-left: 1.4em; text-indent: -1.4em; }
.read-callout li::before { content: "\2610"; margin-right: 0.5em; }
.read-callout li:last-child { margin-bottom: 0; }
/* A second subhead ("Got errors?") follows the checklist — give it room to
   breathe above; the first h3 ("Your checklist") stays flush with the
   box's own top padding. */
.read-callout ul + h3 { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--sage); }
.read-prose { max-width: 70ch; font-size: 0.95rem; line-height: 1.6; color: var(--ink-soft); }
.read-prose p { margin: 0 0 0.7rem; }
.read-prose p:last-child { margin-bottom: 0; }
.read-prose ul { margin: 0 0 0.7rem; padding-left: 1.25rem; }
.read-prose li { margin: 0.25rem 0; }
.actions { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.action-col { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
/* No card look here — the section itself is white now, and a bordered
   white card on a white section just reads as a redundant box. */
.action-col.paid { border: none; background: transparent; padding: 0; }
.action-col h3, .product-name { margin: 0 0 0.4rem; font-size: 1.5rem; }
.action-col p { margin: 0 0 0.85rem; font-size: 1.05rem; color: var(--ink-soft); }
.price { font-weight: 700; color: var(--ink); }
.consent { display: block; margin-top: 0.6rem; font-size: calc(1.05rem - 1.5px); color: var(--accent); font-weight: 400; text-align: center; }
/* Native checkbox, tinted via accent-color: checked = accent fill + white
   check, drawn by the browser. (The old appearance:none + hand-drawn SVG
   check only bought a red border on the UNCHECKED box — native border
   color isn't styleable — at the cost of re-implementing the whole
   control. Not worth it.) */
.consent input[type="checkbox"] {
  width: 1.05em; height: 1.05em; margin-right: 0.3em; vertical-align: -0.15em;
  accent-color: var(--accent); cursor: pointer;
}
.buy-btn {
  font: inherit; font-size: calc(0.88rem + 4px); font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px; padding: 0.55rem 0.9rem; cursor: pointer; white-space: nowrap;
  display: flex; width: fit-content; margin-inline: auto; margin-top: 15px; align-items: center; gap: 0.45rem;
  color: #fff; background: var(--accent); border: 1px solid var(--accent);
}
/* Lock icon matches the text size (1em tracks the button's font-size). */
.buy-btn svg { width: 1em; height: 1em; }
.buy-btn:hover { filter: brightness(1.06); }
#buy-status { margin: 0.6rem 0 0; font-size: 0.9rem; }
/* .action-col p (higher specificity: class+element) sets margin-top:0 for
   every <p> in the card — .action-col .privacy-note (two classes) is needed
   to actually win the margin-top override here. */
.action-col .privacy-note {
  display: flex; align-items: flex-start; justify-content: center; gap: 0.4rem;
  margin-top: 20px; opacity: 0.7; font-size: 0.85rem; color: var(--ink-soft);
}
.privacy-note svg { flex-shrink: 0; margin-top: 2px; }

@media (max-width: 620px) {
  .q-head { grid-template-columns: none; gap: 0.35rem; }
  .q-left { justify-content: flex-start; padding-top: 0; }
  .q-label { text-align: left; }
  .model { grid-template-columns: none; gap: 0.3rem; }
  .who { justify-content: flex-start; gap: 0.5rem; }
  .provider { text-align: left; }
  .actions { grid-template-columns: none; }
  #check-form { width: 100%; max-width: none; }
  .field { flex-direction: column; gap: 0.5rem; } /* instructions drop under the field */
  .field-help { flex-basis: auto; }
  .answers-head { flex-direction: column; align-items: flex-start; } /* Unlock drops below the header */
  .unlock-top-wrap { align-items: flex-start; }
  .read-cols { flex-direction: column-reverse; } /* callout above the prose, right under the heading */
  .read-callout { flex: none; width: 100%; margin: 0 0 1rem; }
  /* More breathing room off the browser edges on small screens: 20px base
     inset + 12px = 32px, applied to every content column. */
  .wrap { padding-left: 2rem; padding-right: 2rem; }
  .form-band-inner, .section-inner { padding-left: 2rem; padding-right: 2rem; }
  /* Narrow columns wrap the display copy harder, so allow four lines of an
     answer here instead of the desktop's two. */
  .answer { -webkit-line-clamp: 4; line-clamp: 4; }
  /* The buy button's label ("Unlock all NNN citations for $5") outgrows a
     phone column at the enlarged type size — let it wrap instead of
     overflowing the viewport. */
  .buy-btn { white-space: normal; max-width: 100%; }
  /* The wrapped two-line label dwarfs a 1em lock — scale it to the block. */
  .buy-btn svg { width: 1.6em; height: 1.6em; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
