/* Tallshot website — cyanotype system (see docs/DESIGN.md) */

@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #F4F6FB;
  --surface: #FFFFFF;
  --ink: #0F1A3A;
  --ink-2: #4A5678;
  --ink-3: #8A93AD;
  --line: #DCE1EC;
  --prussian: #1E3FA8;
  --prussian-press: #17328A;
  --prussian-tint: #E6EBFA;
  --on-prussian: #FFFFFF;
  --marquee: #FFCC33;
  --danger: #C2352B;
  --ok: #1F7A4D;

  --shadow: 0 1px 2px rgb(15 26 58 / .06), 0 8px 24px -8px rgb(15 26 58 / .18);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 8.5vw, 112px);
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0C1531; --surface: #121D3F; --ink: #E9EDF7; --ink-2: #A9B3CE; --ink-3: #6E7898;
    --line: #243159; --prussian: #7F9BFF; --prussian-press: #9DB2FF; --prussian-tint: #1A2758;
    --on-prussian: #0C1531; --marquee: #FFD54D; --danger: #FF7A6E; --ok: #5FD19A;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 28px -8px rgb(0 0 0 / .55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0C1531; --surface: #121D3F; --ink: #E9EDF7; --ink-2: #A9B3CE; --ink-3: #6E7898;
  --line: #243159; --prussian: #7F9BFF; --prussian-press: #9DB2FF; --prussian-tint: #1A2758;
  --on-prussian: #0C1531; --marquee: #FFD54D; --danger: #FF7A6E; --ok: #5FD19A;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 28px -8px rgb(0 0 0 / .55);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--prussian); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--prussian); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--marquee); color: #0F1A3A; }

h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
h1, h2 { font-stretch: 78%; font-weight: 650; letter-spacing: -0.012em; }
h1 { font-size: clamp(48px, 6.6vw, 80px); line-height: 0.98; }
h2 { font-size: clamp(36px, 4.6vw, 52px); line-height: 1.02; }
h3 { font-size: 18px; line-height: 1.3; font-weight: 600; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: 12px; z-index: 50; transform: translateY(-200%);
  background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: 7px; box-shadow: var(--shadow);
}
.skip-link:focus { transform: none; }

kbd {
  font: inherit; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums;
  display: inline-block; padding: 1px 7px; border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 5px; background: var(--surface); color: var(--ink); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 18px; border-radius: 7px; border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .15s var(--ease), transform .15s var(--ease), border-color .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--prussian); color: var(--on-prussian); }
.btn-primary:hover { background: var(--prussian-press); text-decoration: none; }
.btn-large { min-height: 54px; padding: 0 24px; font-size: 18px; border-radius: 8px; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--ink-3); text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 20px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 28px; height: 28px; flex: none; }
.header-inner nav { margin-left: auto; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 7px; color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav-links a:hover { color: var(--ink); background: var(--prussian-tint); }
.header-inner .btn { min-height: 38px; padding: 0 14px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) var(--section); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero-copy h1 { max-width: 11ch; }
.lead { margin-top: 28px; max-width: 34em; font-size: 20px; line-height: 1.5; color: var(--ink-2); }
.cta-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { margin-top: 16px; font-size: 15px; color: var(--ink-2); }
.fine kbd { margin-inline: 2px; }

/* The tall screenshot being scanned */
.hero-shot { margin: 0; display: grid; justify-items: center; gap: 22px; }
.shot-stage { position: relative; padding: 18px 18px 18px 64px; }
.shot-frame { position: relative; width: 300px; height: 660px; }
.crop { position: absolute; width: 22px; height: 22px; border: 0 solid var(--marquee); pointer-events: none; }
.crop.tl { top: -12px; left: -12px; border-top-width: 3px; border-left-width: 3px; }
.crop.tr { top: -12px; right: -12px; border-top-width: 3px; border-right-width: 3px; }
.crop.bl { bottom: -12px; left: -12px; border-bottom-width: 3px; border-left-width: 3px; }
.crop.br { bottom: -12px; right: -12px; border-bottom-width: 3px; border-right-width: 3px; }

.shot-page {
  position: absolute; inset: 0; overflow: hidden; border-radius: 2px;
  background: #FFFFFF; box-shadow: var(--shadow); outline: 1px solid rgb(15 26 58 / .08);
}

/* ruler measuring the capture height */
.ruler {
  position: absolute; left: 0; top: 18px; bottom: 18px; width: 44px;
  color: var(--ink-2); font-size: 11px; font-variant-numeric: tabular-nums; line-height: 1;
}
.ruler::before {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 10px;
  background:
    repeating-linear-gradient(to bottom, var(--ink-3) 0 1px, transparent 1px 5.0958%) right top / 5px 100% no-repeat,
    repeating-linear-gradient(to bottom, var(--ink-2) 0 1px, transparent 1px 20.383%) right top / 10px 100% no-repeat;
  border-right: 1px solid var(--ink-3);
}
.ruler span { position: absolute; right: 14px; transform: translateY(-50%); white-space: nowrap; }
.ruler span:first-child { transform: none; }
.ruler span:last-child { transform: translateY(-100%); }

.shot-caption { font-size: 15px; color: var(--ink-2); text-align: center; font-variant-numeric: tabular-nums; text-wrap: balance; }
.shot-caption strong { color: var(--ink); font-weight: 600; }

/* scan: line + unexposed veil travel down together */
.scan { position: absolute; inset: 0; transform: translateY(100%); opacity: 0; pointer-events: none; }
.scan-line {
  position: absolute; left: -8px; right: -8px; top: 0; height: 3px; margin-top: -1px;
  background: var(--marquee); box-shadow: 0 0 0 1px rgb(255 204 51 / .25), 0 0 18px 2px rgb(255 204 51 / .55);
}
.scan-veil {
  position: absolute; left: 0; right: 0; top: 2px; bottom: 0;
  background:
    repeating-linear-gradient(-45deg, rgb(30 63 168 / .07) 0 6px, transparent 6px 12px),
    rgb(230 235 250 / .9);
}
@media (prefers-reduced-motion: no-preference) {
  .scan { animation: scan 3.6s .5s cubic-bezier(.45, .05, .35, 1) both; }
  .shot-caption { animation: settle .4s 4.1s var(--ease) both; }
}
@keyframes scan {
  0% { transform: translateY(0); opacity: 1; }
  96% { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}
@keyframes settle { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- Mock website inside the shot (fixed light colors: it's an image of someone's page) ---------- */
.m { --mi: #1B2433; --mt: #C9D1DD; --mb: #EDF1F6; --ma: #2B6F64; --mw: #FFFFFF;
  position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--mw); }
.m span { display: block; }
.m .bar { height: 5px; border-radius: 3px; background: var(--mt); }
.m .bar + .bar { margin-top: 5px; }
.m .h { height: 11px; border-radius: 3px; background: var(--mi); }
.m .h + .h { margin-top: 6px; }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }
.m-nav { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #EEF1F5; }
.m-logo { width: 18px; height: 18px; border-radius: 5px; background: var(--ma); }
.m-nav .bar { width: 26px; margin: 0 !important; }
.m-nav .bar:first-of-type { margin-left: auto !important; }
.m-pill { width: 42px; height: 14px; border-radius: 7px; background: var(--mi); }
.m-hero { padding: 22px 16px 14px; }
.m-hero .bar { margin-top: 10px; }
.m-hero .h + .bar { margin-top: 12px; }
.m-btns { display: flex; gap: 6px; margin-top: 14px; }
.m-btns span { width: 58px; height: 16px; border-radius: 4px; background: var(--ma); }
.m-btns span + span { background: transparent; border: 1px solid var(--mt); }
.m-hero-img { margin: 6px 16px 0; height: 110px; border-radius: 6px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #D7ECE7 0%, #BFDCD5 100%); }
.m-hero-img::before { content: ""; position: absolute; width: 70px; height: 70px; border-radius: 50%; right: 26px; top: 14px; background: #F6E7B9; }
.m-hero-img::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -30px; height: 70px; border-radius: 50%; background: #8FC1B5; }
.m-logos { display: flex; justify-content: space-between; padding: 16px 22px; }
.m-logos span { width: 34px; height: 7px; border-radius: 3px; background: #DDE3EB; }
.m-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 6px 16px 16px; }
.m-ico { width: 16px; height: 16px; border-radius: 4px; background: #D7ECE7; margin-bottom: 8px; }
.m-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 10px 16px 16px; align-items: center; }
.m-img { height: 70px; border-radius: 5px; background: linear-gradient(135deg, #E8EDF4, #D3DBE6); }
.m-quote { margin: 4px 16px 14px; padding: 12px; border-radius: 6px; background: var(--mb); }
.m-quote .who { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.m-quote .av { width: 14px; height: 14px; border-radius: 50%; background: #BFDCD5; }
.m-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 16px 16px; }
.m-grid span { height: 44px; border-radius: 4px; background: #E9EEF4; }
.m-grid span:nth-child(2), .m-grid span:nth-child(4) { background: #D7ECE7; }
.m-price { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px 16px; }
.m-price > span { border: 1px solid #E3E8EF; border-radius: 6px; padding: 10px 8px; }
.m-price > span:last-child { border-color: var(--ma); }
.m-price .big { width: 30px; height: 14px; border-radius: 3px; background: var(--mi); margin: 2px 0 8px; }
.m-footer { margin-top: auto; padding: 16px; background: #1B2433; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.m-footer .bar { background: #3A4557; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 680px; }
.section-head p { margin-top: 20px; color: var(--ink-2); font-size: 20px; line-height: 1.5; }

/* Modes */
.modes { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.mode { padding: 32px 32px 8px 0; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; }
.mode + .mode { padding-left: 32px; border-left: 1px solid var(--line); }
.mode svg { width: 112px; height: 132px; margin-bottom: 12px; }
.mode p { color: var(--ink-2); font-size: 16px; }
.mode .keys { font-size: 13px; color: var(--ink-2); margin-top: 8px; }
.dg-page { fill: var(--surface); stroke: var(--ink-3); stroke-width: 1.5; }
.dg-bar { fill: var(--line); }
.dg-view { fill: none; stroke: var(--prussian); stroke-width: 2; }
.dg-sel { fill: rgb(255 204 51 / .22); stroke: var(--marquee); stroke-width: 2; stroke-dasharray: 5 4; }
.dg-crop { fill: none; stroke: var(--marquee); stroke-width: 3; stroke-linecap: square; }
.dg-fade { fill: var(--paper); }

/* Awkward pages */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.cases { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.cases li { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.cases p { color: var(--ink-2); font-size: 16px; }

/* Editor mock */
.editor { margin-top: 56px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.ed-top { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.ed-file { font-weight: 600; font-size: 15px; }
.ed-meta { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ed-actions { margin-left: auto; display: flex; gap: 8px; }
.ed-actions span { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 7px; font-size: 13px; font-weight: 600; border: 1px solid var(--line); color: var(--ink); }
.ed-actions span.primary { background: var(--prussian); border-color: var(--prussian); color: var(--on-prussian); }
.ed-body { display: grid; grid-template-columns: 76px 1fr; min-height: 440px; }
.ed-tools { list-style: none; margin: 0; padding: 10px 8px; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 4px; }
.ed-tools li { display: grid; justify-items: center; gap: 4px; padding: 8px 2px; border-radius: 7px; font-size: 11px; color: var(--ink-2); }
.ed-tools li.on { background: var(--prussian-tint); color: var(--prussian); font-weight: 600; }
.ed-tools svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ed-canvas { background: var(--paper); padding: 36px clamp(16px, 4vw, 56px); display: grid; place-items: center; overflow: hidden; }

.doc { position: relative; width: min(100%, 560px); background: #FFFFFF; color: #1B2433; border-radius: 2px; box-shadow: var(--shadow); padding: 26px 28px 30px; font-size: 14px; line-height: 1.45; }
.doc .doc-title { margin: 0 0 4px; font-size: 20px; line-height: 1.3; font-weight: 650; color: #1B2433; letter-spacing: -0.01em; }
.doc .doc-sub { color: #5A6576; font-size: 13px; margin-top: 8px; }
.doc .row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #EEF1F5; font-variant-numeric: tabular-nums; }
.doc .row span:first-child { color: #5A6576; }
.doc .redact { filter: blur(5px); user-select: none; }
.doc .hl { background: linear-gradient(transparent 12%, rgb(255 204 51 / .6) 12% 88%, transparent 88%); padding: 0 2px; }
.doc .place { margin-top: 18px; display: inline-flex; height: 38px; align-items: center; padding: 0 18px; border-radius: 6px; background: #2B6F64; color: #fff; font-weight: 600; }
.ann-box { position: absolute; border: 2.5px solid #D9342B; border-radius: 3px; pointer-events: none; }
.ann-arrow { position: absolute; pointer-events: none; overflow: visible; }
.ann-note { position: absolute; background: #D9342B; color: #fff; font-size: 13px; font-weight: 600; padding: 4px 9px; border-radius: 5px; white-space: nowrap; }
.exports { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; color: var(--ink-2); font-size: 16px; }
.exports .fmt { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 600; }

/* Batch */
.steps { margin: 32px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 18px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; font-size: 16px; color: var(--ink-2); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 600;
}
.steps strong { color: var(--ink); font-weight: 600; }
.batch { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.batch-head { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.batch-head strong { font-size: 16px; }
.batch-head span { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.batch ol { list-style: none; margin: 0; padding: 0; }
.batch li { display: grid; grid-template-columns: 18px 1fr auto; gap: 12px; align-items: center; padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.batch .fav { width: 18px; height: 18px; color: var(--ink-3); }
.batch .fav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.batch .url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.batch .st { font-size: 13px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.batch .st.done { color: var(--ok); font-weight: 600; }
.batch .st.done svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.batch .prog { width: 72px; height: 6px; border-radius: 3px; background: var(--prussian-tint); overflow: hidden; }
.batch .prog i { display: block; width: 62%; height: 100%; background: var(--prussian); border-radius: 3px; }
.batch li.waiting .url { color: var(--ink-2); }
.batch-foot { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 20px; }
.batch-foot span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 7px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.batch-foot span.primary { background: var(--prussian); color: var(--on-prussian); border-color: var(--prussian); }

/* Privacy */
.ledger { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.ledger > div { padding: 28px 28px 30px; }
.ledger > div + div { border-left: 1px solid var(--line); }
.ledger h3 { display: flex; align-items: center; gap: 10px; }
.ledger h3 svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ledger ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ledger li { font-size: 16px; color: var(--ink-2); padding-left: 18px; position: relative; }
.ledger li::before { content: ""; position: absolute; left: 0; top: .68em; width: 7px; height: 1.5px; background: var(--ink-3); }
.ledger .stays h3 { color: var(--ok); }
.privacy-link { margin-top: 20px; font-size: 16px; color: var(--ink-2); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.plan .later { margin-top: 28px; font-size: 15px; color: var(--ink-2); }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--prussian); padding: 27px; }
.plan h3 { font-size: 18px; }
.price { margin-top: 14px; display: flex; align-items: baseline; gap: 10px; }
.price b { font-stretch: 78%; font-weight: 650; font-size: 72px; line-height: .9; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price span { color: var(--ink-2); font-size: 16px; }
.plan ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 16px; color: var(--ink-2); }
.plan li svg { width: 18px; height: 18px; margin-top: 3px; fill: none; stroke: var(--prussian); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.plan .btn { margin-top: 28px; align-self: flex-start; }
.section-head .plan-note { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 16px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 88px); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; font-weight: 600; font-size: 18px; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2);
  transform: translateY(-3px) rotate(45deg); transition: transform .18s var(--ease);
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq summary:hover { color: var(--prussian); }
.faq .answer { padding: 0 0 22px; color: var(--ink-2); font-size: 16px; max-width: 62ch; }

/* Closing band */
.closing { text-align: left; }
.closing-inner { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; }
.closing h2 { max-width: 14ch; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px 48px; color: var(--ink-2); font-size: 15px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Legal pages ---------- */
.legal { padding-block: clamp(48px, 7vw, 88px) var(--section); }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(44px, 6vw, 64px); }
.legal .updated { margin-top: 16px; color: var(--ink-2); font-size: 15px; }
.legal .note { margin-top: 28px; padding: 16px 18px; border: 1px dashed var(--ink-3); border-radius: 12px; font-size: 15px; color: var(--ink-2); background: var(--surface); }
.prose { margin-top: 40px; font-size: 17px; color: var(--ink); }
.prose h2 { font-size: 30px; margin-top: 48px; }
.prose h3 { margin-top: 28px; }
.prose p, .prose ul, .prose table { margin-top: 14px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; color: var(--ink); }
.prose td { color: var(--ink-2); }
.table-scroll { overflow-x: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .modes { grid-template-columns: 1fr; }
  .mode, .mode + .mode { padding: 28px 0; border-left: 0; grid-template-columns: 112px 1fr; grid-template-rows: auto; column-gap: 24px; row-gap: 6px; align-items: start; }
  .mode + .mode { border-top: 1px solid var(--line); }
  .mode svg { grid-row: 1 / span 3; margin: 0; }
  .split, .faq-grid, .pricing-grid { grid-template-columns: 1fr; }
  .plans { max-width: 780px; }
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 13ch; }
  .hero-shot { justify-self: center; }
  .nav-links { display: none; }
  .header-inner .btn { margin-left: auto; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .lead, .section-head p { font-size: 18px; }
  .cases li { grid-template-columns: 1fr; gap: 6px; }
  .ledger { grid-template-columns: 1fr; }
  .ledger > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .plans { grid-template-columns: 1fr; }
  .ed-body { grid-template-columns: 1fr; }
  .ed-tools { grid-auto-flow: column; grid-auto-columns: 1fr; border-right: 0; border-bottom: 1px solid var(--line); padding: 6px; overflow-x: auto; }
  .ed-meta { display: none; }
  .ed-canvas { padding: 24px 12px; }
  .doc { padding: 20px 18px 22px; }
}
@media (max-width: 480px) {
  .shot-stage { padding-left: 52px; padding-right: 14px; }
  .shot-frame { width: 236px; height: 519px; }
  .m { inset: auto; left: 0; top: 0; width: 300px; height: 660px; transform: scale(.78667); transform-origin: 0 0; }
  .ruler { width: 38px; }
  .mode, .mode + .mode { grid-template-columns: 76px 1fr; column-gap: 16px; }
  .mode svg { width: 76px; height: 90px; }
  .ed-actions span:not(.primary) { display: none; }
  .btn-large { width: 100%; }
  .batch li { padding-inline: 14px; }
  .batch .prog { width: 48px; }
  .plan { padding: 22px; } .plan.featured { padding: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
