/*
  Pocketrack — marketing site
  Personality: spacious, sharp-meets-soft (continuous radii from the app),
  expressive but purposeful motion, monochrome with one electric accent,
  expanded display type for figures, asymmetric hero, flat surfaces.

  Colour tokens mirror Pocketrack/Utilities/DesignTokens.swift (Iris).
  Lime has no contrast as text on white: use it only as a fill with
  --on-accent glyphs, never for labels.
*/

/* Archivo (SIL Open Font License), served from this site so pages make no
   third-party requests. Variable: weight 400–800, width 62–125%. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --accent: #C8F560;
  --on-accent: #0A0A0A;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --font-display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --max: 1200px;

  interpolate-size: allow-keywords;
}

:root,
[data-theme="light"] {
  --ink: #0A0A0A;
  --ink-hi: #3A3A3C;
  --tint: #F1F1F4;
  --progress: #0A0A0A;

  --income: #15A56A;
  --expense: #DC2A4B;
  --warning: #D97706;
  --info: #0284C7;

  --base: #FFFFFF;
  --raised: #F4F4F6;
  --chip: #F1F1F4;
  --sunken: #E5E5EA;
  --divider: #E5E5EA;
  --icon-tile: #E6E6EB;
  --feature: #0A0A0A;
  --chart-bar: #D8D8DD;

  --text-1: #0A0A0A;
  --text-2: #6C6C72;
  --text-3: #9A9AA0;
  --text-disabled: #C7C7CC;

  --spot: rgba(10, 10, 10, .035);
  --grid-line: rgba(10, 10, 10, .055);
  --glow: .38;
  --shadow-float: 0 8px 32px rgba(0, 0, 0, .12);
  --shadow-modal: 0 10px 40px rgba(0, 0, 0, .18);
  --glass: rgba(255, 255, 255, .72);
}

[data-theme="dark"] {
  --ink: #FFFFFF;
  --ink-hi: #D1D1D6;
  --tint: #1C1C1E;
  --progress: #C8F560;

  --income: #34D399;
  --expense: #FB7185;
  --warning: #FBBF24;
  --info: #38BDF8;

  --base: #000000;
  --raised: #161618;
  --chip: #1C1C1E;
  --sunken: #2C2C2E;
  --divider: #2A2A2D;
  --icon-tile: #2A2A2E;
  --feature: #161618;
  --chart-bar: #3A3A3C;

  --text-1: #FFFFFF;
  --text-2: #8E8E93;
  --text-3: #636368;
  --text-disabled: #3A3A3C;

  --spot: rgba(255, 255, 255, .06);
  --grid-line: rgba(255, 255, 255, .06);
  --glow: .5;
  --shadow-float: 0 8px 32px rgba(0, 0, 0, .5);
  --shadow-modal: 0 10px 40px rgba(0, 0, 0, .6);
  --glass: rgba(22, 22, 24, .72);
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--base);
  color: var(--text-1);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}

h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

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

.ico {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 32px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.money {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.display {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(42px, 5.6vw, 78px);
  line-height: .98;
  letter-spacing: -0.035em;
}

.display .line { display: block; }

.hl {
  color: inherit;
  padding: 0 .1em;
  margin: 0 -.04em;
  border-radius: .12em;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 0 / 0% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 1s var(--ease) .5s, color .3s ease .8s;
}
.is-in .hl,
.hl.is-in,
html:not(.js) .hl {
  background-size: 100% 100%;
  color: var(--on-accent);
}

.lede {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 34em;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--progress);
}

.h2 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.dim { color: var(--text-3); }

.section-head { margin-bottom: 56px; }
.section-lede {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 36em;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, filter .25s;
}
.btn:active { transform: scale(.97); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost { background: var(--chip); color: var(--text-1); }
.btn-ghost:hover { background: var(--sunken); }
.btn-ghost .ico { font-size: 16px; transition: transform .25s var(--ease); }
.btn-ghost:hover .ico { transform: translateX(3px); }

.store-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  padding: 0 28px 0 22px;
  border-radius: 18px;
  background: var(--accent);
  color: var(--on-accent);
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.store-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(200, 245, 96, .55); }
.store-badge:hover::after { transform: translateX(120%); }
.store-badge:active { transform: scale(.97); }
.store-badge > .ico { font-size: 28px; margin-top: -3px; }
.store-text { display: flex; flex-direction: column; line-height: 1.1; }
.store-text small { font-size: 11.5px; font-weight: 500; opacity: .72; }
.store-text strong {
  font-family: var(--font-display);
  font-stretch: 110%;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.store-badge-lg { height: 68px; padding: 0 34px 0 26px; border-radius: 20px; }
.store-badge-lg > .ico { font-size: 32px; }
.store-badge-lg .store-text strong { font-size: 24px; }

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

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--divider);
}
.nav-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(180deg, #1C1C1C, #0B0B0B);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.brand-mark svg { width: 17px; height: 24px; }
.brand-name {
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--text-1); background: var(--chip); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--chip);
  transition: background-color .2s, transform .4s var(--ease-spring);
}
.theme-toggle:hover { background: var(--sunken); }
.theme-toggle:active { transform: rotate(40deg) scale(.92); }
.theme-toggle .ico { font-size: 18px; grid-area: 1 / 1; transition: opacity .3s, transform .5s var(--ease-spring); }
[data-theme="dark"] .ico-moon,
[data-theme="light"] .ico-sun { opacity: 0; transform: rotate(-90deg) scale(.5); }

::view-transition-old(root),
::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: theme-reveal .7s var(--ease); }
@keyframes theme-reveal {
  from { clip-path: circle(0 at var(--vt-x, 100%) var(--vt-y, 0)); }
  to { clip-path: circle(150vmax at var(--vt-x, 100%) var(--vt-y, 0)); }
}

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

.hero {
  position: relative;
  padding: 128px 0 72px;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: var(--r-pill);
  background: var(--chip);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 28px;
}
.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--progress);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  from { transform: scale(1); opacity: .7; }
  to { transform: scale(3.2); opacity: 0; }
}

.hero-title { margin-bottom: 28px; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-2);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .ico { font-size: 15px; color: var(--text-1); stroke-width: 2.5; }

/* Stage */
.hero-stage {
  position: relative;
  text-align: left;
  height: 720px;
  display: grid;
  place-items: center;
  perspective: 1600px;
}
.stage-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 62%);
  opacity: var(--glow);
  filter: blur(60px);
  transform: translateY(20px);
  animation: breathe 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes breathe {
  0%, 100% { transform: translateY(20px) scale(1); opacity: var(--glow); }
  50% { transform: translateY(0) scale(1.08); opacity: calc(var(--glow) * .75); }
}

/* ---------- Phone mockup ---------- */

.phone {
  --rx: 4deg;
  --ry: -10deg;
  position: relative;
  width: 330px;
  height: 690px;
  padding: 11px;
  border-radius: 58px;
  background: linear-gradient(145deg, #3A3A3C, #0B0B0C 30%, #0B0B0C 70%, #2C2C2E);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .08),
    0 60px 120px -30px rgba(0, 0, 0, .55),
    0 30px 60px -30px rgba(0, 0, 0, .45);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .8s var(--ease);
  animation: phone-in 1.4s var(--ease) backwards .15s;
}
.phone::before,
.phone::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #1C1C1E;
}
.phone::before { left: -3px; top: 150px; height: 64px; box-shadow: 0 84px 0 #1C1C1E; }
.phone::after { right: -3px; top: 190px; height: 96px; }

@keyframes phone-in {
  from { opacity: 0; transform: translateY(60px) rotateX(18deg) rotateY(-22deg) scale(.94); }
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 48px;
  overflow: hidden;
  background: var(--base);
  padding: 0 14px;
  transition: background-color .4s var(--ease);
}
.island {
  position: absolute;
  top: 11px;
  left: 50%;
  translate: -50% 0;
  width: 100px;
  height: 29px;
  border-radius: 20px;
  background: #000;
  z-index: 2;
}
.statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  padding: 4px 18px 0 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.sb-right { display: inline-flex; align-items: center; gap: 5px; }
.sb-signal {
  width: 17px;
  height: 11px;
  background:
    linear-gradient(currentColor, currentColor) 0 100% / 3px 35% no-repeat,
    linear-gradient(currentColor, currentColor) 4.5px 100% / 3px 55% no-repeat,
    linear-gradient(currentColor, currentColor) 9px 100% / 3px 78% no-repeat,
    linear-gradient(currentColor, currentColor) 13.5px 100% / 3px 100% no-repeat;
}
.sb-wifi {
  width: 15px;
  height: 11px;
  background: currentColor;
  clip-path: polygon(50% 100%, 0 30%, 15% 14%, 32% 4%, 50% 0, 68% 4%, 85% 14%, 100% 30%);
}
.sb-batt {
  position: relative;
  width: 24px;
  height: 11.5px;
  border-radius: 3.5px;
  border: 1px solid color-mix(in srgb, currentColor 40%, transparent);
}
.sb-batt::before {
  content: "";
  position: absolute;
  inset: 1.5px 5px 1.5px 1.5px;
  border-radius: 2px;
  background: currentColor;
}
.sb-batt::after {
  content: "";
  position: absolute;
  right: -3.5px;
  top: 3px;
  width: 1.5px;
  height: 4px;
  border-radius: 0 1px 1px 0;
  background: color-mix(in srgb, currentColor 40%, transparent);
}

.app-top {
  position: relative;
  display: flex;
  align-items: center;
  height: 34px;
  margin-top: 2px;
}
.glass-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--base);
  box-shadow: 0 0 0 .5px var(--divider), 0 2px 8px rgba(0, 0, 0, .08);
  font-size: 16px;
}
.month-title {
  position: absolute;
  left: 50%;
  translate: -50% 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
}
.month-title .ico { font-size: 12px; color: var(--text-2); stroke-width: 2.5; }

.app-hero { margin: 18px 0 14px; text-align: center; }
.app-caption { font-size: 11px; color: var(--text-2); }
.app-total {
  font-size: 41px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.sym { font-size: .44em; color: var(--text-2); vertical-align: .08em; margin-right: .06em; }
.app-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 10.5px;
  color: var(--text-2);
}
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px 8px 3px 6px;
  border-radius: var(--r-pill);
  background: var(--chip);
  color: var(--text-1);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.meta-chip .ico { font-size: 10px; stroke-width: 2.6; }

.app-actions {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-bottom: 14px;
}
.action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 500;
}
.action i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--chip);
  font-size: 17px;
}
.action.is-primary i { background: var(--accent); color: var(--on-accent); }
.action.is-primary .ico { stroke-width: 2.6; }

.app-card {
  background: var(--raised);
  border-radius: 18px;
  transition: background-color .4s var(--ease);
}
.budget {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px 11px 11px;
}
.ring-wrap { position: relative; flex: none; display: grid; place-items: center; }
.ring-wrap b { position: absolute; font-size: 9px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ring { width: 44px; height: 44px; rotate: -90deg; flex: none; }
.ring-track { fill: none; stroke: var(--sunken); stroke-width: 5; }
.ring-fill {
  fill: none;
  stroke: var(--progress);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.8s var(--ease) .5s, stroke .4s;
}
.is-in .ring-fill,
html:not(.js) .ring-fill { stroke-dashoffset: calc(100 - var(--p)); }

.app-mini { font-size: 10px; color: var(--text-2); }
.app-stat { font-size: 17px; font-weight: 700; margin: 1px 0; }

.app-chips {
  display: flex;
  gap: 6px;
  margin: 14px -14px 4px 0;
  overflow: hidden;
}
.app-chips .chip { height: 27px; padding: 0 11px; font-size: 10.5px; font-weight: 500; }
.app-chips .chip .ico { font-size: 12px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--chip);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .3s, color .3s;
}
.chip .ico { font-size: 13px; }
.chip.is-on { background: var(--ink); color: var(--base); }

.app-section {
  display: flex;
  justify-content: space-between;
  margin: 14px 12px 6px;
  font-size: 11px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.app-section b { color: var(--text-1); font-weight: 600; }
.rows li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
}
.tile {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--icon-tile);
  font-size: 13px;
  flex: none;
}
.row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.row-text b { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-text small { font-size: 10px; color: var(--text-2); }
.row-amt { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

.app-search {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 0 0 .5px var(--divider), 0 4px 16px rgba(0, 0, 0, .1);
  font-size: 11.5px;
  color: var(--text-2);
}
.app-search .ico { font-size: 13px; }

.home-indicator {
  position: absolute;
  left: 50%;
  bottom: 8px;
  translate: -50% 0;
  width: 118px;
  height: 5px;
  border-radius: 5px;
  background: var(--text-1);
}

/* Floating chips around the phone */
.float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 16px 10px 10px;
  border-radius: 20px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--divider);
  box-shadow: var(--shadow-float);
  font-size: 13px;
  animation: bob 7s ease-in-out infinite, float-in .9s var(--ease) backwards;
}
.float b { display: block; font-size: 13.5px; font-weight: 600; }
.float small { display: block; font-size: 12px; color: var(--text-2); }
.float-ico {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--chip);
  font-size: 19px;
}
.float-a { top: 24%; left: -10%; animation-delay: 0s, .9s; }
.float-b { top: 50%; right: -9%; animation-delay: -2.4s, 1.1s; }
.float-c { bottom: 12%; left: -6%; animation-delay: -4.6s, 1.3s; }
.mini-gauge { width: 36px; height: 36px; rotate: -90deg; }
.g-track { fill: none; stroke: var(--sunken); stroke-width: 4; }
.g-fill {
  fill: none;
  stroke: var(--progress);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 30;
}
@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
@keyframes float-in {
  from { opacity: 0; transform: scale(.85) translateY(16px); }
}

/* ---------- Marquee ---------- */

.marquee {
  border-block: 1px solid var(--divider);
  padding: 26px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; align-items: center; }
.marquee-list li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--text-2);
  white-space: nowrap;
}
.marquee-list li::after {
  content: "";
  width: 6px;
  height: 6px;
  margin: 0 30px;
  border-radius: 50%;
  background: var(--sunken);
}
.marquee-list .ico { font-size: 22px; color: var(--text-1); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifesto ---------- */

.manifesto { padding-block: clamp(110px, 16vw, 200px); }
.manifesto-text {
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 600;
  font-size: clamp(30px, 4.3vw, 58px);
  line-height: 1.14;
  letter-spacing: -0.025em;
  max-width: 19em;
}
.manifesto-text em { font-style: normal; }
html.js .manifesto-text .word { color: var(--text-disabled); transition: color .35s ease; }
html.js .manifesto-text .word.on { color: var(--text-1); }
.manifesto-text em {
  border-radius: .12em;
  padding: 0 .08em;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 0 / 0% 100%;
  transition: background-size .7s var(--ease);
}
.manifesto-text em.on,
html:not(.js) .manifesto-text em { background-size: 100% 100%; }
html.js .manifesto-text em.on .word,
html:not(.js) .manifesto-text em { color: var(--on-accent); }

/* ---------- Features / Bento ---------- */

.features { padding-bottom: clamp(100px, 12vw, 160px); }

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 30px;
  min-height: 400px;
  border-radius: var(--r-xl);
  background: var(--raised);
  overflow: hidden;
  isolation: isolate;
  transition: background-color .4s var(--ease);
}
[data-spot]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--spot), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
}
[data-spot]:hover::before { opacity: 1; }

.card-copy h3 {
  font-family: var(--font-display);
  font-stretch: 106%;
  font-weight: 650;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.card-copy p {
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 34em;
}

/* Quick add */
.demo-add { margin-top: auto; }
.add-sheet {
  max-width: 360px;
  margin: 0 auto;
  padding: 12px 12px 14px;
  border-radius: 26px 26px 20px 20px;
  background: var(--base);
  box-shadow: 0 0 0 .5px var(--divider), var(--shadow-float);
  transition: background-color .4s var(--ease);
}
.sheet-bar { display: flex; align-items: center; justify-content: space-between; }
.sheet-bar b { font-size: 13px; font-weight: 600; }
.glass-pill {
  height: 30px;
  padding: 0 13px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  background: var(--base);
  box-shadow: 0 0 0 .5px var(--divider), 0 2px 8px rgba(0, 0, 0, .08);
  font-size: 12px;
  font-weight: 500;
}
.add-amount {
  display: flex;
  justify-content: center;
  margin-top: 22px;
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.add-code { margin-top: 10px; text-align: center; font-size: 10.5px; font-weight: 500; color: var(--text-2); }
.add-label { margin: 18px 6px 6px; font-size: 11.5px; color: var(--text-2); }
.add-list { border-radius: 16px; background: var(--raised); }
.add-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  font-size: 13px;
}
.add-list li + li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 42px;
  right: 14px;
  height: .5px;
  background: var(--divider);
}
.add-list .ico { font-size: 16px; color: var(--text-2); }
.add-list .tick { margin-left: auto; color: var(--text-1); stroke-width: 2.6; opacity: 0; transition: opacity .2s; }
.add-list li.is-on .tick { opacity: 1; }
.caret {
  display: inline-block;
  width: 3px;
  height: .9em;
  margin-left: 4px;
  align-self: center;
  border-radius: 2px;
  background: var(--progress);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Receipt scan */
.demo-scan {
  position: relative;
  margin-top: auto;
  min-height: 330px;
  display: grid;
  place-items: center;
}
.receipt {
  position: relative;
  width: 232px;
  padding: 20px 18px 26px;
  background: #FFFFFF;
  color: #0A0A0A;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  rotate: -4deg;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 24px 50px -18px rgba(0, 0, 0, .35);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
}
.r-head { text-align: center; font-weight: 700; font-size: 12px; letter-spacing: .12em; }
.r-sub { text-align: center; color: #6C6C72; }
.r-sub + .r-sub { margin-bottom: 10px; }
.r-foot { margin-top: 10px; text-align: center; font-size: 10px; color: #6C6C72; }
.r-lines { border-block: 1px dashed #C7C7CC; padding: 8px 0; }
.r-lines p,
.r-total { display: flex; justify-content: space-between; }
.r-total {
  margin-top: 8px;
  padding: 2px 4px;
  margin-inline: -4px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  animation: total-hit 6s var(--ease) infinite;
}
.scanline {
  position: absolute;
  left: -8px;
  right: -8px;
  top: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 18px 4px rgba(200, 245, 96, .55);
  animation: scan 6s var(--ease) infinite;
}
@keyframes scan {
  0% { top: 4%; opacity: 0; }
  6% { opacity: 1; }
  42% { top: 92%; opacity: 1; }
  50%, 100% { top: 92%; opacity: 0; }
}
@keyframes total-hit {
  0%, 38% { background: transparent; }
  44%, 94% { background: var(--accent); }
  100% { background: transparent; }
}
.scan-result {
  position: absolute;
  right: 0;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 230px;
  padding: 10px 14px 10px 10px;
  border-radius: 18px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--divider);
  box-shadow: var(--shadow-modal);
  animation: result-pop 6s var(--ease-spring) infinite;
}
.scan-result .tile { background: var(--chip); }
@keyframes result-pop {
  0%, 46% { opacity: 0; transform: translateY(14px) scale(.92); }
  54%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-6px) scale(.98); }
}

/* Budget ring */
.card-budget { justify-content: space-between; }
.demo-ring {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 8px auto 0;
}
.demo-ring svg { width: 100%; height: 100%; rotate: -90deg; }
.demo-ring .ring-track,
.demo-ring .ring-fill { stroke-width: 10; }
.ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ring-label b { font-size: 24px; letter-spacing: -0.02em; }
.ring-label small { font-size: 12.5px; color: var(--text-2); }

/* Analytics — the feature card is dark in both appearances. */
.card-analytics {
  --text-1: #FFFFFF;
  --text-2: #8E8E93;
  --text-3: #636368;
  --chart-bar: #3A3A3C;
  --income: #34D399;
  background: var(--feature);
  color: var(--text-1);
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: end;
  gap: 32px;
}
.an-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.an-label { font-size: 13px; color: var(--text-2); }
.an-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 10px 4px 8px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 12px;
  font-weight: 600;
}
.an-pill .ico { stroke-width: 2.6; }
.an-total { margin-top: 6px; font-size: 42px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.daily {
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  align-items: end;
  gap: 4px;
  height: 120px;
  margin-top: 20px;
}
.daily i {
  display: block;
  height: calc(var(--h, 3) * 1%);
  border-radius: 3px;
  background: var(--accent);
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 1.1s var(--ease) .2s;
}
.daily i:not([style]) { background: var(--chart-bar); }
.is-in .daily i,
html:not(.js) .daily i { transform: scaleY(1); }
.daily-axis {
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  gap: 4px;
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.daily-axis span { grid-column: span 7; }
.daily-axis span:last-child { grid-column: span 2; }
.an-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.an-stats small { display: block; font-size: 12px; color: var(--text-2); }
.an-stats b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Search */
.card-search,
.card-lock,
.card-lang { justify-content: space-between; }
.demo-search { margin-top: 20px; }
.search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  background: var(--base);
  font-size: 16px;
}
.search-field .ico { font-size: 18px; color: var(--text-2); }
.search-field .caret { height: 1.1em; width: 2px; margin-left: -6px; }
.filter-row { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.filter-row .chip { background: var(--base); }
.filter-row .chip.is-on { background: var(--ink); }

/* Lock */
.demo-lock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
}
.faceid {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: var(--base);
  font-size: 54px;
  animation: faceid 4.5s var(--ease) infinite;
}
.faceid .ico { stroke-width: 1.5; }
@keyframes faceid {
  0%, 30% { color: var(--text-2); transform: scale(1); }
  38% { transform: scale(.92); }
  48%, 88% { color: var(--income); transform: scale(1); }
  100% { color: var(--text-2); }
}
.pin { display: flex; gap: 14px; }
.pin i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid var(--text-3);
  animation: pin 4.5s steps(1) infinite;
}
.pin i:nth-child(2) { animation-name: pin2; }
.pin i:nth-child(3) { animation-name: pin3; }
.pin i:nth-child(4) { animation-name: pin4; }
@keyframes pin  { 0%, 6% { background: transparent; } 8%, 92% { background: var(--text-1); border-color: var(--text-1); } }
@keyframes pin2 { 0%, 13% { background: transparent; } 15%, 92% { background: var(--text-1); border-color: var(--text-1); } }
@keyframes pin3 { 0%, 20% { background: transparent; } 22%, 92% { background: var(--text-1); border-color: var(--text-1); } }
@keyframes pin4 { 0%, 27% { background: transparent; } 29%, 92% { background: var(--text-1); border-color: var(--text-1); } }

/* Languages */
.demo-lang { text-align: center; margin-top: 16px; }
.lang-word {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 700;
  font-size: 54px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  height: 1.15em;
  overflow: hidden;
}
.lang-word span { display: inline-block; animation: word-in .6s var(--ease) both; }
@keyframes word-in {
  from { opacity: 0; transform: translateY(60%); filter: blur(6px); }
}
.currencies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}
.currencies span {
  min-width: 42px;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--base);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ---------- Widgets ---------- */

.widgets { padding-bottom: clamp(100px, 12vw, 160px); }
.widgets-inner .section-head { max-width: 720px; }
.widget-stage {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 16px;
}
.lockscreen,
.homescreen {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  min-height: 480px;
  background:
    radial-gradient(60% 50% at 20% 15%, #4A4A4E 0%, transparent 70%),
    radial-gradient(55% 60% at 90% 80%, #2C2C2E 0%, transparent 70%),
    radial-gradient(40% 40% at 70% 30%, #3A3A3C 0%, transparent 70%),
    #0A0A0A;
  color: #FFFFFF;
}
.homescreen {
  background:
    radial-gradient(50% 50% at 85% 10%, #4A4A4E 0%, transparent 70%),
    radial-gradient(60% 60% at 10% 90%, #3A3A3C 0%, transparent 70%),
    #111113;
}
.lockscreen { text-align: center; padding: 48px 24px; }
.ls-date { font-size: 18px; font-weight: 600; opacity: .85; }
.ls-time {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 700;
  font-size: clamp(88px, 11vw, 124px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-top: 4px;
}
.ls-widgets { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.acc-circ,
.acc-rect {
  background: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.acc-circ {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.acc-circ svg { position: absolute; inset: 7px; rotate: -90deg; }
.acc-circ .g-track { stroke: rgba(255, 255, 255, .25); }
.acc-circ .g-fill { stroke: #FFFFFF; }
.acc-circ b { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.acc-rect {
  width: 168px;
  height: 72px;
  border-radius: 20px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}
.acc-rect b { font-size: 17px; }
.acc-rect small { font-size: 12px; opacity: .72; line-height: 1.35; }

.homescreen {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-content: start;
  gap: 20px;
  padding: 32px;
}
.w {
  border-radius: 26px;
  background: var(--base);
  color: var(--text-1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: background-color .4s var(--ease), color .4s;
}
.w-small {
  grid-column: span 2;
  aspect-ratio: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
}
.w-brand { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.w-brand svg { width: 11px; height: 15px; }
.w-label { margin-top: auto; font-size: 13px; color: var(--text-2); }
.w-total { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -0.025em; }
.app-grid {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.app-grid.wide { grid-column: span 4; grid-template-columns: repeat(4, 1fr); }
.app-grid i {
  aspect-ratio: 1;
  border-radius: 24%;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .06);
}
.w-medium {
  grid-column: span 4;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.w-progress {
  width: min(220px, 100%);
  height: 7px;
  margin: 12px 0 8px;
  border-radius: 4px;
  background: var(--sunken);
  overflow: hidden;
}
.w-progress i {
  display: block;
  height: 100%;
  width: calc(var(--p) * 1%);
  border-radius: inherit;
  background: var(--progress);
}
.w-sub { font-size: 12.5px; color: var(--text-2); }
.w-add {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 16px 0 12px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 13.5px;
  font-weight: 600;
}
.w-add .ico { stroke-width: 2.6; }

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

.privacy {
  margin-inline: 16px;
  border-radius: 44px;
  background: var(--raised);
  padding-block: clamp(80px, 11vw, 140px);
  transition: background-color .4s var(--ease);
}
.privacy-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
}
.zero { display: flex; align-items: center; gap: 22px; margin-top: 44px; }
.zero-num {
  font-weight: 800;
  font-size: clamp(120px, 14vw, 180px);
  line-height: .8;
  letter-spacing: -0.05em;
}
.zero-label { font-size: 16px; line-height: 1.4; color: var(--text-2); }

.privacy-label {
  padding: 22px;
  border-radius: var(--r-lg);
  background: var(--base);
}
.pl-title { font-size: 20px; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.01em; }
.pl-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px;
  border-radius: var(--r-md);
  background: var(--raised);
  text-align: center;
}
.pl-ico {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--base);
  font-size: 24px;
}
.pl-ico .ico { stroke-width: 2.6; }
.pl-box p { font-size: 14px; color: var(--text-2); max-width: 22em; }
.pl-box b { display: block; font-size: 16px; color: var(--text-1); margin-bottom: 2px; }

.privacy-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.privacy-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: var(--base);
  transition: transform .3s var(--ease);
}
.privacy-list li:hover { transform: translateY(-2px); }
.privacy-list .ico { font-size: 22px; margin-top: 1px; }
.privacy-list span { font-size: 13.5px; color: var(--text-2); line-height: 1.4; }
.privacy-list b { display: block; font-size: 14.5px; font-weight: 600; color: var(--text-1); }

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

.faq {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  padding-top: clamp(110px, 14vw, 180px);
  align-items: start;
  padding-bottom: clamp(100px, 12vw, 160px);
}
.faq .section-head { position: sticky; top: 110px; margin: 0; }
.faq-list { border-top: 1px solid var(--divider); }
.faq-list details { border-bottom: 1px solid var(--divider); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  font-family: var(--font-display);
  font-stretch: 104%;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.015em;
  transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--text-2); }
.plus {
  position: relative;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--chip);
  transition: background-color .3s, rotate .4s var(--ease);
}
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-1);
  translate: -50% -50%;
  transition: rotate .4s var(--ease), background-color .3s;
}
.plus::after { rotate: 90deg; }
details[open] .plus { background: var(--accent); rotate: 180deg; }
details[open] .plus::before,
details[open] .plus::after { background: var(--on-accent); }
details[open] .plus::after { rotate: 0deg; }
.faq-list details p {
  padding: 0 56px 28px 0;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-2);
}
.faq-list details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size .4s var(--ease), content-visibility .4s allow-discrete;
}
.faq-list details[open]::details-content { block-size: auto; }

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

.final {
  position: relative;
  padding-top: clamp(80px, 10vw, 140px);
  overflow: hidden;
  text-align: center;
}
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final-icon {
  width: 120px;
  height: 120px;
  border-radius: 27px;
  margin-bottom: 40px;
  box-shadow: 0 30px 80px -20px rgba(200, 245, 96, calc(var(--glow) * .9)), 0 0 0 1px var(--divider);
  animation: bob 7s ease-in-out infinite;
}
.final-title { font-size: clamp(40px, 6vw, 84px); }
.final .lede { margin: 26px auto 38px; }
.wordmark {
  margin-top: clamp(60px, 8vw, 110px);
  font-family: var(--font-display);
  font-stretch: 100%;
  font-weight: 800;
  font-size: 17vw;
  line-height: .74;
  letter-spacing: -0.06em;
  white-space: nowrap;
  background: linear-gradient(180deg, var(--raised) 10%, var(--base) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  translate: 0 8%;
}

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

.footer { border-top: 1px solid var(--divider); position: relative; background: var(--base); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding-block: 36px 44px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14.5px; color: var(--text-2); }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--text-1); }
.fine { width: 100%; font-size: 12.5px; color: var(--text-3); }

/* ---------- Reveal ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
html.js .reveal.is-in { opacity: 1; transform: none; }
.hero-copy .reveal:nth-child(2) { transition-delay: .08s; }
.hero-copy .reveal:nth-child(3) { transition-delay: .16s; }
.hero-copy .reveal:nth-child(4) { transition-delay: .24s; }
.hero-copy .reveal:nth-child(5) { transition-delay: .32s; }
.bento .reveal:nth-child(even) { transition-delay: .08s; }

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

.doc {
  max-width: 760px;
  margin-inline: auto;
  padding: 140px 32px 100px;
}
.doc h1 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.doc .updated { margin-top: 14px; font-size: 14px; color: var(--text-2); }
.doc h2 {
  margin-top: 48px;
  font-family: var(--font-display);
  font-stretch: 106%;
  font-weight: 650;
  font-size: 22px;
  letter-spacing: -0.015em;
}
.doc p,
.doc li { margin-top: 14px; font-size: 16.5px; line-height: 1.7; color: var(--text-2); }
.doc ul { list-style: disc; padding-left: 22px; }
.doc strong { color: var(--text-1); font-weight: 600; }
.doc a:not(.btn) { color: var(--text-1); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--text-3); }
.doc .callout {
  margin-top: 36px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--raised);
}
.doc .callout p:first-child { margin-top: 0; }
.doc .btn { margin-top: 20px; }

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

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .lede { margin-inline: auto; }
  .cta-row,
  .hero-meta { justify-content: center; }
  .hero-stage { height: 740px; }
  .float-a { left: 6%; }
  .float-b { right: 4%; }
  .float-c { left: 8%; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .span-3,
  .span-4 { grid-column: span 2; }
  .span-2 { grid-column: span 1; }

  .privacy-inner,
  .faq { grid-template-columns: 1fr; gap: 48px; }
  .faq .section-head { position: static; }
  .widget-stage { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .card-analytics { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container,
  .nav-inner { padding-inline: 20px; }
  .doc { padding-inline: 20px; }
  .hero { padding-top: 108px; }
  .hero-stage { height: 640px; }
  .phone { scale: .86; }
  .float { scale: .88; }
  .float-a { left: -2%; top: 20%; }
  .float-b { right: -4%; }
  .float-c { left: -2%; bottom: 6%; }

  .bento { grid-template-columns: 1fr; }
  .span-2,
  .span-3,
  .span-4 { grid-column: auto; }
  .card { padding: 24px; min-height: 0; }
  .privacy { margin-inline: 8px; border-radius: 32px; }
  .privacy-list { grid-template-columns: 1fr; }
  .homescreen { padding: 22px; gap: 14px; }
  .app-grid { gap: 14px; }
  .w-medium { flex-direction: column; align-items: flex-start; }
  .faq-list details p { padding-right: 0; }
  .store-badge { height: 56px; }
  .nav-actions .btn-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .scanline { display: none; }
  .r-total { background: var(--accent); }
  .faceid { color: var(--income); }
  .pin i { background: var(--text-1); border-color: var(--text-1); }
  .phone { transform: none; }
}
