/* shotfleet: signal-flag identity.
   Cool paper, deep ink, and the flat colours of maritime signal flags. System fonts only (nothing loads from other
   servers); the dark theme follows the system. One radius scale: cards 28px (with a 6px tray around them), fields
   14px, interactive controls are pills. One easing curve for everything that moves. */
:root {
  --paper: #f3f5f8;
  --surface: #ffffff;
  --ink: #0d1b2a;
  --muted: #53647a;
  --line: #d3dbe4;
  --field: #66788d;
  --blue: #1e48c9;
  --blue-hover: #1a3cab;
  --on-blue: #ffffff;
  --yellow: #f6c21b;
  --red: #cf2f22;
  --pass: #166a34;
  --pass-bg: #e7f4eb;
  --terminal: #0d1b2a;
  --terminal-text: #dbe6f3;
  --terminal-dim: #7f93ab;
  --tray: rgba(13, 27, 42, 0.045);
  --tray-line: rgba(13, 27, 42, 0.09);
  --highlight: rgba(255, 255, 255, 0.85);
  --glow-blue: rgba(30, 72, 201, 0.16);
  --glow-yellow: rgba(246, 194, 27, 0.22);
  --shadow: 0 1px 1px rgba(13, 27, 42, 0.04), 0 22px 44px -18px rgba(31, 60, 140, 0.28);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --r-card: 28px;
  --r-field: 14px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --signal: "DIN Condensed", "Barlow Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue Condensed", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0a121c; --surface: #111c2a; --ink: #eaf0f7; --muted: #93a3b8; --line: #23364b; --field: #5f728a;
    --blue: #7b97ff; --blue-hover: #94acff; --on-blue: #08101a; --red: #ff6b5e; --pass: #4ed17a; --pass-bg: #0f2a1a;
    --terminal: #060d15; --tray: rgba(255, 255, 255, 0.04); --tray-line: rgba(255, 255, 255, 0.09); --highlight: rgba(255, 255, 255, 0.07);
    --glow-blue: rgba(123, 151, 255, 0.14); --glow-yellow: rgba(246, 194, 27, 0.08);
    --shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 26px 50px -20px rgba(0, 0, 0, 0.7);
  }
}
:root[data-theme="dark"] {
  --paper: #0a121c; --surface: #111c2a; --ink: #eaf0f7; --muted: #93a3b8; --line: #23364b; --field: #5f728a;
  --blue: #7b97ff; --blue-hover: #94acff; --on-blue: #08101a; --red: #ff6b5e; --pass: #4ed17a; --pass-bg: #0f2a1a;
  --terminal: #060d15; --tray: rgba(255, 255, 255, 0.04); --tray-line: rgba(255, 255, 255, 0.09); --highlight: rgba(255, 255, 255, 0.07);
  --glow-blue: rgba(123, 151, 255, 0.14); --glow-yellow: rgba(246, 194, 27, 0.08);
  --shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 26px 50px -20px rgba(0, 0, 0, 0.7);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; font-optical-sizing: auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); font-weight: 800; line-height: 0.99; letter-spacing: -0.045em; word-spacing: 0.06em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.04em; word-spacing: 0.04em; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.012em; }
code { font: 0.88em var(--mono); background: color-mix(in srgb, var(--ink) 8%, transparent); padding: 2px 6px; border-radius: 6px; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
main { position: relative; }

/* the one card recipe: a plate with a hairline highlight, resting in a tinted tray (the ring) */
.terminal, .codecard, .plan, .notfor, .cell {
  border-radius: var(--r-card);
  box-shadow: 0 0 0 6px var(--tray), 0 0 0 7px var(--tray-line), inset 0 1px 0 var(--highlight), var(--shadow);
}

/* ---------- header: a floating pill ---------- */
.top { position: sticky; top: 12px; z-index: 20; pointer-events: none; }
.pill { pointer-events: auto; width: max-content; max-width: calc(100% - 24px); margin: 12px auto 0; display: flex; align-items: center; gap: 22px;
  padding: 7px 7px 7px 18px; border-radius: 999px; background: color-mix(in srgb, var(--paper) 78%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  box-shadow: 0 0 0 1px var(--tray-line), inset 0 1px 0 var(--highlight), 0 10px 30px -14px rgba(13, 27, 42, 0.3); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.12rem var(--display); letter-spacing: -0.035em; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand svg { width: 21px; height: 21px; color: var(--blue); }
.pill .links { display: flex; gap: 4px; font-size: 0.94rem; font-weight: 550; }
.pill .links a { color: var(--ink); padding: 9px 12px; border-radius: 999px; transition: background 0.4s var(--ease); }
.pill .links a:hover { background: var(--tray); text-decoration: none; }
@media (max-width: 640px) { .pill .links { display: none; } .pill { gap: 14px; } }

/* ---------- buttons: pills, with the arrow in a circle of its own ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--blue); color: var(--on-blue); font: 650 1rem var(--sans); cursor: pointer; white-space: nowrap;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22); }
.btn:hover { background: var(--blue-hover); text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn:has(.ico) { padding-right: 8px; }
.btn .ico { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.2); font-size: 1.05rem; line-height: 1;
  transition: transform 0.5s var(--ease); }
.btn:hover .ico { transform: translate(2px, -2px) scale(1.06); }
.btn.sm { min-height: 40px; padding: 0 18px; font-size: 0.92rem; }
.btn.sm:has(.ico) { padding-right: 5px; }
.btn.sm .ico { width: 30px; height: 30px; font-size: 0.95rem; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 55%, transparent); }
.btn.ghost:hover { background: var(--tray); }
.btn.ghost .ico { background: var(--tray); }

/* ---------- signal pennants: the signature ---------- */
.flag { display: inline-grid; place-items: center; height: 34px; padding: 0 30px 0 14px; font: 700 1.1rem/1 var(--signal); letter-spacing: 0.06em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 13px) 50%, 100% 100%, 0 100%); background: var(--ink); color: var(--paper); }
.flag b { font: 700 1.1rem/1 var(--signal); letter-spacing: 0.06em; text-transform: uppercase; }
.flag.y { background: var(--yellow); color: #0d1b2a; }
.flag.r { background: var(--red); color: #fff; }
.flag.b { background: var(--blue); color: var(--on-blue); }
.flag.w { background: #ffffff; color: #0d1b2a; }
.flag.k { background: #0d1b2a; color: #ffffff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .flag.r { background: #ff6b5e; color: #0a121c; }
  :root:not([data-theme="light"]) .flag.k { background: #2a3f57; color: #ffffff; }
}
:root[data-theme="dark"] .flag.r { background: #ff6b5e; color: #0a121c; }
:root[data-theme="dark"] .flag.k { background: #2a3f57; color: #ffffff; }
.ribbon { display: inline-block; justify-self: start; position: relative; z-index: 1; }
.ribbon .flag { display: inline-flex; align-items: center; height: 30px; padding: 0 28px 0 12px; }
.ribbon .flag.k b { color: var(--yellow); }

/* ---------- hero ---------- */
main::before { content: ""; position: absolute; inset: -140px 0 auto; height: 980px; pointer-events: none; z-index: -1;
  background: radial-gradient(900px 480px at 88% 18%, var(--glow-blue), transparent 70%), radial-gradient(760px 420px at 4% 6%, var(--glow-yellow), transparent 70%); }
.hero { padding-block: clamp(48px, 7vw, 92px) clamp(40px, 5vw, 64px); display: grid; gap: 26px; justify-items: start; }
.hero h1 { max-width: 13ch; }
.hero .sub { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--muted); max-width: 40ch; line-height: 1.5; }
.hero .sub b { color: var(--ink); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.signup { max-width: 540px; margin: 0; }
.signup .inline { gap: 10px; flex-wrap: nowrap; padding: 6px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--tray-line), inset 0 1px 0 var(--highlight), var(--shadow); }
.signup .inline input { flex: 1 1 auto; min-width: 0; min-height: 48px; border: 0; background: transparent; padding: 0 16px; border-radius: 999px; box-shadow: none; }
.signup .inline input:focus-visible { outline: 0; box-shadow: none; }
.signup .inline:focus-within { box-shadow: 0 0 0 2px var(--blue), var(--shadow); }
.signup .btn { min-height: 48px; }
@media (max-width: 520px) { .signup .inline { flex-wrap: wrap; border-radius: 26px; } .signup .btn { width: 100%; } .signup .inline input { flex-basis: 100%; } }
@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise 1s var(--ease) both; }
  .hero > :nth-child(2) { animation-delay: 0.07s; } .hero > :nth-child(3) { animation-delay: 0.14s; } .hero > :nth-child(4) { animation-delay: 0.21s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- the fleet: the same screen, every language, each stamped as checked ---------- */
.fleet { display: flex; gap: clamp(14px, 2vw, 26px); overflow-x: auto; scroll-snap-type: x proximity; padding: 8px max(24px, calc((100vw - 1120px) / 2)) 44px;
  scroll-padding-inline: max(24px, calc((100vw - 1120px) / 2)); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.fleet::-webkit-scrollbar { display: none; }
.fleet:focus-visible { outline-offset: -3px; }
.ship { flex: 0 0 clamp(152px, 17vw, 212px); display: grid; gap: 0; align-content: start; scroll-snap-align: start; margin: 0; }
.ship:nth-child(even) { margin-top: 30px; }
.ship .shot { position: relative; }
.ship img { border-radius: 4px 22px 22px 22px; box-shadow: 0 0 0 1px var(--tray-line), var(--shadow); background: var(--surface); }
.ship figcaption { font: 500 0.85rem/1.3 var(--sans); color: var(--muted); padding-top: 10px; }
.stamp { position: absolute; right: -8px; top: -8px; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: var(--on-blue);
  display: grid; place-items: center; box-shadow: 0 0 0 3px var(--paper); }
.stamp svg { width: 16px; height: 16px; }
.ship.more { align-content: center; justify-items: start; padding-left: 8px; }
.ship.more p { font: 800 clamp(2rem, 4vw, 3rem)/1 var(--display); letter-spacing: -0.04em; }
.ship.more span { color: var(--muted); font-size: 0.95rem; max-width: 18ch; }
@media (prefers-reduced-motion: no-preference) {
  .ship .stamp { animation: stamp 0.6s var(--ease) both; animation-delay: calc(0.6s + var(--i) * 0.15s); }
  .ship .ribbon { animation: hoist 0.8s var(--ease) both; animation-delay: calc(0.1s + var(--i) * 0.08s); }
  .fleet:not(.small) .ship img { animation: rise 1.1s var(--ease) both; animation-delay: calc(0.2s + var(--i) * 0.08s); }
}
@keyframes stamp { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes hoist { from { transform: translateX(-14px); opacity: 0; } to { transform: none; opacity: 1; } }
.fleet-note { padding-bottom: 8px; max-width: 760px; }
.fleet.small .ship { flex-basis: clamp(128px, 14.5vw, 176px); }
.fleet.small .ship.land { flex-basis: clamp(250px, 30vw, 340px); }
.fleet.small .ship:nth-child(even) { margin-top: 22px; }
.fleet.small .ship .ribbon .flag { height: 28px; }

/* ---------- sections ---------- */
.section { padding-block: clamp(88px, 11vw, 152px) 0; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split .copy { display: grid; gap: 18px; align-content: start; }
.split .copy p { color: var(--muted); max-width: 44ch; }
.split .copy p b { color: var(--ink); font-weight: 600; }
.split.flip .copy { order: 2; }
@media (max-width: 820px) { .split, .split.flip { grid-template-columns: 1fr; } .split.flip .copy { order: 0; } }
.stack { display: grid; gap: 18px; max-width: 54ch; }
.stack p { color: var(--muted); }

/* a real run */
.terminal { background: var(--terminal); color: var(--terminal-text); padding: 22px 24px; font: 0.88rem/1.7 var(--mono); overflow-x: auto; }
.terminal pre { margin: 0; font: inherit; white-space: pre; }
.terminal .dim { color: var(--terminal-dim); }
.terminal .ok { color: #7ee2a0; }
.terminal .end { color: #fff; }
.terminal-bar { display: flex; gap: 7px; margin-bottom: 14px; }
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2d4258; display: block; }

/* the catch: a real bug, outlined like the tool's own report */
.catch { position: relative; justify-self: center; max-width: 280px; }
.catch img { border-radius: 26px; box-shadow: var(--shadow); outline: 4px solid var(--red); outline-offset: 5px; }
.catch .flag { position: absolute; left: -14px; top: 22px; z-index: 1; }

/* the translated selectors, side by side */
.flowrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: clamp(32px, 4vw, 52px); }
.cell { background: var(--surface); padding: 20px 22px; display: grid; gap: 10px; align-content: start; }
.cell dt { font: 700 0.95rem var(--signal); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cell dd { margin: 0; font: 0.95rem/1.5 var(--mono); overflow-wrap: anywhere; }
.cell dd em { font-style: normal; color: var(--blue); }
.cell.you { background: var(--ink); color: var(--paper); }
.cell.you dt { color: var(--yellow); }
.cell .warn { display: block; margin-top: 0.6rem; font: 0.82rem/1.4 var(--sans); color: var(--muted); }
@media (max-width: 980px) { .flowrow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .flowrow { grid-template-columns: 1fr; gap: 16px; } }

/* an asymmetric bento: three cells, three surfaces */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; }
.bento .cell { padding: clamp(24px, 3vw, 36px); gap: 14px; }
.bento .a { grid-column: span 7; grid-row: span 2; background: var(--ink); color: var(--paper); align-content: space-between; min-height: 340px; }
.bento .b { grid-column: span 5; background: color-mix(in srgb, var(--blue) 9%, var(--surface)); }
.bento .c { grid-column: span 5; background: color-mix(in srgb, var(--yellow) 18%, var(--surface)); }
.bento h2.point { font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -0.03em; }
.bento .a h2.point { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.bento .cell p { color: var(--muted); max-width: 40ch; }
.bento .a h2.point { margin-bottom: 0.6rem; }
.bento .a p { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.bento .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bento .chips span { font: 600 0.85rem var(--sans); padding: 7px 13px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); }
.bento pre { margin: 0; font: 0.95rem/1.7 var(--mono); color: var(--paper); background: rgba(255,255,255,0.06); border-radius: 18px; padding: 18px 20px; overflow-x: auto; }
.bento pre .y { color: var(--yellow); } .bento pre .dim { color: color-mix(in srgb, var(--paper) 55%, transparent); }
@media (max-width: 820px) { .bento { grid-template-columns: 1fr; } .bento .a, .bento .b, .bento .c { grid-column: auto; grid-row: auto; min-height: 0; } }

/* the gallery of other apps */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tabs button { font: 650 1rem var(--sans); min-height: 46px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--surface); color: var(--ink); cursor: pointer;
  box-shadow: 0 0 0 1px var(--tray-line); transition: background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease); }
.tabs button:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.tabs button:active { transform: scale(0.98); }
.tabs button span { font-weight: 500; font-size: 0.85rem; color: var(--muted); margin-left: 6px; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.tabs button[aria-selected="true"] span { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.tabpanel { margin-top: 30px; }
.tabpanel[hidden] { display: none; }
@media (max-width: 520px) {
  .tabs { flex-wrap: nowrap; }
  .tabs button { flex: 1 1 0; min-width: 0; padding: 6px 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.25; font-size: 0.95rem; }
  .tabs button span { margin: 0; font-size: 0.78rem; }
}

/* who it is not for */
.notfor { background: var(--surface); padding: clamp(26px, 3.4vw, 42px); max-width: 780px; }
.notfor ul { margin: 16px 0 0; padding-left: 20px; display: grid; gap: 10px; color: var(--muted); }

/* price + signup */
.plans { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; margin-top: 40px; align-items: start; }
.plan { background: var(--surface); padding: clamp(24px, 3.2vw, 38px); display: grid; gap: 16px; align-content: start; }
.plan h3 { font-size: 1.05rem; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; color: var(--muted); font-size: 0.97rem; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 80% 50%, 100% 100%, 0 100%); }
.plan.main li::before { background: var(--blue); }
.amount { font: 800 3.6rem/1 var(--display); letter-spacing: -0.05em; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.amount span { font: 400 1rem var(--sans); color: var(--muted); letter-spacing: 0; }
.founder { font-size: 1rem; }
.lede-small { margin-top: 12px; max-width: 58ch; }
.cmd { font: 0.85rem/1.5 var(--mono); background: var(--paper); border-radius: 14px; padding: 13px 15px; overflow-wrap: anywhere; box-shadow: inset 0 0 0 1px var(--tray-line); }
.cmd span { color: var(--muted); margin-right: 6px; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }

/* forms */
form { display: grid; gap: 12px; width: 100%; max-width: 460px; margin-top: 8px; text-align: left; }
.inline { display: flex; flex-wrap: wrap; gap: 10px; }
.inline input { flex: 1 1 220px; width: auto; min-width: 0; }
label { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.field { display: grid; gap: 6px; }
input[type=email], select, textarea { width: 100%; min-height: 48px; padding: 10px 16px; border-radius: var(--r-field); border: 0; box-shadow: inset 0 0 0 1.5px var(--field);
  background: var(--paper); color: var(--ink); font: 400 1rem var(--sans); transition: box-shadow 0.4s var(--ease); }
input[type=email]:focus-visible, select:focus-visible, textarea:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px var(--blue); }
textarea { min-height: 120px; resize: vertical; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--red); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { color: var(--red); font-size: 0.92rem; padding-left: 6px; }
.done { border-radius: 20px; background: var(--pass-bg); color: var(--ink); padding: 16px 20px; max-width: 480px; display: grid; gap: 14px; }
.done b { color: var(--pass); }
.followup { max-width: 460px; margin: 0; display: grid; gap: 8px; }
.followup .inline select { flex: 1 1 220px; width: auto; min-width: 0; }
.followup label { font-weight: 500; }
.followup .btn { min-height: 48px; }

footer { margin-top: clamp(96px, 12vw, 160px); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 28px 44px; font-size: 0.88rem; color: var(--muted); border-top: 1px solid var(--tray-line); }

/* ---------- scroll choreography: heavy, short, one curve ---------- */
html.js-reveal .reveal { opacity: 0; transform: translateY(30px); filter: blur(5px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
html.js-reveal .reveal.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js-reveal .reveal { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ---------- text pages: privacy, terms, 404 ---------- */
.page { max-width: 680px; padding-block: clamp(56px, 8vw, 96px) 0; display: grid; gap: 18px; }
.page.wide { max-width: 940px; }
.page h2 { font-size: 1.3rem; margin-top: 18px; letter-spacing: -0.02em; }
.page ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.page form { max-width: none; }
.label { display: inline-flex; width: max-content; font: 700 1rem/1 var(--signal); letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 22px 8px 12px;
  background: var(--yellow); color: #0d1b2a; clip-path: polygon(0 0, 100% 0, 88% 50%, 100% 100%, 0 100%); }
.lede { font-size: 1.15rem; color: var(--muted); }
p a:not(.btn), footer a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* comparison page */
.tablewrap { overflow-x: auto; margin-top: 8px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 6px var(--tray), 0 0 0 7px var(--tray-line), var(--shadow); }
table { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 0.95rem; }
th, td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 700 0.95rem var(--signal); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: color-mix(in srgb, var(--ink) 4%, transparent); }
tr:last-child td { border-bottom: 0; }
tbody tr:first-child td { background: color-mix(in srgb, var(--blue) 8%, transparent); font-weight: 500; }
.yes { color: var(--pass); font-weight: 700; }
.no { color: var(--muted); font-weight: 600; }
.note { color: var(--muted); font-size: 0.85rem; display: block; }


/* Click to enlarge */
button.zoom { all: unset; display: block; cursor: zoom-in; border-radius: inherit; }
button.zoom:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
button.zoom img { display: block; }
dialog#zoom { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
dialog#zoom::backdrop { background: rgba(6, 12, 20, 0.84); backdrop-filter: blur(6px); }
dialog#zoom img { display: block; max-width: 96vw; max-height: 92vh; width: auto; height: auto; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); cursor: zoom-out; }
dialog#zoom[open] img { animation: zin 0.35s var(--ease) both; }
@keyframes zin { from { opacity: 0; transform: scale(0.96); } }
.zoom-close { all: unset; position: fixed; top: 16px; right: 16px; padding: 10px 18px; border-radius: 999px; background: #fff; color: #0d1b2a; font: 600 0.9rem/1 var(--sans); cursor: pointer; }
.zoom-close:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { dialog#zoom[open] img { animation: none; } }

/* Numbers from real runs */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; }
.stats .cell { padding: 22px 22px 24px; display: grid; gap: 8px; align-content: start; }
.numbers .stats dt { font: 700 clamp(1.5rem, 2.6vw, 2.1rem)/1.05 var(--sans); letter-spacing: -0.035em; text-transform: none; color: var(--ink); }
.numbers .stats dd { margin: 0; font: 400 0.92rem/1.45 var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.numbers .stats dd code { font: 0.85em var(--mono); }
.numbers .small { margin-top: 14px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }
