/* ZeroTo100 site, "Night Shift". One stylesheet for every page. One fixed dark theme.
   No external assets: the font is self-hosted (Geist, SIL Open Font License 1.1, see /assets/fonts/OFL.txt).
   The CSP allows no inline styles, so every rule lives here. */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/geist-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #050D1F;
  --bg-2: #07132B;
  --surface: #071F43;   /* brand navy */
  --surface-2: #10234A;
  --line: #1C2D52;
  --line-2: #2A3F6C;
  --text: #E8EEF9;
  --muted: #A3B3D1;
  --dim: #8598BD;
  /* Brand colours, exact from the logo: green and cyan (always as green to cyan), navy. */
  --green: #0AF07F;
  --cyan: #0CD4F2;
  --accent: #0CD4F2;    /* links, labels and the focus ring: cyan, so accent text is never read as the green Low risk tier */
  --on-accent: #071F43;
  --low-bg: #0E2F2A;
  --low-fg: #6EE7B7;
  --ver-bg: #33290F;
  --ver-fg: #FCD34D;
  --high-bg: #3A1620;
  --high-fg: #FDA4AF;
  --mark-bg: #2B2408;
  --mark-fg: #FDE68A;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --max: 76rem;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 650; }
h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); letter-spacing: -0.04em; line-height: 1.04; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); letter-spacing: -0.035em; text-wrap: balance; }
h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
p, ul, ol { margin: 0 0 1em; }
strong { font-weight: 600; }

code {
  font-family: var(--mono); font-size: 0.84em; color: #D5E2FA;
  background: var(--surface-2); border: 1px solid var(--line-2);
  padding: 0.1em 0.42em; border-radius: 6px; white-space: nowrap;
}
.legal code { white-space: normal; overflow-wrap: anywhere; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--accent); color: var(--on-accent);
  padding: 0.7rem 1rem; border-radius: 8px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
/* A narrow column of text, kept on the page's left edge like everything else */
.narrow > * { max-width: 50rem; }

/* ---- Header ----
   Phones: the logo centred, the menu one row beneath it across the column, its four items sharing
   the width. From 35em the logo sits left and the menu right: side by side they need about 526px
   (logo 128 + gap 24 + menu 334 + gutters 40), so 35em (560px at the default text size) leaves room
   for the fallback font, and the em unit moves the break out when a visitor enlarges their text. */
.site-header { position: relative; z-index: 3; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.5rem; padding-top: 0.5rem; padding-bottom: 0.75rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px;
  color: var(--text); text-decoration: none; font-weight: 650; font-size: 1.08rem; letter-spacing: -0.015em;
}
/* The official logo, unaltered. About a fifth of the file's height is its own clear space, so a
   40px box shows a mark about 31px tall. That space is the same on both sides (8px at this size),
   so the centred logo needs no nudge; where the logo sits on the left, a negative margin lines the
   mark up with the page's left edge. Nothing else sits inside the clear space. */
.brand img { height: 40px; width: auto; max-width: none; }
.site-footer .brand img { height: 34px; margin-left: -7px; }
.site-nav { align-self: stretch; }
/* The menu's corners follow the links' (44px tall, so 22px) plus its padding and border: one row is
   the same pill as before, and if larger text wraps it to two rows it becomes a rounded panel. */
.site-nav ul {
  display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0.25rem; gap: 0.1rem;
  border: 1px solid var(--line); border-radius: calc(22px + 0.25rem + 1px); background: var(--surface);
}
.site-nav li { display: flex; flex: 1 1 auto; }
.site-nav a {
  display: inline-flex; flex: 1 1 auto; align-items: center; justify-content: center; min-height: 44px; padding: 0 0.4rem;
  color: var(--muted); text-decoration: none; font-size: 0.93rem; font-weight: 500; border-radius: 999px;
  transition: color 150ms ease, background-color 150ms ease;
}
@media (min-width: 35em) {
  .site-header .wrap {
    flex-direction: row; flex-wrap: wrap; justify-content: space-between;
    gap: 0.25rem 1.5rem; min-height: 4.5rem; padding-top: 0.6rem; padding-bottom: 0.6rem;
  }
  .site-header .brand img { margin-left: -8px; }
  .site-nav { align-self: auto; }
  .site-nav li { flex: none; }
  .site-nav a { padding: 0 0.9rem; }
}
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }

/* ---- Small parts ---- */
/* A badge moves to the next line whole; it wraps inside only when it is wider than the line (large text). */
.tier {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.22rem 0.72rem; border-radius: 999px;
  font-size: 0.86rem; font-weight: 600; line-height: 1.5; vertical-align: 0.05em; max-width: 100%;
}
/* From 35em badges stay on one line, as before (the three hero cards are narrow at 700-730px).
   Only phone widths let one wrap, and with large text 35em is wider, so that still covers it. */
@media (min-width: 35em) { .tier { white-space: nowrap; max-width: none; } }
.tier::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.tier-low { background: var(--low-bg); color: var(--low-fg); }
.tier-verify { background: var(--ver-bg); color: var(--ver-fg); }
.tier-high { background: var(--high-bg); color: var(--high-fg); }

.eyebrow { font: 500 0.76rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0; }
.lead { font-size: 1.18rem; line-height: 1.55; color: var(--muted); max-width: 40rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem 1.2rem; align-items: center; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 50px; padding: 0.7rem 1.4rem; border-radius: 12px;
  font: 650 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: filter 150ms ease, border-color 150ms ease;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary {
  color: var(--on-accent); background: linear-gradient(90deg, var(--green), var(--cyan));
  box-shadow: 0 0 0 1px rgb(255 255 255 / 20%) inset, 0 12px 36px -12px rgb(12 212 242 / 60%);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-secondary { color: var(--text); border: 1px solid var(--line-2); background: var(--surface); }
.btn-secondary:hover { border-color: var(--muted); }
.status-text {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 40px; padding: 0 0.95rem;
  border: 1px dashed var(--line-2); border-radius: 999px; color: var(--muted); font-size: 0.93rem; font-weight: 500;
}
.status-text i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--ver-fg); flex: none; }

.card { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 1.4rem 1.5rem; }
.card > :last-child { margin-bottom: 0; }

/* ---- Home: hero ---- */
.hero, .page-head {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(52rem 30rem at 8% 38%, rgb(12 212 242 / 11%), transparent 62%),
    linear-gradient(rgb(160 185 235 / 4.5%) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgb(160 185 235 / 4.5%) 1px, transparent 1px) 0 0 / 56px 100%,
    var(--bg);
}
.hero-in { position: relative; padding-top: 3.25rem; }
.hero-text { position: relative; z-index: 2; max-width: 38rem; }
.hero h1 { font-size: clamp(2.55rem, 6.2vw, 4.5rem); line-height: 1.02; margin-top: 1.25rem; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 span {
    background: linear-gradient(90deg, var(--green), var(--cyan));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
}
.hero .lead { max-width: 33rem; margin: 1.5rem 0 0; }

/* The picture: a still by default; boot.js swaps in the live canvas when it may. */
.scene { position: relative; margin: 1.5rem -1.25rem 0; overflow: hidden; }
.scene-art { position: relative; width: 210%; margin: -11% 0 -13% -52%; aspect-ratio: 996 / 374; }
.hero-still, .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; transition: opacity 400ms ease; }
.hero-canvas { opacity: 0; }
.is-live .hero-canvas { opacity: 1; }
.is-live .hero-still { opacity: 0; }
.lanes { list-style: none; margin: 0; padding: 0; }
.lanes li { display: none; }
.pause {
  position: absolute; right: 1.25rem; bottom: 0.6rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 0.9rem;
  border: 1px solid var(--dim); border-radius: 999px; background: var(--surface); color: var(--text);
  font: 500 0.82rem/1 var(--sans); cursor: pointer;
}
.pause:hover { border-color: var(--text); }
.pause::before { content: ""; width: 0.55rem; height: 0.65rem; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.pause.is-paused::before { width: 0; height: 0; border: 0.36rem solid transparent; border-left: 0.6rem solid currentColor; border-right: 0; }

.results { position: relative; z-index: 2; list-style: none; display: grid; gap: 0.75rem; margin: 1.5rem 0 0; padding: 0 0 1.25rem; }
.results li { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface)); padding: 1.1rem 1.2rem; }
.results p { margin: 0.7rem 0 0; color: var(--muted); font-size: 0.95rem; }
.hero-cap { position: relative; z-index: 2; margin: 0; padding: 0 0 1.75rem; color: var(--dim); font-size: 0.85rem; }

/* ---- Sections ---- */
main { display: block; }
main:focus { outline: none; }   /* main takes focus only from the skip link; it is not a control */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section.flush-top { padding-top: 3rem; }
.section > .wrap > h2, .sec-head h2 { margin-bottom: 1rem; }
.section > .wrap > h2 + ul, .section > .wrap > h2 + div, .section > .wrap > h2 + details { margin-top: 2rem; }
.section > .wrap > h2::before, .sec-head h2::before, .who-grid h2::before {
  content: ""; display: block; width: 2.5rem; height: 3px; border-radius: 3px; margin-bottom: 1.25rem;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}
.sec-head { max-width: 46rem; margin-bottom: 2.5rem; }
.sec-head p { color: var(--muted); font-size: 1.12rem; margin: 1rem 0 0; }
.sec-head p .tier { margin: 0.1rem 0; }
.section .lead { margin-bottom: 2.25rem; }

/* How it works: steps beside the order screenshot */
.split { display: grid; gap: 2.5rem; align-items: center; }
.split > * { min-width: 0; }
.steps { list-style: none; counter-reset: step; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.steps li {
  counter-increment: step; position: relative; padding: 1rem 1.1rem 1rem 3.4rem;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
}
.steps li::before { content: "0" counter(step); position: absolute; left: 1.1rem; top: 1.05rem; font: 600 0.78rem/1.9 var(--mono); color: var(--accent); }
.steps h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.honest-note { margin: 1.5rem 0 0; color: var(--muted); max-width: 42rem; padding-left: 1rem; border-left: 2px solid var(--accent); }

/* Real screenshots: light Shopify screens in a dark frame */
.shot { margin: 0; }
.frame {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: #fff;
  box-shadow: 0 0 0 6px rgb(12 212 242 / 6%), 0 40px 90px -30px rgb(12 212 242 / 35%);
}
.frame-bar { display: flex; align-items: center; gap: 0.5rem; margin: 0; padding: 0.65rem 0.9rem; background: var(--surface-2); font: 500 0.74rem/1.2 var(--mono); color: var(--muted); }
.frame-bar i { width: 0.56rem; height: 0.56rem; border-radius: 50%; background: var(--line-2); flex: none; }
.frame-bar span { margin-left: 0.5rem; }
.frame img { width: 100%; }
.frame .cut {
  margin: 0; padding: 0.45rem 0.9rem; font: 500 0.72rem/1.3 var(--mono); color: #3D4A63;
  background: repeating-linear-gradient(135deg, #fff 0 7px, #EEF1F6 7px 14px); border-block: 1px dashed #C4CCDA;
}
.scroller { overflow-x: auto; background: #fff; }
.scroller:focus-visible { outline-offset: -3px; }
.scroller-zoom img, .crop-left img { width: 185%; max-width: none; }
.crop-left { overflow: hidden; background: #fff; }
.scroller-wide img { width: 66rem; max-width: none; }
/* The instruction to scroll is read, not glanced at, so it keeps body-size text (14px) on phones. */
.frame .hint { display: block; margin: 0; font: 500 0.875rem/1.35 var(--mono); color: var(--muted); padding: 0.55rem 0.9rem; background: var(--surface-2); }
.shot figcaption { margin: 0.9rem 0 0; font-size: 0.88rem; color: var(--dim); }
.shot-wide { margin: 0 0 2rem; }
.shot-single { max-width: 44rem; margin-top: 2rem; }
.shot-single .frame img { padding: 0.75rem; }

/* Six check families */
.families { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.families li { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 1.4rem 1.5rem; min-width: 0; }
.families h3 { margin-bottom: 0.45rem; }
.families h3 span { display: block; font: 500 0.76rem/1 var(--mono); letter-spacing: 0.08em; color: var(--dim); margin-bottom: 1rem; }
.families p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.rules-own {
  margin-top: 0.9rem; border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem 1.5rem;
  background: linear-gradient(120deg, rgb(10 240 127 / 9%), rgb(12 212 242 / 5%)), var(--surface);
}
.rules-own h3 { margin-bottom: 0.45rem; }
.rules-own p { margin: 0; color: var(--muted); font-size: 0.98rem; max-width: 62rem; }

/* COD scenarios: stacked rows on phones, a real table from 700px */
.scenarios { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; }
table { border-collapse: collapse; width: 100%; font-size: 0.97rem; }
.stack-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stack-table tr { display: block; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.stack-table tbody tr:last-child { border-bottom: 0; }
.stack-table td { display: block; padding: 0.25rem 0; vertical-align: top; color: var(--muted); }
.stack-table td::before { content: attr(data-label); display: block; font: 500 0.7rem/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.stack-table td:first-child { color: var(--text); font-weight: 600; }
.use-notes { display: grid; gap: 0.9rem; margin-top: 0.9rem; }
.use-notes > * { min-width: 0; }
.use-notes p { margin: 0; color: var(--muted); }
.use-notes strong { color: var(--text); }

/* What it does not do */
.limits { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.limits li { position: relative; padding: 1.1rem 1.2rem 1.1rem 3.1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); min-width: 0; }
.limits li::before { content: ""; position: absolute; left: 1.15rem; top: 1.3rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; border: 2px solid var(--high-fg); }
.limits li::after { content: ""; position: absolute; left: 1.15rem; top: 1.3rem; width: 1.15rem; height: 1.15rem; background: linear-gradient(45deg, transparent 44%, var(--high-fg) 44% 56%, transparent 56%); }

/* Coming soon: kept apart from what the product does today */
.soon { margin-top: 2.5rem; border: 1px dashed var(--line-2); border-radius: 18px; padding: 1.4rem 1.5rem; max-width: 46rem; }
.soon h3 { display: flex; align-items: baseline; gap: 0.6rem; font: 500 0.78rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ver-fg); margin: 0 0 0.75rem; }
.soon h3::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--ver-fg); flex: none; }
.soon p { margin: 0; color: var(--muted); }
.soon strong { color: var(--text); }

/* Pricing */
.price-strip, .plans { display: grid; gap: 0.9rem; }
.price-strip > div, .plan { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 1.4rem 1.5rem; min-width: 0; }
.price-strip h3, .plan h2 { font: 500 0.78rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.price-strip p, .plan p { margin: 0; color: var(--muted); }
.price-strip .price, .plan .price { font-size: 3rem; font-weight: 650; letter-spacing: -0.04em; line-height: 1; color: var(--text); margin: 1rem 0 0.6rem; }
.price span { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.price-strip .max, .plan .max { margin-top: 1.1rem; padding-top: 0.9rem; border-top: 1px dashed var(--line-2); color: var(--text); font-weight: 600; }
.max span { display: block; font: 500 0.7rem/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
/* A 44px tap target; the smaller top margin keeps the text where it was (the line is about 27px tall). */
.more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0.875rem; font-weight: 600; }
.plan { display: flex; flex-direction: column; }
.plan .max { order: 0; }
.plan ul { list-style: none; margin: 1.1rem 0 0; padding: 0; }
.plan li { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.3rem 0; color: var(--text); }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 0.28rem; color: var(--accent); }
.plan .plan-note { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.93rem; }
.plan .plan-note + .plan-note { border-top: 0; padding-top: 0; margin-top: 0.75rem; }
.callout { border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; background: var(--surface); padding: 1rem 1.25rem; margin: 1.5rem 0; }
.callout > :last-child { margin-bottom: 0; }

/* When the table is wider than the screen, a soft shadow on the edge it continues past says it
   scrolls. The covers scroll with the table and hide each shadow once that edge is reached; a table
   that fits shows none. */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--line); border-radius: 18px;
  background:
    linear-gradient(90deg, var(--surface) 40%, transparent) left / 2.5rem 100% no-repeat local,
    linear-gradient(270deg, var(--surface) 40%, transparent) right / 2.5rem 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgb(0 0 0 / 70%), transparent) left / 1rem 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgb(0 0 0 / 70%), transparent) right / 1rem 100% no-repeat scroll,
    var(--surface);
}
.table-wrap:focus-visible { outline-offset: 2px; }
.table-wrap table { min-width: 38rem; }
.table-wrap th, .table-wrap td { text-align: left; padding: 0.9rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap td { color: var(--muted); }
.table-wrap thead th { font: 500 0.7rem/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); background: var(--surface-2); }
.table-wrap tbody th { font-weight: 600; color: var(--text); }
.table-wrap td strong { color: var(--text); }
.table-wrap tbody tr:last-child th, .table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-note { margin: 1rem 0 0; color: var(--muted); }
/* Phones only: the table is 38rem wide, so it scrolls until about 41em (also when text is enlarged). */
.table-hint { margin: 2rem 0 0.75rem; font: 500 0.875rem/1.35 var(--mono); color: var(--muted); }
@media (min-width: 41em) {
  .table-hint { display: none; }
  .table-hint + .table-wrap { margin-top: 2rem; }   /* the gap under the heading, as before */
}

/* Who runs it, and questions */
.who-grid { display: grid; gap: 2.5rem; }
.who-grid > * { min-width: 0; }
.who-grid h2 { margin-bottom: 1.25rem; }
.who { font-size: 1.5rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.025em; max-width: 30rem; }
.who + p { color: var(--muted); font-size: 1.12rem; max-width: 33rem; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin-bottom: 0.6rem; }
.faq summary { cursor: pointer; list-style: none; position: relative; min-height: 44px; padding: 1rem 3rem 1rem 1.2rem; font-weight: 600; border-radius: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: 0.8rem; font: 400 1.4rem/1 var(--mono); color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 1.2rem 1.1rem; color: var(--muted); }
.faq details > div > :last-child { margin-bottom: 0; }

/* ---- Inner pages ---- */
.page-head { padding: 3.75rem 0 3rem; }
.page-head .lead { margin: 1.25rem 0 0; }
.page-head .cta-row { margin-top: 2rem; }

.rows { border-top: 1px solid var(--line); }
.row { display: grid; gap: 0.6rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.row > * { min-width: 0; }
.row h2 { font-size: 1.3rem; letter-spacing: -0.02em; }
.row p, .row ul { color: var(--muted); max-width: 44rem; }
.row > div > :last-child { margin-bottom: 0; }
.row ul { padding-left: 1.2rem; }
.row li { margin-bottom: 0.5rem; }
.contact-card { margin-bottom: 2.5rem; background: linear-gradient(120deg, rgb(10 240 127 / 9%), rgb(12 212 242 / 5%)), var(--surface); }
.contact-card h2 { font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 1.1rem; }
.contact-card p { color: var(--muted); }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); background: #030916; color: var(--muted); font-size: 0.95rem; padding: 3rem 0 2rem; }
.footer-grid { display: grid; gap: 2rem; }
.footer-grid > * { min-width: 0; }   /* a long email address wraps instead of widening the page at large text sizes */
.site-footer h2 { font: 500 0.74rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 0.6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--muted); }
.site-footer li a:hover { color: var(--text); }
.site-footer p { margin: 0.5rem 0 0; }
.legal-line { margin-top: 2.25rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--dim); }

/* ---- Wider screens ---- */
@media (min-width: 700px) {
  .results, .families, .price-strip { grid-template-columns: repeat(3, 1fr); }
  .limits, .use-notes { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .stack-table thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: table-header-group; }
  .stack-table tr { display: table-row; padding: 0; }
  .stack-table th { font: 500 0.7rem/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); text-align: left; padding: 0.9rem 1.2rem; border-bottom: 1px solid var(--line); background: var(--surface-2); }
  .stack-table td { display: table-cell; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
  .stack-table tbody tr:last-child td { border-bottom: 0; }
  .stack-table td::before { content: none; }
  .stack-table td:first-child { width: 29%; }
  .stack-table td:nth-child(2) { width: 38%; }
  .row { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem; }
}
@media (min-width: 700px) and (max-width: 999px) {
  .families { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .hero-in { padding-top: 5rem; min-height: 40rem; }
  .scene { position: absolute; z-index: 1; top: 3.5rem; right: -13rem; width: 80rem; margin: 0; overflow: visible; }
  .scene-art {
    width: 100%; margin: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 24%, #000 50%, #000 90%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, transparent 24%, #000 50%, #000 90%, transparent 100%);
  }
  .lanes li { display: block; position: absolute; transform: translate(-100%, -135%); white-space: nowrap; }
  .lanes .l-low { left: 80%; top: 17%; }
  .lanes .l-ver { left: 80.5%; top: 33.5%; }
  .lanes .l-high { left: 77.5%; top: 51.5%; }
  .pause { right: 14.25rem; bottom: 2.4rem; }
  .results { margin-top: 7.5rem; }
  .section { padding: 6.5rem 0; }
  .section.flush-top { padding-top: 3.5rem; }
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; }
  .who-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; }
  .scroller { overflow: visible; }
  .scroller-zoom img, .scroller-wide img, .crop-left img { width: 100%; }
  .frame .hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .hero-canvas { display: none; }
}

@media (forced-colors: active) {
  .hero h1 span { background: none; color: CanvasText; }
  .tier, .btn, .status-text { border: 1px solid CanvasText; }
}

@media print {
  .site-nav, .skip-link, .cta-row, .scene, .pause { display: none; }
  body, .hero, .page-head, .section-alt, .site-footer { background: #fff; color: #000; }
}
