/* SpendWise — marketing site
 *
 * Direction: "editorial ledger". Warm paper, ink-dark type, a serif display
 * face, tabular mono figures, and receipt-paper cards. Hand-written CSS,
 * no build step; hosts on any static server under /spendwise/.
 * Brand colors track the iOS app's Theme.swift.
 */

:root {
  --teal: #0d7d71;          /* Theme.accent (light) */
  --teal-bright: #22a393;   /* Theme.accent (dark)  */
  --teal-deep: #084a44;
  --teal-ink: #062b27;
  --gold: #f5c13a;          /* icon coin */
  --gold-soft: #fbe3a0;
  --red: #e5484d;
  --green: #1f9d55;

  --paper: #f6f3ec;
  --paper-2: #efeae0;
  --card: #fffdf8;
  --ink: #0e1a18;
  --ink-2: #47534f;
  --ink-3: #87918d;
  --rule: rgba(14, 26, 24, 0.12);
  --accent: var(--teal);

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max: 1200px;
  --pad: clamp(20px, 5vw, 56px);
  --radius: 22px;
  --shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 50px -24px rgba(8, 74, 68, 0.35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0a1210;
    --paper-2: #0f1917;
    --card: #13201d;
    --ink: #eef3f0;
    --ink-2: #a9b7b2;
    --ink-3: #6d7c77;
    --rule: rgba(238, 243, 240, 0.1);
    --accent: var(--teal-bright);
    --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

/* paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .35;
  mix-blend-mode: multiply;
  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='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  body::before { mix-blend-mode: screen; opacity: .25; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: var(--teal-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.mono { font-family: var(--mono); font-feature-settings: "tnum", "zero"; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--card); padding: 8px 14px; border-radius: 8px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--rule); }

.header-row { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 2px 6px rgba(8,74,68,.25); }

nav.primary { display: flex; gap: 30px; font-size: 15px; color: var(--ink-2); }
nav.primary a { position: relative; padding-block: 4px; }
nav.primary a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px;
  background: var(--accent); transition: right .3s var(--ease);
}
nav.primary a:hover { color: var(--ink); }
nav.primary a:hover::after { right: 0; }
@media (max-width: 760px) { nav.primary { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  background: var(--ink); color: var(--paper);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(8,74,68,.6); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-large { padding: 17px 28px; font-size: 17px; }
.btn .apple { width: 18px; height: 18px; }
.link-arrow { font-weight: 600; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; }
.link-arrow span { transition: transform .2s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

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

.hero { position: relative; padding-block: clamp(48px, 8vw, 110px) clamp(56px, 8vw, 100px); overflow: clip; }

.hero::before {
  content: "";
  position: absolute;
  width: 900px; height: 900px;
  right: -280px; top: -260px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--teal) 22%, transparent), transparent);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  right: 18%; bottom: -120px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--gold) 24%, transparent), transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2);
  padding: 7px 14px 7px 8px; border: 1px solid var(--rule); border-radius: 999px;
  background: color-mix(in srgb, var(--card) 70%, transparent);
  margin-bottom: 28px;
}
.eyebrow .coin {
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe38a, var(--gold) 55%, #c9951c);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent);
}

h1.headline {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 420;
  font-size: clamp(50px, 7.6vw, 108px);
  line-height: .96;
  letter-spacing: -.035em;
  margin: 0 0 40px;
}
h1.headline em {
  font-style: italic;
  font-weight: 380;
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}
h1.headline em svg {
  position: absolute; left: -2%; right: 0; bottom: -.12em; width: 104%; height: .28em;
  overflow: visible;
}
h1.headline em svg path {
  stroke: var(--gold); stroke-width: 7; fill: none; stroke-linecap: round;
  stroke-dasharray: 600; stroke-dashoffset: 600;
  animation: draw 1.1s .9s var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.lede { font-size: clamp(18px, 1.55vw, 21px); color: var(--ink-2); max-width: 34em; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-bottom: 40px; }

.hero-facts {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start;
  gap: 0; border-top: 1px solid var(--rule); padding-top: 20px; max-width: 520px;
}
.hero-facts div { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--rule); }
.hero-facts div:last-child { border: 0; margin: 0; padding: 0; }
.hero-facts b { display: block; font-family: var(--display); font-weight: 500; font-size: 30px; letter-spacing: -.02em; line-height: 1.1; }
.hero-facts span { display: block; font-size: 13px; line-height: 1.35; color: var(--ink-3); margin-top: 4px; }
@media (max-width: 520px) {
  .hero-facts div { padding-right: 16px; margin-right: 16px; }
  .hero-facts b { font-size: 24px; }
}

/* ---------- Device ---------- */

.device {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1320 / 2868;
  padding: 11px;
  border-radius: 58px;
  background: linear-gradient(145deg, #2b2d2f, #0c0d0e 40%, #1b1c1e);
  box-shadow:
    inset 0 0 0 1.5px #3a3c3f,
    inset 0 0 0 4px #0a0a0b,
    0 60px 120px -40px rgba(8, 74, 68, .55),
    0 30px 60px -30px rgba(0, 0, 0, .45);
}
.device img, .device picture { width: 100%; height: 100%; border-radius: 47px; object-fit: cover; }
.device::after { /* side button */
  content: ""; position: absolute; right: -3px; top: 26%; width: 3px; height: 13%;
  border-radius: 0 3px 3px 0; background: #2a2c2e;
}

.hero-stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.hero-stage .device { transform: rotate(-3deg); animation: rise 1s .15s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(40px) rotate(-3deg); } }

.chip {
  position: absolute; z-index: 2;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 12px 16px;
  box-shadow: 0 24px 50px -24px rgba(8, 40, 36, .45);
  font-size: 14px;
  display: flex; gap: 12px; align-items: center;
  animation: pop .8s var(--ease) both, bob 6s ease-in-out infinite;
}
.chip .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 17px; flex-shrink: 0; }
.chip b { display: block; font-weight: 600; font-size: 14.5px; }
.chip small { color: var(--ink-3); font-size: 12.5px; }
.chip .amt { font-family: var(--mono); font-weight: 600; margin-left: 10px; font-size: 14.5px; }

.chip.tx { left: -12%; top: 47%; animation-delay: .7s, 1.5s; }
.chip.budget { right: -4%; bottom: 22%; flex-direction: column; align-items: stretch; gap: 8px; min-width: 210px; animation-delay: .9s, 0s; }
.chip.coin { left: 4%; bottom: 8%; padding: 10px 14px 10px 10px; animation-delay: 1.1s, 3s; }
.chip.coin .ico { background: radial-gradient(circle at 35% 35%, #ffe38a, var(--gold) 55%, #c9951c); color: var(--teal-ink); font-family: var(--display); font-weight: 700; border-radius: 50%; }
.bar { height: 7px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 38%; border-radius: inherit; background: var(--green); transform-origin: left; animation: fill 1.4s 1.2s var(--ease) both; }
.budget-row { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; color: var(--ink-3); }
.budget-row b { color: var(--ink); font-size: 14.5px; }

@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes bob { 50% { translate: 0 -8px; } }
@keyframes fill { from { transform: scaleX(0); } }

@media (max-width: 960px) {
  .hero-stage { min-height: 0; padding-block: 20px 10px; }
  .chip.tx { left: 0; }
  .chip.budget { right: 0; }
}
@media (max-width: 520px) {
  .device { max-width: 270px; border-radius: 46px; padding: 9px; }
  .device img, .device picture { border-radius: 37px; }
  .chip { font-size: 13px; padding: 10px 12px; }
  .chip.tx { top: 44%; left: -2%; }
  .chip.budget { min-width: 170px; right: -2%; }
  .chip.coin { display: none; }
}

/* ---------- Ticker ---------- */

.ticker {
  border-block: 1px solid var(--rule);
  background: var(--card);
  overflow: hidden;
  white-space: nowrap;
  padding-block: 18px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: inline-flex; animation: scroll 38s linear infinite; }
.ticker-track span {
  display: inline-flex; align-items: center; gap: 22px; padding-right: 22px;
  font-family: var(--mono); font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2);
}
.ticker-track span::after {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent);
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Section scaffolding ---------- */

section { padding-block: clamp(72px, 10vw, 140px); }
.kicker {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px; display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
h2 {
  font-family: var(--display); font-weight: 420; font-optical-sizing: auto;
  font-size: clamp(36px, 5vw, 68px); line-height: 1.02; letter-spacing: -.03em;
  margin: 0 0 22px;
}
h2 em { font-style: italic; color: var(--accent); font-weight: 380; }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head p { color: var(--ink-2); font-size: clamp(17px, 1.4vw, 19px); max-width: 36em; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center p { margin-inline: auto; }

/* ---------- Gallery ---------- */

.gallery {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 2vw, 26px);
  align-items: start;
}
.gallery figure { margin: 0; }
.gallery figure:nth-child(even) { margin-top: 56px; }
.shot {
  border-radius: clamp(22px, 2.6vw, 34px);
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  background: var(--card);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.gallery figure:hover .shot { transform: translateY(-8px) rotate(-.6deg); }
figcaption { margin-top: 16px; font-size: 14.5px; color: var(--ink-2); }
figcaption .mono { color: var(--accent); font-size: 12px; margin-right: 8px; }

@media (max-width: 960px) {
  .gallery {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 24px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad);
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery figure { flex: 0 0 min(240px, 62vw); scroll-snap-align: center; }
  .gallery figure:nth-child(even) { margin-top: 0; }
}

/* ---------- Feature rows ---------- */

.features { background: var(--paper-2); border-block: 1px solid var(--rule); }
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px);
  align-items: center; padding-block: clamp(36px, 5vw, 64px);
}
.feature + .feature { border-top: 1px dashed var(--rule); }
.feature.flip .feature-copy { order: 2; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 0; }
}
.feature-index {
  font-family: var(--mono); font-size: 13px; color: var(--ink-3); letter-spacing: .1em;
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
}
.feature-index b {
  font-family: var(--display); font-weight: 400; font-size: 64px; line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.2px var(--accent);
}
.feature h3 {
  font-family: var(--display); font-weight: 450; font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.05; letter-spacing: -.025em; margin: 0 0 18px;
}
.feature-copy > p { color: var(--ink-2); max-width: 30em; }
.ledger { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--rule); max-width: 32em; }
.ledger li {
  display: flex; gap: 14px; align-items: baseline; justify-content: space-between;
  padding-block: 12px; border-bottom: 1px solid var(--rule); font-size: 15.5px; color: var(--ink-2);
}
.ledger li b { color: var(--ink); font-weight: 600; }
.ledger li .mono { font-size: 13px; color: var(--ink-3); white-space: nowrap; }

.feature-art { position: relative; display: grid; place-items: center; }
.feature-art::before {
  content: ""; position: absolute; inset: 10% 12%;
  border-radius: 50%; filter: blur(60px); opacity: .5; z-index: 0;
}
.feature-art .device { z-index: 1; max-width: 310px; }
.art-teal::before { background: color-mix(in srgb, var(--teal) 55%, transparent); }
.art-gold::before { background: color-mix(in srgb, var(--gold) 60%, transparent); }
.art-mix::before { background: linear-gradient(135deg, var(--teal), var(--gold)); }

/* ---------- Three ways in (bento) ---------- */

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } }
.tile {
  position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); overflow: hidden; min-height: 330px;
  display: flex; flex-direction: column;
}
.tile h3 { font-family: var(--display); font-weight: 480; font-size: 28px; letter-spacing: -.02em; margin: auto 0 8px; }
.tile p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.tile .tag { position: absolute; top: 22px; right: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.tile .tag.pro { color: var(--teal-ink); background: var(--gold); padding: 3px 9px; border-radius: 99px; font-weight: 700; }

.vis { height: 150px; display: grid; place-items: center; margin-bottom: 18px; }
.vis-keys { font-family: var(--display); font-size: 64px; font-weight: 450; letter-spacing: -.03em; }
.vis-keys .cur { color: var(--ink-3); font-size: 40px; margin-right: 4px; }
.vis-keys .caret { display: inline-block; width: 3px; height: 54px; background: var(--accent); margin-left: 4px; vertical-align: -6px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.vis-scan { position: relative; width: 120px; height: 150px; }
.vis-scan .paper {
  position: absolute; inset: 10px 18px; background: var(--paper); border-radius: 4px;
  box-shadow: 0 8px 20px -10px rgba(0,0,0,.3);
  background-image: repeating-linear-gradient(transparent 0 13px, var(--rule) 13px 15px);
  background-clip: content-box; padding: 14px 10px;
}
.vis-scan .corner { position: absolute; width: 22px; height: 22px; border: 3px solid var(--accent); }
.vis-scan .c1 { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.vis-scan .c2 { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.vis-scan .c3 { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.vis-scan .c4 { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.vis-scan .beam {
  position: absolute; left: 8px; right: 8px; height: 2px; top: 12px;
  background: var(--gold); box-shadow: 0 0 14px 3px color-mix(in srgb, var(--gold) 60%, transparent);
  animation: beam 2.6s ease-in-out infinite alternate;
}
@keyframes beam { to { top: calc(100% - 14px); } }

.vis-files { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 220px; }
.vis-files span {
  font-family: var(--mono); font-size: 13px; font-weight: 600; padding: 9px 13px; border-radius: 10px;
  border: 1px solid var(--rule); background: var(--paper);
}
.vis-files span:nth-child(1) { transform: rotate(-4deg); }
.vis-files span:nth-child(2) { transform: rotate(3deg); background: var(--teal); color: #fff; border-color: transparent; }
.vis-files span:nth-child(3) { transform: rotate(-2deg); }
.vis-files span:nth-child(4) { transform: rotate(5deg); background: var(--gold); color: var(--teal-ink); border-color: transparent; }

/* ---------- Privacy (always dark) ---------- */

.privacy {
  background: var(--teal-ink);
  color: #e9f2ef;
  position: relative; overflow: hidden;
}
.privacy::before {
  content: ""; position: absolute; width: 700px; height: 700px; left: -200px; top: -300px;
  background: radial-gradient(closest-side, rgba(34,163,147,.35), transparent);
}
.privacy .container { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
@media (max-width: 860px) { .privacy .container { grid-template-columns: 1fr; } }
.privacy h2 em { color: var(--gold); }
.privacy .kicker { color: var(--gold); }
.privacy p { color: rgba(233, 242, 239, .75); }

/* receipt paper with perforated edges */
.receipt {
  --perf: radial-gradient(circle at 10px 0, transparent 7px, #000 7.5px) 0 0 / 20px 51% repeat-x,
          radial-gradient(circle at 10px 100%, transparent 7px, #000 7.5px) 0 100% / 20px 51% repeat-x;
  -webkit-mask: var(--perf);
          mask: var(--perf);
  background: #fbf8f1;
  color: #1a2522;
  padding: 36px 32px;
  font-family: var(--mono);
  font-size: 14px;
  transform: rotate(1.2deg);
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.35));
}
.receipt h4 { font-family: var(--mono); font-size: 13px; text-align: center; letter-spacing: .2em; text-transform: uppercase; margin: 6px 0 4px; }
.receipt .sub { text-align: center; font-size: 12px; color: #6b7672; margin-bottom: 22px; }
.receipt .row { display: flex; align-items: baseline; gap: 8px; padding-block: 7px; }
.receipt .row span:first-child { white-space: nowrap; }
.receipt .row .dots { flex: 1; border-bottom: 2px dotted #b9c0bd; transform: translateY(-4px); }
.receipt .row b { white-space: nowrap; }
.receipt hr { border: 0; border-top: 2px dashed #c9cfcc; margin: 16px 0; }
.receipt .total { font-size: 17px; font-weight: 700; }
.receipt .total b { color: var(--teal); }
.receipt .thanks { text-align: center; font-size: 12px; color: #6b7672; margin-top: 18px; }

.privacy-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.privacy-points li { display: flex; gap: 14px; }
.privacy-points li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23062b27' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.privacy-points b { color: #fff; display: block; }
.privacy-points span { color: rgba(233, 242, 239, .72); font-size: 15.5px; }

/* ---------- Pricing ---------- */

.plans { display: grid; grid-template-columns: .9fr 1.1fr .9fr; gap: 20px; align-items: stretch; }
@media (max-width: 920px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 30px 28px 28px; box-shadow: var(--shadow);
}
.plan .name { font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.plan .price { font-family: var(--display); font-weight: 450; font-size: 58px; letter-spacing: -.04em; line-height: 1; margin: 14px 0 6px; }
.plan .price small { font-family: var(--body); font-size: 16px; letter-spacing: 0; color: var(--ink-3); font-weight: 500; margin-left: 4px; }
.plan .note { color: var(--ink-2); font-size: 15px; margin-bottom: 22px; min-height: 2.9em; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; border-top: 1px dashed var(--rule); }
.plan li { padding-block: 10px; border-bottom: 1px dashed var(--rule); font-size: 15px; color: var(--ink-2); display: flex; gap: 10px; }
.plan li::before { content: "+"; font-family: var(--mono); color: var(--accent); font-weight: 700; }
.plan li.muted { color: var(--ink-3); }
.plan li.muted::before { content: "–"; color: var(--ink-3); }
.plan .btn { margin-top: auto; width: 100%; }
.plan .ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--rule); }

.plan.featured {
  background: linear-gradient(170deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff; border-color: transparent;
  box-shadow: 0 40px 80px -30px rgba(8, 74, 68, .7);
  transform: translateY(-14px);
}
@media (max-width: 920px) { .plan.featured { transform: none; } }
.plan.featured .name, .plan.featured .price small { color: rgba(255,255,255,.7); }
.plan.featured .note, .plan.featured li { color: rgba(255,255,255,.88); border-color: rgba(255,255,255,.18); }
.plan.featured ul { border-color: rgba(255,255,255,.18); }
.plan.featured li::before { color: var(--gold); }
.plan.featured .btn { background: var(--gold); color: var(--teal-ink); }
.badge {
  position: absolute; top: -13px; right: 24px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--gold); color: var(--teal-ink); padding: 6px 12px; border-radius: 99px;
  box-shadow: 0 6px 16px -6px rgba(245, 193, 58, .8);
}
.trial {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .04em;
  padding: 5px 11px; border-radius: 99px; margin-bottom: 18px;
  background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent);
}
.plan.featured .trial { background: rgba(255,255,255,.14); color: #fff; }
.fine { text-align: center; color: var(--ink-3); font-size: 13.5px; margin: 36px auto 0; max-width: 60ch; }

/* ---------- FAQ ---------- */

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq-wrap .section-head { position: sticky; top: 110px; margin-bottom: 0; }
@media (max-width: 860px) { .faq-wrap .section-head { position: static; } }

details { border-bottom: 1px solid var(--rule); }
details:first-of-type { border-top: 1px solid var(--rule); }
summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-family: var(--display); font-weight: 480; font-size: clamp(19px, 1.6vw, 23px); letter-spacing: -.01em;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 16px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 16px no-repeat;
  transition: transform .3s var(--ease);
}
details[open] summary::after { transform: rotate(135deg); }
details p { color: var(--ink-2); margin: -6px 0 26px; max-width: 42em; }

/* ---------- Final CTA ---------- */

.final {
  position: relative; overflow: hidden; text-align: center;
  border-radius: 36px;
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(245,193,58,.28), transparent 70%),
    linear-gradient(160deg, var(--teal), var(--teal-deep) 70%, var(--teal-ink));
  color: #fff;
  padding: clamp(56px, 8vw, 110px) clamp(24px, 5vw, 64px);
}
.final h2 { color: #fff; margin-inline: auto; max-width: 14em; }
.final h2 em { color: var(--gold); }
.final p { color: rgba(255,255,255,.8); max-width: 34em; margin: 0 auto 36px; font-size: 18px; }
.final .btn { background: #fff; color: var(--teal-ink); }
.final .soon {
  display: inline-block; margin-top: 22px; font-family: var(--mono); font-size: 12.5px;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65);
}
.final .icon-big {
  width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 30px;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.15);
}

/* ---------- Footer ---------- */

footer.site { padding-block: 48px; color: var(--ink-3); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-row a:hover { color: var(--ink); }
.footer-links { display: flex; gap: 24px; }

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

.legal main { max-width: 760px; padding-block: clamp(48px, 7vw, 96px); }
.legal h1 { font-family: var(--display); font-weight: 450; font-size: clamp(40px, 6vw, 64px); letter-spacing: -.03em; line-height: 1; margin: 0 0 12px; }
.legal .updated { font-family: var(--mono); font-size: 13px; color: var(--ink-3); margin-bottom: 44px; }
.legal h2 { font-size: 26px; margin: 48px 0 12px; letter-spacing: -.015em; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.7; }
.legal ul { padding-left: 22px; }
.legal a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal code { font-family: var(--mono); font-size: .88em; background: var(--paper-2); padding: 2px 6px; border-radius: 6px; }

/* ---------- Scroll reveal (only when JS is on) ---------- */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }
.js .reveal.d4 { transition-delay: .32s; }

.hero .fade { animation: up .9s var(--ease) both; }
.hero .fade:nth-child(2) { animation-delay: .08s; }
.hero .fade:nth-child(3) { animation-delay: .16s; }
.hero .fade:nth-child(4) { animation-delay: .24s; }
.hero .fade:nth-child(5) { animation-delay: .32s; }
@keyframes up { from { opacity: 0; transform: translateY(22px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  h1.headline em svg path { stroke-dashoffset: 0; }
}
