/* HolySnap — holysnap.app
   Same identity as the extension: ink tile, cream canvas, lemon as the one
   accent, the accelerating chevron as the only motif. */

:root {
  --ink-950: #120c22;
  --ink-900: #1c1430;
  --ink-800: #241a3d;
  --ink-700: #34265c;
  --ink-600: #4a3a7a;
  --cream: #fff8ea;
  --cream-2: #fff1c9;
  --cream-3: #f4e9d2;
  --paper: #fffdf7;
  --line: #e7dcc5;
  --lemon: #f7c948;
  --lemon-soft: #ffe28a;
  --mint: #8fe3c0;
  --text: #241a3d;
  --muted: #6f6579;
  --on-ink: #fff8ea;
  --on-ink-muted: rgba(255, 248, 234, 0.64);
  --on-ink-faint: rgba(255, 248, 234, 0.12);
  --display: ui-rounded, "SF Pro Rounded", "Nunito", "Avenir Next", system-ui, sans-serif;
  --body: "Nunito Sans", ui-rounded, "Avenir Next", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --snap: cubic-bezier(0.2, 0.9, 0.25, 1);
  --max: 1180px;
  --radius-xl: 32px;
  --radius-l: 22px;
  --radius-m: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--lemon); color: var(--ink-900); }
:focus-visible { outline: 2px solid var(--lemon); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }

/* ---------- Type ---------- */

.display {
  margin: 0;
  font: 800 clamp(44px, 5.6vw, 80px)/0.98 var(--display);
  letter-spacing: -0.045em;
}
.h2 {
  margin: 0;
  text-wrap: balance;
  font: 800 clamp(36px, 4.8vw, 64px)/1.02 var(--display);
  letter-spacing: -0.035em;
}
.h3 {
  margin: 0;
  font: 750 22px/1.2 var(--display);
  letter-spacing: -0.02em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font: 750 12.5px/1.45 var(--body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--lemon);
}
.lede { text-wrap: pretty; margin: 22px 0 0; max-width: 34em; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); }
.lemon { color: var(--lemon); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 750 16px/1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--snap), background 160ms ease, box-shadow 200ms ease, border-color 160ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lemon {
  background: var(--lemon);
  color: var(--ink-900);
  box-shadow: 0 10px 30px -10px rgba(247, 201, 72, 0.7), inset 0 -2px 0 rgba(28, 20, 48, 0.12);
}
.btn-lemon:hover { box-shadow: 0 16px 40px -12px rgba(247, 201, 72, 0.85), inset 0 -2px 0 rgba(28, 20, 48, 0.12); }
.btn-ghost { color: var(--on-ink); border-color: rgba(255, 248, 234, 0.22); background: rgba(255, 248, 234, 0.04); }
.btn-ghost:hover { border-color: rgba(255, 248, 234, 0.4); background: rgba(255, 248, 234, 0.08); }
.btn-ink { background: var(--ink-800); color: var(--on-ink); }
.btn-ink:hover { background: var(--ink-700); }
.btn-outline { border-color: var(--line); color: var(--text); background: var(--paper); }
.btn-outline:hover { border-color: var(--ink-800); }

/* Chrome glyph-free install arrow: the brand chevrons, falling on hover. */
.chev-mini { display: inline-grid; width: 14px; height: 18px; }
.chev-mini svg { width: 14px; height: 18px; overflow: visible; }
.chev-mini path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.4; }
.chev-mini path:nth-child(1) { opacity: 0.35; }
.chev-mini path:nth-child(2) { opacity: 0.65; }
.btn:hover .chev-mini path { animation: chev-fall 520ms var(--snap) both; }
.btn:hover .chev-mini path:nth-child(2) { animation-delay: 70ms; }
.btn:hover .chev-mini path:nth-child(3) { animation-delay: 140ms; }
@keyframes chev-fall {
  0% { transform: translateY(-5px); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: none; }
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 14px 0 auto;
  z-index: 50;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(var(--max), 100% - 32px);
  margin-inline: auto;
  padding: 10px 10px 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 248, 234, 0.1);
  background: rgba(28, 20, 48, 0.62);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  color: var(--on-ink);
  transition: background 240ms ease, border-color 240ms ease;
}
.nav.is-light .nav-inner { background: rgba(255, 248, 234, 0.78); border-color: rgba(36, 26, 61, 0.1); color: var(--text); }
.brand { display: flex; align-items: center; gap: 10px; font: 800 19px/1 var(--display); letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 26px; margin-left: 8px; font: 650 14.5px/1 var(--body); }
.nav-links a { text-decoration: none; opacity: 0.72; transition: opacity 140ms ease; }
.nav-links a:hover { opacity: 1; }
.nav .btn { margin-left: auto; min-height: 42px; padding: 0 18px; font-size: 14.5px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 120px;
  background:
    radial-gradient(1200px 600px at 85% 110%, rgba(247, 201, 72, 0.16), transparent 60%),
    radial-gradient(900px 500px at 10% -10%, rgba(143, 115, 220, 0.22), transparent 60%),
    linear-gradient(180deg, var(--ink-700) 0%, var(--ink-900) 58%, var(--ink-950) 100%);
  color: var(--on-ink);
}
.hero::before {
  /* Faint scroll grid: rows running past the camera. */
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 248, 234, 0.045) 1px, transparent 1px);
  background-size: 100% 44px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.hero .eyebrow { color: var(--on-ink-muted); }
.hero .lede { color: var(--on-ink-muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; font: 600 14px/1.4 var(--body); color: var(--on-ink-muted); }
.hero-note li { display: inline-flex; align-items: center; gap: 8px; }
.hero-note li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }

/* The capture rig: a page scrolling past the camera, replaying a real capture. */
.rig { position: relative; height: 600px; }
.rig-window {
  position: absolute;
  inset: 0 60px 0 0;
  border-radius: 22px;
  overflow: hidden;
  background: #f6f1e7;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 248, 234, 0.14);
}
.rig-bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  background: #ebe3d3;
  border-bottom: 1px solid #ddd2bd;
}
.rig-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d3c8b2; }
.rig-bar span {
  margin-left: 14px;
  flex: 1;
  height: 22px;
  border-radius: 8px;
  background: #f7f2e8;
  font: 600 11.5px/22px var(--body);
  color: #8c8273;
  padding-left: 12px;
}
.rig-viewport { position: absolute; inset: 40px 0 0; overflow: hidden; }
.rig-page { position: absolute; inset: 0 0 auto; padding: 26px 34px; will-change: transform; }
.rig-page .blk { border-radius: 10px; margin-bottom: 14px; }
.rig-page .ln { height: 9px; border-radius: 5px; background: #d9cfbd; margin-bottom: 10px; }
.rig-page .ln.s { width: 62%; }
.rig-page .ln.m { width: 84%; }
.rig-page .h { height: 22px; width: 58%; border-radius: 7px; background: #3a2e5c; margin: 22px 0 14px; }
.rig-page .img { height: 150px; }
.rig-page .g1 { background: linear-gradient(135deg, #ffd978, #f29f7a 55%, #8c74c9); }
.rig-page .g2 { background: linear-gradient(160deg, #9fe3c8, #5aa7b8 60%, #3d4f8f); }
.rig-page .g3 { background: linear-gradient(200deg, #f9e3b0, #e7b86a 50%, #6b5a91); }
.rig-page .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.rig-page .card { height: 90px; border-radius: 10px; background: #fff; border: 1px solid #e3d9c6; }
.rig-page .bubble { width: 70%; height: 46px; border-radius: 14px; background: #fff; border: 1px solid #e3d9c6; margin-bottom: 12px; }
.rig-page .bubble.me { margin-left: auto; width: 52%; background: #ebe2ff; border-color: #d9ccf7; }

/* The captured region behind the leading edge is tinted; the edge glows lemon. */
.rig-captured {
  position: absolute;
  inset: 0 0 auto;
  height: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(247, 201, 72, 0.05), rgba(247, 201, 72, 0.13));
  pointer-events: none;
}
.rig-edge {
  position: absolute;
  left: 0;
  right: 0;
  top: 64%;
  z-index: 2;
  height: 2px;
  background: var(--lemon);
  box-shadow: 0 0 18px 3px rgba(247, 201, 72, 0.55);
}
.rig-edge::after {
  content: "CAPTURING";
  position: absolute;
  right: 14px;
  top: -24px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--lemon);
  color: var(--ink-900);
  font: 800 10px/1 var(--body);
  letter-spacing: 0.12em;
}
.rig.is-done .rig-edge::after { content: "SAVED · PNG"; }

/* The PNG growing beside the window. */
.rig-strip {
  position: absolute;
  right: 0;
  top: 40px;
  bottom: 40px;
  width: 34px;
  border-radius: 10px;
  background: rgba(255, 248, 234, 0.06);
  border: 1px solid rgba(255, 248, 234, 0.14);
  overflow: hidden;
}
.rig-strip-fill {
  position: absolute;
  inset: 0 0 auto;
  height: 0%;
  background:
    repeating-linear-gradient(180deg, rgba(28, 20, 48, 0.0) 0 6px, rgba(28, 20, 48, 0.18) 6px 7px),
    linear-gradient(180deg, var(--lemon-soft), var(--lemon));
  box-shadow: 0 0 22px rgba(247, 201, 72, 0.45);
}
.rig-strip-label {
  position: absolute;
  right: 0;
  bottom: 14px;
  width: 34px;
  text-align: center;
  font: 700 10.5px/1.2 var(--mono);
  color: var(--on-ink-muted);
  white-space: nowrap;
}

.rig-popup {
  position: absolute;
  right: 18px;
  top: -40px;
  width: 300px;
  z-index: 4;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(36, 26, 61, 0.18);
  transform: translateY(0);
  animation: float-in 700ms var(--snap) 200ms both;
}
.rig-readout {
  position: absolute;
  left: -36px;
  bottom: 34px;
  z-index: 4;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 16px;
  align-items: end;
  padding: 18px 22px;
  border-radius: 20px;
  background: rgba(28, 20, 48, 0.86);
  border: 1px solid rgba(255, 248, 234, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  animation: float-in 700ms var(--snap) 350ms both;
}
.rig-readout .t { grid-row: span 2; font: 800 54px/0.9 var(--display); letter-spacing: -0.04em; color: var(--lemon); font-variant-numeric: tabular-nums; }
.rig-readout .t small { font-size: 26px; margin-left: 2px; }
.rig-readout .a { font: 750 15px/1.2 var(--body); color: var(--on-ink); font-variant-numeric: tabular-nums; }
.rig-readout .b { font: 600 12px/1.3 var(--body); color: var(--on-ink-muted); }
@keyframes float-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.rig-replay {
  position: absolute;
  left: 0;
  bottom: -46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--on-ink-muted);
  font: 650 13px/1 var(--body);
  cursor: pointer;
}
.rig-replay:hover { color: var(--on-ink); }

/* ---------- Sections ---------- */

section { position: relative; }
.section { padding: 140px 0; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.dark { background: var(--ink-900); color: var(--on-ink); }
.dark .eyebrow, .dark .lede { color: var(--on-ink-muted); }

/* Speed */
.speed-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.race { padding: 34px; border-radius: var(--radius-xl); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(36, 26, 61, 0.35); }
.race-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 26px; font: 750 14px/1.3 var(--body); color: var(--muted); }
.race-title b { color: var(--text); font-size: 16px; }
.lane { margin-bottom: 22px; }
.lane-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; font: 750 15px/1.2 var(--body); }
.lane-top span:last-child { font: 800 22px/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.track { position: relative; height: 16px; border-radius: 999px; background: var(--cream-3); overflow: hidden; }
.bar { position: absolute; inset: 0 auto 0 0; border-radius: 999px; }
.bar.fast { background: linear-gradient(90deg, var(--ink-700), var(--ink-800)); box-shadow: inset -3px 0 0 var(--lemon); }
.bar.slow { background: repeating-linear-gradient(135deg, #d8ccb4 0 8px, #cfc2a8 8px 16px); }
.bar.fast { width: 25.9%; }
.bar.slow { width: 100%; }
.race-foot { margin: 26px 0 0; padding-top: 20px; border-top: 1px dashed var(--line); font-size: 13.5px; line-height: 1.55; color: var(--muted); }

.steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 22px 24px; border-radius: var(--radius-l); background: var(--paper); border: 1px solid var(--line); }
.step-n { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--ink-800); }
.step-n svg { width: 26px; height: 26px; }
.step h3 { margin: 2px 0 4px; font: 750 18px/1.25 var(--display); letter-spacing: -0.015em; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Modes bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: rgba(255, 248, 234, 0.04);
  border: 1px solid rgba(255, 248, 234, 0.1);
  transition: border-color 200ms ease, transform 200ms var(--snap);
}
.tile:hover { border-color: rgba(255, 248, 234, 0.24); transform: translateY(-3px); }
.tile.span-3 { grid-column: span 3; }
.tile.span-2 { grid-column: span 2; }
.tile.feature { min-height: 460px; }
.tile .icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 248, 234, 0.08); color: var(--on-ink); margin-bottom: 22px; }
.tile .icon svg { width: 24px; height: 24px; }
.tile h3 { margin: 0 0 8px; font: 800 26px/1.1 var(--display); letter-spacing: -0.025em; }
.tile p { margin: 0; max-width: 30em; color: var(--on-ink-muted); font-size: 15.5px; }
.tag { position: absolute; z-index: 2; top: 26px; right: 26px; padding: 6px 10px; border-radius: 999px; font: 800 11px/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; }
.tag.pro { background: var(--lemon); color: var(--ink-900); }
.tag.free { background: rgba(143, 227, 192, 0.16); color: var(--mint); }

.tile-full { background: linear-gradient(160deg, var(--ink-700), var(--ink-800) 60%); }
.tile-full p { max-width: 52%; }
.stitch {
  position: absolute;
  right: 34px;
  top: 78px;
  bottom: -60px;
  width: 38%;
  padding: 16px 16px 0;
  border-radius: 14px 14px 0 0;
  background: #f6f1e7;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 248, 234, 0.1);
  overflow: hidden;
}
.stitch .h { height: 12px; width: 60%; border-radius: 4px; background: #3a2e5c; margin: 4px 0 10px; }
.stitch .ln { height: 6px; border-radius: 3px; background: #d9cfbd; margin-bottom: 7px; }
.stitch .ln.s { width: 66%; }
.stitch .img { height: 54px; border-radius: 6px; margin: 4px 0 10px; }
.stitch .seam { position: relative; height: 0; margin: 10px -16px; border-top: 1.5px dashed var(--lemon); }
.stitch .seam b { position: absolute; right: 8px; top: -9px; padding: 2px 6px; border-radius: 5px; background: var(--lemon); color: var(--ink-900); font: 800 9px/1.2 var(--body); letter-spacing: 0.06em; }
.tile-full .count { position: absolute; left: 30px; bottom: 30px; font: 800 15px/1.3 var(--body); color: var(--on-ink-muted); }
.tile-full .count b { display: block; font: 800 44px/1 var(--display); letter-spacing: -0.04em; color: var(--lemon); }

/* A–B range illustration: dimmed outside, two guides, the kept band. */
.ab { position: absolute; left: 30px; right: 30px; bottom: 30px; height: 196px; border-radius: 16px; overflow: hidden; background: #f6f1e7; }
.ab .ln { height: 8px; border-radius: 4px; background: #d9cfbd; margin: 0 22px 11px; }
.ab .ln:first-child { margin-top: 18px; }
.ab .shade { position: absolute; left: 0; right: 0; background: rgba(28, 20, 48, 0.56); }
.ab .shade.top { top: 0; height: 46px; }
.ab .shade.bot { bottom: 0; height: 52px; }
.ab .guide { position: absolute; left: 0; right: 0; height: 2px; background: var(--lemon); box-shadow: 0 0 12px rgba(247, 201, 72, 0.6); }
.ab .guide.a { top: 46px; }
.ab .guide.b { bottom: 52px; }
.ab .guide b { position: absolute; left: 14px; top: -11px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--lemon); color: var(--ink-900); font: 800 12px/1 var(--body); }

/* Hard pages */
.hard { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hard-card { padding: 28px; border-radius: var(--radius-l); background: var(--paper); border: 1px solid var(--line); }
.hard-card .glyph { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 13px; background: var(--cream-2); }
.hard-card .glyph svg { width: 22px; height: 22px; }
.hard-card h3 { margin: 0 0 6px; font: 750 18px/1.25 var(--display); letter-spacing: -0.015em; }
.hard-card p { margin: 0; color: var(--muted); font-size: 15px; }
.kbd { display: inline-flex; gap: 4px; margin-top: 12px; }
.kbd kbd { padding: 4px 8px; border-radius: 7px; background: var(--ink-800); color: var(--on-ink); font: 700 12px/1 var(--body); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.35); }

/* Success hub mock */
.hub { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.hub-list { margin: 34px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.hub-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; font-size: 16px; }
.hub-list b { display: block; font: 750 16.5px/1.3 var(--display); }
.hub-list span { color: var(--muted); font-size: 15px; }
.tick { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--ink-800); color: var(--lemon); font: 800 14px/1 var(--body); }
.app {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #17112a;
  box-shadow: 0 50px 100px -40px rgba(28, 20, 48, 0.7), 0 0 0 1px rgba(36, 26, 61, 0.2);
}
.app-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--ink-800); color: var(--on-ink); border-bottom: 1px solid rgba(255, 248, 234, 0.08); }
.app-top img { width: 26px; height: 26px; }
.app-top .meta { font: 600 12px/1.3 var(--body); color: var(--on-ink-muted); }
.app-top .meta b { display: block; color: var(--on-ink); font-size: 13px; }
.app-top .actions { margin-left: auto; display: flex; gap: 8px; }
.app-top .actions span { padding: 8px 12px; border-radius: 10px; font: 750 12px/1 var(--body); border: 1px solid rgba(255, 248, 234, 0.2); }
.app-top .actions span.accent { background: var(--lemon); border-color: var(--lemon); color: var(--ink-900); }
.app-stage { position: relative; height: 430px; display: grid; justify-items: center; padding-top: 26px; background: radial-gradient(600px 300px at 50% 0%, rgba(74, 58, 122, 0.4), transparent 70%); }
.app-page { width: 62%; height: 520px; border-radius: 8px 8px 0 0; background: #f6f1e7; padding: 22px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6); }
.app-page .h { height: 18px; width: 50%; border-radius: 6px; background: #3a2e5c; margin-bottom: 14px; }
.app-page .img { height: 110px; border-radius: 8px; margin-bottom: 14px; background: linear-gradient(135deg, #ffd978, #f29f7a 55%, #8c74c9); }
.app-page .ln { height: 8px; border-radius: 4px; background: #d9cfbd; margin-bottom: 9px; }
.app-page .ln.s { width: 70%; }
.celebrate {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  align-items: center;
  width: 286px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--cream);
  border: 1px solid color-mix(in srgb, var(--lemon) 55%, var(--line));
  box-shadow: 0 18px 44px rgba(10, 8, 18, 0.38), 0 0 0 4px rgba(247, 201, 72, 0.12);
  color: var(--text);
}
.celebrate img { grid-row: span 2; width: 30px; height: 30px; }
.celebrate b { font: 750 15px/1.2 var(--display); letter-spacing: -0.02em; }
.celebrate span { font-size: 11.5px; color: var(--muted); }
.menu { position: absolute; right: 18px; top: 60px; width: 170px; padding: 6px; border-radius: 12px; background: var(--ink-800); border: 1px solid rgba(255, 248, 234, 0.12); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6); }
.menu span { display: flex; justify-content: space-between; padding: 9px 10px; border-radius: 8px; font: 650 12.5px/1 var(--body); color: var(--on-ink); }
.menu span:first-child { background: rgba(255, 248, 234, 0.08); }
.menu em { font-style: normal; color: var(--on-ink-muted); }

/* Privacy */
.privacy { overflow: hidden; }
.privacy .big { margin: 0; max-width: 15ch; text-wrap: balance; font: 800 clamp(44px, 6.6vw, 92px)/0.98 var(--display); letter-spacing: -0.045em; }
.privacy .big em { font-style: normal; color: var(--lemon); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 72px; }
.pillar { padding: 28px; border-radius: var(--radius-l); border: 1px solid rgba(255, 248, 234, 0.12); background: rgba(255, 248, 234, 0.03); }
.pillar h3 { margin: 0 0 8px; font: 750 20px/1.2 var(--display); }
.pillar p { margin: 0; color: var(--on-ink-muted); font-size: 15.5px; }
.honest { margin: 40px 0 0; max-width: 54em; color: var(--on-ink-muted); font-size: 14.5px; }
.honest b { color: var(--on-ink); }
.privacy-chevrons { position: absolute; right: max(24px, calc((100% - var(--max)) / 2)); top: 130px; width: 150px; height: 250px; pointer-events: none; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 34px; border-radius: var(--radius-xl); background: var(--paper); border: 1px solid var(--line); }
.plan.hot { background: var(--ink-800); color: var(--on-ink); border-color: var(--ink-800); box-shadow: 0 40px 80px -40px rgba(36, 26, 61, 0.8); position: relative; }
.plan.hot::before { content: "Recommended"; position: absolute; top: 22px; right: 22px; padding: 6px 10px; border-radius: 999px; background: var(--lemon); color: var(--ink-900); font: 800 11px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; }
.plan-name { font: 750 15px/1 var(--body); color: var(--muted); }
.plan.hot .plan-name, .plan.hot .plan-sub, .plan.hot li { color: var(--on-ink-muted); }
.plan-price { margin: 18px 0 4px; font: 800 58px/1 var(--display); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: 20px; letter-spacing: -0.01em; margin-left: 4px; color: var(--muted); }
.plan.hot .plan-price small { color: var(--on-ink-muted); }
.plan-sub { margin: 0; font-size: 14.5px; color: var(--muted); min-height: 44px; }
.plan ul { margin: 26px 0 30px; padding: 0; list-style: none; display: grid; gap: 11px; font-size: 15px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: var(--text); }
.plan li::before { content: ""; width: 14px; height: 14px; margin-top: 4px; border-radius: 5px; background: var(--mint); }
.plan.hot li::before { background: var(--lemon); }
.plan li.muted { color: var(--muted); }
.plan li.muted::before { background: var(--cream-3); }
.plan .btn { margin-top: auto; justify-content: center; }
.price-note { margin: 28px 0 0; text-align: center; color: var(--muted); font-size: 14px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font: 750 19px/1.3 var(--display); letter-spacing: -0.015em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--text); border-bottom: 2.5px solid var(--text); transform: rotate(45deg) translateY(-4px); transition: transform 200ms var(--snap); }
details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
details p { margin: -8px 0 24px; max-width: 40em; color: var(--muted); }

/* Final CTA */
.final { padding: 150px 0; text-align: center; overflow: hidden; background: radial-gradient(800px 400px at 50% 120%, rgba(247, 201, 72, 0.22), transparent 60%), var(--ink-900); color: var(--on-ink); }
.final .display { font-size: clamp(44px, 6.4vw, 88px); }
.final .lede { margin-inline: auto; color: var(--on-ink-muted); }
.final .hero-cta { justify-content: center; }
.final-mark { width: 96px; height: 96px; margin: 0 auto 36px; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.5)); }

/* Footer */
.foot { padding: 44px 0; background: var(--ink-950); color: var(--on-ink-muted); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; }
.foot .brand { color: var(--on-ink); font-size: 16px; }
.foot .brand img { width: 24px; height: 24px; }
.foot nav { display: flex; gap: 22px; margin-left: auto; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--on-ink); }

/* Content is static on purpose: full-page screenshot tools (HolySnap included)
   must never catch a section mid-fade. Motion lives in the hero replay and on hover. */

/* ---------- Legal pages ---------- */

.legal { padding: 150px 0 110px; }
.legal .wrap { max-width: 760px; }
.legal h1 { margin: 0 0 8px; font: 800 clamp(40px, 5vw, 60px)/1.02 var(--display); letter-spacing: -0.035em; }
.legal .updated { margin: 0 0 40px; color: var(--muted); font-size: 15px; }
.legal h2 { margin: 44px 0 12px; font: 750 24px/1.2 var(--display); letter-spacing: -0.02em; }
.legal p, .legal li { color: #3d3350; font-size: 16.5px; line-height: 1.7; }
.legal ul { padding-left: 20px; }
.legal code { padding: 2px 6px; border-radius: 6px; background: var(--cream-2); font: 600 14px/1 var(--mono); }
.legal .summary { padding: 26px 30px; border-radius: var(--radius-l); background: var(--paper); border: 1px solid var(--line); }
.legal .summary ul { margin: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 1060px) {
  .hero-grid, .speed-grid, .hub, .faq { grid-template-columns: 1fr; }
  .rig { height: 540px; margin-top: 30px; }
  .hard { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .hero { padding: 120px 0 96px; }
  .section { padding: 96px 0; }
  .bento { grid-template-columns: 1fr; }
  .tile.span-3, .tile.span-2 { grid-column: auto; }
  .tile.feature { min-height: 0; }
  .tile-full p { max-width: none; }
  .tile-full .count { position: static; margin-top: 22px; }
  .stitch { position: relative; right: auto; top: auto; bottom: auto; width: auto; height: 220px; margin: 24px 0 -30px; }
  .ab { position: relative; left: auto; right: auto; bottom: auto; margin-top: 24px; height: 180px; }
  .hard { grid-template-columns: 1fr; }
  .rig { height: 470px; }
  .rig-window { right: 44px; }
  .rig-popup { width: 200px; top: -26px; right: 10px; }
  .rig-readout { left: -6px; bottom: 18px; padding: 14px 16px; }
  .rig-readout .t { font-size: 40px; }
  .app-top .actions span:not(.accent) { display: none; }
  .celebrate { width: auto; left: 14px; right: 14px; }
  .menu { display: none; }
  .privacy-chevrons { display: none; }
  .foot nav { margin-left: 0; }
}

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