@font-face { font-family: 'Bricolage Grotesque'; src: url('/fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

/* ================================================================
   Tokens
   ================================================================ */
:root {
  --ink: #0f172a;
  --ink-2: #1e293b;
  --ink-3: #475569;
  --ink-4: #64748b;
  --line: #e2e8f0;
  --line-2: #eef2f7;
  --bg: #ffffff;
  --bg-2: #f6f8fb;
  --bg-mint: #ecfaf6;
  --brand: #0e8a76;
  --brand-2: #0b6f60;
  --brand-soft: #d6f3ec;
  --brand-glow: rgba(14,138,118,.28);
  --red: #d33f35;
  --red-soft: #fde8e6;
  --amber: #b7791f;
  --amber-soft: #fdf1dc;
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.05), 0 1px 3px rgba(15,23,42,.06);
  --shadow-md: 0 10px 30px -12px rgba(15,23,42,.18), 0 2px 6px rgba(15,23,42,.05);
  --shadow-lg: 0 30px 60px -24px rgba(15,23,42,.28), 0 8px 18px -8px rgba(15,23,42,.08);
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Bricolage Grotesque', Inter, system-ui, sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', Menlo, monospace;
  --page: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); text-wrap: balance; }
h3 { font-size: 1.15rem; letter-spacing: -.015em; }
p { margin: 0 0 1rem; }
.lede { font-size: clamp(1.05rem, 1.9vw, 1.22rem); line-height: 1.55; color: var(--ink-3); max-width: 42ch; }
a { color: var(--brand-2); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid rgba(14,138,118,.45); outline-offset: 2px; border-radius: 6px; }
h1[tabindex], h2[tabindex] { outline: none; }
.page { max-width: var(--page); margin: 0 auto; padding-inline: 1.25rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hint { color: var(--ink-4); font-size: .9rem; margin: -.1rem 0 .6rem; max-width: 52ch; }
.src { font-size: .8rem; color: var(--ink-4); }
code { font-family: var(--mono); font-size: .86em; }

/* ================================================================
   Header
   ================================================================ */
.topbar { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid var(--line-2); }
.topbar .page { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.04em; text-decoration: none; color: var(--ink); margin-right: auto; display: inline-flex; align-items: baseline; }
.wordmark i { font-style: normal; color: var(--brand); margin-left: -.02em; }
.topbar nav { display: flex; align-items: center; gap: 1.6rem; font-size: .95rem; font-weight: 500; }
.topbar nav a { color: var(--ink-3); text-decoration: none; }
.topbar nav a:hover { color: var(--ink); }
.topbar nav a.btn { color: #fff; }
@media (max-width: 720px) { .topbar nav { gap: 1rem; } .topbar nav .hide-sm { display: none; } }

/* ================================================================
   Buttons, pills, icon boxes
   ================================================================ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 600; font-size: 1rem; padding: .9rem 1.5rem; border-radius: var(--r-sm); border: 1px solid transparent; background: var(--brand); color: #fff; text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .15s ease, background .15s ease; box-shadow: 0 10px 22px -10px var(--brand-glow); }
.btn:hover { background: var(--brand-2); color: #fff; transform: translateY(-1px); box-shadow: 0 14px 28px -10px var(--brand-glow); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.06rem; border-radius: 12px; }
.btn--sm { padding: .55rem 1rem; font-size: .9rem; }
.btn--quiet { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--quiet:hover { background: var(--bg-2); color: var(--ink); border-color: #cbd5e1; box-shadow: var(--shadow-sm); }
.btn--onDark { background: #fff; color: var(--ink); box-shadow: none; }
.btn--onDark:hover { background: #f1f5f9; color: var(--ink); box-shadow: none; }
.btn--ghostDark { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); box-shadow: none; }
.btn--ghostDark:hover { background: rgba(255,255,255,.1); color: #fff; box-shadow: none; }
.btn--glow { }

.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem; border-radius: var(--r-pill); font-size: .82rem; font-weight: 600; background: var(--brand-soft); color: var(--brand-2); }
.pill--red { background: var(--red-soft); color: var(--red); }
.pill--amber { background: var(--amber-soft); color: var(--amber); }
.pill--grey { background: var(--bg-2); color: var(--ink-3); }

.ic { width: 1.15em; height: 1.15em; vertical-align: -.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icbox { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 12px; background: var(--brand-soft); color: var(--brand-2); flex: none; }
.icbox .ic { width: 1.35rem; height: 1.35rem; }
.icbox--red { background: var(--red-soft); color: var(--red); }
.icbox--amber { background: var(--amber-soft); color: var(--amber); }
.icbox--ink { background: var(--ink); color: #fff; }

/* ================================================================
   Sections
   ================================================================ */
.band { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.band--tint { background: var(--bg-2); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .lede { max-width: 52ch; }
.center { text-align: center; }
.center .section-head, .section-head.center { margin-inline: auto; }
.center .lede { margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; color: var(--brand-2); font-weight: 600; font-size: .9rem; margin-bottom: .8rem; }
.eyebrow::before { content: ''; width: .5rem; height: .5rem; border-radius: 50%; background: var(--brand); }

.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ================================================================
   Hero
   ================================================================ */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(50rem 30rem at 85% 10%, rgba(14,138,118,.14), transparent 60%),
    radial-gradient(40rem 26rem at 5% 90%, rgba(34,197,166,.10), transparent 60%),
    linear-gradient(180deg, #fff 0%, #f6fbf9 100%); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(15,23,42,.08) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(60rem 36rem at 70% 40%, #000 20%, transparent 70%); opacity: .5; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-grid > * { min-width: 0; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3rem; } }
.hero h1 { max-width: 15ch; margin-bottom: 1rem; }
.hero .lede { margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 560px) { .hero-actions .btn { flex: 1 1 100%; } }
.hero-proof { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; color: var(--ink-3); font-size: .92rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-proof .ic { color: var(--brand); }

/* ---- the product mockup: a real report, floating ---- */
.mock { position: relative; width: min(100%, 30rem); margin-inline: auto; padding: 1.5rem 0 2.6rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-md); }
.mock-main { position: relative; z-index: 2; padding: 1.25rem 1.25rem 3.4rem; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.mock-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.mock-top small { color: var(--ink-4); font-size: .8rem; }
.mock-verdict { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; padding: 1rem; border-radius: 14px; background: linear-gradient(135deg, #0f172a, #1e293b); color: #fff; margin-bottom: 1rem; }
.mock-verdict b { display: block; font-family: var(--display); font-size: 1.15rem; letter-spacing: -.02em; }
.mock-verdict span { font-size: .85rem; color: #cbd5e1; }
.mock-ring { width: 3.6rem; height: 3.6rem; border-radius: 50%; display: grid; place-content: center; font-family: var(--display); font-weight: 700; font-size: .95rem; background: conic-gradient(#22c5a6 0 75%, rgba(255,255,255,.18) 75% 100%); position: relative; }
.mock-ring::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: #16213a; }
.mock-ring i { position: relative; z-index: 1; font-style: normal; }
.mock-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.mock-list li { display: flex; align-items: flex-start; gap: .7rem; padding: .7rem .8rem; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: .9rem; line-height: 1.35; }
.mock-list li b { display: block; font-weight: 600; }
.mock-list li small { color: var(--ink-4); font-size: .8rem; }
.mock-list .dot { width: 1.5rem; height: 1.5rem; border-radius: 8px; display: grid; place-items: center; flex: none; }
.mock-list [data-s=blocker] .dot { background: var(--red-soft); color: var(--red); }
.mock-list [data-s=warning] .dot { background: var(--amber-soft); color: var(--amber); }
.mock-list [data-s=pass] .dot { background: var(--brand-soft); color: var(--brand-2); }
.mock-list .dot .ic { width: .9rem; height: .9rem; }
.mock-side { position: absolute; z-index: 3; left: -1.25rem; bottom: 0; padding: .9rem 1.1rem; border-radius: 14px; min-width: 12.5rem; animation: floatA 6s ease-in-out infinite; }
.mock-side span { font-size: .75rem; color: var(--ink-4); display: block; }
.mock-side b { font-family: var(--display); font-size: 1.25rem; letter-spacing: -.02em; display: block; line-height: 1.15; }
.mock-side small { display: inline-flex; align-items: center; gap: .3rem; margin-top: .3rem; font-size: .78rem; color: var(--brand-2); font-weight: 600; }
.mock-toast { position: absolute; z-index: 3; right: -.75rem; top: -.25rem; padding: .7rem .95rem; border-radius: 12px; display: inline-flex; align-items: center; gap: .55rem; font-size: .85rem; font-weight: 600; animation: floatB 7s ease-in-out infinite; }
.mock-toast .ic { color: var(--brand); }
@keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (max-width: 480px) { .mock-side { left: 0; } .mock-toast { right: 0; } }

/* ================================================================
   Trust strip
   ================================================================ */
.trust-strip { border-block: 1px solid var(--line-2); background: #fff; }
.trust-strip ul { list-style: none; margin: 0; padding: 1.1rem 0; display: grid; gap: .8rem 1.5rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .trust-strip ul { grid-template-columns: repeat(4, 1fr); } }
.trust-strip li { display: flex; align-items: center; gap: .7rem; font-size: .92rem; font-weight: 500; color: var(--ink-2); }
.trust-strip .icbox { width: 2.3rem; height: 2.3rem; border-radius: 10px; }

/* ================================================================
   Stats
   ================================================================ */
.stats { display: grid; gap: 1rem; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.stat { padding: 1.5rem; border-radius: var(--r-md); }
.stat b { display: block; font-family: var(--display); font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: .5rem; color: var(--ink-3); font-size: .95rem; max-width: 26ch; }
.stat--red b { color: var(--red); }
.stat--brand b { color: var(--brand-2); }

/* ================================================================
   Feature cards (reasons, checks)
   ================================================================ */
.cards { display: grid; gap: 1rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.fcard { padding: 1.5rem; border-radius: var(--r-md); transition: transform .15s ease, box-shadow .15s ease; }
.fcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.fcard .icbox { margin-bottom: 1rem; }
.fcard h3 { margin-bottom: .4rem; }
.fcard p { color: var(--ink-3); font-size: .95rem; margin: 0; }
.fcard .tag { display: inline-block; margin-top: .9rem; font-family: var(--mono); font-size: .74rem; color: var(--ink-4); }

/* ================================================================
   Steps
   ================================================================ */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 1.25rem; position: relative; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } .steps::before { content: ''; position: absolute; left: 12%; right: 12%; top: 1.7rem; height: 2px; background: linear-gradient(90deg, var(--brand-soft), var(--brand), var(--brand-soft)); } }
.steps li { counter-increment: s; position: relative; padding: 1.5rem; border-radius: var(--r-md); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.25rem; margin-bottom: 1rem; box-shadow: 0 0 0 6px #fff; position: relative; z-index: 1; }
.steps h3 { margin-bottom: .4rem; }
.steps p { color: var(--ink-3); font-size: .95rem; margin: 0; }
.steps .chip-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.chip-row span { font-size: .78rem; padding: .3rem .6rem; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--ink-3); }

/* ================================================================
   Compare tool
   ================================================================ */
.compare { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-lg); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.chip { font: inherit; font-size: .9rem; font-weight: 500; padding: .5rem .95rem; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; transition: all .12s; }
.chip:hover { border-color: var(--brand); color: var(--brand-2); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cmp-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.cmp-rows li { display: grid; grid-template-columns: 8rem 1fr 4rem; align-items: center; gap: .9rem; padding: .55rem .75rem; border-radius: 10px; background: var(--bg-2); }
.cmp-rows .cn { font-weight: 500; font-size: .95rem; }
.cmp-rows .track { height: 10px; background: #e2e8f0; border-radius: 5px; overflow: hidden; }
.cmp-rows .fill { display: block; height: 100%; border-radius: 5px; background: var(--ink-4); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.cmp-rows .pc { font-family: var(--mono); font-size: .9rem; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.cmp-rows li[data-tier=favourable] .fill { background: var(--brand); }
.cmp-rows li[data-tier=elevated] .fill { background: var(--amber); }
.cmp-rows li[data-tier=high] .fill { background: var(--red); }
.cmp-note { margin-top: 1.25rem; padding: 1rem 1.1rem; border-radius: 12px; background: var(--bg-mint); color: var(--ink-2); font-size: .95rem; }
@media (max-width: 520px) { .cmp-rows li { grid-template-columns: 6.5rem 1fr 3.4rem; } }

/* ================================================================
   Versus table
   ================================================================ */
.vs { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; box-shadow: var(--shadow-md); }
.vs th, .vs td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: middle; font-size: .95rem; }
.vs th { background: var(--bg-2); font-family: var(--display); font-weight: 700; letter-spacing: -.01em; }
.vs th:last-child, .vs td:last-child { background: var(--bg-mint); }
.vs tr:last-child td { border-bottom: 0; }
.vs td:first-child { color: var(--ink-3); }
.vs .yes, .vs .no { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }
.vs .yes { color: var(--brand-2); }
.vs .no { color: var(--red); }
.vs-wrap { overflow-x: auto; }
@media (max-width: 600px) { .vs th, .vs td { padding: .8rem .7rem; font-size: .88rem; } }

/* ================================================================
   Pricing
   ================================================================ */
.plans { display: grid; gap: 1.25rem; align-items: stretch; }
@media (min-width: 860px) { .plans { grid-template-columns: 1fr 1.15fr; gap: 1.5rem; } }
.plan { position: relative; padding: 1.75rem; border-radius: var(--r-lg); display: flex; flex-direction: column; }
.plan--paid { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.plan-flag { position: absolute; top: -.85rem; left: 1.5rem; }
.plan h3 { margin-bottom: .2rem; }
.plan .price { font-family: var(--display); font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin-bottom: .5rem; }
.plan .price small { font-family: var(--sans); font-size: .9rem; font-weight: 400; letter-spacing: 0; color: var(--ink-4); }
.plan ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .6rem; flex: 1; }
.plan li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.plan li .ic { color: var(--brand); margin-top: .2rem; }
.plan--free li .ic { color: var(--ink-4); }
.plan .btn { width: 100%; }
.anchor { margin-top: 1.5rem; padding: 1.1rem 1.25rem; border-radius: var(--r-md); background: var(--bg-2); border: 1px dashed var(--line); color: var(--ink-3); font-size: .95rem; }
/* Centred, not left-hugged: the box is the full width of the two pricing cards
   above it, so a 64ch line pinned left leaves half the panel visibly empty. */
.anchor p { margin: 0 auto; max-width: 64ch; }
.anchor b { color: var(--ink); }

/* ================================================================
   Guarantee
   ================================================================ */
.guarantee { position: relative; overflow: hidden; display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: var(--r-lg); background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #fff; box-shadow: var(--shadow-lg); }
.guarantee::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(30rem 20rem at 95% 0%, rgba(34,197,166,.25), transparent 60%); }
@media (min-width: 820px) { .guarantee { grid-template-columns: 1fr auto; gap: 3rem; } }
.guarantee h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.guarantee p { color: #cbd5e1; max-width: 54ch; }
.guarantee p b { color: #fff; }
.seal { position: relative; width: 11rem; height: 11rem; border-radius: 50%; display: grid; place-content: center; text-align: center; margin-inline: auto; border: 2px solid rgba(34,197,166,.7); box-shadow: 0 0 0 12px rgba(34,197,166,.08), inset 0 0 60px rgba(34,197,166,.25); }
.seal b { font-family: var(--display); font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; display: block; }
.seal span { font-size: .85rem; color: #cbd5e1; }

/* ================================================================
   FAQ
   ================================================================ */
.faq { display: grid; gap: .6rem; max-width: 48rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; padding: 0 1.25rem; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; padding: 1.1rem 0; font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.015em; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-2); font-family: var(--mono); font-size: 1.1rem; flex: none; }
.faq details[open] summary::after { content: '\2212'; }
.faq p { color: var(--ink-3); font-size: .96rem; margin: 0 0 1.1rem; }

/* ================================================================
   Closing + footer + dock
   ================================================================ */
.closing { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 8vw, 6rem); background: linear-gradient(135deg, var(--brand-2), #0e8a76 60%, #22c5a6); color: #fff; text-align: center; }
.closing h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.closing .lede { color: rgba(255,255,255,.85); margin-inline: auto; }
.closing .btn--onDark { color: var(--brand-2); }
.foot { background: var(--bg-2); border-top: 1px solid var(--line-2); padding-block: clamp(2.5rem, 5vw, 4rem) 3rem; }
.foot-grid { display: grid; gap: 2.25rem 1.5rem; align-items: start; }
@media (min-width: 620px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } .foot-brand { grid-column: 1 / -1; } }
@media (min-width: 940px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .foot-brand { grid-column: auto; } }
.foot-brand { max-width: 24rem; }
.foot-tag { color: var(--ink-3); font-size: .93rem; margin: .75rem 0 0; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.foot-col h3 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); margin: 0 0 .3rem; }
.foot-col a { color: var(--ink-3); text-decoration: none; font-size: .93rem; transition: color .12s ease; }
.foot-col a:hover { color: var(--brand-2); }
.foot-base { margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: 1rem; }
@media (min-width: 860px) { .foot-base { grid-template-columns: 1fr auto; align-items: end; } }
.foot small { display: block; color: var(--ink-4); font-size: .8rem; line-height: 1.65; max-width: 78ch; }
.foot-copy { margin: 0; color: var(--ink-4); font-size: .8rem; white-space: nowrap; }

.dock { position: fixed; inset: auto 0 0 0; z-index: 55; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: .7rem 1rem; padding-bottom: calc(.7rem + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 1rem; }
.dock small { color: var(--ink-3); font-size: .82rem; line-height: 1.3; }
.dock .btn { flex: none; margin-left: auto; }
@media (min-width: 760px) { .dock { display: none; } }
@media (max-width: 759px) { body.has-dock { padding-bottom: 5.4rem; } }

/* ================================================================
   Chat
   ================================================================ */
.chat-toggle { position: fixed; right: 1rem; bottom: 1rem; z-index: 50; box-shadow: var(--shadow-lg); transition: opacity .25s, transform .25s; }
.chat-toggle.is-hidden { opacity: 0; pointer-events: none; transform: translateY(8px); }
@media (max-width: 759px) { .chat-toggle { bottom: 5.8rem; } }
.chat-panel { position: fixed; right: 1rem; bottom: 5rem; z-index: 50; width: min(23rem, calc(100vw - 2rem)); max-height: min(30rem, 68vh); display: none; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
@media (max-width: 759px) { .chat-panel { bottom: 10.6rem; } }
.chat-panel[data-open=true] { display: flex; }
.chat-panel > header { padding: 1rem; border-bottom: 1px solid var(--line-2); }
.chat-panel h2 { font-size: 1rem; margin: 0; }
.chat-panel header span { font-size: .82rem; color: var(--ink-4); }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .7rem; }
.msg { font-size: .93rem; padding: .6rem .85rem; border-radius: 12px; max-width: 92%; }
.msg.user { background: var(--ink); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.bot { background: var(--bg-2); border-bottom-left-radius: 4px; }
.msg .src { display: block; margin-top: .4rem; font-size: .75rem; }
.chat-form { display: flex; gap: .5rem; padding: .75rem; border-top: 1px solid var(--line-2); }

/* ================================================================
   Forms
   ================================================================ */
label { display: block; font-weight: 500; margin-bottom: .45rem; }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=number], select, textarea { width: 100%; min-height: 3rem; padding: .75rem .9rem; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); transition: border-color .12s, box-shadow .12s; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(14,138,118,.14); outline: none; }
fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { font: inherit; min-height: 2.9rem; padding: .6rem 1.1rem; border: 1px solid var(--line); background: #fff; border-radius: var(--r-sm); cursor: pointer; color: var(--ink); transition: all .12s; }
.choice:hover { border-color: var(--brand); }
.choice[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.notice { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--r-sm); padding: .8rem 1rem; font-size: .93rem; margin-bottom: 1.5rem; }
.notice p { margin: 0; }
.error { color: var(--red); font-size: .92rem; font-weight: 500; }
.narrow { max-width: 46rem; }
.pad-top { padding-top: 2rem; }

/* ================================================================
   The check — app layout
   ================================================================ */
.app { display: grid; gap: 1.5rem; align-items: start; margin: 1.5rem auto 4.5rem; }
@media (min-width: 940px) { .app { grid-template-columns: minmax(0, 1fr) 20rem; gap: 2rem; } }
.stepper { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.stepper button { font: inherit; font-size: .82rem; font-weight: 600; padding: .4rem .8rem; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; color: var(--ink-4); cursor: pointer; display: inline-flex; align-items: center; gap: .45rem; }
.stepper button[data-state=done] { color: var(--brand-2); border-color: rgba(14,138,118,.4); background: var(--bg-mint); }
.stepper button[data-state=current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.stepper button .n { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; font-size: .7rem; background: rgba(0,0,0,.06); }
.stepper button[data-state=current] .n { background: rgba(255,255,255,.2); }
.stepper button[data-state=done] .n { background: var(--brand); color: #fff; }
.stepper button .ic { width: .8rem; height: .8rem; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-md); }
.step-eyebrow { color: var(--brand-2); font-weight: 600; font-size: .88rem; margin-bottom: .4rem; }
.step h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: .4rem; }
.step > p.hint { margin-bottom: 1.5rem; }
.field { margin-bottom: 1.4rem; }
.field .with-ic { position: relative; }
.field .with-ic .ic { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--ink-4); pointer-events: none; }
.field .with-ic input, .field .with-ic select { padding-left: 2.6rem; }
.two { display: grid; gap: 1rem; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }
.stepnav { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.5rem; }
.stepnav .btn { flex: 1; }
#nights { display: grid; gap: .5rem 1.5rem; }
@media (min-width: 640px) { #nights { grid-template-columns: 1fr 1fr; } }
.nights-row { display: grid; grid-template-columns: 1fr 5.5rem; gap: .75rem; align-items: center; margin-bottom: .25rem; }
.nights-row label { margin: 0; font-weight: 400; }
.mini { display: none; background: var(--ink); color: #fff; border-radius: 14px; padding: .8rem 1rem; margin-bottom: 1rem; grid-template-columns: 1fr auto; align-items: center; column-gap: .75rem; }
.mini span { grid-column: 1 / -1; font-size: .78rem; color: #cbd5e1; }
.mini b { font-family: var(--display); font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; }
.mini em { font-style: normal; font-family: var(--mono); font-size: .8rem; color: #7ee8d3; }
@media (max-width: 939px) { .mini { display: grid; } }

.side { position: sticky; top: 5.25rem; display: grid; gap: 1rem; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.4rem; box-shadow: var(--shadow-md); }
.panel h3 { font-family: var(--sans); font-size: .82rem; color: var(--ink-4); font-weight: 600; letter-spacing: .01em; margin-bottom: .7rem; }
.panel .big { font-family: var(--display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 0; }
.panel .kv { display: grid; }
.panel .kv > div { display: flex; justify-content: space-between; gap: .75rem; align-items: baseline; padding-block: .55rem; border-bottom: 1px solid var(--line-2); font-size: .93rem; }
.panel .kv > div:last-child { border-bottom: 0; }
.panel .kv b { font-weight: 600; text-align: right; }
.panel .kv .muted { color: var(--ink-4); font-weight: 400; }
.panel .rate { display: flex; align-items: center; gap: .75rem; margin-top: .8rem; }
.panel .rate .track { flex: 1; height: 8px; background: #e2e8f0; border-radius: 4px; overflow: hidden; }
.panel .rate .fill { display: block; height: 100%; background: var(--brand); border-radius: 4px; transition: width .5s cubic-bezier(.2,.8,.2,1); }
.panel .rate[data-tier=elevated] .fill { background: var(--amber); }
.panel .rate[data-tier=high] .fill { background: var(--red); }
.panel .rate .pc { font-family: var(--mono); font-size: .85rem; font-weight: 600; }
.panel--privacy { background: var(--bg-2); box-shadow: none; }
.panel--privacy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: .9rem; color: var(--ink-2); }
.panel--privacy li { display: flex; gap: .55rem; align-items: flex-start; }
.panel--privacy .ic { color: var(--brand); margin-top: .15rem; }
@media (max-width: 939px) { .side { position: static; } .panel--privacy { order: 5; } }
.working { text-align: center; padding: 3rem 1.5rem; }
.spinner { width: 3rem; height: 3rem; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--brand); margin: 0 auto 1rem; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.working p { margin-inline: auto; color: var(--ink-3); }

/* ================================================================
   Report
   ================================================================ */
.report-head { margin-bottom: 1.5rem !important; position: relative; overflow: hidden; display: grid; gap: 1.5rem; align-items: center; border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); color: #fff; margin-bottom: 1.25rem; box-shadow: var(--shadow-lg); }
@media (min-width: 760px) { .report-head { grid-template-columns: 1fr auto; } }
.report-head[data-v=ready] { background: linear-gradient(135deg, var(--brand-2), var(--brand)); }
.report-head[data-v=needs-work] { background: linear-gradient(135deg, #8a5a12, #b7791f); }
.report-head[data-v=not-ready] { background: linear-gradient(135deg, #9f2a22, #d33f35); }
.report-head h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: .4rem; }
.report-head p { color: rgba(255,255,255,.9); margin: 0; max-width: 46ch; }
.gauge { position: relative; width: 9.5rem; height: 9.5rem; margin-inline: auto; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.gauge .bg { stroke: rgba(255,255,255,.22); }
.gauge .fg { stroke: #fff; stroke-dasharray: 289; stroke-dashoffset: 289; transition: stroke-dashoffset 1.1s cubic-bezier(.2,.8,.2,1); }
.gauge .num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge .num b { display: block; font-family: var(--display); font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.gauge .num span { font-size: .78rem; color: rgba(255,255,255,.85); }
.summary-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-bottom: 1.5rem; }
.destination { margin-bottom: 1.5rem !important; }
.summary-row > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem; display: flex; gap: .75rem; align-items: center; box-shadow: var(--shadow-sm); }
.summary-row b { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.summary-row span { font-size: .82rem; color: var(--ink-4); }
@media (max-width: 759px) { .summary-row { gap: .5rem; } .summary-row > div { flex-direction: column; align-items: flex-start; gap: .5rem; padding: .85rem; } .summary-row b { font-size: 1.3rem; } .summary-row span { font-size: .78rem; } }
.destination { display: grid; gap: 1rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .destination { grid-template-columns: auto 1fr; align-items: start; gap: 1.25rem; } }
.destination .flag { width: 4.2rem; height: 4.2rem; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-content: center; font-family: var(--display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; }
.destination .big { font-size: 1.6rem; margin-bottom: .25rem; }
.destination p { margin-bottom: .4rem; }
.destination p:last-child { margin-bottom: 0; }
.destination .big { line-height: 1.15; }
.group { margin-top: 2.5rem; }
.group > .finding:last-of-type { margin-bottom: 0; }
.group-head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.group-head h2 { font-size: 1.3rem; margin: 0; }
.group-head .count { font-family: var(--mono); font-size: .8rem; color: var(--ink-4); border: 1px solid var(--line); border-radius: var(--r-pill); padding: .1rem .55rem; }
.finding { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.25rem; margin: 0 0 .75rem; box-shadow: var(--shadow-sm); }
.finding[data-s=blocker] { border-color: rgba(211,63,53,.35); }
.finding[data-s=warning] { border-color: rgba(183,121,31,.35); }
.finding[data-s=pass] { border-color: rgba(14,138,118,.3); }
.finding h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.finding p { font-size: .95rem; color: var(--ink-3); margin-bottom: .6rem; }
.finding .fix { background: var(--bg-mint); border-radius: 10px; padding: .75rem .9rem; font-size: .93rem; color: var(--ink-2); margin-top: .6rem; }
.finding .meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; font-size: .78rem; }
.finding .meta span, .finding .meta a { display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .65rem; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--ink-4); text-decoration: none; background: #fff; max-width: 100%; min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
.finding .meta a:hover { border-color: var(--brand); color: var(--brand-2); }
.finding details summary { cursor: pointer; color: var(--brand-2); font-weight: 600; font-size: .93rem; list-style: none; display: inline-flex; align-items: center; gap: .35rem; }
.finding details summary::-webkit-details-marker { display: none; }
.finding details[open] summary .ic { transform: rotate(180deg); }
.preview { position: relative; }
.preview .finding { filter: blur(3px); opacity: .5; pointer-events: none; user-select: none; }
.locked { position: relative; z-index: 2; margin-top: -1.5rem; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-lg); background: linear-gradient(135deg, #0f172a, #1e293b); color: #fff; box-shadow: var(--shadow-lg); }
.locked h2 { color: #fff; font-size: 1.5rem; margin-bottom: .5rem; }
.locked p { color: #cbd5e1; max-width: 46ch; }
.locked ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .5rem; }
.locked li { padding-left: 1.6rem; position: relative; font-size: .95rem; color: #e2e8f0; }
.locked li::before { content: ''; position: absolute; left: 0; top: .45em; width: .6rem; height: .6rem; border-radius: 50%; background: #22c5a6; }
.locked-grid { display: grid; gap: 1.5rem 2rem; align-items: start; }
@media (min-width: 760px) { .locked-grid { grid-template-columns: minmax(0, 1fr) 18rem; } }
.locked .price { font-family: var(--display); font-size: 2.3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 1rem; }
.locked .price small { font-family: var(--sans); font-size: .85rem; font-weight: 400; letter-spacing: 0; color: #cbd5e1; display: block; margin-top: .35rem; }
.locked .secure { display: flex; gap: .5rem; align-items: center; font-size: .82rem; color: #cbd5e1; margin-top: .75rem; }


/* ---- the second way in: an access code, given equal billing to Buy now ---- */
.pay-or { display: flex; align-items: center; gap: .75rem; margin: 1rem 0 .75rem; color: #94a3b8; font-size: .8rem; }
.pay-or::before, .pay-or::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.16); }
.code-entry > summary { cursor: pointer; list-style: none; text-align: center; font-size: .9rem; font-weight: 600; color: #7ee8d3; padding: .55rem; border: 1px solid rgba(126,232,211,.35); border-radius: var(--r-sm); transition: background .15s ease; }
.code-entry > summary::-webkit-details-marker { display: none; }
.code-entry > summary:hover { background: rgba(126,232,211,.10); }
.code-entry[open] > summary { margin-bottom: .6rem; }
.code-row { display: flex; gap: .5rem; }
.code-row input { flex: 1; min-width: 0; padding: .6rem .75rem; border-radius: var(--r-sm); border: 1px solid #3a4763; background: #141b2c; color: #fff; font: inherit; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; }
.code-row input::placeholder { color: #64748b; letter-spacing: normal; text-transform: none; }
.code-row input:focus { outline: none; border-color: #22c5a6; box-shadow: 0 0 0 3px rgba(34,197,166,.22); }
.code-entry .src { color: #cbd5e1; margin: .5rem 0 0; }
.pass-list { display: grid; gap: .75rem; }
.pass-list .finding { margin: 0; }
.pass-list .finding p { display: none; }

/* ================================================================
   Admin
   ================================================================ */
.admin-grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); margin-bottom: 1.5rem; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1rem; }
.stat-card b { display: block; font-family: var(--display); font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat-card span { color: var(--ink-4); font-size: .84rem; }
.tabs { display: flex; gap: .25rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: .75rem 1rem; font: inherit; color: var(--ink-4); cursor: pointer; }
.tabs button[aria-selected=true] { color: var(--ink); border-bottom-color: var(--brand); font-weight: 600; }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: .9rem; }
th, td { text-align: left; padding: .7rem .75rem; border-bottom: 1px solid var(--line-2); vertical-align: top; }
th { font-weight: 600; background: var(--bg-2); }
.tag { display: inline-block; padding: .1rem .5rem; border-radius: 4px; font-size: .76rem; border: 1px solid var(--line); }
.tag.ok { color: var(--brand-2); border-color: var(--brand); }
.tag.no { color: var(--red); border-color: var(--red); }
.scroll { overflow-x: auto; margin-bottom: 1.5rem; }

/* ================================================================
   Long-form pages
   ================================================================ */
.doc { background: #fff; }

/* ---- header band shared by every long-form page ---- */
.doc-hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line-2);
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
.doc-hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(42rem 24rem at 80% -10%, rgba(14,138,118,.13), transparent 62%),
    radial-gradient(32rem 20rem at 0% 110%, rgba(34,197,166,.09), transparent 60%),
    linear-gradient(180deg, #fff 0%, #f6fbf9 100%); }
.doc-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: .6rem; max-width: 20ch; }
.doc-hero .lede { max-width: 58ch; margin-bottom: 0; }
.doc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin: 1.1rem 0 0; }
.doc-meta .pill { font-weight: 500; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .86rem; margin-bottom: 1rem; color: var(--ink-4); }
.crumbs a { color: var(--ink-4); text-decoration: none; }
.crumbs a:hover { color: var(--brand-2); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---- two-column body: sticky contents rail + article ---- */
.doc-body { display: grid; gap: 2.5rem; padding-block: clamp(2.25rem, 5vw, 3.5rem) 1rem; align-items: start; }
@media (min-width: 940px) { .doc-body { grid-template-columns: 15rem minmax(0, 1fr); gap: 3.5rem; } }
.doc-toc { display: none; }
@media (min-width: 940px) { .doc-toc { display: block; position: sticky; top: 5.5rem; max-height: calc(100vh - 8rem); overflow-y: auto; } }
.doc-toc h2 { font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); margin: 0 0 .9rem; }
.doc-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; border-left: 2px solid var(--line); }
.doc-toc a { display: block; padding: .4rem .9rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-3); text-decoration: none; font-size: .9rem; line-height: 1.4; transition: color .12s ease, border-color .12s ease; }
.doc-toc a:hover { color: var(--ink); }
.doc-toc a[aria-current=true] { color: var(--brand-2); font-weight: 600; border-left-color: var(--brand); }

/* A page with no contents rail — the blog and news indexes — must not keep the
   rail's 15rem column. Left in, it pushed every card right of centre and left a
   tall empty strip down the whole left side of the page. */
@media (min-width: 940px) { .doc-body--full { grid-template-columns: minmax(0, 1fr); } }
.doc-body--full .doc-article { max-width: none; }
@media (min-width: 1100px) { .doc-body--full .postlist { grid-template-columns: repeat(3, 1fr); } }

.prose { max-width: 42rem; margin: 0 auto; padding: 3rem 1.25rem 0; }
.prose article, .doc-article { font-size: 1.06rem; line-height: 1.75; max-width: 46rem; }
.prose article p, .prose article li, .doc-article p, .doc-article li { color: var(--ink-2); }
.prose article h2, .doc-article h2 { margin-top: 3rem; scroll-margin-top: 6rem; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.doc-article h2:first-child { margin-top: 0; }
.doc-article h3 { margin-top: 2rem; scroll-margin-top: 6rem; }
.prose article ul, .prose article ol, .doc-article ul, .doc-article ol { padding-left: 1.3rem; }
.doc-article li { margin-bottom: .5rem; }
.doc-article li::marker { color: var(--brand); }
.prose article table, .doc-article table { font-size: .93rem; margin-block: 1.5rem; }
.doc-article > p:first-of-type { font-size: 1.12rem; color: var(--ink-2); }
.doc-article blockquote { margin: 1.75rem 0; padding: 1.1rem 1.4rem; border-left: 3px solid var(--brand); background: var(--bg-mint); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.doc-article blockquote p:last-child { margin-bottom: 0; }
.doc-article strong { color: var(--ink); }
.doc-note { display: flex; gap: .9rem; align-items: flex-start; background: var(--bg-mint); border: 1px solid var(--brand-soft); border-radius: var(--r-md); padding: 1.1rem 1.25rem; margin-block: 1.75rem; }
.doc-note p { margin: 0; font-size: .96rem; }
.doc-note .icbox { width: 2.2rem; height: 2.2rem; border-radius: 9px; }
.doc-note .icbox .ic { width: 1.1rem; height: 1.1rem; }

/* ---- post lists: cards, searchable ---- */
.list-tools { display: grid; gap: .75rem; margin-bottom: 1.75rem; }
@media (min-width: 640px) { .list-tools { grid-template-columns: minmax(0, 22rem) auto; align-items: center; justify-content: space-between; } }
.searchbox { position: relative; display: flex; align-items: center; }
.searchbox .ic { position: absolute; left: .85rem; width: 1.05rem; height: 1.05rem; color: var(--ink-4); pointer-events: none; }
.searchbox input { width: 100%; padding: .7rem .9rem .7rem 2.5rem; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; font: inherit; font-size: .95rem; }
.searchbox input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px rgba(14,138,118,.12); }
.list-count { color: var(--ink-4); font-size: .88rem; margin: 0; }
.postlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 720px) { .postlist { grid-template-columns: repeat(2, 1fr); } }
.postlist li { display: flex; }
.postlist a { display: flex; flex-direction: column; gap: .45rem; width: 100%; padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.postlist a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand-soft); }
.postlist strong { font-family: var(--display); font-size: 1.12rem; line-height: 1.25; letter-spacing: -.02em; }
.postlist span { display: block; color: var(--ink-3); font-size: .92rem; }
.postlist .post-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: auto; padding-top: .6rem; color: var(--ink-4); font-size: .8rem; }
.postlist .post-foot .dot { opacity: .5; }
.list-empty { padding: 2.5rem 1.25rem; text-align: center; color: var(--ink-4); border: 1px dashed var(--line); border-radius: var(--r-md); }

.cta-band { margin-block: 3rem; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-lg); background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; box-shadow: var(--shadow-md); }
.cta-band h2 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-bottom: .4rem; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 46ch; }
.cta-band .btn--onDark { color: var(--brand-2); }


/* ================================================================
   Notice bar, stamp, post templates, admin forms
   ================================================================ */
.notice-bar { background: var(--ink); color: #fff; font-size: .9rem; }
.notice-bar[data-level=warning] { background: #7c2d12; }
.notice-bar .page { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; padding-block: .55rem; }
.notice-bar a { color: #7ee8d3; font-weight: 600; text-decoration: none; }
.notice-bar a:hover { color: #fff; }

.mock-label { position: absolute; top: .1rem; left: 0; margin: 0; font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-4); }

.stamp { width: clamp(11rem, 18vw, 14rem); height: auto; color: #7ee8d3; transform: rotate(-11deg); display: block; margin-inline: auto; filter: drop-shadow(0 6px 18px rgba(0,0,0,.35)); }
.stamp text { font-family: var(--display); }
.stamp--sm { width: clamp(5.5rem, 14vw, 7rem); flex: none; margin-inline: 0; margin-right: .6rem; }

/* the money-back promise, repeated at the point of payment */
.locked-promise { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); }
.locked-promise p { margin: 0; font-size: .88rem; color: #cbd5e1; min-width: 14rem; flex: 1 1 14rem; }
.locked-promise a { color: #7ee8d3; font-weight: 600; }
@media (max-width: 520px) { .locked-promise { flex-direction: column; align-items: flex-start; gap: .9rem; } }

.post-date { color: var(--ink-4); font-size: .9rem; margin-bottom: .5rem; }
.post-source { display: flex; gap: .75rem; align-items: flex-start; background: var(--bg-mint); border: 1px solid var(--brand-soft); border-radius: var(--r-md); padding: .9rem 1.1rem; font-size: .93rem; margin-block: 1.5rem; }
.post-source p { margin: 0; }
.announce { background: var(--amber-soft); border: 1px solid #f1d9a8; border-radius: var(--r-md); padding: 1.25rem 1.5rem; }
.prose[data-template=checklist] article ul, .doc-article[data-template=checklist] ul { list-style: none; padding-left: 0; }
.prose[data-template=checklist] article ul li, .doc-article[data-template=checklist] ul li { position: relative; padding-left: 2.1rem; margin-bottom: .6rem; }
.prose[data-template=checklist] article ul li::before, .doc-article[data-template=checklist] ul li::before { content: ''; position: absolute; left: 0; top: .35em; width: 1.2rem; height: 1.2rem; border: 2px solid var(--brand); border-radius: 6px; }

/* reading progress on long-form pages */
.readbar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 80; background: linear-gradient(90deg, var(--brand-2), var(--brand)); transition: width .1s linear; }
@media (prefers-reduced-motion: reduce) { .readbar { transition: none; } }

.admin-form { display: grid; gap: .9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem; margin-bottom: 1.5rem; }
.admin-form .row { display: grid; gap: .9rem; }
@media (min-width: 720px) { .admin-form .row { grid-template-columns: 1fr 1fr; } .admin-form .row-3 { grid-template-columns: 1fr 1fr 1fr; } }
.admin-form textarea { min-height: 14rem; font-family: var(--mono); font-size: .88rem; line-height: 1.5; }
.admin-form .actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.admin-form label { font-size: .9rem; }
.diff { font-family: var(--mono); font-size: .8rem; white-space: pre-wrap; background: var(--bg-2); border-radius: 8px; padding: .75rem; max-height: 16rem; overflow: auto; }
.diff .add { color: var(--brand-2); }
.diff .rem { color: var(--red); }
.switch { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; cursor: pointer; }
.gate-card { max-width: 26rem; margin: 3rem auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; box-shadow: var(--shadow-lg); }
.gate-card h1 { font-size: 1.7rem; }
.gate-card details summary { cursor: pointer; color: var(--ink-3); font-size: .92rem; }

/* ================================================================
   Contact page
   ================================================================ */
.contact-layout { display: grid; gap: 2rem; padding-block: clamp(2.25rem, 5vw, 3.5rem) 1rem; align-items: start; }
@media (min-width: 940px) { .contact-layout { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 3rem; } }
.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: clamp(1.4rem, 3vw, 2.25rem); }
.contact-form-card h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: .4rem; }
.contact-form-card .field { margin-bottom: 1.1rem; }
.contact-form-card label { display: block; font-size: .92rem; font-weight: 600; margin-bottom: .35rem; }
.contact-form-card input, .contact-form-card select, .contact-form-card textarea {
  width: 100%; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--r-sm);
  font: inherit; font-size: .97rem; background: #fff; color: var(--ink); }
.contact-form-card textarea { resize: vertical; min-height: 8rem; line-height: 1.6; }
.contact-form-card input:focus, .contact-form-card select:focus, .contact-form-card textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(14,138,118,.12); }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; margin-top: .4rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-done { display: flex; gap: 1rem; align-items: flex-start; }
.contact-done h3 { margin-bottom: .3rem; }
.contact-done p { color: var(--ink-3); margin: 0; }

.contact-side { display: grid; gap: .9rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.15rem 1.25rem; box-shadow: var(--shadow-sm); }
.contact-card h3 { font-size: .95rem; margin-bottom: .2rem; }
.contact-card p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.contact-card .src { margin-top: .25rem; }
.contact-card--quiet { background: var(--bg-2); box-shadow: none; }

/* ================================================================
   Landing: denser stats band (the first scroll was too airy)
   ================================================================ */
.band--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.stats-split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .stats-split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 3rem; } }
.stats-lede h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .7rem; max-width: 18ch; }
.stats-lede p { color: var(--ink-3); max-width: 44ch; }
.stats-lede .btn { margin-top: .4rem; }
.stats-split .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.stats-split .stat { padding: 1.15rem 1.25rem; }
.stats-split .stat b { font-size: clamp(1.5rem, 3.2vw, 2.05rem); }
.stats-split .stat span { font-size: .87rem; margin-top: .35rem; max-width: none; }
@media (max-width: 420px) { .stats-split .stats { grid-template-columns: 1fr; } }

/* the trust strip carried four items on one thin line; give it room to breathe */
.trust-strip ul { padding-block: 1.25rem; }
@media (min-width: 900px) { .trust-strip ul { grid-template-columns: repeat(4, 1fr); } }

/* The wizard needs a real h1 for search engines and screen readers, without
   competing with the step headings for attention. */
.check-h1 { font-size: 1.05rem; font-weight: 600; font-family: var(--sans); letter-spacing: 0; color: var(--ink-4); margin: 0 0 1rem; }
.plan .price s { font-size: .55em; opacity: .5; font-weight: 500; }

/* ================================================================
   Admin dashboard: a grouped sidebar instead of fifteen flat tabs
   ================================================================ */
.admin-shell { display: grid; gap: 1.5rem; align-items: start; padding-block: 1.5rem 4rem; }
@media (min-width: 1000px) { .admin-shell { grid-template-columns: 15rem minmax(0, 1fr); gap: 2rem; } }

.admin-nav { position: sticky; top: 5rem; display: grid; gap: 1.4rem; }
@media (max-width: 999px) { .admin-nav { position: static; } }
.admin-nav-group h4 { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ink-4); margin: 0 0 .5rem; padding-left: .7rem; }
.admin-nav-group { display: grid; gap: .12rem; }
.admin-nav button { display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  width: 100%; text-align: left; background: none; border: 0; border-radius: var(--r-sm);
  padding: .5rem .7rem; font: inherit; font-size: .93rem; color: var(--ink-3); cursor: pointer;
  transition: background .12s ease, color .12s ease; }
.admin-nav button:hover { background: var(--bg-2); color: var(--ink); }
.admin-nav button[aria-selected=true] { background: var(--brand-soft); color: var(--brand-2); font-weight: 600; }
.admin-nav .pip { font-family: var(--mono); font-size: .7rem; min-width: 1.35rem; text-align: center;
  padding: .05rem .35rem; border-radius: var(--r-pill); background: var(--red); color: #fff; }
.admin-nav button[aria-selected=true] .pip { background: var(--brand-2); }

.admin-head { margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-2); }
.admin-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: .3rem; }
.admin-head p { color: var(--ink-3); margin: 0; max-width: 62ch; font-size: .95rem; }

/* Overview cards carry a label and a meaning, not just a number. */
.admin-grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); margin-bottom: 1.5rem; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.1rem; box-shadow: var(--shadow-sm); }
.stat-card b { display: block; font-family: var(--display); font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat-card span { display: block; color: var(--ink-4); font-size: .82rem; margin-top: .15rem; }
.stat-card--alert { border-color: rgba(211,63,53,.4); background: var(--red-soft); }
.stat-card--alert b { color: var(--red); }

/* Anything that needs the owner's attention, surfaced instead of buried. */
.todo-list { display: grid; gap: .6rem; margin-bottom: 1.75rem; }
.todo { display: flex; gap: .85rem; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-left: 3px solid var(--amber); border-radius: var(--r-sm); padding: .9rem 1.1rem; }
.todo--ok { border-left-color: var(--brand); }
.todo b { display: block; font-size: .95rem; margin-bottom: .1rem; }
.todo p { margin: 0; color: var(--ink-3); font-size: .88rem; }
.todo .btn { margin-left: auto; flex: none; }

.admin-section + .admin-section { margin-top: 2.5rem; }
#tabbody h3 { font-size: 1.1rem; margin: 2rem 0 .3rem; }
#tabbody h3:first-child { margin-top: 0; }
#tabbody > .hint:first-of-type { margin-top: .2rem; }
.scroll { overflow-x: auto; margin-bottom: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.scroll table { border-radius: var(--r-md); overflow: hidden; }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: .9rem; }
th, td { text-align: left; padding: .75rem .85rem; border-bottom: 1px solid var(--line-2); vertical-align: top; }
th { font-weight: 600; background: var(--bg-2); font-size: .8rem; letter-spacing: .02em; color: var(--ink-3); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fcfdfe; }
