/* ─────────────────────────────────────────────────────────────
   SetLift — shared styles

   White page, blue accents. The blues are the app's own cool-light
   theme from lib/theme.ts, not invented:
     ice300 #5580F5   ice700 #3558C8   ice900 #1E3DA0
     text   #0f172a   muted  #475569

   #3558C8 carries links and small text because it clears 4.5:1 on
   white; #5580F5 is reserved for large type, fills and gradients
   where contrast rules are looser.

   Deliberately light-only — `color-scheme: light` stops browsers
   auto-darkening it. The page is built to make the app's near-black
   screenshots pop, and a dark variant would defeat that.

   No web fonts on purpose: a Google Fonts request hands every
   visitor's IP to Google, which contradicts what these pages say.

   The landing sections follow the approved 2026-08 mockup layout
   (setlift-mockup.html): hero + proof strip + hero phone, steps,
   feature cards, two text/phone detail bands, demo, privacy panel,
   launch strip — recolored from the mockup's dark/lime scheme to
   this palette.
   ───────────────────────────────────────────────────────────── */

:root {
  --bg:            #ffffff;
  --bg-alt:        #f5f7fb;
  --bg-sunk:       #eef2f9;
  --card:          #ffffff;
  --accent:        #3558C8;
  --accent-bright: #5580F5;
  --accent-deep:   #1E3DA0;
  --accent-soft:   #eef2ff;
  --accent-line:   #c9d6fb;
  --ink:           #0f172a;
  --ink-2:         #334155;
  --muted:         #475569;
  --subtle:        #7c8899;
  --line:          #e3e8f0;
  --line-strong:   #cbd5e1;
  --warn-bg:       #fffbeb;
  --warn-line:     #f59e0b;
  --warn-ink:      #92400e;
  --radius:        18px;
  --maxw:          1080px;
  --docw:          760px;
  --shadow-sm:     0 1px 2px rgba(15,23,42,0.04), 0 4px 12px -6px rgba(15,23,42,0.10);
  --shadow-lg:     0 24px 60px -24px rgba(15,23,42,0.30);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* `height: auto` is load-bearing, not decoration. Every <img> here
   carries width/height attributes (they reserve layout space and stop
   the page jumping as images load). Without this, an engine that
   honours the height attribute alongside a CSS-constrained width
   renders the image at its full attribute height — a screenshot
   squeezed to 40% width but still 100% tall, i.e. vertically
   stretched. Deleting this line warps every screenshot on the page. */
img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--accent); color: #fff; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 700;
  z-index: 100;
}
.skip:focus { left: 0; }

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

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.logo {
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.logo .mark {
  width: 30px; height: 30px;
  background: linear-gradient(145deg, var(--accent-bright), var(--accent-deep));
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo .wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.logo .name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
}
/* The tagline. Lives under the wordmark rather than in the hero —
   it reinforces identity once you already know what SetLift is,
   which is a different job from the headline's. */
.logo .tag {
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.3px;
  color: var(--accent);
  text-transform: uppercase;
}

.site-header nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 550;
  transition: color 0.15s;
}

.site-header nav a:hover { color: var(--ink); }
.site-header nav a[aria-current="page"] { color: var(--accent); }

@media (max-width: 620px) {
  .site-header .inner { padding: 10px 16px; gap: 10px; }
  .site-header nav { gap: 16px; }
  .site-header nav a { font-size: 13.5px; }
  .logo .tag { display: none; }
}

/* Four nav items will not share a line with the wordmark on a small
   phone — left to wrap in place they interleave with the logo and read
   as one broken block. Give the nav its own row instead. */
@media (max-width: 500px) {
  .site-header .inner { flex-wrap: wrap; gap: 6px 16px; }
  .site-header nav { margin-left: 0; width: 100%; gap: 18px; }
  .logo .mark { width: 26px; height: 26px; border-radius: 8px; font-size: 13px; }
  .logo .name { font-size: 16.5px; }
  .site-header .btn-sm { display: none; }
}

/* ── Document pages ─────────────────────────────────────── */
.wrap {
  max-width: var(--docw);
  margin: 0 auto;
  padding: 40px 24px 90px;
}

.doc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 46px 46px 54px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 620px) {
  .wrap { padding: 22px 14px 60px; }
  .doc { padding: 28px 20px 36px; border-radius: 14px; }
  body { font-size: 16.5px; }
}

/* ── Typography ─────────────────────────────────────────── */
h1 {
  font-size: 36px;
  line-height: 1.14;
  letter-spacing: -1.2px;
  font-weight: 820;
  margin-bottom: 8px;
}

h2 {
  font-size: 21px;
  letter-spacing: -0.4px;
  font-weight: 760;
  margin: 42px 0 12px;
  padding-top: 4px;
  scroll-margin-top: 84px;
}

h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 26px 0 8px;
  scroll-margin-top: 84px;
}

p { margin-bottom: 15px; color: var(--ink-2); }

.lede { font-size: 17px; color: var(--muted); margin-bottom: 4px; font-weight: 550; }

.updated {
  font-size: 14px;
  color: var(--subtle);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}

ul, ol { margin: 0 0 18px 22px; color: var(--ink-2); }
li { margin-bottom: 8px; }
li::marker { color: var(--subtle); }

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

strong { font-weight: 680; color: var(--ink); }

code {
  background: var(--bg-sunk);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 0.88em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--accent-deep);
}

/* ── Callouts ───────────────────────────────────────────── */
.callout {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 17px 19px;
  margin: 22px 0;
  font-size: 15.5px;
}

.callout ul { margin-bottom: 0; }
.callout p:last-child { margin-bottom: 0; }

.callout.warn {
  background: var(--warn-bg);
  border-color: #fcd9a0;
  border-left-color: var(--warn-line);
}
.callout.warn .title { color: var(--warn-ink); }

.callout .title {
  font-weight: 760;
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 15px;
  letter-spacing: -0.2px;
}

/* ── Tables ─────────────────────────────────────────────── */
.table-scroll { overflow-x: auto; margin: 20px 0 26px; }

table { width: 100%; border-collapse: collapse; font-size: 15px; }

th {
  text-align: left;
  background: var(--bg-alt);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 11px 13px;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}

td {
  padding: 12px 13px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-2);
}

tr:last-child td { border-bottom: none; }

@media (max-width: 620px) {
  .table-scroll { overflow-x: visible; }
  table, thead, tbody, th, td, tr { display: block; }
  thead { display: none; }
  td { padding: 5px 0; border: none; }
  tbody tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  tbody tr:last-child { border-bottom: none; }
  td::before {
    content: attr(data-label);
    display: block;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--subtle);
    font-weight: 700;
  }
}

/* ── Table of contents ──────────────────────────────────── */
.toc {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 26px 0 8px;
  font-size: 15px;
}
.toc strong {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
}
.toc ol { margin: 0 0 0 20px; }
.toc li { margin-bottom: 5px; }
.toc a { text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--accent); text-decoration: underline; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 36px 24px 46px;
}

.site-footer .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  font-size: 14.5px;
  color: var(--subtle);
}

.site-footer a { color: var(--muted); text-decoration: none; transition: color 0.15s; }
.site-footer a:hover { color: var(--accent); }
.site-footer .copy { margin-left: auto; }

@media (max-width: 700px) {
  .site-footer .copy { margin-left: 0; width: 100%; padding-top: 10px; }
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16.5px;
  padding: 15px 32px;
  border-radius: 999px;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 8px 20px -10px rgba(53,88,200,0.7);
  letter-spacing: -0.2px;
}
.btn:hover {
  background: var(--accent-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -10px rgba(53,88,200,0.75);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
  box-shadow: none;
}
.btn.ghost:hover {
  background: var(--bg-alt);
  color: var(--ink);
  border-color: var(--accent-line);
  transform: none;
}

.btn.btn-sm { padding: 9px 18px; font-size: 14.5px; box-shadow: none; }
.btn.btn-sm:hover { transform: none; box-shadow: none; }

.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ═══ Landing page — mockup layout, this palette ══════════ */

/* Shared section scaffolding. `.pad` carries the vertical rhythm;
   `.band` is the tinted full-bleed stripe. */
.pad { padding: clamp(64px, 10vh, 118px) 24px; }
.wide { max-width: var(--maxw); margin: 0 auto; }
.band {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 54px;
  text-align: center;
}
.section-head h2 {
  margin: 0 0 10px;
  padding: 0;
  font-size: 38px;
  letter-spacing: -1.4px;
  line-height: 1.1;
  font-weight: 830;
}
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }

@media (max-width: 620px) {
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 29px; letter-spacing: -1px; }
  .section-head p { font-size: 16.5px; }
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  text-align: center;
  padding: 72px 24px 0;
  overflow: hidden;
}
.hero > :not(.backdrop) { position: relative; z-index: 2; }

/* ── Hero backdrop ──────────────────────────────────────── */
/* Two layers, both anchored on --hero-focus (the vertical middle of the
   three headline rows) rather than the section's centre — the headline
   sits high in the hero, so centring on the section would drop the wash
   below the words it's meant to sit behind. */
.hero { --hero-focus: 310px; }

.backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.backdrop .glow {
  position: absolute;
  left: 50%;
  top: var(--hero-focus);
  transform: translate(-50%, -50%);
  width: min(1180px, 142vw);
  height: 680px;
  filter: blur(16px);
  /* Wide and flat so it covers all three staggered rows, not just the
     middle one — a round wash left rows 01 and 03 sitting on bare white. */
  background:
    radial-gradient(ellipse 52% 35% at 50% 50%, rgba(85,128,245,0.48), transparent 70%),
    radial-gradient(ellipse 80% 64% at 50% 50%, rgba(115,155,255,0.22), transparent 82%);
}

/* Keeps the headline crisp where the plot line runs behind it. */
.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 38% 22% at 50% var(--hero-focus),
              rgba(255,255,255,0.5), transparent 70%);
}

/* ── Node web ───────────────────────────────────────────── */
/* Deliberately sparse through the middle: the mesh lives out at the
   edges where there's no text, so it reads as texture rather than noise. */
.web {
  position: absolute;
  left: 50%;
  top: var(--hero-focus);
  transform: translate(-50%, -50%);
  width: min(1280px, 152vw);
  height: 600px;
}
.web .edges path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 0.9;
  opacity: 0.16;
}
.web .dots circle { fill: var(--accent-bright); opacity: 0.26; }

.web .glyph .halo { fill: var(--accent-bright); opacity: 0.07; }
.web .glyph .ico path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.4;
}

.web .plot,
.web .plot-glow {
  fill: none;
  stroke: var(--accent-bright);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.web .plot { stroke-width: 2.5; opacity: 0.34; }
.web .plot-glow { stroke-width: 7; opacity: 0.07; filter: blur(5px); }
.web .nodes circle {
  fill: #fff;
  stroke: var(--accent-bright);
  stroke-width: 2.5;
  opacity: 0.5;
}

/* The hero backdrop is deliberately static — no keyframe animations.
   An earlier pass faded the glyphs in and traced the plot line, and
   both silently disappeared: while a keyframe animation is active its
   first frame wins over the resting style, so any engine that doesn't
   advance the animation clock parks the element at opacity 0 / fully
   dash-offset. Decorative motion is not worth content that can vanish.
   If motion is wanted later, drive it from the `.js`-gated transition
   pattern used by `.rise`, where the resting state is the visible one. */

/* ── Headline: staggered progression ────────────────────── */
.hero h1.stack {
  max-width: 780px;
  margin: 0 auto 26px;
  display: grid;
  gap: 4px;
  text-align: left;
  letter-spacing: normal;
  font-size: inherit;
}
.hero .row { display: flex; align-items: baseline; gap: 18px; }
.hero .row:nth-child(2) { padding-left: 52px; }
.hero .row:nth-child(3) { padding-left: 104px; }

/* Step markers as generated content — see the note in index.html. */
.hero .row::before {
  content: "01";
  flex: none;
  width: 26px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--accent);
  opacity: 0.45;
  font-variant-numeric: tabular-nums;
}
.hero .row:nth-child(2)::before { content: "02"; }
.hero .row:nth-child(3)::before { content: "03"; }
.hero .t {
  font-size: 60px;
  line-height: 1.08;
  letter-spacing: -2.6px;
  font-weight: 850;
}
/* The payoff line carries the colour — it's the claim no other tracker makes. */
.hero .row:nth-child(3) .t { color: var(--accent); }
.hero .row:nth-child(3)::before { opacity: 1; }

.hero .sub {
  font-size: 20px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.microcopy { font-size: 13.5px; color: var(--subtle); margin: 14px 0 0; }

@media (max-width: 860px) {
  .hero .t { font-size: 46px; letter-spacing: -1.9px; }
  .hero .row:nth-child(2) { padding-left: 34px; }
  .hero .row:nth-child(3) { padding-left: 68px; }
}
@media (max-width: 620px) {
  .hero { padding: 44px 20px 0; --hero-focus: 250px; }
  .hero .t { font-size: 34px; letter-spacing: -1.2px; }
  .hero .sub { font-size: 17.5px; }
  /* The stagger has to shrink or line 03 runs off a narrow screen. */
  .hero .row { gap: 12px; }
  .hero .row:nth-child(2) { padding-left: 18px; }
  .hero .row:nth-child(3) { padding-left: 36px; }
  .hero .row::before { width: 20px; font-size: 11px; }
  .backdrop .glow { height: 520px; }
  /* `slice` crops to fill, so at desktop proportions a phone screen sees
     only the middle ~45% of the artwork — which is the masked-out part,
     with every glyph cropped off. Shrinking the box scales the whole
     composition down instead, bringing the icons back into frame. */
  .web { width: min(760px, 196vw); height: 360px; }
  .web .plot { opacity: 0.22; }
  .web .plot-glow { opacity: 0.05; }
}
@media (max-width: 380px) {
  .hero .t { font-size: 29px; letter-spacing: -1px; }
}

/* ── Proof strip ────────────────────────────────────────── */
.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 860px;
  margin: 52px auto 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-align: center;
}
.proof > div { padding: 24px 22px; border-right: 1px solid var(--line); }
.proof > div:last-child { border-right: none; }
.proof .k {
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.2px;
  color: var(--accent);
  margin-bottom: 4px;
}
.proof .v { font-size: 14.5px; color: var(--muted); line-height: 1.5; }

@media (max-width: 760px) {
  .proof { grid-template-columns: 1fr; }
  .proof > div { border-right: none; border-bottom: 1px solid var(--line); }
  .proof > div:last-child { border-bottom: none; }
}

/* ── Phone frames ───────────────────────────────────────── */
/* The screen is locked to the mockup's 1206×2622 iPhone proportion.
   Fresh simulator captures are exactly that ratio and fill it edge to
   edge; the `.fade` variant is for the older 828×1557 capture, which
   fits by width and fades into the frame color at the bottom instead
   of being side-cropped. */
.phone {
  width: 300px;
  flex: none;
  background: #10151f;
  border-radius: 48px;
  padding: 10px;
  box-shadow: 0 42px 90px -32px rgba(15,23,42,0.55), 0 0 0 1px rgba(15,23,42,0.06);
  position: relative;
}
.phone .screen {
  aspect-ratio: 1206 / 2622;
  border-radius: 38px;
  overflow: hidden;
  background: #0b0f19;
  position: relative;
}
/* Overrides the global `height: auto` — inside the frame the image is
   sized to the screen box, not to its own proportions. */
.phone .screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.phone .screen.fade img { height: auto; }
.phone .screen.fade::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 32%;
  background: linear-gradient(to bottom, rgba(11,15,25,0), #0b0f19 74%);
}
.phone .screen.fade::before {
  /* Dynamic-island pill — the fresh captures carry a real one, this
     older capture has no status bar. */
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 19px;
  background: #10151f;
  border-radius: 999px;
  z-index: 2;
}
/* Beside a paragraph of copy, a full-height phone runs much taller than
   the text it illustrates and takes over the row — these sit smaller
   than the hero's on purpose. */
.phone.sm { width: 244px; border-radius: 40px; padding: 9px; }
.phone.sm .screen { border-radius: 31px; }

.hero-phone {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

@media (max-width: 620px) {
  .phone { width: min(280px, 78vw); }
}

/* ── Steps ──────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.step .n {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 16px;
}
.step h3 { margin: 0 0 7px; font-size: 17.5px; letter-spacing: -0.3px; }
.step p { font-size: 15.5px; color: var(--muted); margin: 0; line-height: 1.6; }

@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
}

/* ── Feature cards ──────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.card:hover {
  border-color: var(--accent-line);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -14px rgba(15,23,42,0.22);
}
.card .ico {
  width: 42px; height: 42px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.card .ico svg { width: 20px; height: 20px; display: block; }
.card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.35px; }
.card p { font-size: 15.5px; color: var(--muted); margin: 0; line-height: 1.65; }

@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr; }
}

/* ── Detail bands (text + phone) ────────────────────────── */
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 88px;
}
/* The demos section opens with a `.detail` — the section's own padding
   is already the gap there. */
.detail:first-child { margin-top: 0; }
.detail .txt .eyebrow { margin-bottom: 12px; }
.detail h3 {
  margin: 0 0 14px;
  font-size: 30px;
  font-weight: 830;
  letter-spacing: -1px;
  line-height: 1.15;
}
.detail .txt > p:not(.eyebrow) { color: var(--muted); margin-bottom: 20px; }
.detail .vis { display: flex; justify-content: center; }
.detail.rev .txt { order: 2; }

.tick {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink-2);
  margin-bottom: 10px;
  line-height: 1.55;
}
.tick svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--accent); }

@media (max-width: 900px) {
  .detail { grid-template-columns: 1fr; gap: 36px; margin-top: 64px; }
  .detail.rev .txt { order: 0; }
  .detail h3 { font-size: 25px; letter-spacing: -0.8px; }
}

/* ── Chart snippets ─────────────────────────────────────── */
.snips-head {
  text-align: center;
  max-width: 640px;
  margin: 88px auto 40px;
}
.snips-head h3 {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 830;
  letter-spacing: -1px;
  line-height: 1.15;
}
.snips-head p { color: var(--muted); margin: 0; font-size: 17px; }

.snips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.snip {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
/* Square, so the three cards line up no matter how tall each chart is
   in the app. The sources are already cropped 1:1 — the ratio here is
   belt-and-braces against a future crop that isn't. */
.snip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #0b0f19;
}
.snip figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 16px;
}
.snip figcaption span { font-weight: 700; font-size: 14.5px; color: var(--ink); letter-spacing: -0.2px; }
.snip figcaption em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--subtle);
  white-space: nowrap;
}

@media (max-width: 860px) {
  .snips { grid-template-columns: 1fr; }
  .snips-head { margin: 64px auto 32px; }
  .snips-head h3 { font-size: 25px; letter-spacing: -0.8px; }
}

/* ── Exercise demo ──────────────────────────────────────── */
/* Sits in a `.detail` row beside its copy, so it's sized to sit
   alongside a paragraph rather than to fill the page width. */
.demo {
  margin: 0;
  width: min(330px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
/* Two demos sharing one `.vis` column. Narrower than a lone `.demo` so the
   pair still fits the 508px half of the `.detail` grid, and wrapping so they
   stack instead of overflowing once that grid collapses to one column. */
.demo-pair { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.demo-pair .demo { width: min(240px, 100%); }

.demo img { width: 100%; background: var(--bg-sunk); }
.demo figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
}
.demo figcaption span { font-weight: 700; font-size: 15px; letter-spacing: -0.2px; color: var(--ink); }
.demo figcaption em {
  font-style: normal;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--subtle);
}

/* ── Privacy panel ──────────────────────────────────────── */
.privacy-panel {
  max-width: 760px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 44px;
  box-shadow: var(--shadow-sm);
}
.privacy-panel h2 {
  margin: 0 0 12px;
  padding: 0;
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 830;
  line-height: 1.15;
}
.privacy-panel > p { color: var(--muted); margin-bottom: 26px; }

.plist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin-bottom: 26px;
}
.plist .tick { margin-bottom: 0; }

.link { color: var(--accent); font-weight: 700; font-size: 15.5px; text-decoration: none; }
.link:hover { text-decoration: underline; color: var(--accent-deep); }

@media (max-width: 640px) {
  .privacy-panel { padding: 30px 24px; }
  .plist { grid-template-columns: 1fr; }
}

/* ── Launch strip ───────────────────────────────────────── */
.launch { text-align: center; }
.launch h2 {
  margin: 0 0 12px;
  padding: 0;
  font-size: 34px;
  letter-spacing: -1.2px;
  font-weight: 830;
}
.launch p { color: var(--muted); max-width: 520px; margin: 0 auto 28px; font-size: 17.5px; }
.launch .tagline {
  margin: 26px auto 0;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
}

@media (max-width: 620px) {
  .launch h2 { font-size: 27px; letter-spacing: -0.9px; }
}

/* ── Scroll-reveal ──────────────────────────────────────── */
/* Initial hidden state only applies when JS is running (the <html>
   gets a .js class inline) and motion is allowed — otherwise
   everything is simply visible. */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
  .js .rise.in { opacity: 1; transform: none; }
}
