/* ==========================================================================
   Bleeder — marketing site
   Editorial, paper-toned layout. Fonts are self-hosted (no third-party requests).
   ========================================================================== */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Mono";
  src: url("../fonts/RobotoMono-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --paper-2: #f4f5f4;
  --paper-3: #e7e9e8;
  --ink: #111313;
  --ink-2: #2e3332;
  --muted: #646a69;
  --rule: rgba(17, 19, 19, 0.14);
  --rule-strong: rgba(17, 19, 19, 0.85);

  --teal: #3ca09d;          /* app key colour — large type & fills */
  --teal-ink: #1d6b68;      /* AA on paper for small text */
  --coral: #ee7270;
  --coral-ink: #b8413f;

  --cream: #f4f4f2;         /* fixed light text on night surfaces */
  --surface: #f6f7f6;
  --ink-hover: #000;
  --shadow: 16, 22, 22;
  --photo-filter: none;

  --night: #0e1010;
  --night-2: #171a1a;
  --night-rule: rgba(243, 239, 231, 0.14);
  --night-muted: #9aa19f;

  --sans: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Roboto Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(20px, 4vw, 48px);
  --maxw: 1320px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --paper: #121514;
  --paper-2: #181c1b;
  --paper-3: #232827;
  --ink: #ece8df;
  --ink-2: #c4c2bb;
  --muted: #8f9593;
  --rule: rgba(236, 232, 223, 0.13);
  --rule-strong: rgba(236, 232, 223, 0.55);
  --teal-ink: #64c6c2;
  --coral-ink: #f28d8b;
  --surface: #191d1c;
  --ink-hover: #fff;
  --shadow: 0, 0, 0;
  --photo-filter: brightness(.88) saturate(.95);
  --night: #0a0c0c;
  color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121514;
  --paper-2: #181c1b;
  --paper-3: #232827;
  --ink: #ece8df;
  --ink-2: #c4c2bb;
  --muted: #8f9593;
  --rule: rgba(236, 232, 223, 0.13);
  --rule-strong: rgba(236, 232, 223, 0.55);
  --teal-ink: #64c6c2;
  --coral-ink: #f28d8b;
  --surface: #191d1c;
  --ink-hover: #fff;
  --shadow: 0, 0, 0;
  --photo-filter: brightness(.88) saturate(.95);
  --night: #0a0c0c;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 450;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.label b { color: var(--ink); font-weight: 600; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.display {
  font-size: clamp(3.1rem, 8.4vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  font-weight: 600;
}
.headline {
  font-size: clamp(2.3rem, 5.2vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}
.title { font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.08; letter-spacing: -0.03em; }
em, .ital { font-style: italic; font-weight: 500; }
.teal { color: var(--teal); }
.coral { color: var(--coral); }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
p { margin: 0 0 1em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 34px); }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn, .nav-links a.btn:hover { color: var(--paper); }
.nav-links .nav-link { position: relative; }
.nav-links .nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav-links .nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 760px) { .nav-links .nav-link { display: none; } }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; letter-spacing: -0.01em;
  background: var(--ink); color: var(--paper);
  transition: transform .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-1px); background: var(--ink-hover); }
.btn--small { padding: 8px 16px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.arrow { display: inline-block; transition: transform .3s var(--ease); }
a:hover > .arrow { transform: translateX(4px); }

/* App Store button */
.appstore {
  display: inline-flex; align-items: center; gap: 12px;
  height: 58px; padding: 0 22px 0 18px; border-radius: 14px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s;
  box-shadow: 0 10px 24px -14px rgba(0,0,0,.6);
}
.appstore:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(0,0,0,.6); }
.appstore svg { width: 24px; height: 28px; fill: currentColor; flex: none; }
.appstore span { display: flex; flex-direction: column; line-height: 1.05; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.appstore small { font-size: 11px; font-weight: 500; letter-spacing: 0; opacity: .8; }
.on-night .appstore { background: var(--cream); color: #111313; }

/* ---------- devices ---------- */
.device { position: relative; margin: 0; isolation: isolate; }
.device__frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.device__screen, .device__screens { position: absolute; z-index: 1; overflow: hidden; background: #000; box-shadow: 0 0 0 3px #000; }
.device__screen { object-fit: cover; }
.device__screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.device--shadow .device__frame { filter: drop-shadow(0 40px 50px rgba(var(--shadow), 0.22)) drop-shadow(0 6px 12px rgba(var(--shadow), 0.14)); }
:root[data-theme="dark"] .device--shadow .device__frame { filter: drop-shadow(0 40px 50px rgba(0,0,0,.55)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .device--shadow .device__frame { filter: drop-shadow(0 40px 50px rgba(0,0,0,.55)); } }

/* iPhone — frame 978×2000, screen 874×1900 @ (52,50) */
.device--iphone { aspect-ratio: 978 / 2000; }
.device--iphone .device__screen,
.device--iphone .device__screens { left: 5.317%; top: 2.5%; width: 89.366%; height: 95%; border-radius: 14.4% / 6.63%; }

/* iPad Pro 13" — frame 1533×2000, screen 1375×1834 @ (79,83) */
.device--ipad { aspect-ratio: 1533 / 2000; }
.device--ipad .device__screen { left: 5.153%; top: 4.15%; width: 89.693%; height: 91.7%; border-radius: 2.76% / 2.07%; }

/* iPhone Duo (cover) — frame 1435×2000, screen 1273×1854 @ (81,73) */
.device--duo { aspect-ratio: 1435 / 2000; }
.device--duo .device__screen { left: 5.645%; top: 3.65%; width: 88.711%; height: 92.7%; border-radius: 1.6% 11.5% 11.5% 1.6% / 1.1% 7.9% 7.9% 1.1%; }

/* ---------- reveal ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .split-line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.js .split-line > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .is-in .split-line > span, .js .split-line.is-in > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .split-line > span { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 80px) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { margin: 22px 0 28px; }
.hero .lede { margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-note { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

.hero-visual { position: relative; width: 100%; max-width: 600px; justify-self: end; padding: 0 0 8% 12%; }
.hero-photo { margin: 0; position: relative; aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden; background: var(--paper-3); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-filter); transform: scale(1.08); transition: transform 2.6s var(--ease); }
.hero-photo.is-in img, .no-js .hero-photo img { transform: none; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 12, 12, .35)); pointer-events: none; }
.hero-photo figcaption { position: absolute; right: 16px; bottom: 12px; z-index: 1; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: rgba(255, 255, 255, .72); }
.hero-photo figcaption a { text-decoration: none; }

.hero-visual .device--iphone { position: absolute; left: 0; bottom: 0; width: 36%; z-index: 2; }

.hero-chip {
  position: absolute; z-index: 3; display: grid; gap: 4px;
  padding: 14px 16px 14px; border-radius: 18px; min-width: 168px;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 0 0 1px var(--rule), 0 18px 40px -20px rgba(var(--shadow), .45);
}
.hero-chip .label { font-size: 10.5px; }
.hero-chip strong { font-size: 30px; line-height: 1; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.hero-chip strong small { font-size: 13px; letter-spacing: 0; font-weight: 500; color: var(--muted); margin-left: 3px; }
.hero-chip .meta { font-size: 12.5px; color: var(--muted); }
.hero-chip svg { display: block; width: 100%; height: 34px; margin-top: 4px; overflow: visible; }
.hero-chip svg path { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-chip svg .spark-fill { fill: color-mix(in srgb, var(--teal) 18%, transparent); stroke: none; }
.hero-chip svg circle { fill: var(--teal); }
.hero-chip--level { top: 9%; right: -5%; }
.hero-chip--stock { top: 44%; right: -8%; min-width: 0; }
.js .hero-chip svg .spark-line { stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 2.2s var(--ease) .9s; }
.js .hero-chip.is-in svg .spark-line { stroke-dashoffset: 0; }
.dot-live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); margin-right: 6px; box-shadow: 0 0 0 0 color-mix(in srgb, var(--teal) 60%, transparent); animation: live 2.4s ease-out infinite; vertical-align: 1px; }
@keyframes live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--teal) 55%, transparent); } 100% { box-shadow: 0 0 0 9px transparent; } }
@media (prefers-reduced-motion: reduce) { .dot-live { animation: none; } .hero-photo img { transform: none; transition: none; } }

@media (max-width: 1100px) { .hero-chip--level { right: -2%; } .hero-chip--stock { right: -3%; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 520px; margin-top: 16px; padding-left: 14%; }
  .hero-chip--level { right: 3%; }
  .hero-chip--stock { right: 3%; }
}
@media (max-width: 480px) {
  .hero-chip { min-width: 0; padding: 10px 12px; border-radius: 14px; }
  .hero-chip strong { font-size: 22px; }
  .hero-chip svg { height: 24px; width: 110px; }
  .hero-chip--level { top: 4%; right: 2%; }
  .hero-chip--stock { display: none; }
}

/* theme toggle */
.theme-toggle {
  display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink-2); cursor: pointer; box-shadow: inset 0 0 0 1px var(--rule);
  transition: color .2s, box-shadow .2s;
}
.theme-toggle:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule-strong); }
.theme-toggle svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
:root[data-theme="dark"] .theme-toggle svg { transform: rotate(180deg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle svg { transform: rotate(180deg); } }

/* ---------- ticker ---------- */
.ticker {
  margin-top: clamp(56px, 8vw, 110px);
  border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong);
  overflow: hidden; white-space: nowrap;
}
.ticker__track { display: inline-flex; animation: ticker 48s linear infinite; padding: 16px 0; }
.ticker__track span { font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; padding: 0 28px; display: inline-flex; align-items: center; gap: 28px; }
.ticker__track span::after { content: "✳"; color: var(--teal); font-size: 12px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ---------- intro statement ---------- */
.statement { padding: clamp(80px, 12vw, 170px) 0; }
.statement-grid { display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
.statement p:not(.label) {
  font-size: clamp(1.7rem, 3.6vw, 3.25rem); line-height: 1.12; letter-spacing: -0.035em; font-weight: 500; margin: 0;
  text-wrap: pretty;
}
.statement p .dim { color: color-mix(in srgb, var(--ink) 38%, var(--paper)); }
@media (max-width: 760px) { .statement-grid { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- feature story (scrollytelling) ---------- */
.story { border-top: 1px solid var(--rule); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 96px); }
.story-phone { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; }
.story-phone .device { width: min(340px, 72%); max-height: 84vh; aspect-ratio: 978 / 2000; height: auto; }
.story-phone .device__screens img { opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.story-phone .device__screens img.is-active { opacity: 1; transform: none; }

.step { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 10vh 0; }
.step-num { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; }
.step-num .n { font-family: var(--mono); font-size: 13px; color: var(--teal-ink); font-weight: 600; }
.step h2 { margin-bottom: 26px; }
.step p { color: var(--ink-2); max-width: 30em; font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 0; list-style: none; }
.chips li { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-2); background: var(--surface); }
.step .device { display: none; }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-phone { display: none; }
  .step { min-height: 0; padding: 72px 0; border-bottom: 1px solid var(--rule); }
  .step:last-child { border-bottom: 0; }
  .step .device { display: block; width: min(300px, 74%); margin: 40px auto 0; }
}

/* ---------- factor curve band ---------- */
.on-night { background: var(--night); color: var(--cream); }
.on-night .label { color: var(--night-muted); }
.on-night .lede, .on-night p { color: color-mix(in srgb, var(--cream) 78%, var(--night)); }
.curve-band { position: relative; padding: clamp(90px, 12vw, 160px) 0 0; overflow: hidden; }
.curve-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: end; }
.curve-value { font-size: clamp(5rem, 15vw, 13rem); font-weight: 600; letter-spacing: -0.06em; line-height: 0.82; color: var(--teal); font-variant-numeric: tabular-nums; }
.curve-value sup { font-size: 0.32em; vertical-align: top; position: relative; top: 0.25em; margin-left: 0.04em; letter-spacing: 0; }
.curve-svg { display: block; width: 100%; height: auto; margin-top: clamp(40px, 6vw, 80px); }
.curve-svg .grid line { stroke: var(--night-rule); stroke-width: 1; }
.curve-svg .line { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-linejoin: round; }
.curve-svg .future { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-dasharray: 7 7; opacity: .7; }
.curve-svg .area { fill: url(#curveFill); }
.curve-svg .now { fill: var(--cream); }
.curve-svg .now-rule { stroke: var(--cream); stroke-width: 1; stroke-dasharray: 2 5; opacity: .45; }
.curve-svg .now-label { fill: var(--cream); font-family: var(--mono); font-size: 13px; letter-spacing: .12em; }
.curve-svg .now-ring { fill: none; stroke: var(--cream); stroke-width: 1.5; opacity: .5; transform-box: fill-box; transform-origin: center; animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .6; } to { transform: scale(3.2); opacity: 0; } }
.js .curve-svg .line, .js .curve-svg .future { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 2.6s var(--ease); }
.js .curve-svg .future { transition-delay: 2.2s; }
.js .curve-svg .area { opacity: 0; transition: opacity 1.4s ease 1.2s; }
.js .curve-svg .now, .js .curve-svg .now-ring, .js .curve-svg .now-rule, .js .curve-svg .now-label { opacity: 0; transition: opacity .6s ease 2.4s; }
.js .curve-svg.is-in .line, .js .curve-svg.is-in .future { stroke-dashoffset: 0; }
.js .curve-svg.is-in .future { stroke-dasharray: 7 7; }
.js .curve-svg.is-in .area { opacity: 1; }
.js .curve-svg.is-in .now, .js .curve-svg.is-in .now-label { opacity: 1; }
.js .curve-svg.is-in .now-rule { opacity: .45; }
.js .curve-svg.is-in .now-ring { opacity: .6; }
.curve-axis { display: flex; justify-content: space-between; border-top: 1px solid var(--night-rule); padding: 14px 0 clamp(60px, 8vw, 110px); }
.curve-params { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--night-rule); }
.curve-params div { padding: 26px 20px 30px 0; border-right: 1px solid var(--night-rule); }
.curve-params div + div { padding-left: 20px; }
.curve-params div:last-child { border-right: 0; }
.curve-params strong { display: block; font-size: clamp(1.5rem, 2.6vw, 2.3rem); letter-spacing: -0.03em; font-weight: 600; color: var(--cream); margin-top: 8px; }
@media (max-width: 760px) {
  .curve-head { grid-template-columns: 1fr; }
  .curve-params { grid-template-columns: 1fr 1fr; }
  .curve-params div:nth-child(2) { border-right: 0; }
  .curve-params div:nth-child(3) { padding-left: 0; }
  .curve-params div:nth-child(n+3) { border-top: 1px solid var(--night-rule); }
}

/* ---------- devices section ---------- */
.screens { padding: clamp(100px, 13vw, 180px) 0; }
.screens-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(50px, 7vw, 90px); }
.screens-stage { display: grid; grid-template-columns: 1.55fr 1fr 0.62fr; gap: clamp(16px, 3vw, 44px); align-items: end; }
.screens-stage figcaption { margin-top: 18px; text-align: center; }
.screens-stage .device--duo, .screens-stage .device--iphone { margin-bottom: 0; }
@media (max-width: 860px) {
  .screens-head { grid-template-columns: 1fr; }
  .screens-stage { grid-template-columns: 1fr 1fr; }
  .screens-stage > :first-child { grid-column: 1 / -1; max-width: 560px; justify-self: center; width: 100%; }
}

/* ---------- details list ---------- */
.details { padding: 0 0 clamp(100px, 12vw, 170px); }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(30px, 6vw, 90px); border-top: 1px solid var(--rule-strong); }
.detail { display: grid; grid-template-columns: 54px 1fr; gap: 10px; padding: 30px 0 34px; border-bottom: 1px solid var(--rule); }
.detail .label { padding-top: 6px; }
.detail h3 { font-size: 22px; letter-spacing: -0.025em; margin-bottom: 8px; }
.detail p { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 32em; }
@media (max-width: 760px) { .details-grid { grid-template-columns: 1fr; } }

.export-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: end; margin-bottom: clamp(70px, 9vw, 120px); }
@media (max-width: 760px) { .export-row { grid-template-columns: 1fr; } }

/* ---------- privacy band ---------- */
.privacy { padding: clamp(100px, 13vw, 180px) 0; background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.privacy-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(30px, 6vw, 90px); align-items: end; }
.privacy .display { font-size: clamp(2.8rem, 7vw, 6.6rem); }
.strike { position: relative; white-space: nowrap; }
.strike::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.08em; border-radius: 1em; background: var(--coral);
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); transition-delay: var(--d, .4s);
}
.is-in .strike::after, .no-js .strike::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .strike::after { transform: scaleX(1); transition: none; } }
@media (max-width: 860px) { .privacy-grid { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.pricing { padding: clamp(100px, 13vw, 180px) 0; }
.pricing-head { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
.free-strip {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  border: 1.5px solid var(--ink); border-radius: 22px; padding: 22px 28px; margin-bottom: 20px;
}
.free-strip .price { font-size: 38px; font-weight: 600; letter-spacing: -0.04em; }
.free-strip p { margin: 0; color: var(--ink-2); }
.free-meter { display: flex; gap: 5px; }
.free-meter i { width: 10px; height: 26px; border-radius: 3px; background: var(--teal); opacity: .9; }
@media (max-width: 760px) { .free-strip { grid-template-columns: 1fr; } }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  border-radius: 22px; padding: 30px 28px 28px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--rule);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--rule), 0 26px 40px -30px rgba(var(--shadow), .45); }
.plan h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 26px; }
.plan .amount { font-size: clamp(3rem, 5vw, 4.4rem); font-weight: 600; letter-spacing: -0.06em; line-height: 0.9; font-variant-numeric: tabular-nums; }
.plan .amount small { font-size: 0.32em; letter-spacing: -0.01em; font-weight: 500; margin-left: 6px; color: var(--muted); }
.plan .sub { margin: 14px 0 26px; min-height: 2.9em; color: var(--ink-2); font-size: 15px; }
.plan ul { list-style: none; margin: 0 0 30px; padding: 22px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 10px; font-size: 15px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan li::before { content: ""; width: 14px; height: 8px; margin-top: 6px; border-left: 2px solid var(--teal-ink); border-bottom: 2px solid var(--teal-ink); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; justify-content: center; }
.plan--best { background: var(--night); color: var(--cream); box-shadow: inset 0 0 0 1px var(--night-rule); }
.plan--best .sub, .plan--best ul { color: color-mix(in srgb, var(--cream) 78%, var(--night)); }
.plan--best ul { border-top-color: var(--night-rule); }
.plan--best li::before { border-color: var(--teal); }
.plan--best .amount small { color: var(--night-muted); }
.plan--best .btn { background: var(--teal); color: #061716; }
.plan--best .btn:hover { background: #4fb5b1; }
.plan--best:hover { box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .7); }
.badge {
  position: absolute; top: 26px; right: 24px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: var(--teal); color: #061716; font-weight: 600;
}
.badge--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.price-note { margin-top: 26px; font-size: 13px; color: var(--muted); max-width: 70em; line-height: 1.6; }
.price-note a { color: var(--ink-2); }
@media (max-width: 900px) {
  .pricing-head { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan--best { order: -1; }
}

/* ---------- faq ---------- */
.faq { padding: 0 0 clamp(100px, 12vw, 170px); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 6vw, 90px); }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 600; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; position: relative; width: 16px; height: 16px; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] .plus::after { transform: rotate(0); }
.faq .answer { padding: 0 0 26px; color: var(--ink-2); max-width: 40em; }
.faq .answer p:last-child { margin: 0; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- final cta ---------- */
.final { padding: clamp(100px, 13vw, 170px) 0 clamp(60px, 8vw, 100px); text-align: center; position: relative; overflow: hidden; }
.final .display { max-width: 11em; margin: 26px auto 34px; }
.final .lede { margin: 0 auto 36px; }
.disclaimer {
  margin: clamp(70px, 9vw, 110px) auto 0; max-width: 820px; text-align: left;
  display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px 24px; border-radius: 16px;
  border: 1px solid var(--rule); font-size: 14px; line-height: 1.6;
}
.disclaimer .label { color: var(--coral); padding-top: 2px; }
.disclaimer p { margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--night-muted); border-top: 1px solid var(--night-rule); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 30px; padding: 30px 0 34px; font-size: 14px; }
.foot .brand { color: var(--cream); font-size: 17px; }
.foot .brand img { width: 26px; height: 26px; border-radius: 7px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--cream); }

/* ---------- legal pages ---------- */
.legal { padding: clamp(50px, 8vw, 110px) 0 clamp(90px, 10vw, 140px); }
.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); }
.legal-side { position: sticky; top: 100px; align-self: start; }
.legal-side nav { display: grid; gap: 4px; margin-top: 18px; }
.legal-side nav a { text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--rule); font-weight: 500; color: var(--ink-2); display: flex; justify-content: space-between; }
.legal-side nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.legal-side nav a[aria-current="page"]::after { content: "●"; color: var(--teal); font-size: 10px; }
.legal-body { max-width: 44em; }
.legal-body h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 0.95; letter-spacing: -0.05em; margin-bottom: 20px; }
.legal-body .effective { display: inline-block; margin-bottom: clamp(36px, 5vw, 60px); }
.legal-body h2 { font-size: 22px; letter-spacing: -0.02em; margin: 2.4em 0 0.6em; padding-top: 1.2em; border-top: 1px solid var(--rule); }
.legal-body p, .legal-body li { color: var(--ink-2); font-size: 17px; }
.legal-body ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal-body li { margin-bottom: 0.5em; }
.legal-body li::marker { color: var(--teal-ink); }
.legal-body a { color: var(--teal-ink); text-underline-offset: 3px; }
.legal-body .intro { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--ink); line-height: 1.5; }
@media (max-width: 860px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-side { position: static; }
}
