/* Vellum — vellumexpense.com
   The same palette, type and pieces as the app: metal cards, the diamond, gold eyebrows, emerald glow. */

:root {
  --bg: #040605;
  --bg-2: #0a0f0c;
  --ink: #f4f1e8;
  --ink-2: rgba(244, 241, 232, 0.66);
  --ink-3: rgba(244, 241, 232, 0.42);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.07);
  --gold: #d9bc82;
  --gold-light: #ebd7a8;
  --glow: #3ddc97;
  --green-mid: #0c4a34;
  --green-deep: #072c20;
  --income: #2fb27f;
  --negative: #e27b6f;
  --on-glow: #0b0f0d;
  --serif: "Newsreader", "New York", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --radius-card: 23px;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
::selection { background: rgba(61, 220, 151, 0.28); }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 8px; }

/* The drifting glow behind every page, as on the lock screen and onboarding. */
.backdrop {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: radial-gradient(120% 80% at 50% -10%, #08140f 0%, var(--bg) 60%);
}
.backdrop::before, .backdrop::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(120px);
}
.backdrop::before {
  width: 620px; height: 620px; left: 50%; top: -260px; transform: translateX(-60%);
  background: rgba(61, 220, 151, 0.16);
  animation: drift 16s ease-in-out infinite alternate;
}
.backdrop::after {
  width: 560px; height: 560px; right: -180px; top: 55%;
  background: rgba(12, 74, 52, 0.55);
  animation: drift 20s ease-in-out infinite alternate-reverse;
}
@keyframes drift { from { translate: -60px 0; } to { translate: 60px 30px; } }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 40px)); margin: 0 auto; }

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

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
}
.display {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.04;
  font-optical-sizing: auto;
}
.h1 { font-size: clamp(44px, 7vw, 84px); }
.h2 { font-size: clamp(34px, 4.6vw, 56px); }
.h3 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

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

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(4, 6, 5, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-color: var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-word { font-family: var(--serif); font-size: 17px; letter-spacing: 0.38em; padding-left: 0.1em; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 8px; cursor: pointer; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 20px 20px; background: rgba(4, 6, 5, 0.96); border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  }
  .nav-links.open a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-links.open .btn { margin-top: 14px; justify-content: center; border: 0; }
  .nav-toggle { display: block; }
}

/* ---------- Diamond mark ---------- */

.mark { position: relative; display: inline-block; vertical-align: middle; width: var(--s, 22px); height: var(--s, 22px); flex: none; }
.mark::before, .mark::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(45deg);
}
.mark::before {
  width: 70.7%; height: 70.7%; border: max(1px, calc(var(--s, 22px) * 0.045 * 1.4)) solid currentColor;
}
.mark::after { width: 25.5%; height: 25.5%; background: currentColor; }
.mark.glow { color: var(--glow); filter: drop-shadow(0 0 14px rgba(61, 220, 151, 0.6)); }

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

.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px;
  border-radius: 18px; font-weight: 600; font-size: 16px; letter-spacing: 0.005em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  color: var(--ink);
  background: linear-gradient(180deg, var(--green-mid), var(--green-deep));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 14px 34px rgba(7, 44, 32, 0.55);
}
.btn-primary:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 18px 44px rgba(12, 74, 52, 0.75); }
.btn-ghost { color: var(--ink); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: var(--glass-2); }
.btn-small { height: 40px; padding: 0 18px; border-radius: 14px; font-size: 14.5px; }
.btn svg { width: 18px; height: 18px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .cta-row { justify-content: center; }
.fine { font-size: 13.5px; color: var(--ink-3); }

/* ---------- Chips & pills (as in the app) ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.center .chips { justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px;
  border-radius: 999px; font-size: 13px; font-weight: 600; color: rgba(244, 241, 232, 0.82);
  background: var(--glass-2); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px var(--glow); }

.pill-badge {
  display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px;
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.1em; color: var(--on-glow); background: var(--glow);
}
.pill-badge.gold { background: var(--gold); }

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

section { position: relative; }
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 70px); }
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center;
}
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
}
.copy { display: grid; gap: 22px; align-content: start; }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink-2); font-size: 16px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(61, 220, 151, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%233ddc97' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}
.ticks strong { color: var(--ink); font-weight: 600; }

.stage {
  position: relative; min-height: 440px; display: grid; place-items: center;
  border-radius: 34px; background: radial-gradient(80% 70% at 50% 40%, rgba(61, 220, 151, 0.09), transparent 70%), var(--glass);
  box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; isolation: isolate;
}
.stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent 30%);
}

.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: 0; margin: 0; }

/* ---------- The Vellum card ---------- */

.vcard {
  --c0: #0c4a34; --c1: #073023; --c2: #021712; --ink-c: #f4f1e8; --shine: rgba(255, 255, 255, 0.5);
  position: relative; width: var(--w, 340px); aspect-ratio: 1.586; border-radius: calc(var(--w, 340px) / 340 * 23);
  background: linear-gradient(135deg, var(--c0) 0%, var(--c1) 52%, var(--c2) 100%);
  color: var(--ink-c); overflow: hidden; isolation: isolate;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 30px 60px -18px rgba(0, 0, 0, 0.75),
    0 18px 40px -20px var(--c2);
  font-size: calc(var(--w, 340px) / 340 * 16px);
}
/* Guilloche — fine concentric engraving, like the app's default detailing. */
.vcard::before {
  content: ""; position: absolute; inset: -40%; z-index: -1; opacity: 0.22;
  background:
    repeating-radial-gradient(circle at 78% 82%, transparent 0 7px, var(--shine) 7px 7.6px),
    repeating-radial-gradient(circle at 18% 12%, transparent 0 11px, rgba(255,255,255,0.35) 11px 11.5px);
  mix-blend-mode: soft-light;
  mask-image: radial-gradient(70% 70% at 70% 70%, #000 30%, transparent 75%);
}
/* Brushed sheen */
.vcard::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.08) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 3px);
}
.vcard .face { position: absolute; inset: 0; padding: 1.15em 1.25em; display: grid; grid-template-rows: auto 1fr auto; }
.vcard .top { display: flex; align-items: center; justify-content: space-between; }
.vcard .vbrand { display: inline-flex; align-items: center; gap: 0.55em; font-family: var(--serif); font-size: 0.9em; letter-spacing: 0.36em; }
.vcard .vbrand .mark { --s: 1.05em; }
.vcard .icon {
  width: 2em; height: 2em; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--ink-c) 10%, transparent);
  box-shadow: inset 0 0 0 0.5px color-mix(in srgb, var(--ink-c) 20%, transparent);
}
.vcard .icon svg { width: 0.95em; height: 0.95em; }
.vcard .mid { align-self: center; }
.vcard .label { font-size: 0.6em; font-weight: 700; letter-spacing: 0.14em; opacity: 0.62; text-transform: uppercase; }
.vcard .name { font-family: var(--serif); font-size: 2.05em; line-height: 1.05; margin-top: 0.12em; letter-spacing: -0.01em; }
.vcard .bottom { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.75em; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.vcard .num { font-variant-numeric: tabular-nums; letter-spacing: 0.12em; opacity: 0.85; font-weight: 500; }
.vcard .sweep {
  position: absolute; top: -50%; bottom: -50%; width: 35%; left: -60%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: rotate(18deg); mix-blend-mode: plus-lighter;
  animation: sweep 5.5s var(--ease) infinite; animation-delay: var(--delay, 1s);
}
@keyframes sweep { 0% { left: -60%; } 38%, 100% { left: 140%; } }

.f-emerald   { --c0: #0c4a34; --c1: #073023; --c2: #021712; }
.f-obsidian  { --c0: #2a2b2e; --c1: #141416; --c2: #050506; --shine: rgba(217,188,130,0.7); }
.f-champagne { --c0: #d9c08c; --c1: #b38f55; --c2: #7c5f31; --ink-c: #241a0b; --shine: rgba(255,243,214,0.8); }
.f-sapphire  { --c0: #183463; --c1: #0d1f42; --c2: #050f25; }
.f-bordeaux  { --c0: #6e1f2e; --c1: #4a1320; --c2: #260910; }
.f-platinum  { --c0: #c4c7cc; --c1: #9a9ea5; --c2: #696d74; --ink-c: #111316; --shine: rgba(255,255,255,0.9); }
.f-coffee    { --c0: #6e4b36; --c1: #4a3122; --c2: #24160e; }
.f-amethyst  { --c0: #4b2a6b; --c1: #2f1a47; --c2: #160b24; }
.f-obsidian { box-shadow: inset 0 0 0 1px rgba(217,188,130,0.35), inset 0 1px 0 rgba(255,255,255,0.18), 0 30px 60px -18px rgba(0,0,0,0.8); }

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

.hero { padding: 150px 0 90px; }
.hero .split { grid-template-columns: 1.05fr 0.95fr; }
.hero-copy { display: grid; gap: 26px; }
.hero h1 { max-width: 9.5em; }
.hero-visual { position: relative; height: 640px; display: grid; place-items: center; }
.hero, .section { overflow-x: clip; }
.hero-cards { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-cards .vcard { position: absolute; --w: 300px; }
.hero-cards .vcard:nth-child(1) { transform: translate(-150px, -150px) rotate(-14deg); animation: float 7s ease-in-out infinite; }
.hero-cards .vcard:nth-child(2) { transform: translate(160px, 160px) rotate(12deg); animation: float 8s ease-in-out infinite reverse; }
@keyframes float { 50% { translate: 0 -10px; } }
@media (max-width: 900px) {
  .hero { padding-top: 120px; }
  .hero .split { grid-template-columns: 1fr; }
  .hero-visual { height: 600px; }
  .hero-cards .vcard { --w: 240px; }
  .hero-cards .vcard:nth-child(1) { transform: translate(-120px, -170px) rotate(-14deg); }
  .hero-cards .vcard:nth-child(2) { transform: translate(120px, 170px) rotate(12deg); }
}

/* ---------- iPhone with the Ledger on it ---------- */

.phone {
  position: relative; z-index: 2; width: 300px; height: 620px; border-radius: 52px; padding: 11px;
  background: linear-gradient(145deg, #2a2c2e, #0d0e0f 40%, #1c1d1f);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.14), 0 50px 100px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(0,0,0,0.6);
}
.screen {
  position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: #000;
  padding: 50px 16px 0; font-size: 12px;
}
.screen::before {
  content: ""; position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 27px; border-radius: 20px; background: #000; box-shadow: 0 0 0 1px #111; z-index: 3;
}
.screen .status { position: absolute; top: 16px; left: 30px; right: 26px; display: flex; justify-content: space-between; font-weight: 600; font-size: 12.5px; }
.screen .date { font-size: 9px; font-weight: 700; letter-spacing: 0.16em; color: var(--gold); }
.screen .greet { font-family: var(--serif); font-size: 24px; margin: 2px 0 12px; }
.screen .vcard { --w: 246px; }
.periods {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 3px; margin-top: 12px;
  border-radius: 13px; background: #1a1d1b; font-size: 11px; font-weight: 600; color: var(--ink-3); text-align: center;
}
.periods span { padding: 6px 0; border-radius: 10px; }
.periods .on { color: var(--ink); background: linear-gradient(180deg, var(--green-mid), var(--green-deep)); box-shadow: 0 3px 8px rgba(7,44,32,0.6); }
.tile {
  margin-top: 10px; padding: 12px; border-radius: 16px; background: #0e1110; box-shadow: inset 0 0 0 0.5px var(--line);
  display: grid; grid-template-columns: 1fr 1px 1fr; gap: 10px; text-align: center;
}
.tile .sep { background: var(--line); }
.tile .lab { display: inline-flex; gap: 6px; align-items: center; font-size: 10.5px; font-weight: 600; color: var(--ink-2); }
.coin { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 9.5px; font-weight: 800; }
.coin.in { color: var(--income); background: rgba(47,178,127,0.16); }
.coin.out { color: var(--negative); background: rgba(226,123,111,0.16); }
.tile .amt { font-weight: 600; font-size: 15px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.rows { margin-top: 10px; }

/* Entry rows (Ledger list) */
.entry { display: grid; grid-template-columns: auto 1fr auto; gap: 11px; align-items: center; padding: 9px 2px; border-bottom: 0.5px solid var(--line); }
.entry:last-child { border-bottom: 0; }
.cat { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.cat svg { width: 15px; height: 15px; }
.entry .t { font-weight: 600; font-size: 12.5px; }
.entry .s { font-size: 10.5px; color: var(--ink-3); }
.entry .a { font-weight: 600; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.entry .a.in { color: var(--income); }

.panel { border-radius: 24px; background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 0.5px rgba(255,255,255,0.1); }
.panel.list { padding: 6px 18px; width: min(420px, 100%); }
.panel.list .entry { padding: 13px 2px; }
.panel.list .entry .t { font-size: 15px; }
.panel.list .entry .s { font-size: 12.5px; }
.panel.list .entry .a { font-size: 15px; }
.panel.list .cat { width: 40px; height: 40px; border-radius: 12px; }
.panel.list .cat svg { width: 18px; height: 18px; }

.actions { display: flex; gap: 12px; justify-content: center; margin-top: 18px; }
.action { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 18px 0 7px; border-radius: 999px; background: var(--glass-2); box-shadow: inset 0 0 0 0.5px var(--line-2); font-weight: 600; font-size: 15px; }
.action i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; }
.action i svg { width: 14px; height: 14px; }

/* ---------- Receipt scan ---------- */

.scan { position: relative; width: 240px; height: 330px; display: grid; place-items: center; }
.receipt {
  width: 190px; height: 268px; padding: 18px; border-radius: 6px; transform: rotate(-4deg);
  background: #f6f2e9; color: #2a2620; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 10px; line-height: 1.6;
  box-shadow: 0 30px 50px -18px rgba(0,0,0,0.8); position: relative; overflow: hidden;
}
.receipt h4 { text-align: center; font-family: inherit; font-weight: 700; font-size: 12px; letter-spacing: 0.04em; }
.receipt .addr { text-align: center; opacity: 0.55; font-size: 9px; margin-bottom: 8px; }
.receipt hr { border: 0; border-top: 1px dashed rgba(42,38,32,0.35); margin: 8px 0; }
.receipt .ln { display: flex; justify-content: space-between; }
.receipt .tot { font-weight: 700; font-size: 11px; }
.receipt .thanks { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; opacity: 0.5; font-size: 9px; }
.receipt::after {
  content: ""; position: absolute; left: 0; right: 0; height: 28px; top: 0;
  background: linear-gradient(180deg, transparent, rgba(61,220,151,0.38), transparent);
  animation: scanline 2.6s ease-in-out infinite alternate;
}
@keyframes scanline { to { top: calc(100% - 28px); } }
.brackets { position: absolute; width: 210px; height: 288px; transform: rotate(-4deg); animation: lockon 3.6s var(--ease) infinite; }
.brackets span { position: absolute; width: 26px; height: 26px; border: 3px solid var(--glow); filter: drop-shadow(0 0 8px rgba(61,220,151,0.7)); }
.brackets span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.brackets span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.brackets span:nth-child(3) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }
.brackets span:nth-child(4) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
@keyframes lockon { 0% { width: 250px; height: 330px; opacity: 0.5; } 30%, 85% { width: 210px; height: 288px; opacity: 1; } 100% { width: 250px; height: 330px; opacity: 0.5; } }
.detected { position: absolute; bottom: 6px; height: 28px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--on-glow); background: var(--glow); box-shadow: 0 0 22px rgba(61,220,151,0.45); }

/* ---------- Ring chart ---------- */

.ring { --size: 240px; position: relative; width: var(--size); height: var(--size); border-radius: 50%;
  background: conic-gradient(#6fa8dc 0 37.6%, transparent 0 38.4%, #6fb48a 0 61.6%, transparent 0 62.4%, #e0a86a 0 77.6%, transparent 0 78.4%, #c9966f 0 89.6%, transparent 0 90.4%, #b690e6 0 99.2%, transparent 0);
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 58.5%); mask: radial-gradient(circle, transparent 58%, #000 58.5%);
}
.ring-wrap { position: relative; width: 240px; height: 240px; }
.ring-centre { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 2px; }
.ring-centre .k { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; color: var(--ink-3); }
.ring-centre .v { font-family: var(--serif); font-size: 30px; }
.ring-centre .c { font-size: 12px; font-weight: 600; color: var(--glow); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 22px; font-size: 13px; color: var(--ink-2); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }

/* ---------- Currency pills (the Ledger's switcher) ---------- */

.currencies { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cur { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px 0 6px; border-radius: 999px; background: #0e1110; box-shadow: inset 0 0 0 0.5px var(--line-2); font-weight: 600; font-size: 14.5px; }
.cur b { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: var(--ink); background: var(--green-mid); }
.cur.on { background: linear-gradient(180deg, var(--green-mid), var(--green-deep)); box-shadow: inset 0 0 0 0.5px rgba(255,255,255,0.14); }
.cur.on b { background: var(--ink); color: var(--green-mid); }
.cur.letters { padding: 0 16px; }

/* ---------- Exports fan ---------- */

.files { position: relative; width: 420px; max-width: 100%; height: 300px; display: grid; place-items: center; }
.file {
  position: absolute; width: 124px; height: 168px; padding: 15px; border-radius: 13px; background: #f6f2e9;
  box-shadow: 0 24px 40px -14px rgba(0,0,0,0.75); display: grid; align-content: start; gap: 8px;
  transition: transform 0.9s var(--ease);
}
.file .ic { width: 24px; height: 24px; }
.file .bar { height: 5px; border-radius: 3px; background: rgba(42,38,32,0.12); }
.file .badge { position: absolute; left: 15px; bottom: 14px; height: 20px; padding: 0 7px; border-radius: 5px; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; display: inline-flex; align-items: center; }
.files .file:nth-child(1) { transform: translate(-138px, 20px) rotate(-14deg); }
.files .file:nth-child(2) { transform: translate(-46px, 4px) rotate(-5deg); }
.files .file:nth-child(3) { transform: translate(46px, 4px) rotate(5deg); }
.files .file:nth-child(4) { transform: translate(138px, 20px) rotate(14deg); }
.files .pack { position: absolute; bottom: 4px; }
.reveal:not(.in) .files .file { transform: translate(0, 10px) rotate(0); }

/* ---------- Privacy rings ---------- */

.rings { position: relative; width: 320px; height: 320px; display: grid; place-items: center; }
.rings span { position: absolute; border-radius: 50%; border: 1px solid rgba(61,220,151,0.2); animation: breathe 5s ease-in-out infinite; }
.rings span:nth-child(1) { width: 140px; height: 140px; }
.rings span:nth-child(2) { width: 220px; height: 220px; border-color: rgba(61,220,151,0.13); animation-delay: 0.3s; }
.rings span:nth-child(3) { width: 300px; height: 300px; border-color: rgba(61,220,151,0.07); animation-delay: 0.6s; }
@keyframes breathe { 50% { transform: scale(1.04); } }
.rings .mark { --s: 72px; }
.rings .lock { position: absolute; transform: translate(42px, 42px); width: 34px; height: 34px; border-radius: 50%; background: var(--glow); color: var(--on-glow); display: grid; place-items: center; box-shadow: 0 0 0 3px #050806; }
.rings .lock svg { width: 15px; height: 15px; }

/* ---------- Finishes rail ---------- */

.rail { display: flex; gap: 22px; overflow-x: auto; padding: 30px max(20px, calc((100vw - var(--max)) / 2)) 50px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail .item { scroll-snap-align: center; display: grid; gap: 14px; justify-items: center; flex: none; }
.rail .vcard { --w: 290px; }
.rail .item span { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Feature grid ---------- */

.grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.tile-card {
  position: relative; padding: 26px; border-radius: 24px; background: var(--glass); box-shadow: inset 0 0 0 0.5px var(--line-2);
  display: grid; gap: 12px; align-content: start; transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
a.tile-card:hover { background: var(--glass-2); transform: translateY(-2px); }
.tile-card .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: var(--glow); background: rgba(61,220,151,0.12); }
.tile-card .ic svg { width: 20px; height: 20px; }
.tile-card h3 { font-size: 19px; font-weight: 600; font-family: var(--sans); letter-spacing: -0.01em; }
.tile-card p { color: var(--ink-2); font-size: 15.5px; }
.tile-card .more { font-size: 14px; font-weight: 600; color: var(--glow); }

/* ---------- Pricing (as on the paywall) ---------- */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.plan { position: relative; padding: 30px 26px; border-radius: 26px; background: var(--glass); box-shadow: inset 0 0 0 0.5px var(--line-2); display: grid; gap: 16px; align-content: start; }
.plan.best { background: linear-gradient(180deg, rgba(12,74,52,0.5), rgba(7,44,32,0.35)); box-shadow: inset 0 0 0 1.5px var(--glow), 0 30px 70px -30px rgba(61,220,151,0.4); }
.plan.life { box-shadow: inset 0 0 0 0.5px var(--line-2); background-image: repeating-linear-gradient(90deg, transparent 0 1px, transparent 1px 4px); }
.plan .tag { position: absolute; top: -11px; right: 22px; }
.plan h3 { font-size: 22px; font-weight: 600; font-family: var(--sans); display: flex; align-items: center; gap: 10px; }
.plan .price { font-family: var(--serif); font-size: 46px; line-height: 1; }
.plan .price small { font-family: var(--sans); font-size: 15px; color: var(--ink-3); margin-left: 4px; }
.plan .per { color: var(--ink-2); font-size: 14.5px; }
.plan ul { margin: 4px 0 0; }
.plan .btn { justify-content: center; margin-top: 6px; }
.currency-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 14px; background: #121614; margin: 0 auto 34px; }
.currency-switch button { border: 0; background: none; color: var(--ink-3); font: inherit; font-size: 14px; font-weight: 600; height: 34px; padding: 0 18px; border-radius: 11px; cursor: pointer; }
.currency-switch button[aria-pressed="true"] { color: var(--ink); background: linear-gradient(180deg, var(--green-mid), var(--green-deep)); }

/* ---------- Trial timeline ---------- */

.timeline { display: grid; gap: 0; max-width: 460px; margin: 0 auto; padding: 22px 24px; border-radius: 24px; background: var(--glass); box-shadow: inset 0 0 0 0.5px var(--line-2); }
.step { display: grid; grid-template-columns: 30px 1fr; gap: 14px; }
.step .dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(61,220,151,0.14); color: var(--glow); }
.step .dot svg { width: 13px; height: 13px; }
.step:first-child .dot { background: var(--glow); color: var(--on-glow); }
.step .line { grid-column: 1; width: 2px; height: 22px; margin: 0 auto; background: linear-gradient(var(--glow), rgba(61,220,151,0.15)); opacity: 0.6; }
.step b { display: block; font-weight: 600; }
.step span { font-size: 14.5px; color: var(--ink-2); }

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

.faq { display: grid; gap: 10px; }
.faq details { border-radius: 20px; background: var(--glass); box-shadow: inset 0 0 0 0.5px var(--line-2); padding: 0 24px; transition: background 0.3s var(--ease); }
.faq details[open] { background: var(--glass-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--glow); font-size: 22px; line-height: 1; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); }

/* ---------- Legal / long text ---------- */

.legal { padding: 150px 0 110px; }
.legal header { display: grid; gap: 16px; margin-bottom: 50px; }
.prose { color: var(--ink-2); font-size: 16.5px; }
.prose h2 { font-family: var(--serif); color: var(--ink); font-size: 28px; margin: 54px 0 14px; letter-spacing: -0.01em; }
.prose h3 { color: var(--ink); font-size: 18px; font-weight: 600; margin: 30px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--glow); text-decoration: underline; text-decoration-color: rgba(61,220,151,0.35); text-underline-offset: 3px; }
.summary-box { padding: 24px 26px; border-radius: 22px; background: linear-gradient(180deg, rgba(12,74,52,0.35), rgba(7,44,32,0.2)); box-shadow: inset 0 0 0 1px rgba(61,220,151,0.25); color: var(--ink); margin-bottom: 10px; }
.summary-box ul { margin: 10px 0 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

.crumbs { font-size: 13.5px; color: var(--ink-3); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }

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

.finale { text-align: center; padding: clamp(100px, 13vw, 170px) 0; }
.finale .mark { --s: 64px; display: block; margin: 0 auto 34px; }
.finale .display { margin-bottom: 20px; }

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

footer { border-top: 1px solid var(--line); padding: 60px 0 40px; font-size: 14.5px; color: var(--ink-3); }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: 1 / -1; } }
.foot h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a:hover { color: var(--ink); }
.foot .about { display: grid; gap: 14px; max-width: 320px; }
.legalline { margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 560px) {
  .files { transform: scale(0.74); }
  .stage { min-height: 380px; }
  .hero-cards .vcard { --w: 210px; }
  .section-head { margin-bottom: 36px; }
}
.center .crumbs { justify-content: center; }
.center h1, .center .h1 { margin-left: auto; margin-right: auto; }
