/* Product site. Light pages with dark feature sections; Inter for text, JetBrains Mono for files and code. */
:root {
  --ink: #0f172a;
  --text: #334155;
  --muted: #475569;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --bg: #ffffff;
  --soft: #f8fafc;
  --soft-2: #f1f5f9;
  --neon: #39ff14;
  --green: #006400;
  --check: #228b22;
  --mint: #f0fff4;
  --dark: #0f172a;
  --dark-card: #1e293b;
  --dark-line: #334155;
  --dark-text: #cbd5e1;
  --dark-muted: #94a3b8;
  --amber-bg: #fef3c7;
  --amber-ink: #92400e;
  --amber-line: #fcd34d;
  --blue-bg: #dbeafe;
  --blue-ink: #1e40af;
  --purple-bg: #f3e8ff;
  --purple-ink: #6b21a8;
  --radius: 16px;
  --radius-sm: 12px;
  --max: 1200px;
  --gutter: 24px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --shadow: 0 24px 60px -24px rgba(15, 23, 42, .28), 0 2px 6px rgba(15, 23, 42, .05);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--ink); text-underline-offset: .18em; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid #15803d; outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .cta-dark :focus-visible { outline-color: var(--neon); }
[hidden] { display: none !important; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }

/* ---- header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 1rem 2rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; text-decoration: none; color: var(--ink); white-space: nowrap; }
/* The wordmark keeps its own colours: navy and grey dots, for light backgrounds (the reversed file, with neon dots, is for dark ones). */
.brand-logo { display: block; height: 34px; width: auto; }
.site-nav { margin-left: auto; }
.nav-links { display: flex; gap: .2rem 1.6rem; }
.nav-links a { color: var(--text); font-size: 15px; font-weight: 500; text-decoration: none; padding: .35rem 0; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--neon); }
/* The menu button and the CTA buttons inside the nav appear only on phones (see "small-screen menu" below). */
.menu-toggle, .nav-actions { display: none; }

/* ---- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: inherit; font-weight: 600; font-size: 16px; line-height: 1.2; padding: 16px 24px; border-radius: var(--radius-sm); border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: #1e293b; box-shadow: 0 10px 24px -12px rgba(15, 23, 42, .6); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-light:hover { color: var(--ink); border-color: var(--ink); }
.btn-neon { background: var(--neon); color: var(--ink); font-weight: 700; }
.btn-neon:hover { color: var(--ink); box-shadow: 0 10px 30px -10px rgba(57, 255, 20, .6); }
.btn-ghost { background: transparent; color: #fff; border-color: var(--muted); }
.btn-ghost:hover { color: #fff; border-color: #fff; }
.btn-sm { font-size: 15px; padding: 11px 18px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .btn, .btn .arrow { transition: none; } .btn:hover, .btn:hover .arrow { transform: none; } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 0; }

/* ---- type */
h1, h2, h3 { color: var(--ink); margin: 0; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.75rem); font-weight: 800; line-height: 1.03; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
h3 { font-size: 1.375rem; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
p { margin: 0 0 1rem; }
.eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin: 0 0 1rem; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--text); max-width: 35rem; margin: 1.6rem 0 0; }
.sub { font-size: 1.125rem; line-height: 1.65; color: var(--text); max-width: 45rem; margin: 1.25rem 0 0; }
.fine { font-size: .875rem; color: var(--muted); }
code { font-family: var(--mono); font-size: .9em; background: var(--soft-2); padding: .1em .35em; border-radius: 5px; }
.ph { font-family: var(--mono); font-size: .88em; background: var(--amber-bg); color: var(--amber-ink); padding: .05em .35em; border-radius: 4px; white-space: nowrap; }
/* Legal drafts (7G-05): an undecided point and the draft banner on the legal pages; both block launch in build.mjs. */
.decision { background: var(--amber-bg); color: var(--amber-ink); border: 1px dashed var(--amber-line); padding: .05em .35em; border-radius: 4px; font-weight: 600; overflow-wrap: anywhere; }
.legal-draft { border: 2px solid var(--amber-line); background: var(--amber-bg); color: var(--amber-ink); border-radius: var(--radius); padding: 16px 20px; margin: 1.5rem 0; }
.legal-draft strong { color: var(--amber-ink); }
.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: .55rem .6rem; }
.legal-scroll { overflow-x: auto; }

/* ---- sections */
.band { padding: clamp(4rem, 9vw, 7rem) 0; }
.band-soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: var(--dark); color: var(--dark-text); }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: var(--neon); }
.band-dark .sub { color: var(--dark-text); }
.head { max-width: 47rem; margin-bottom: 3rem; }
.head-center { text-align: center; margin-left: auto; margin-right: auto; }
.head-center .sub { margin-left: auto; margin-right: auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.split > * { min-width: 0; }

/* ---- hero */
.hero { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem); }
.hero h1 { max-width: 11ch; }
.checks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .45rem; }
/* The tick is positioned rather than a flex item, so a line's words (and a placeholder chip) wrap as ordinary text on narrow screens. */
.checks li { position: relative; padding-left: calc(18px + .7rem); color: var(--text); font-size: 15px; line-height: 1.45; }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; background: no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23228b22' fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E"); }
.band-dark .checks li::before, .checks.on-dark li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%2339ff14' fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E"); }

/* window chrome around mocks and screenshots */
.window { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 6px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--soft); }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.window-bar span { flex: 1; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-right: 33px; }
.window-body { padding: 24px; }
.hero-window img { display: block; width: 100%; height: auto; }

/* import report mock */
.report-kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .25rem; }
.report-title { font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; margin: 0; overflow-wrap: anywhere; }
.report-meta { font-size: 13px; color: var(--muted); margin: .2rem 0 1rem; }
.tallies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.tally { border-radius: 10px; padding: 10px 12px; background: var(--soft-2); }
.tally b { display: block; font-size: 1.5rem; line-height: 1.1; }
.tally span { font-size: 12.5px; font-weight: 500; }
.tally.attn { background: var(--amber-bg); color: var(--amber-ink); }
.tally.check { background: var(--blue-bg); color: var(--blue-ink); }
.finding { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-top: 12px; font-size: 14px; color: var(--text); }
.finding.attn { border-color: var(--amber-line); }
.finding p { margin: .4rem 0 0; }
.finding .where { font-size: 12.5px; color: var(--muted); }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--soft-2); color: var(--muted); margin-right: .4rem; }
.tag.attn { background: var(--amber-bg); color: var(--amber-ink); }
.todo { font-size: 13px; }
.todo b { color: var(--ink); }

/* real screenshot frame */
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { text-align: center; font-size: .875rem; color: var(--muted); margin-top: .9rem; }
.hero-shot { margin-top: clamp(3rem, 6vw, 4.5rem); }

/* ---- formats strip */
.formats { padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.formats .split { align-items: start; }
.mini-head { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .8rem; }
.mini-head-next { margin-top: 1.6rem; }
.nowrap { white-space: nowrap; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.chips.solid li { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 600; }

/* ---- cards */
.cards { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.card p { color: var(--text); margin: .9rem 0 0; }
.card .more { display: inline-block; margin-top: 1rem; font-weight: 600; font-size: 15px; }
.icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; color: #fff; margin-bottom: 1.4rem; }
.icon-purple { background: linear-gradient(135deg, #c084fc, #7c3aed); }
.icon-blue { background: linear-gradient(135deg, #22d3ee, #2563eb); }
.icon-pink { background: linear-gradient(135deg, #f472b6, #c026d3); }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-img { aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--soft-2); margin-bottom: 1rem; }
.step-img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.step-num { font-family: var(--mono); font-size: 13px; color: var(--green); }
.step h3 { font-size: 1.25rem; margin: .35rem 0 .6rem; }
.step p { font-size: 15px; color: var(--text); margin: 0; }

/* dark report section */
.points { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.2rem; }
.points li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; }
.points li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; background: no-repeat center/20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%2339ff14' fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E"); }
.points b { display: block; color: #fff; font-size: 1.05rem; }
.points span { font-size: 15px; color: var(--dark-text); }
.dark-panel { background: var(--dark-card); border: 1px solid var(--dark-line); border-radius: 20px; overflow: hidden; }
.dark-panel-head { padding: 22px 24px; border-bottom: 1px solid var(--dark-line); }
.dark-panel-head strong { color: #fff; font-size: 1.05rem; }
.dark-panel-head p { margin: .2rem 0 0; font-size: 13px; color: var(--dark-muted); }
.dark-panel-body { padding: 8px 24px 24px; }
.group-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 1.2rem 0 .6rem; }
.group-label.attn { color: #fbbf24; }
.group-label.check { color: #93c5fd; }
.dfinding { background: var(--dark); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; font-size: 14px; color: #e2e8f0; }
.dfinding b { color: #fff; display: block; }
.dfinding p { margin: .3rem 0 0; }
.dfinding .todo { color: var(--dark-muted); }
.counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.counts div { border: 1px solid var(--dark-line); border-radius: 10px; padding: 10px; }
.counts b { display: block; color: #fff; font-size: 1.25rem; line-height: 1.2; }
.counts span { font-size: 12px; color: var(--dark-muted); }

/* file cards */
.files { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.file-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--soft); display: flex; flex-direction: column; }
.file-card.feature { border-color: var(--neon); box-shadow: 0 0 0 1px var(--neon), 0 18px 40px -24px rgba(34, 139, 34, .5); background: #fff; }
.file-card header { background: #fff; padding: 22px 24px; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; justify-content: space-between; align-items: flex-start; }
.file-card h3 { font-size: 1.15rem; }
.file-card header p { margin: .2rem 0 0; font-size: 14px; color: var(--text); }
.pill-free { flex: none; font-size: 12px; font-weight: 700; background: var(--neon); color: var(--ink); padding: 4px 10px; border-radius: 999px; }
.file-card pre { margin: 0; padding: 20px 24px; font-family: var(--mono); font-size: 13px; line-height: 1.8; color: var(--ink); overflow-x: auto; background: transparent; border: 0; }
.file-card pre .c { color: var(--muted); }
.file-card .checks { padding: 18px 24px 24px; margin: 0; }

/* gallery of real screenshots */
.gallery { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery figure { margin: 0; }
.gallery .frame { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--soft-2); }
.gallery .frame img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; transition: transform .5s ease; }
.gallery figure:hover .frame img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .gallery .frame img { transition: none; } .gallery figure:hover .frame img { transform: none; } }
.gallery figcaption { margin-top: 1rem; }
.gallery figcaption b { display: block; font-size: 1.1rem; color: var(--ink); }
.gallery figcaption span { font-size: 15px; color: var(--text); }

/* agent mock */
.agent-mock { padding: 24px; }
.bubble { background: var(--soft-2); border-radius: 14px; padding: 14px 18px; margin-left: 10%; font-size: 15px; color: var(--ink); }
.history { border: 1px solid var(--line); border-radius: 12px; margin-top: 16px; padding: 12px 16px; }
.history ol { list-style: none; margin: .4rem 0 0; padding: 0; font-size: 14px; }
.history li { display: flex; justify-content: space-between; gap: 1rem; padding: 4px 0; color: var(--ink); }
.history li span { color: var(--muted); }
.toast { background: var(--ink); color: #fff; border-radius: 12px; padding: 14px 16px; margin-top: 16px; font-size: 14px; }
.toast p { margin: 0 0 .7rem; display: flex; align-items: center; gap: .55rem; }
.toast p::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--neon); flex: none; }
.toast .fake-btn { display: inline-block; background: var(--neon); color: var(--ink); font-weight: 600; padding: 8px 14px; border-radius: 10px; }

/* finder */
.finder { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.finder label { display: block; font-weight: 700; font-size: 1.15rem; margin-bottom: .8rem; letter-spacing: -.01em; }
.finder-row { display: flex; gap: 10px; flex-wrap: wrap; }
input[type="search"] { flex: 1 1 16rem; min-width: 0; font: inherit; font-size: 16px; color: var(--ink); background: var(--soft); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 14px 16px; }
input[type="search"]::placeholder { color: #64748b; }
input[type="search"]:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(57, 255, 20, .45); }
.examples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }
.chip { font: inherit; font-size: 14px; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; cursor: pointer; transition: border-color .15s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
[data-finder-out] { margin-top: 1.2rem; }
.answer { font-size: 1.1rem; font-weight: 700; margin: 0 0 .9rem; }
.answer-built { color: var(--green); }
.results { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.result { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--soft); animation: rise .3s ease both; }
.result[data-status="built"] { border-color: #86efac; background: var(--mint); }
.result-top { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; align-items: center; margin-bottom: .35rem; }
.result-part { color: var(--muted); font-size: 13px; }
.result h3 { font-size: 1.05rem; }
.result p { margin: .25rem 0 0; font-size: 15px; color: var(--text); }
.result-evidence { color: var(--muted) !important; font-size: 13.5px !important; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .result { animation: none; } }

/* status badges */
.badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--soft-2); color: var(--muted); }
.badge-built { background: var(--mint); color: var(--green); box-shadow: inset 0 0 0 1px #86efac; }
.badge-soon { background: var(--blue-bg); color: var(--blue-ink); }
.badge-roadmap { background: var(--purple-bg); color: var(--purple-ink); }
.badge-not-planned { background: var(--soft-2); color: var(--muted); }

/* pricing */
.plans { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; align-items: stretch; }
.plan { border-radius: 20px; padding: clamp(1.75rem, 3vw, 2.5rem); border: 1px solid var(--line); background: var(--soft); display: flex; flex-direction: column; }
.plan.main { background: #fff; border: 2px solid var(--ink); }
.plan-name { font-weight: 600; color: var(--ink); margin: 0; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .6rem; margin: .5rem 0 1.4rem; }
.price b { font-size: clamp(3rem, 6vw, 4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.price span { color: var(--muted); }
.plan .checks { margin: 0 0 1.6rem; }
.plan .fine { margin: 1.2rem 0 0; }
.plan-foot { margin-top: auto; padding-top: 1.4rem; border-top: 1px solid var(--line-strong); font-size: 15px; color: var(--text); }
.plan-foot p { margin: 0; }
.cost-head { font-size: 1.5rem; margin: 4rem 0 1.2rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cost { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 15px; }
.cost th, .cost td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cost tr:last-child th, .cost tr:last-child td { border-bottom: 0; }
.cost thead th { background: var(--soft); font-weight: 700; color: var(--ink); }
.cost tbody th { font-weight: 600; }
.cost .ours { background: var(--mint); }
.cost .total td, .cost .total th { font-weight: 700; }
.cost .total .ours { font-size: 1.15rem; }
.cost td.terms { color: var(--text); font-size: 14px; }

/* Three-year table on narrow screens: the row labels and the Xogogy column stay put while the competitor columns
   scroll past them. A "Swipe to compare" hint and a right-edge fade say there is more; site.js adds .is-scrolled
   (shadow on the Xogogy edge), .is-end (fade goes) and .seen-end (hint goes) to .cost-compare. Without JavaScript the hint stays. */
.cost-frame { position: relative; }
.swipe-hint { display: none; }
@media (max-width: 720px) {
  .swipe-hint { display: flex; justify-content: flex-end; align-items: center; gap: .35rem; margin: -.4rem 0 .5rem; font-size: 14px; font-weight: 600; color: var(--muted); transition: opacity .2s ease; }
  .swipe-arrow { display: inline-block; animation: swipe-nudge 1.1s ease-in-out .8s 2; }
  .cost-frame::after { content: ""; position: absolute; top: 1px; right: 1px; bottom: 1px; width: 36px; border-radius: 0 var(--radius) var(--radius) 0; background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 85%); pointer-events: none; transition: opacity .2s ease; }
  .cost-compare.seen-end .swipe-hint { opacity: 0; visibility: hidden; }
  .cost-compare.is-end .cost-frame::after { opacity: 0; }
  .cost { border-collapse: separate; border-spacing: 0; width: max-content; min-width: 0; font-size: 14px; }
  .cost th, .cost td { padding: 12px; line-height: 20px; }
  .cost th, .cost td { width: 128px; min-width: 128px; max-width: 128px; }
  .cost thead td:first-child, .cost tbody th { position: sticky; left: 0; z-index: 2; width: 72px; min-width: 72px; max-width: 72px; padding: 12px 6px 12px 10px; background: #fff; font-size: 13px; line-height: 18px; overflow-wrap: anywhere; }
  .cost .ours { position: sticky; left: 72px; z-index: 1; width: 92px; min-width: 92px; max-width: 92px; padding-left: 10px; padding-right: 10px; box-shadow: inset -1px 0 0 var(--line); transition: box-shadow .2s ease; }
  .cost td.ours.terms, .cost td.terms { font-size: 13px; line-height: 18px; }
  .cost .total .ours { font-size: 1.05rem; }
  .cost-compare.is-scrolled .cost .ours { box-shadow: inset -1px 0 0 var(--line), 8px 0 10px -6px rgba(15, 23, 42, .22); }
}
@keyframes swipe-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) {
  .swipe-arrow { animation: none; }
  .swipe-hint, .cost-frame::after, .cost .ours { transition: none; }
}

/* FAQ */
.faq { max-width: 56rem; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 22px 0; font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--muted); line-height: 1; transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.faq details > div { padding: 0 0 22px; color: var(--text); }
.faq details > div p:last-child { margin-bottom: 0; }

/* closing CTA */
.cta-wrap { padding: clamp(3rem, 7vw, 6rem) 16px; background: var(--soft); }
.cta-dark { max-width: 1312px; margin: 0 auto; background: var(--dark); border-radius: 24px; padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 4vw, 3rem); text-align: center; color: var(--dark-text); }
.cta-dark h2 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.5rem); max-width: 20ch; margin: 0 auto; }
.cta-dark p { max-width: 36rem; margin: 1.4rem auto 0; font-size: 1.125rem; }
.cta-dark .actions { justify-content: center; }
.cta-dark .fine { color: var(--dark-muted); margin-top: 1.4rem; }

/* ---- inner pages */
.page-hero { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); border-bottom: 1px solid var(--line); padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); max-width: 18ch; }
.prose { max-width: 46rem; padding-top: clamp(2.5rem, 5vw, 3.5rem); padding-bottom: clamp(3.5rem, 7vw, 5rem); color: var(--text); }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 3rem 0 .9rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 2rem 0 .6rem; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1rem; }
.prose li { margin: .4rem 0; }
.prose li::marker { color: var(--check); }
.prose strong { color: var(--ink); }
.prose pre { font-family: var(--mono); font-size: 13px; line-height: 1.7; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; overflow-x: auto; color: var(--ink); }
.prose pre code { background: none; padding: 0; font-size: inherit; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 1rem 0; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); }
.box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); padding: 20px 24px; margin: 1.5rem 0; }
.box.dark { background: var(--dark); border-color: var(--dark); color: var(--dark-text); }
.box.dark strong, .box.dark a { color: #fff; }
.wide { max-width: 72rem; }

/* features page */
.filters { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin: 2rem 0 .8rem; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font: inherit; font-size: 14px; font-weight: 500; color: var(--text); background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed="true"] { color: #fff; background: var(--ink); border-color: var(--ink); }
.fparts { padding-bottom: 5rem; }
.fpart { padding-top: 3.5rem; scroll-margin-top: 6rem; }
.fpart > h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1.2rem; }
.section-title { font-size: 12px !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) !important; margin: 1.8rem 0 .8rem !important; }
.fgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.fcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; display: flex; flex-direction: column; }
.fcard[data-status="built"] { border-color: #bbf7d0; }
.fcard h3 { font-size: 1.05rem; margin: .7rem 0 .3rem; }
.fcard p { margin: 0; color: var(--text); font-size: 14.5px; line-height: 1.55; }
.fcard-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.rel { font-size: 12px; font-family: var(--mono); color: var(--muted); }
.fcard details { margin-top: auto; padding-top: .7rem; font-size: 13.5px; color: var(--muted); }
.fcard details p { font-size: 13.5px; color: var(--muted); margin-top: .3rem; }
.fcard summary { cursor: pointer; color: var(--ink); font-weight: 500; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.toc a { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; font-size: 14px; color: var(--text); }
.toc a:hover { border-color: var(--ink); color: var(--ink); }

/* ---- footer */
.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 3rem 0 2.5rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; line-height: 1.3; }
.footer-logo { display: block; height: 30px; width: auto; }
.footer-by { font-size: 14px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.footer-links a { color: var(--text); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-fine { font-size: 13px; color: var(--muted); margin: 2.5rem 0 0; }

/* ---- scroll reveal (progressive) */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---- responsive */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-row { flex-wrap: wrap; padding-top: 10px; padding-bottom: 0; gap: 0 1rem; }
  /* Tablets: the links take their own row and wrap rather than scroll, so no item is ever hidden off the edge. */
  .site-nav { order: 3; flex-basis: 100%; margin: 0; }
  .nav-links { flex-wrap: wrap; padding: 4px 0 8px; gap: .1rem 1.3rem; }
  .header-cta { margin-left: auto; }
}
/* Narrow screens: let grid and flex children shrink below their longest word, so nothing pushes past the edge. */
.plans > *, .split > * { min-width: 0; }
.checks { grid-template-columns: minmax(0, 1fr); }
.help-mini { min-width: 0; }

/* ---- small-screen menu
   Without JavaScript the links stay visible and wrap (above). With JavaScript (the "js" class is set in <head>)
   a labelled Menu button opens them as a full-width list with the call-to-action buttons. */
@media (max-width: 720px) {
  .js .header-row { flex-wrap: nowrap; padding-top: 0; min-height: 60px; }
  .js .header-cta { display: none; }
  .js .menu-toggle { display: inline-flex; align-items: center; gap: .55rem; margin-left: auto; min-height: 44px; min-width: 44px; padding: 0 14px; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); cursor: pointer; }
  .js .menu-toggle:hover { border-color: var(--ink); }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, background-color .2s ease; }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -6px; }
  .menu-icon::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
  .js .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(15, 23, 42, .35); max-height: calc(100vh - 60px); max-height: calc(100dvh - 60px); overflow-y: auto; overscroll-behavior: contain; }
  .js .site-nav.is-open { display: block; animation: menu-in .18s ease-out; }
  .js .nav-links { flex-direction: column; flex-wrap: nowrap; gap: 0; padding: 8px var(--gutter) 0; }
  .js .nav-links a { display: flex; align-items: center; min-height: 48px; padding: 0 12px; font-size: 17px; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; white-space: normal; }
  .js .nav-links a:last-child { border-bottom-color: transparent; }
  .js .nav-links a[aria-current="page"] { font-weight: 700; color: var(--ink); background: var(--soft-2); border-left-color: var(--ink); border-bottom-color: var(--line); }
  .js .nav-actions { display: flex; flex-direction: column; gap: 10px; padding: 12px var(--gutter) 20px; }
  .js .nav-actions .btn { width: 100%; min-height: 48px; padding-top: 12px; padding-bottom: 12px; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .menu-icon, .menu-icon::before, .menu-icon::after { transition: none; }
  .js .site-nav.is-open { animation: none; }
}
@media (max-width: 900px) {
  .split, .plans { grid-template-columns: 1fr; }
  .cards, .files, .gallery { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .steps { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .tallies { gap: 6px; }
  .tally { padding: 8px; }
  .tally span { font-size: 11.5px; }
  .counts { grid-template-columns: repeat(2, 1fr); }
  .window-body, .agent-mock { padding: 16px; }
  .actions .btn { flex: 1 1 100%; }
  .brand-logo { height: 28px; }
  .bubble { margin-left: 0; }
  .faq details { padding: 0 18px; }
}
.cost .th-note { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }
.alt-plans { margin: .2rem 0 .8rem; padding-left: 1.2rem; }
.alt-plans li { margin: .15rem 0; }
.cost thead th.ours { background: var(--mint); }
.step-img.zoom-2 img { width: 230%; height: auto; max-width: none; object-fit: initial; }
.step-img.zoom-15 img { width: 170%; height: auto; max-width: none; object-fit: initial; margin: -4% 0 0 -8%; }
.step-out { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 6px; padding: 12px; background: var(--dark); border-color: var(--dark); }
.step-out span { font-size: 12px; font-weight: 600; color: #fff; border: 1px solid var(--dark-line); border-radius: 999px; padding: 4px 10px; }
.step-out b { flex-basis: 100%; text-align: center; color: var(--neon); font-size: 13px; font-weight: 600; margin-top: 6px; }
.lede code { background: none; padding: 0; font-family: inherit; font-size: inherit; }
.more { font-weight: 600; }
p > .more { display: inline-block; margin-top: .5rem; }
.gallery .frame-triggers img { object-position: center 66%; }
.tally span { display: block; line-height: 1.3; }

/* Story view feature shot */
.story-shot { margin: 0 0 28px; }
.story-shot .frame img { display: block; width: 100%; height: auto; }
.story-shot figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; max-width: 62ch; }

/* ---- help center */
.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; }
.h-small { font-size: 1.15rem; letter-spacing: -.01em; margin: 0 0 .35rem; }
.help-hero { padding-bottom: clamp(2rem, 4vw, 3rem); }
.help-hero h1 { max-width: 22ch; margin-top: .6rem; }
.help-hero-small { padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(1.5rem, 3vw, 2.25rem); }
.help-hero-small h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.help-search { margin-top: 1.75rem; max-width: 52rem; }
.help-out:not(:empty) { margin-top: 1.25rem; }
.help-search .fine { margin: 1rem 0 0; }
.help-band { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.help-band h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 0 0 1.25rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding: 0; margin: 0; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 .55em; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.help-top-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.help-mini { display: flex; gap: 8px; flex: 0 1 22rem; }
.help-mini input { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); }
.help-cats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 14px; }
.help-cat { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: #fff; display: flex; flex-direction: column; }
.help-cat h3 { font-size: 1.1rem; margin: 0 0 .35rem; }
.help-cat h3 a { text-decoration: none; }
.help-cat h3 a:hover { text-decoration: underline; }
.help-cat > p { margin: 0 0 .75rem; font-size: 15px; color: var(--text); }
.help-cat-list { list-style: none; padding: 0; margin: 0 0 .75rem; font-size: 15px; }
.help-cat-list li { margin: .35rem 0; }
.help-cat-all { margin: auto 0 0; font-size: 14px; font-weight: 600; }
.help-cat-all a { color: var(--green); }
.help-popular { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); gap: 10px; }
.help-popular a { display: block; height: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; text-decoration: none; }
.help-popular a:hover { border-color: var(--ink); }
.pop-title { display: block; font-weight: 700; color: var(--ink); }
.pop-sum { display: block; font-size: 14px; color: var(--text); margin-top: .25rem; }
.help-result h3 a { text-decoration: none; }
.help-result h3 a:hover { text-decoration: underline; }
.help-result .hr-step { font-size: 14px; color: var(--muted); }
.help-result .hr-step span { font-weight: 700; color: var(--green); margin-right: .3em; }
.answer-found { color: var(--ink); }
.help-list-wrap { padding-top: clamp(1.5rem, 4vw, 2.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); max-width: 52rem; margin: 0 auto; }
.help-list { list-style: none; padding: 0; margin: 0; }
.help-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.help-list li p { margin: 0; color: var(--text); }
.help-list a { text-decoration: none; }
.help-list a:hover { text-decoration: underline; }
.help-back { margin: 1.5rem 0 0; font-weight: 600; }
.help-head { border-bottom: 1px solid var(--line); background: var(--soft); padding: 14px 0; }
.help-article { padding-top: clamp(1.75rem, 4vw, 2.75rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.help-article-head { max-width: 46rem; }
.help-article-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.help-article-head .lede { margin-top: 1rem; max-width: 42rem; }
.help-updated { margin: .9rem 0 0; }
.help-grid { display: grid; grid-template-columns: 15rem minmax(0, 46rem); gap: 3rem; margin-top: 2rem; align-items: start; }
.help-toc { position: sticky; top: 92px; font-size: 14px; border-left: 2px solid var(--line); padding-left: 14px; }
.help-toc-title { font-weight: 700; color: var(--ink); margin: 0 0 .5rem; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.help-toc ol { list-style: none; padding: 0; margin: 0; }
.help-toc li { margin: .4rem 0; }
.help-toc a { color: var(--text); text-decoration: none; }
.help-toc a:hover { color: var(--ink); text-decoration: underline; }
.help-body { color: var(--text); grid-column: 2; }
.help-grid > .help-body:only-child { grid-column: 1 / -1; max-width: 46rem; }
.help-body > p:first-child { margin-top: 0; }
.help-body h2 { font-size: clamp(1.35rem, 2.4vw, 1.65rem); margin: 2.5rem 0 .9rem; scroll-margin-top: 90px; }
.help-body h3 { margin: 1.75rem 0 .5rem; scroll-margin-top: 90px; }
.help-body strong { color: var(--ink); }
.help-body ul { padding-left: 1.2rem; }
.help-body li::marker { color: var(--check); }
.help-steps { list-style: none; padding: 0; margin: 0 0 1.25rem; counter-reset: step; }
.help-steps > li { position: relative; counter-increment: step; padding: 0 0 0 3rem; margin: 0 0 1rem; min-height: 2rem; scroll-margin-top: 90px; }
.help-steps > li::before { content: counter(step); position: absolute; left: 0; top: -.1rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--mint); color: var(--green); border: 1px solid #bbf7d0; font-weight: 700; font-size: 15px; display: grid; place-items: center; }
.help-steps > li:target { background: var(--mint); border-radius: 10px; box-shadow: 0 0 0 8px var(--mint); }
.step-text > p { margin: 0 0 .5rem; }
.step-text > p:last-child, .step-text > ul:last-child { margin-bottom: 0; }
.step-link { position: absolute; right: 100%; top: .1rem; margin-right: .4rem; color: var(--line-strong); text-decoration: none; font-weight: 700; opacity: 0; }
.help-steps > li:hover .step-link, .step-link:focus-visible { opacity: 1; color: var(--green); }
.callout { border: 1px solid var(--line); border-left: 4px solid var(--green); background: var(--mint); border-radius: 10px; padding: 12px 16px; margin: 1.25rem 0; }
.callout p { margin: 0; }
.callout-important { border-left-color: var(--amber-ink); background: var(--amber-bg); }
.help-shot { margin: 1.25rem 0 1.5rem; }
.help-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .35); }
.help-shot figcaption { font-size: 14px; color: var(--muted); margin-top: .5rem; }
.help-body table { border-collapse: collapse; width: 100%; font-size: 15px; }
.help-body th, .help-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.help-body pre.help-code { font-family: var(--mono); font-size: 13px; line-height: 1.7; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; margin: 0 0 1.25rem; overflow-x: auto; color: var(--ink); }
.help-body pre.help-code code { background: none; padding: 0; font-size: inherit; }
.help-related { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.help-related h2 { margin-top: 0; }
.help-related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.help-related li { display: flex; flex-direction: column; }
.help-related li span { font-size: 14px; color: var(--muted); }
.help-related a { font-weight: 600; }
.help-contact { margin-top: 2rem; }
.help-contact p { margin: 0; }
@media (max-width: 900px) {
  .help-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .help-toc { position: static; }
  .help-body { grid-column: 1; }
  .help-mini { flex: 1 1 100%; }
  .step-link { position: static; opacity: 1; margin: 0 .4rem 0 0; float: right; }
}
@media (max-width: 560px) {
  .help-steps > li { padding-left: 2.6rem; }
  .help-popular, .help-cats { grid-template-columns: minmax(0, 1fr); }
}

/* ---- early-access sign-up (src/pages/early-access.html). Works without JavaScript as a normal form POST. */
.signup { max-width: 46rem; margin: -1.5rem 0 clamp(3.5rem, 7vw, 5rem); }
.signup-form, .signup-done { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); }
.signup-form h3, .signup-done h3 { margin: 0 0 .4rem; font-size: 1.35rem; color: var(--ink); }
.signup .field { margin: 0 0 1.25rem; padding: 0; border: 0; min-width: 0; }
.signup label, .signup legend { display: block; font-weight: 600; color: var(--ink); margin: 0 0 .4rem; padding: 0; }
.signup .opt { font-weight: 400; color: var(--muted); }
.signup .req { color: var(--amber-ink); }
.signup input[type="email"], .signup input[type="text"], .signup select, .signup textarea { display: block; width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px 14px; }
.signup textarea { resize: vertical; min-height: 5.5rem; }
.signup input:focus, .signup select:focus, .signup textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(57, 255, 20, .45); }
.signup input[type="checkbox"] { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--ink); }
.signup input[type="checkbox"]:focus-visible { outline: 3px solid rgba(57, 255, 20, .7); outline-offset: 2px; }
.signup .checks { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0 0 .8rem; }
.signup label.check { display: inline-flex; align-items: flex-start; gap: .55rem; font-weight: 500; margin: 0; cursor: pointer; }
.signup .sub-label { font-weight: 500; font-size: .95rem; }
.signup .fine { margin: .4rem 0 0; }
.signup [aria-invalid="true"] { border-color: #b91c1c !important; }
.field-error { color: #b91c1c; font-weight: 600; font-size: .95rem; margin: .4rem 0 0; }
.form-errors { border: 2px solid #b91c1c; background: #fef2f2; color: #7f1d1d; border-radius: var(--radius-sm); padding: 14px 18px; margin: 0 0 1.25rem; }
.form-errors:focus { outline: 3px solid rgba(185, 28, 28, .35); outline-offset: 2px; }
.form-errors p { margin: 0 0 .4rem; font-weight: 700; }
.form-errors ul { margin: 0; padding-left: 1.2rem; }
.form-errors a { color: #7f1d1d; }
.form-status { margin: .8rem 0 0; color: var(--muted); }
.form-status:empty { display: none; }
.signup-done:focus { outline: 3px solid rgba(57, 255, 20, .6); outline-offset: 3px; }
/* Honeypot: off-screen for people, still in the form for bots. */
.signup .hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) {
  .signup { margin-top: -1rem; }
  .signup .btn { width: 100%; }
}

/* ---- cookie choice (analytics.js shows it while the choice is pending). It sits in the page flow under the header,
   never over the content, so it cannot cover the sign-up form or anything else on a phone. */
.consent { background: var(--soft-2); border-bottom: 1px solid var(--line-strong); }
.consent[hidden] { display: none; }
.consent-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.25rem; padding-top: .75rem; padding-bottom: .75rem; }
.consent p { margin: 0; font-size: 15px; color: var(--ink); }
.consent a { color: var(--ink); }
.consent-actions { display: flex; gap: .6rem; }
@media (max-width: 720px) { .consent-actions { width: 100%; } .consent-actions .btn { flex: 1 1 0; min-height: 44px; } }
.footer-button { font: inherit; font-size: 15px; color: var(--text); background: none; border: 0; padding: 0; cursor: pointer; }
.footer-button:hover { color: var(--ink); text-decoration: underline; }
.footer-button[hidden] { display: none; }

/* ---- sample courses (/samples/): one card per course, built from data/samples.json */
.sample-group + .sample-group { margin-top: clamp(3rem, 6vw, 4.5rem); }
.sample-group > h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 0; }
.sample-group-intro { margin: .4rem 0 1.4rem; color: var(--text); }
.samples-wrap { padding-top: clamp(2.5rem, 5vw, 3.5rem); padding-bottom: clamp(3.5rem, 7vw, 5rem); }
.sample-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sample-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sample-thumb { display: block; aspect-ratio: 16 / 9; background: var(--soft-2); border-bottom: 1px solid var(--line); overflow: hidden; }
.sample-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sample-card:hover .sample-thumb img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .sample-thumb img { transition: none; } .sample-card:hover .sample-thumb img { transform: none; } }
.sample-body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 28px; }
.sample-meta { margin: 0 0 .4rem; font-size: 13px; font-weight: 600; color: var(--muted); }
.sample-body h3 { font-size: 1.35rem; margin: 0; }
.sample-body > p:not(.sample-meta):not(.sample-dl-label) { margin: .6rem 0 0; color: var(--text); }
.sample-body > p.sample-features { margin-top: .9rem; }
.sample-features { font-size: 14.5px; line-height: 1.55; }
.sample-features-label { display: inline-block; margin-right: .35rem; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.sample-play { align-self: flex-start; margin-top: 1.4rem; }
.sample-dl-label { margin: auto 0 .5rem; padding-top: 1.4rem; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sample-downloads { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.sample-downloads a { font-weight: 600; font-size: 15px; }
.sample-size { font-size: 13px; color: var(--muted); }
.samples-notes { max-width: 46rem; margin-top: clamp(3rem, 6vw, 4.5rem); color: var(--text); }
.samples-notes h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 0 0 .9rem; }
.samples-notes ul { padding-left: 1.2rem; }
.samples-notes li { margin: .5rem 0; }
.samples-notes li::marker { color: var(--check); }
.samples-notes strong { color: var(--ink); }
@media (max-width: 900px) { .sample-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .sample-body { padding: 20px; } .sample-play { align-self: stretch; } }

.sample-highlight { margin: 0 0 10px; font-weight: 600; color: var(--green); font-size: 0.95rem; }

/* Security Overview (/trust/overview.html): a document page that prints on A4 or Letter in two to three pages. */
.overview { max-width: 52rem; }
.overview-head { border-bottom: 1px solid var(--line); padding-bottom: 1.25rem; margin-bottom: 2rem; }
.overview-head h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); margin: 0; }
.overview-meta { color: var(--muted); font-size: 15px; margin: .75rem 0 0; }
.overview-actions { margin: 1rem 0 0; }
.overview .flow { margin: 1rem 0 1.5rem; }
.overview .flow svg { width: 100%; height: auto; display: block; font-family: var(--font); }
.overview .flow figcaption { color: var(--muted); font-size: 14px; margin-top: .5rem; }
.overview code { overflow-wrap: anywhere; }

@media print {
  @page { margin: 12mm 13mm; }
  .page-trust-overview .site-header, .page-trust-overview .site-footer, .page-trust-overview .consent,
  .page-trust-overview .skip, .page-trust-overview .overview-actions { display: none !important; }
  body.page-trust-overview { font-size: 9.5pt; line-height: 1.35; color: #000; background: #fff; }
  .page-trust-overview .wrap { max-width: none; padding: 0; }
  .page-trust-overview .prose { padding: 0; max-width: none; color: #000; }
  .page-trust-overview .prose h2 { font-size: 12.5pt; margin: .8rem 0 .3rem; break-after: avoid; }
  .page-trust-overview .prose li { margin: .15rem 0; }
  .page-trust-overview .overview-head { margin-bottom: 1rem; padding-bottom: .6rem; }
  .page-trust-overview .overview-head h1 { font-size: 20pt; }
  .page-trust-overview .legal-table { font-size: 9pt; }
  .page-trust-overview .legal-table th, .page-trust-overview .legal-table td { padding: .25rem .35rem; }
  .page-trust-overview .flow, .page-trust-overview table, .page-trust-overview tr { break-inside: avoid; }
  .page-trust-overview .flow svg { max-height: 82mm; }
  .page-trust-overview a { color: #000; text-decoration: none; }
  .page-trust-overview .prose a[href^="mailto:"]::after { content: ""; }
}
@media print {
  .page-trust-overview .prose p, .page-trust-overview .prose ul { margin: 0 0 .45rem; }
  .page-trust-overview .flow { margin: .4rem 0 .6rem; }
  .page-trust-overview .flow figcaption { font-size: 8.5pt; margin-top: .2rem; }
}
