/* MoneyWiz website — one stylesheet.
   Light first, follows the system appearance, no web fonts, no external assets.
   Sizes are in rem so the Accessibility text-size control scales everything. */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --bg: #fbfbf9;
  --bg-2: #f3f3f0;
  --surface: #ffffff;
  --surface-2: #f7f7f4;
  --ink: #141518;
  --ink-2: #33353a;
  --muted: #65676e;
  --faint: #6d6f76;
  --accent: #a8530a;
  --line: rgba(20, 21, 24, .09);
  --line-2: rgba(20, 21, 24, .16);
  --btn: #141518;
  --btn-ink: #ffffff;
  --btn-hover: #2b2d33;
  --chip: rgba(20, 21, 24, .05);
  --pos: #16794c;
  --neg: #c63a31;
  --focus: #141518;
  --glow-warm: rgba(255, 183, 77, .22);
  --glow-cool: rgba(70, 196, 152, .14);
  --glow-soft: rgba(255, 140, 90, .08);
  --shadow-sm: 0 1px 2px rgba(16, 17, 20, .05), 0 2px 10px rgba(16, 17, 20, .04);
  --shadow-md: 0 2px 6px rgba(16, 17, 20, .04), 0 14px 36px rgba(16, 17, 20, .08);
  --shadow-lg: 0 6px 16px rgba(16, 17, 20, .05), 0 32px 80px rgba(16, 17, 20, .12);

  /* Hardware finishes */
  --alu: #c9cacf;
  --alu-edge: #aeb0b6;
  --ti: #cfcbc3;
  --ti-edge: #a8a49c;
  --base-top: #f1f1f3;
  --base-mid: #d3d4d8;
  --base-low: #a3a5ab;
  --band: linear-gradient(90deg, #b9bbbf, #d6d7da 50%, #b9bbbf);
  --device-shadow: rgba(15, 16, 20, .26);
  --wallpaper:
    radial-gradient(120% 110% at 0% 0%, #f9dcae 0%, rgba(249, 220, 174, 0) 55%),
    radial-gradient(110% 120% at 100% 100%, #2c6763 0%, rgba(44, 103, 99, 0) 62%),
    linear-gradient(135deg, #ebb47c 0%, #cf8c64 38%, #6f8c80 72%, #2f5459 100%);

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Inter, Roboto, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Inter, Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0c0e;
  --bg-2: #141518;
  --surface: #18191d;
  --surface-2: #1c1d21;
  --ink: #f3f3f1;
  --ink-2: #d5d6d9;
  --muted: #a0a2a9;
  --faint: #8e9097;
  --accent: #f4a54a;
  --line: rgba(255, 255, 255, .085);
  --line-2: rgba(255, 255, 255, .16);
  --btn: #f3f3f1;
  --btn-ink: #0b0c0e;
  --btn-hover: #ffffff;
  --chip: rgba(255, 255, 255, .07);
  --pos: #44d394;
  --neg: #ff7a6e;
  --focus: #f3f3f1;
  --glow-warm: rgba(255, 196, 110, .07);
  --glow-cool: rgba(80, 210, 170, .06);
  --glow-soft: rgba(255, 150, 90, .035);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, .35), 0 16px 40px rgba(0, 0, 0, .35);
  --shadow-lg: 0 6px 16px rgba(0, 0, 0, .4), 0 36px 90px rgba(0, 0, 0, .5);
  --alu: #54565c;
  --alu-edge: #6b6d74;
  --ti: #4a4844;
  --ti-edge: #6a6761;
  --base-top: #6a6c72;
  --base-mid: #44464b;
  --base-low: #2a2b2f;
  --band: linear-gradient(90deg, #2a2b2e, #3a3b3f 50%, #2a2b2e);
  --device-shadow: rgba(0, 0, 0, .6);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    color-scheme: dark;
    --bg: #0b0c0e; --bg-2: #141518; --surface: #18191d; --surface-2: #1c1d21;
    --ink: #f3f3f1; --ink-2: #d5d6d9; --muted: #a0a2a9; --faint: #8e9097; --accent: #f4a54a;
    --line: rgba(255, 255, 255, .085); --line-2: rgba(255, 255, 255, .16);
    --btn: #f3f3f1; --btn-ink: #0b0c0e; --btn-hover: #fff; --chip: rgba(255, 255, 255, .07);
    --pos: #44d394; --neg: #ff7a6e; --focus: #f3f3f1;
    --alu: #54565c; --alu-edge: #6b6d74; --ti: #4a4844; --ti-edge: #6a6761;
    --base-top: #6a6c72; --base-mid: #44464b; --base-low: #2a2b2f; --device-shadow: rgba(0, 0, 0, .6);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
html[data-theme="dark"] :is(.decision-grid article, .notice, .legal-toc, .policy-toc, .concept-step) { box-shadow: inset 0 0 0 1px var(--line); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font);
  letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--ink); text-wrap: balance; }
p, ul, ol, dl, figure { margin: 0; }
p, li { text-wrap: pretty; }
main { display: block; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(255, 183, 77, .35); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font-weight: 600; text-decoration: none; transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.75rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 700; }
h2 { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.35rem); line-height: 1.07; letter-spacing: -.028em; font-weight: 700; }
h3 { font-size: 1.3125rem; line-height: 1.25; letter-spacing: -.016em; font-weight: 650; }
h1 em, h2 em { font-style: normal; color: var(--muted); }
.lede { font-size: clamp(1.125rem, 1.02rem + .45vw, 1.3125rem); line-height: 1.5; color: var(--muted); letter-spacing: -.01em; }
.eyebrow { margin-bottom: 14px; font-size: .9375rem; font-weight: 600; letter-spacing: -.005em; color: var(--accent); }
.prose .eyebrow, .prose p.eyebrow { color: var(--accent); }
.muted { color: var(--muted); }
.fine-print, .demo-label { font-size: .8125rem; line-height: 1.5; color: var(--faint); }
.text-link { display: inline-flex; align-items: center; gap: 6px; padding-block: 10px; margin-block: -10px; font-weight: 600; font-size: 1rem; color: var(--ink); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link span[aria-hidden] { transition: transform .2s var(--ease); }
.text-link:hover span[aria-hidden] { transform: translateX(2px); }

/* ---------- Layout ---------- */
.section { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; padding-block: clamp(56px, 8vw, 104px); }
.narrow { max-width: 760px; }
.section.narrow { width: min(760px, 100% - 2 * var(--gutter)); }
.band { background: var(--bg-2); }
.band .section { padding-block: clamp(64px, 9vw, 112px); }
.section-head, .section-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head > p, .section-head > div > p:not(.eyebrow), .section-heading > div > p:not(.eyebrow) { color: var(--muted); font-size: 1.0625rem; max-width: 440px; }
.section-head > .text-link { justify-self: end; }
.section-head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.section-head--center > p { margin-inline: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Buttons ---------- */
.button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--btn); color: var(--btn-ink);
  font-size: 1rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.button:hover { background: var(--btn-hover); }
.button:active { transform: scale(.98); }
.button.secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 38%, transparent); }
.button.secondary:hover { background: var(--chip); }
.button-arrow { font-size: .95em; transition: transform .2s var(--ease); }
.button:hover .button-arrow { transform: translateX(2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; gap: 24px; width: min(var(--max), 100% - 2 * var(--gutter)); height: 64px; margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; font-family: var(--font-display); font-size: 1.1875rem; font-weight: 700; letter-spacing: -.022em; color: var(--ink); text-decoration: none; }
.brand-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px rgba(20, 21, 24, .08), 0 1px 3px rgba(20, 21, 24, .12); }
.brand-icon img { width: 22px; height: auto; }
.brand-dot { align-self: flex-start; margin: 3px 0 0 -7px; font-size: .55em; font-weight: 500; color: var(--faint); }
#main-nav { display: flex; align-items: center; }
#main-nav { gap: 6px; }
#main-nav > a { padding: 8px 12px; border-radius: 999px; font-size: .9375rem; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: color .15s, background .15s; }
#main-nav > a:hover, #main-nav > a[aria-current="page"] { color: var(--ink); }
#main-nav > a:hover { background: var(--chip); }
#main-nav > a[aria-current="page"] { font-weight: 600; }
#main-nav > .nav-download { min-height: 38px; margin-left: 10px; padding: 0 16px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
#main-nav > .nav-download:hover { background: var(--btn-hover); color: var(--btn-ink); }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding: clamp(44px, 6vw, 80px) var(--gutter) clamp(56px, 7vw, 96px); text-align: center; overflow: clip; }
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: -10% -20% 30%;
  background:
    radial-gradient(42% 46% at 22% 18%, var(--glow-warm), transparent 70%),
    radial-gradient(38% 42% at 80% 22%, var(--glow-cool), transparent 72%),
    radial-gradient(50% 50% at 50% 60%, var(--glow-soft), transparent 70%);
  filter: blur(8px);
}
.hero-copy { max-width: 900px; margin-inline: auto; }
.hero h1 { margin-top: 6px; }
.hero .lede { max-width: 600px; margin: 22px auto 0; }
.hero .actions { justify-content: center; margin-top: 32px; }
.platform-line { margin-top: 20px; font-size: .875rem; color: var(--faint); }

.hero-stage { position: relative; container-type: inline-size; width: min(1320px, 100%); margin: clamp(40px, 5vw, 64px) auto 0; aspect-ratio: 1220 / 540; }
.hero-stage::after { content: ""; position: absolute; z-index: -1; left: 6%; right: 6%; bottom: -1%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, var(--device-shadow), transparent); opacity: .35; filter: blur(14px); }
.hero-stage > .dev { position: absolute; }
.hero-stage .stage-mac { width: 63cqw; left: 18.5cqw; bottom: 0; }
.hero-stage .stage-ipad { width: 31cqw; left: 0; bottom: 0; }
.hero-stage .stage-duo { width: 26cqw; right: 0; bottom: 1cqw; }
.hero-stage .stage-iphone { width: 10.5cqw; left: 28.5cqw; bottom: 0; }
.stage-caption { margin-top: 26px; font-size: .8125rem; color: var(--faint); }

/* ---------- Devices ----------
   Hardware is drawn around the untouched capture. Each screen is clipped only by that
   device's own display-corner radius, as the physical display does. Sizes use cqw of the device. */
.dev {
  position: relative; display: block; width: 100%; container-type: inline-size;
  padding: 0; margin: 0; border: 0; background: none; color: inherit; font: inherit; text-align: initial;
  cursor: zoom-in; -webkit-tap-highlight-color: transparent; isolation: isolate;
}
.dev:focus-visible { outline: none; }
.dev picture, .dev img { display: block; width: 100%; height: 100%; }
.dev img { object-fit: cover; }
.dev-screen { display: block; position: relative; overflow: hidden; background: #000; isolation: isolate; }
.dev-enlarge {
  position: absolute; z-index: 5; right: 4%; bottom: 6%;
  display: grid; place-items: center; width: clamp(22px, 8cqw, 40px); height: clamp(22px, 8cqw, 40px);
  border-radius: 50%; background: rgba(20, 21, 24, .72); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transform: scale(.9); transition: opacity .2s var(--ease), transform .2s var(--ease);
  pointer-events: none;
}
.dev--mac .dev-enlarge { right: 9.5%; bottom: 14%; }
.dev--watch .dev-enlarge { right: 15%; bottom: 25%; }
.hero-stage :is(.stage-mac, .stage-ipad) .dev-enlarge { bottom: auto; top: 9%; }
.dev-enlarge svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dev:hover .dev-enlarge, .dev:focus-visible .dev-enlarge { opacity: 1; transform: none; }
@media (hover: none) { .dev-enlarge { opacity: .9; transform: none; } }
.dev:focus-visible .dev-body { outline: 3px solid var(--focus); outline-offset: 6px; }
.dev--mac:focus-visible, .dev--fold:focus-visible { outline: 3px solid var(--focus); outline-offset: 24px; border-radius: 24px; }
.dev > :is(.dev-body, .mac-lid, .mac-base, .duo-scene, .watch-band, .watch-crown, .watch-side) { transition: transform .35s var(--ease); }
@media (hover: hover) { .dev:hover > :is(.dev-body, .mac-lid, .mac-base, .duo-scene, .watch-band, .watch-crown, .watch-side) { transform: translateY(-3px); } }

/* iPad Air 13-inch, landscape: ~3% bezel, 18pt display corners on a 1366pt screen. */
.dev--ipad .dev-body {
  display: block; position: relative; padding: 3.05cqw; border-radius: 4.3cqw; background: #0a0a0c;
  box-shadow: 0 0 0 .3cqw var(--alu), 0 0 0 .42cqw var(--alu-edge),
    0 2.6cqw 6cqw -1.5cqw var(--device-shadow), 0 .8cqw 2cqw rgba(15, 16, 20, .1);
}
.dev--ipad .dev-screen { aspect-ratio: 2732 / 2048; border-radius: 1.25cqw; }
.dev--ipad .dev-cam { position: absolute; top: 1.28cqw; left: 50%; width: .5cqw; height: .5cqw; margin-left: -.25cqw; border-radius: 50%; background: #1b1d22; box-shadow: inset 0 0 0 .1cqw #2c2f38; }

/* iPhone Air: 420×912pt display, ~62pt corners, Dynamic Island centred on the status bar. */
.dev--iphone .dev-body {
  display: block; position: relative; padding: 3.75cqw; border-radius: 17.4cqw; background: #050506;
  box-shadow: 0 0 0 .9cqw var(--ti), 0 0 0 1.3cqw var(--ti-edge),
    0 3cqw 7cqw -1.5cqw var(--device-shadow), 0 1cqw 2.4cqw rgba(15, 16, 20, .12);
}
.dev--iphone .dev-body::before, .dev--iphone .dev-body::after { content: ""; position: absolute; width: 1cqw; border-radius: .6cqw; background: var(--ti-edge); }
.dev--iphone .dev-body::before { right: -2.2cqw; top: 25%; height: 12%; }
.dev--iphone .dev-body::after { left: -2.2cqw; top: 23%; height: 6%; box-shadow: 0 15cqw 0 var(--ti-edge); }
.dev--iphone .dev-screen { aspect-ratio: 1260 / 2736; border-radius: 13.65cqw; }
.dev-island { position: absolute; z-index: 2; top: 4.34cqw; left: 50%; width: 27.7cqw; height: 8.15cqw; transform: translateX(-50%); border-radius: 99px; background: #000; }

/* iPhone Duo, closed: the outer display. */
.dev--duo-closed .dev-body {
  display: block; position: relative; padding: 3.4cqw; border-radius: 11cqw; background: #050506;
  box-shadow: 0 0 0 .9cqw var(--ti), 0 0 0 1.3cqw var(--ti-edge),
    0 3cqw 7cqw -1.5cqw var(--device-shadow), 0 1cqw 2.4cqw rgba(15, 16, 20, .12);
}
.dev--duo-closed .dev-screen { aspect-ratio: 1398 / 2034; border-radius: 7.8cqw; }

/* iPhone Duo, open. Flat variant, and a folding variant built from two halves of one capture. */
.dev--duo .dev-body {
  display: block; position: relative; padding: 2.2cqw; border-radius: 4.8cqw; background: #050506;
  box-shadow: 0 0 0 .45cqw var(--ti), 0 0 0 .65cqw var(--ti-edge), 0 2.6cqw 6cqw -1.5cqw var(--device-shadow);
}
.dev--duo .dev-screen { aspect-ratio: 2853 / 2007; border-radius: 2.7cqw; }

@property --fold { syntax: "<angle>"; inherits: true; initial-value: 20deg; }
.dev--fold { --fold: 20deg; animation: duo-fold 10s ease-in-out infinite; }
.duo-scene { display: flex; perspective: 320cqw; transform-style: preserve-3d; }
.duo-half {
  position: relative; display: block; flex: 1 1 0; min-width: 0; padding-block: 2.2cqw; background: #050506;
  backface-visibility: hidden;
}
.duo-half--left { margin-right: -1px; padding-left: 2.2cqw; border-radius: 4.8cqw 0 0 4.8cqw; transform-origin: 100% 50%; transform: rotateY(var(--fold));
  box-shadow: 0 0 0 .45cqw var(--ti), 0 0 0 .65cqw var(--ti-edge); clip-path: inset(-3cqw 0 -3cqw -3cqw); }
.duo-half--right { padding-right: 2.2cqw; border-radius: 0 4.8cqw 4.8cqw 0; transform-origin: 0 50%; transform: rotateY(calc(var(--fold) * -1));
  box-shadow: 0 0 0 .45cqw var(--ti), 0 0 0 .65cqw var(--ti-edge); clip-path: inset(-3cqw -3cqw -3cqw 0); }
.duo-half .dev-screen, .duo-screen { display: block; position: relative; overflow: hidden; aspect-ratio: 1426.5 / 2007; background: #000; }
.duo-half--left .duo-screen { border-radius: 2.7cqw 0 0 2.7cqw; }
.duo-half--right .duo-screen { border-radius: 0 2.7cqw 2.7cqw 0; }
.duo-screen picture { position: absolute; top: 0; bottom: 0; left: 0; width: 200%; max-width: none; height: 100%; }
.duo-half--right .duo-screen picture { left: -100%; }
.duo-half::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; animation: duo-shade 10s ease-in-out infinite; }
.duo-half--left::after { background: linear-gradient(90deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, .04) 70%, rgba(255, 255, 255, .05)); }
.duo-half--right::after { background: linear-gradient(270deg, rgba(0, 0, 0, .16), rgba(0, 0, 0, 0) 70%, rgba(255, 255, 255, .06)); }
.dev--fold::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: -16%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, var(--device-shadow), transparent); filter: blur(6px); opacity: .7; }
.dev--fold:hover, .dev--fold:focus-visible { animation-play-state: paused; }
.dev--fold:hover .duo-half::after, .dev--fold:focus-visible .duo-half::after { animation-play-state: paused; }
@keyframes duo-fold { 0%, 100% { --fold: 26deg; } 50% { --fold: 7deg; } }
@keyframes duo-shade { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* MacBook Pro 14-inch, front view, the native window over a quiet wallpaper. */
.dev--mac .mac-lid {
  display: block; position: relative; width: 92cqw; margin-inline: auto; padding: 2.1cqw 2cqw 2.2cqw;
  border-radius: 2.75cqw 2.75cqw .9cqw .9cqw; background: #0a0a0c;
  box-shadow: 0 0 0 .22cqw var(--alu), 0 0 0 .32cqw var(--alu-edge);
}
.mac-screen { display: block; position: relative; overflow: hidden; aspect-ratio: 3024 / 1964; border-radius: .65cqw .65cqw .25cqw .25cqw; background: var(--wallpaper); isolation: isolate; }
.mac-window {
  position: absolute; left: 8%; width: 84%; top: 9.5%; aspect-ratio: 2048 / 1280; overflow: hidden;
  border-radius: 1.08cqw; background: #fff;
  box-shadow: 0 0 0 .07cqw rgba(0, 0, 0, .35), 0 1.4cqw 3.6cqw rgba(0, 0, 0, .38), 0 .3cqw .8cqw rgba(0, 0, 0, .2);
}
.mac-menubar { position: absolute; inset: 0 0 auto; height: 4.6%; background: rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.mac-notch { position: absolute; z-index: 2; top: 0; left: 50%; width: 11.5cqw; height: 1.95cqw; transform: translateX(-50%); border-radius: 0 0 .75cqw .75cqw; background: #0a0a0c; }
.mac-base {
  display: block; position: relative; height: 3.1cqw; margin-top: -.15cqw;
  border-radius: .35cqw .35cqw 2.6cqw 2.6cqw / .35cqw .35cqw 2.2cqw 2.2cqw;
  background: linear-gradient(180deg, var(--base-top) 0%, var(--base-mid) 32%, var(--base-low) 100%);
  box-shadow: inset 0 .12cqw 0 rgba(255, 255, 255, .55), 0 2.4cqw 4cqw -1.6cqw var(--device-shadow);
}
.mac-base::before { content: ""; position: absolute; top: 0; left: 50%; width: 15cqw; height: 1.05cqw; transform: translateX(-50%); border-radius: 0 0 1.2cqw 1.2cqw; background: linear-gradient(180deg, var(--base-low), var(--base-mid)); opacity: .8; }

/* Apple Watch, 46mm: display 416×496px, large display corners, crown and side button. */
/* Percent padding: a container cannot size its own padding in its own cqw. The .dev fills its parent. */
.dev--watch { padding-block: 22%; }
.dev--watch .dev-body {
  display: block; position: relative; z-index: 1; padding: 7.5cqw; border-radius: 31cqw; background: #050506;
  box-shadow: 0 0 0 1.7cqw var(--alu), 0 0 0 2.3cqw var(--alu-edge), 0 4cqw 9cqw -2cqw var(--device-shadow);
}
.dev--watch .dev-screen { aspect-ratio: 416 / 496; border-radius: 21cqw; }
.watch-band { position: absolute; left: 17cqw; right: 17cqw; height: 26cqw; background: var(--band); }
.watch-band--top { top: 0; border-radius: 6cqw 6cqw 0 0; -webkit-mask-image: linear-gradient(to top, #000 55%, transparent); mask-image: linear-gradient(to top, #000 55%, transparent); }
.watch-band--bottom { bottom: 0; border-radius: 0 0 6cqw 6cqw; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
.watch-crown { position: absolute; z-index: 0; right: -5.6cqw; top: calc(22cqw + 22cqw); width: 6cqw; height: 18cqw; border-radius: 1.8cqw; background: linear-gradient(90deg, var(--alu-edge), var(--alu) 60%, var(--alu-edge)); }
.watch-side { position: absolute; z-index: 0; right: -3.4cqw; top: calc(22cqw + 58cqw); width: 3.4cqw; height: 22cqw; border-radius: 1.4cqw; background: var(--alu-edge); }

/* Device pairs: the wide device on larger screens, the phone capture on phones. */
.dev-pair > .dev-pair-phone { display: none; }

/* ---------- Product tour ---------- */
.tour { position: relative; }
.tour-tabs { display: inline-flex; gap: 4px; padding: 5px; margin-bottom: clamp(28px, 4vw, 44px); border-radius: 999px; background: var(--chip); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tour-tabs::-webkit-scrollbar { display: none; }
.tour-tabs { scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); }
.tour-tabs button { scroll-snap-align: start; flex: none; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: .9375rem; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .2s var(--ease), color .2s var(--ease); }
.tour-tabs button:hover { color: var(--ink); }
.tour-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.band .tour-tabs { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.tour-panel { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.tour-panel[hidden] { display: none; }
.tour-panel:focus-visible { outline: none; }
.tour-index { display: block; margin-bottom: 18px; font-size: .8125rem; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.tour-copy h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.12; letter-spacing: -.024em; font-weight: 700; }
.tour-copy p { margin: 16px 0 24px; color: var(--muted); }
.tour-device { padding: 12px 6px; }

/* ---------- Why MoneyWiz ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.why-card { position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); overflow: hidden; }
.why-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 140px; background: radial-gradient(90% 100% at 0% 0%, var(--glow-warm), transparent 70%); opacity: .55; pointer-events: none; }
.why-card:nth-child(2)::before { background: radial-gradient(90% 100% at 50% 0%, var(--glow-cool), transparent 70%); }
.why-card:nth-child(3)::before { background: radial-gradient(90% 100% at 100% 0%, var(--glow-soft), transparent 70%); opacity: 1; }
.why-icon { position: relative; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 26px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.why-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.why-kicker { position: relative; font-size: .8125rem; font-weight: 600; color: var(--faint); margin-bottom: 8px; }
.why-card h3 { position: relative; font-size: 1.4375rem; line-height: 1.18; letter-spacing: -.02em; }
.why-card > p:not(.why-kicker) { margin-top: 12px; color: var(--muted); font-size: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 24px; padding: 0; list-style: none; }
.chips li { padding: 5px 11px; border-radius: 999px; background: var(--chip); font-size: .8125rem; font-weight: 500; color: var(--ink-2); }
.why-card .text-link { margin-top: auto; font-size: .9375rem; }

/* ---------- Duo story ---------- */
.duo-story { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.duo-story-copy p:not(.eyebrow) { margin-top: 18px; color: var(--muted); max-width: 440px; }
.duo-story-copy .fine-print { margin-top: 18px; }
.duo-pair { display: grid; grid-template-columns: minmax(0, .38fr) minmax(0, 1fr); gap: clamp(20px, 3.5vw, 44px); align-items: end; }
.duo-pair figure { display: grid; gap: 18px; justify-items: center; }
.duo-pair figure > .dev { width: 100%; }
.duo-pair figcaption, .device-caption { font-size: .8125rem; color: var(--faint); text-align: center; }
.duo-pair figcaption strong, .device-caption strong { display: block; color: var(--ink); font-size: .9375rem; font-weight: 600; }

/* ---------- Watch ---------- */
.watch-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.watch-story > div:first-child p:not(.eyebrow):not(.fine-print) { margin: 18px 0 22px; color: var(--muted); max-width: 470px; }
.watch-story .fine-print { margin-top: 16px; }
.watch-screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 48px); max-width: 460px; justify-self: center; width: 100%; }
.watch-screens figure { display: grid; gap: 4px; justify-items: center; }
.watch-screens .dev { width: 100%; }

/* ---------- Decision cards, FAQ, reviews ---------- */
.decision-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.decision-grid + .faq-section { padding-top: 0; }
.decision-grid article { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--bg-2); }
.decision-grid h2 { font-size: clamp(1.6rem, 1.25rem + 1vw, 2.125rem); }
.decision-grid p:not(.eyebrow) { margin: 14px 0 26px; color: var(--muted); max-width: 480px; }
.decision-grid .text-link { margin-top: auto; }

.faq-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-section > div > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 2px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.012em; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--chip); font-size: 0; color: transparent; transition: transform .25s var(--ease), background .2s; }
.faq-list summary > span::before, .faq-list summary > span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -.8px 0 0 -5.5px; border-radius: 1px; background: var(--ink); transition: transform .25s var(--ease); }
.faq-list summary > span::after { transform: rotate(90deg); }
.faq-list details[open] summary > span::after { transform: rotate(0deg); }
.faq-list summary:hover > span { background: var(--line-2); }
.faq-list details > p { padding: 0 48px 24px 2px; color: var(--muted); }

.review-proof { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 28px; border-block: 1px solid var(--line); }
.review-proof p { font-size: 1.0625rem; font-weight: 600; }

/* ---------- Closing CTA ---------- */
.closing-cta { position: relative; isolation: isolate; overflow: clip; width: 100%; max-width: none; padding: clamp(80px, 11vw, 140px) var(--gutter); text-align: center; background: var(--bg-2); }
.closing-cta::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(40% 60% at 30% 100%, var(--glow-warm), transparent 70%), radial-gradient(40% 60% at 72% 0%, var(--glow-cool), transparent 70%); }
.closing-cta > div { max-width: 760px; margin-inline: auto; display: grid; justify-items: center; }
.cta-icon { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 26px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(20, 21, 24, .06), 0 10px 30px rgba(20, 21, 24, .14); }
.cta-icon img { width: 52px; }
.closing-cta p:not(.eyebrow) { margin: 16px 0 30px; color: var(--muted); font-size: 1.125rem; }
.closing-cta .actions { justify-content: center; }
.cta-orbit { display: none; }

/* ---------- Footer ---------- */
footer { padding: 64px var(--gutter) 96px; background: var(--bg); border-top: 1px solid var(--line); font-size: .875rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; width: min(var(--max), 100%); margin-inline: auto; }
.footer-top > div { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.footer-top > div > a:not(.brand) { padding-block: 6px; }
.footer-top .brand { margin: 0 0 8px; font-size: 1.0625rem; }
.footer-top p { color: var(--muted); }
.footer-top h2 { margin-bottom: 4px; font-family: var(--font); font-size: .875rem; font-weight: 600; letter-spacing: 0; }
.footer-top a:not(.brand) { color: var(--muted); text-decoration: none; }
.footer-top a:not(.brand):hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; width: min(var(--max), 100%); margin: 48px auto 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: .8125rem; }
.footer-bottom div { display: flex; gap: 20px; }
.footer-bottom a { padding-block: 10px; margin-block: -10px; color: var(--faint); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }

/* ---------- Inner pages ---------- */
.breadcrumbs.section { display: flex; gap: 8px; padding-block: 28px 0; font-size: .875rem; color: var(--faint); }
.breadcrumbs a { padding-block: 10px; margin-block: -10px; color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.page-hero { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 4vw, 48px); text-align: center; }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.5rem); max-width: 940px; margin-inline: auto; }
.page-hero .lede { max-width: 680px; margin: 22px auto 0; }
.page-hero .actions { justify-content: center; margin-top: 30px; }
.page-hero .fine-print { margin-top: 14px; }
.breadcrumbs + .page-hero { padding-top: clamp(28px, 4vw, 48px); }

.page-hero--visual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; text-align: left; padding-block: clamp(48px, 7vw, 96px); }
.page-hero--visual h1, .page-hero--visual .lede { margin-inline: 0; }
.page-hero--visual h1 { font-size: clamp(2.4rem, 1.5rem + 3vw, 4rem); }
.page-hero--visual .actions { justify-content: flex-start; }
.page-hero--visual > .visual-story-art { min-width: 0; }
.page-hero--visual.visual-story--phone > .visual-story-art { width: min(300px, 100%); justify-self: center; }

.section-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding-block: 0 8px; }
.section-nav a { padding: 8px 16px; border-radius: 999px; background: var(--chip); color: var(--ink-2); font-size: .875rem; font-weight: 500; text-decoration: none; }
.section-nav a:hover { color: var(--ink); background: var(--line-2); }

.feature-detail { padding-top: clamp(40px, 5vw, 64px); }
.wide-screenshot { width: min(1040px, 100%); margin-inline: auto; padding: 8px; }
.image-caption { margin-top: 26px; text-align: center; font-size: .8125rem; color: var(--faint); }
.detail-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
.detail-points > div { padding: 26px 24px; border-radius: var(--radius); background: var(--bg-2); }
.detail-points h2 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -.014em; font-weight: 600; }
.feature-number { display: block; margin-bottom: 14px; font-size: .8125rem; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.notice { margin-top: 32px; padding: 22px 26px; border-radius: var(--radius); background: var(--bg-2); color: var(--muted); font-size: .9375rem; }
.notice h2 { font-size: 1.5rem; margin-bottom: 10px; }
.notice p + .text-link, .notice p + .button { margin-top: 16px; }
.section.notice { width: min(var(--max), 100% - 2 * var(--gutter)); padding: clamp(32px, 5vw, 56px); margin-bottom: clamp(64px, 9vw, 120px); }

.visual-story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.visual-story-copy p:not(.eyebrow) { margin-top: 18px; color: var(--muted); }
.visual-story-art { min-width: 0; display: grid; gap: 18px; }
.visual-story-art > figcaption { text-align: center; font-size: .8125rem; color: var(--faint); }
.visual-story--phone > .visual-story-art { width: min(300px, 100%); justify-self: center; }
.story-example { border-top: 1px solid var(--line); }
.story-example h2, .prose.story-example h2, .story-example .prose h2 { margin: 0; font-size: clamp(2rem, 1.35rem + 2.5vw, 3.35rem); }
.split-section h2, .faq-section h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); }
.story-example:not(.visual-story) .visual-story-copy { margin-inline: auto; text-align: center; }

.split-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; border-top: 1px solid var(--line); }
.split-section > div > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); }
.split-section > div > .button, .split-section > div > .text-link { margin-top: 24px; }
.technical-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.technical-list li { position: relative; padding: 18px 0 18px 36px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.technical-list li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 20px; height: 20px; border-radius: 50%; background: var(--chip); }
.technical-list li::after { content: ""; position: absolute; left: 4px; top: 23px; width: 16px; height: 16px; background: var(--pos); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
#questions { padding-top: 0; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.related-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.related-links a:hover { background: var(--chip); }
.related { padding-block: clamp(40px, 5vw, 64px) clamp(64px, 9vw, 112px); border-top: 1px solid var(--line); }
.related h2 { font-size: 1.75rem; }
.card-arrow { position: absolute; top: 18px; right: 20px; font-size: 1.125rem; color: var(--faint); transition: transform .2s var(--ease), color .2s; }
.feature-card:hover .card-arrow { color: var(--ink); transform: translateX(3px); }
.cta-reviews { margin-top: 22px; font-size: .9375rem; color: var(--muted); }
.steps.steps--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.download-stage { padding-block: 0 clamp(48px, 6vw, 80px); }
.download-stage .hero-stage { margin-top: 0; }
.download-stage .stage-caption { text-align: center; }

/* Feature directory */
.feature-directory { border-top: 1px solid var(--line); }
.feature-directory { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.directory-copy h2 { margin-bottom: 12px; }
.directory-copy > p { color: var(--muted); margin-bottom: 28px; max-width: 460px; }
.feature-directory-visual { min-width: 0; display: grid; gap: 14px; }
.feature-directory-visual > figcaption { text-align: center; font-size: .8125rem; color: var(--faint); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.feature-card { position: relative; display: flex; flex-direction: column; padding: 20px 52px 20px 22px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.feature-card:hover { box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-md); transform: translateY(-2px); }
.feature-card h3 { font-size: 1.1875rem; }
.feature-card p { margin-top: 6px; color: var(--muted); font-size: .9375rem; }
.feature-card .text-link { margin-top: auto; padding-top: 18px; font-size: .875rem; }

/* Concept diagrams: explanatory, deliberately not app UI. */
.concept-map { padding: clamp(22px, 3vw, 34px); border-radius: var(--radius-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.concept-map-title { margin-bottom: 8px; font-size: .8125rem; font-weight: 600; color: var(--faint); }
.concept-steps { display: flex; align-items: stretch; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.concept-step { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; border-radius: 18px; background: var(--bg-2); }
.concept-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 10px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.concept-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.concept-step strong { font-size: .9375rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }
.concept-step > span:last-child { font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.concept-op { flex: none; align-self: center; font-size: 1.75rem; font-weight: 500; line-height: 1; color: var(--faint); }
.concept-op--arrow { font-size: 1.125rem; }
.concept-map--math .concept-step:last-child { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink); }
.concept-hub { position: relative; margin-top: 12px; padding-top: 22px; text-align: center; }
.concept-hub::before { content: ""; position: absolute; top: 0; left: 16%; right: 16%; height: 12px; border: 1.5px solid var(--line-2); border-top: 0; border-radius: 0 0 14px 14px; }
.concept-hub::after { content: ""; position: absolute; top: 12px; left: 50%; width: 1.5px; height: 10px; background: var(--line-2); }
.concept-hub span { display: inline-block; padding: 8px 18px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font-size: .875rem; font-weight: 600; }
.concept-map-note { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--faint); }

/* AI questions */
.ai-question-story { text-align: center; border-top: 1px solid var(--line); }
.question-examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 26px 0 18px; }
.question-examples > p { padding: 26px 24px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font-display); font-size: 1.1875rem; font-weight: 600; letter-spacing: -.014em; text-align: left; }

/* Pricing */
.pricing-section { padding-top: clamp(24px, 3vw, 40px); }
.billing-label { text-align: center; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.billing-label span { display: block; font-weight: 400; color: var(--faint); font-size: .8125rem; margin-top: 2px; }
.billing-toggle { display: flex; gap: 2px; width: fit-content; margin: 12px auto 36px; padding: 3px; border-radius: 999px; background: var(--chip); }
.billing-toggle button { min-height: 32px; padding: 0 12px; font-size: .8125rem !important; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 600; font-size: .9375rem; cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 920px; margin-inline: auto; align-items: start; }
.price-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.price-card-head .eyebrow { margin: 0; }
.price-card-head .billing-toggle { margin: 0; }
.price-card { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.price-card.featured { box-shadow: inset 0 0 0 1px var(--line-2), 0 0 0 1px var(--ink), var(--shadow-md); }
html[data-theme="dark"] .price-card.featured { box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-lg); }
.price-card .eyebrow { margin-bottom: 8px; }
.price-card h2 { font-size: 1.75rem; }
.price-card > p:not(.eyebrow):not(.price-note) { margin-top: 10px; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 28px; font-family: var(--font-display); font-size: 3rem; font-weight: 700; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.price span { font-size: inherit; }
.price #premium-period, .price > span:last-child:not(#premium-price) { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.price-note { margin: 6px 0 24px; font-size: .8125rem; color: var(--faint); }
.price-card .button { width: 100%; }
.price-card ul { display: grid; gap: 10px; margin: 26px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line); }
.price-card li { position: relative; padding-left: 28px; font-size: .9375rem; color: var(--ink-2); }
.price-card li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--chip); }
.price-card li::after { content: ""; position: absolute; left: 2px; top: 4px; width: 14px; height: 14px; background: var(--pos); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 24px); padding: 5px 12px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font-size: .75rem; font-weight: 600; text-align: center; }
.ai-pricing-note { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); gap: 8px 32px; align-items: start; max-width: 920px; margin: 48px auto 0; padding: 28px 0; border-block: 1px solid var(--line); }
.ai-pricing-note h2 { grid-row: span 2; font-size: 1.5rem; }
.ai-pricing-note p { color: var(--muted); font-size: .9375rem; }
.pricing-section > .notice { max-width: 920px; margin: 24px auto 0; }
.pricing-disclaimer { max-width: 68ch; margin: 24px auto 0; text-align: center; font-size: .8125rem; color: var(--faint); }

/* Download */
.download-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; padding-top: 0; }
.download-main { display: grid; justify-items: start; gap: 14px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.download-main > img { width: 84px; height: 84px; padding: 14px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(20, 21, 24, .06), 0 8px 24px rgba(20, 21, 24, .12); object-fit: contain; }
.download-main h2 { font-size: 2rem; }
.download-main p:not(.fine-print) { color: var(--muted); }
.devices-list { display: grid; border-top: 1px solid var(--line); }
.devices-list > div { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 2px 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.devices-list span { grid-row: span 2; font-size: .8125rem; font-weight: 600; color: var(--faint); padding-top: 3px; font-variant-numeric: tabular-nums; }
.devices-list h3 { font-size: 1.125rem; }
.devices-list p { color: var(--muted); font-size: .9375rem; }

/* Steps, editorial and support grids */
.steps, .support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: clamp(24px, 3vw, 40px); }
.steps article, .support-card { display: flex; flex-direction: column; padding: 28px 26px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); text-decoration: none; }
.steps span, .support-card > span { margin-bottom: 26px; font-size: .8125rem; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.steps h2, .support-card h2 { font-size: 1.375rem; }
.steps p, .support-card p { margin-top: 10px; color: var(--muted); font-size: .9375rem; }
.support-card { transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.support-card:hover { box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-md); transform: translateY(-2px); }
.support-card b { margin-top: auto; padding-top: 22px; font-size: .9375rem; }
.editorial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 64px; }
.editorial-grid article { padding-top: 22px; border-top: 1px solid var(--line); }
.editorial-grid h2 { font-size: 1.5rem; }
.editorial-grid p { margin-top: 10px; color: var(--muted); }
.editorial-grid .text-link { margin-top: 14px; font-size: .9375rem; }
.section.narrow > .editorial-grid { grid-template-columns: 1fr; gap: 28px; }
.section.narrow > .button { margin-top: 32px; }

/* Prose and legal */
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 30px 0 10px; font-size: 1.1875rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { margin: 14px 0; padding-left: 1.3em; }
.prose li + li { margin-top: 6px; }
.prose .actions { margin-top: 32px; }
.prose a:not(.button):not(.text-link) { text-decoration: underline; overflow-wrap: anywhere; }
.prose p, .prose li, .visual-story-copy p, .notice p { max-width: 68ch; }
.legal-copy { display: flex; flex-direction: column; font-size: 1rem; }
.legal-copy > h1 { order: -2; margin-bottom: 18px; font-size: clamp(2.2rem, 1.4rem + 2.5vw, 3.5rem); }
.legal-copy > h1 + p { margin-top: 0; color: var(--muted); }
.legal-copy > .legal-toc { order: -1; margin-top: 8px; }
.legal-copy a[href^="http"]::after { content: " ↗"; font-size: .85em; }
.policy-toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 28px 0 8px; padding: 18px 20px; border-radius: var(--radius); background: var(--bg-2); }
.policy-toc p { flex-basis: 100%; margin: 0 0 6px !important; font-weight: 600; color: var(--ink); }
.policy-toc a { padding: 7px 12px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: .875rem; text-decoration: none !important; color: var(--ink-2); }
.policy-toc a:hover { color: var(--ink); }
.legal-copy h2 { font-size: 1.375rem; scroll-margin-top: 90px; }
.legal-copy table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .9375rem; display: block; overflow-x: auto; }
.legal-copy th, .legal-copy td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-toc { margin-bottom: 40px; padding: 4px 22px; border-radius: var(--radius); background: var(--bg-2); }
.legal-toc summary { padding: 16px 0; font-weight: 600; cursor: pointer; }
.legal-toc ol { margin: 0 0 18px; padding-left: 1.3em; columns: 2; column-gap: 32px; font-size: .9375rem; }
.legal-toc a { text-decoration: none; color: var(--ink-2); }
.legal-toc a:hover { text-decoration: underline; }

/* Savings illustration (budgets page) */
.forecast-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.forecast-section > div:first-child p:not(.eyebrow):not(.demo-label) { margin: 18px 0 14px; color: var(--muted); }
.forecast-card { padding: clamp(24px, 3.5vw, 36px); border-radius: var(--radius-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-md); }
.forecast-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.forecast-top span { font-size: .875rem; font-weight: 600; color: var(--muted); }
.forecast-top output { font-family: var(--font-display); font-size: clamp(2.25rem, 1.6rem + 2vw, 3rem); font-weight: 700; letter-spacing: -.035em; font-variant-numeric: tabular-nums; color: var(--pos); }
.demo-bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; align-items: end; height: 150px; margin: 24px 0; }
.demo-bars span { height: var(--bar); min-height: 4px; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--pos), color-mix(in srgb, var(--pos) 55%, transparent)); transition: height .3s var(--ease); }
.forecast-card label { display: flex; justify-content: space-between; gap: 12px; font-size: .9375rem; font-weight: 600; }
.forecast-card input[type="range"] { width: 100%; height: 44px; margin: 0; accent-color: var(--ink); }
.range-labels { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--faint); }
.forecast-card .fine-print { margin-top: 14px; }

/* ---------- Screenshot viewer ---------- */
body.shot-open { overflow: hidden; }
.shot-dialog {
  width: min(1480px, 100vw - 32px); max-width: none; height: min(94svh, 100svh - 24px); max-height: none;
  margin: auto; padding: 0; border: 0; border-radius: 22px; background: var(--surface); color: var(--ink);
  box-shadow: 0 30px 120px rgba(0, 0, 0, .45); overflow: hidden;
}
.shot-dialog[open] { display: flex; flex-direction: column; }
.shot-dialog::backdrop { background: rgba(8, 9, 11, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.shot-dialog h2 { flex: 0 0 auto; padding: 18px 72px 14px 24px; font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.shot-dialog [data-close-shot] { position: absolute; top: 8px; right: 10px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--chip); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.shot-dialog [data-close-shot]:hover { background: var(--line-2); }
.shot-dialog-hint { display: none; margin: -6px 24px 10px; font-size: .8125rem; color: var(--muted); }
@media (max-width: 600px) and (orientation: portrait) { .shot-dialog:has(img:not([data-portrait])) .shot-dialog-hint { display: block; } }
.shot-dialog-image { flex: 1 1 0; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 20px 20px; overflow: hidden; }
/* Flex item with a zero basis inside a fixed-height dialog: percentages resolve, so the whole capture always fits. */
.shot-dialog-image img[data-kind="mac"] { border-radius: 1.5% / 2.4%; }
.shot-dialog-image img[data-kind="iphone"] { border-radius: 14.76% / 6.8%; }
.shot-dialog-image img[data-kind="watch"] { border-radius: 21% / 17.6%; }
.shot-dialog-image img[data-kind="ipad"] { border-radius: 1.3% / 1.75%; }
.shot-dialog-image img { flex: none; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 0 0 1px var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  #main-nav { gap: 20px; }
  .why-icon { margin-bottom: 20px; }
}
@media (min-width: 901px) and (max-width: 1080px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 22px; }
  .why-card:last-child > * { grid-column: 2; }
  .why-card:last-child > .why-icon { grid-column: 1; grid-row: 1 / span 5; margin: 0; }
  .tour-panel { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
}
@media (max-width: 1080px) {
  .duo-story { grid-template-columns: 1fr; }
  .duo-story-copy { text-align: center; }
  .duo-story-copy p:not(.eyebrow) { margin-inline: auto; }
}

@media (max-width: 900px) {
  .nav-wrap { height: 58px; gap: 12px; }
  .menu-toggle {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; margin-left: auto; margin-right: -10px;
    padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer;
  }
  .menu-toggle span { display: block; width: 20px; height: 1.6px; border-radius: 1px; background: var(--ink); transition: transform .25s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
  .brand { margin-right: 0; }
  #main-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100dvh - 58px); overflow-y: auto; overscroll-behavior: contain;
    padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  #main-nav.is-open { display: flex; }
  #main-nav > a { padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.1875rem; font-weight: 600; color: var(--ink); }
  #main-nav > a:hover { background: none; }
  #main-nav > .nav-download { justify-content: center; min-height: 50px; margin: 18px 0 0; border-radius: 999px; border-bottom: 0; font-size: 1rem; }
  .why-grid { grid-template-columns: 1fr; }
  .feature-directory { grid-template-columns: 1fr; }
  .feature-directory-visual { order: -1; width: min(620px, 100%); justify-self: center; }
  .section-head, .section-heading { grid-template-columns: 1fr; }
  .section-head > .text-link { justify-self: start; }
  .tour-panel { grid-template-columns: 1fr; }
  .tour-copy { max-width: 560px; }
  .visual-story, .page-hero--visual, .split-section, .faq-section, .forecast-section, .watch-story, .download-section { grid-template-columns: 1fr; }
  .page-hero--visual { text-align: center; }
  .page-hero--visual h1, .page-hero--visual .lede { margin-inline: auto; }
  .page-hero--visual .actions { justify-content: center; }
  .page-hero--visual > .visual-story-art { width: min(620px, 100%); justify-self: center; }
  .visual-story > .visual-story-art { width: min(620px, 100%); justify-self: center; }
  .visual-story--phone > .visual-story-art, .page-hero--visual.visual-story--phone > .visual-story-art { width: min(280px, 100%); }
  .watch-screens { max-width: 380px; }
  .forecast-card { width: min(600px, 100%); justify-self: center; }
  .detail-points, .steps, .support-grid, .question-examples { grid-template-columns: 1fr; }
  .steps.steps--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-top > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .hero { padding-top: 40px; }
  .hero .actions { flex-direction: column; align-items: stretch; width: min(340px, 100%); margin-inline: auto; }
  .hero-stage { aspect-ratio: 100 / 94; margin-top: 40px; }
  .hero-stage .stage-mac { width: 88cqw; left: 6cqw; top: 0; bottom: auto; }
  .hero-stage .stage-ipad { width: 53cqw; left: 0; top: 47cqw; bottom: auto; }
  .hero-stage .stage-duo { width: 45cqw; right: 0; top: 54cqw; bottom: auto; }
  .hero-stage .stage-iphone { width: 22cqw; left: 39cqw; top: 49cqw; bottom: auto; }
  .stage-caption { margin-top: 18px; }

  .dev-pair > .dev-pair-wide { display: none; }
  .dev-pair > .dev-pair-phone { display: block; width: min(300px, 78vw); margin-inline: auto; }
  .tour-tabs { display: flex; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); border-radius: 0; background: none; gap: 6px; }
  .tour-tabs button { background: var(--chip); }
  .tour-tabs { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 28px), transparent); }
  .tour-tabs button[aria-selected="true"] { background: var(--btn); color: var(--btn-ink); box-shadow: none; }
  .tour-copy { text-align: center; margin-inline: auto; }
  .tour-index { display: none; }

  .duo-pair { grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); gap: 14px; }
  .decision-grid { grid-template-columns: 1fr; }
  .review-proof { flex-direction: column; align-items: flex-start; }
  .wide-screenshot { padding: 0; }
  .pricing-grid { grid-template-columns: 1fr; gap: 28px; }
  .ai-pricing-note { grid-template-columns: 1fr; }
  .ai-pricing-note h2 { grid-row: auto; }
  .concept-diagram--desktop { display: none; }
  .concept-diagram--mobile { display: block; }
  .legal-toc ol { columns: 1; }
  .steps.steps--four { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 400px) {
  .footer-top { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .dev--fold { animation: none; --fold: 18deg; }
  .duo-half::after { animation: none; }
}
