:root {
  --surface: #fbfaf7;
  --ink: #1b1b1a;
  --muted: #73736d;
  --accent: #ff6b4a;
  --accent-ink: #a93620;
  --accent-soft: #ffe8df;
  --card: #fff;
  --line: #e5e3db;
  --stage: #f0eee6;
  --green: #52745b;
  --purple: #8e86a5;
  --gold: #c5aa77;
  --ease: cubic-bezier(.23, 1, .32, 1);
  color-scheme: light dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
  font-synthesis: none;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #141412;
    --ink: #f2f0eb;
    --muted: #aaa79f;
    --accent-ink: #ff9b82;
    --accent-soft: #3d2620;
    --card: #20201c;
    --line: #35342e;
    --stage: #24231e;
    --green: #91b69a;
  }
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: var(--ink); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button, .join-link { transition: transform 140ms var(--ease), background 140ms var(--ease); }
button:active, .join-link:active { transform: scale(.97); }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent-ink); outline-offset: 4px;
}
a { color: inherit; }
button:disabled { cursor: default; opacity: .65; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.page-shell { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -80px; left: 20px; padding: 14px; background: var(--card); z-index: 10; }
.skip-link:focus { top: 12px; }
.site-header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 23px; font-weight: 720; letter-spacing: -.06em; }
.wordmark img { width: 36px; height: 36px; border-radius: 10px; }
.header-links { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 550; }
.header-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; }
.header-links .quiet-link { color: var(--muted); }
.header-links .icon { width: 16px; height: 16px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 20px 0 58px; }
.hero-copy { padding-bottom: 18px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 25px; color: var(--accent-ink); font-size: 12px; font-weight: 650; letter-spacing: .02em; }
.availability-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
h1 { margin: 0; font-size: clamp(54px, 5.7vw, 76px); font-weight: 620; letter-spacing: -.068em; line-height: 1.075; }
h1 span { display: block; }
.hero-description { max-width: 36ch; margin: 24px 0 32px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.notify { max-width: 430px; }
.notify label { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 600; }
.notify-row { display: flex; gap: 8px; }
.notify input { width: 100%; min-width: 0; height: 52px; padding: 0 15px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.notify input::placeholder { color: var(--muted); opacity: 1; }
.notify button { flex-shrink: 0; border: 0; border-radius: 10px; background: var(--accent); color: #301b14; height: 52px; padding: 0 17px; font-size: 13px; font-weight: 650; white-space: nowrap; }
.form-note, .notify-status { font-size: 12px; line-height: 1.6; color: var(--muted); }
.form-note { margin: 11px 0 0; }
.notify-status { min-height: 20px; margin: 7px 0 0; }
.notify-status[data-state="error"] { color: var(--accent-ink); }
.notify noscript { display: block; margin-top: 12px; font-size: 13px; line-height: 1.6; }
.platforms { display: flex; align-items: center; gap: 17px; margin-top: 22px; color: var(--muted); font-size: 12px; }
.platforms span { display: flex; align-items: center; gap: 6px; }
.platforms .icon { width: 15px; height: 15px; }

.app-preview { min-width: 0; }
.preview-stage { position: relative; display: flex; justify-content: center; padding: 27px 24px; background: var(--stage); border-radius: 30px; }
.stage-label { position: absolute; right: 17px; top: 17px; font-size: 9px; letter-spacing: .1em; color: var(--muted); writing-mode: vertical-rl; }
.phone { flex-shrink: 0; width: 302px; max-width: 100%; height: 600px; padding: 7px; border-radius: 43px; background: #252523; box-shadow: 0 22px 36px -23px #14141260, inset 0 0 0 1px #5c5b56; }
.phone-shell { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--surface); }
.status-bar { position: relative; height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 19px; font-size: 10px; font-weight: 650; }
.dynamic-island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 77px; height: 21px; border-radius: 15px; background: #1b1b1a; }
.status-icons { display: flex; gap: 4px; align-items: center; }
.status-icons .icon { width: 12px; height: 12px; stroke-width: 2; }
.app-stage { position: relative; height: calc(100% - 66px); }
.home-indicator { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 94px; height: 4px; border-radius: 4px; background: var(--ink); }
.app-page { position: absolute; inset: 0; padding: 9px 17px 16px; overflow-y: auto; scrollbar-width: none; opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none; transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 0s 220ms; }
.app-page::-webkit-scrollbar { display: none; }
.app-page.is-active { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; transition-delay: 0s; }
.app-page[data-preview-page="budgets"] { padding-bottom: 7px; }
.app-page[data-preview-page="analytics"] { padding-bottom: 12px; }
.app-heading { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 47px; margin-bottom: 16px; }
.app-heading h2 { margin: 0; font-size: 24px; font-weight: 650; letter-spacing: -.055em; }
.app-heading small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 12px; font-weight: 650; }
.app-caption { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.app-amount { margin: 5px 0 7px; font-size: 35px; line-height: 1.15; font-weight: 630; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.comparison { display: flex; align-items: center; gap: 4px; color: var(--green); font-size: 10px; }
.comparison .icon { width: 12px; height: 12px; }
.capture-actions { display: flex; gap: 8px; margin: 18px 0; }
.mini-action { display: flex; align-items: center; justify-content: center; gap: 6px; width: 50%; min-height: 38px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-size: 11px; font-weight: 600; }
.mini-action:first-child { background: var(--accent); border-color: var(--accent); color: #301b14; }
.mini-action .icon { width: 15px; height: 15px; }
.plan-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plan-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 13px 11px; border: 1px solid var(--line); background: var(--card); border-radius: 13px; min-height: 92px; }
.plan-tile .icon { width: 21px; height: 21px; }
.plan-tile:first-child .icon { color: var(--accent-ink); }
.plan-tile strong { font-size: 12px; font-weight: 600; }
.plan-tile small { font-size: 9px; color: var(--muted); }
.mini-section-title { display: flex; justify-content: space-between; align-items: center; margin: 21px 0 8px; font-size: 12px; font-weight: 650; }
.mini-section-title small { font-size: 9px; color: var(--muted); font-weight: 400; }
.transaction { display: flex; align-items: center; gap: 9px; min-height: 49px; border-bottom: 1px solid var(--line); }
.transaction:last-child { border: 0; }
.transaction-icon { display: grid; place-items: center; width: 31px; height: 31px; background: var(--stage); border-radius: 10px; }
.transaction-icon .icon { width: 16px; height: 16px; }
.transaction div:nth-child(2) { flex: 1; }
.transaction strong { font-size: 10px; font-weight: 600; }
.transaction small { display: block; margin-top: 3px; font-size: 9px; color: var(--muted); }
.transaction > span { font-size: 11px; font-weight: 550; }
.screen-heading { display: flex; align-items: center; gap: 3px; margin: -5px -9px 13px; min-height: 44px; }
.screen-heading h2 { margin: 0; flex: 1; font-size: 19px; letter-spacing: -.025em; font-weight: 650; }
.phone-button { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; }
.phone-button .icon { width: 19px; height: 19px; }
.decorative-action { display: grid; place-items: center; width: 30px; }
.decorative-action .icon { width: 18px; height: 18px; }
.budget-summary { display: flex; align-items: center; gap: 15px; padding: 4px 0 12px; }
.budget-ring { position: relative; width: 79px; height: 79px; flex-shrink: 0; display: grid; place-items: center; }
.budget-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: var(--line); stroke-width: 7; }
.ring-value { fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 129 201; }
.budget-ring strong { font-size: 18px; font-weight: 650; letter-spacing: -.05em; }
.budget-summary .summary-amount { margin: 4px 0 4px; font-size: 24px; font-weight: 650; letter-spacing: -.05em; }
.budget-remaining { display: flex; justify-content: space-between; align-items: center; padding: 11px 12px; margin-bottom: 13px; background: var(--accent-soft); border-radius: 10px; font-size: 10px; }
.budget-remaining strong { font-size: 12px; }
.budget-card { padding: 10px 12px; margin-top: 7px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.budget-card-heading { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.budget-card-heading strong { font-weight: 600; }
.budget-card-heading span { color: var(--muted); font-size: 9px; }
.budget-track { height: 4px; margin: 8px 0 6px; overflow: hidden; border-radius: 4px; background: var(--line); }
.budget-track i { display: block; height: 100%; width: var(--spent); background: var(--accent); border-radius: inherit; }
.budget-values { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; }
.budget-values strong { color: var(--ink); font-weight: 600; }
.month-selector { display: flex; align-items: center; justify-content: space-between; padding: 6px 0 14px; color: var(--muted); font-size: 10px; }
.month-selector .icon { width: 13px; height: 13px; }
.spend-chart { padding: 14px 0 12px; }
.chart-heading { display: flex; justify-content: space-between; font-size: 10px; font-weight: 600; }
.chart-heading span { color: var(--muted); font-size: 9px; font-weight: 400; }
.daily-bars { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; align-items: end; height: 92px; margin-top: 14px; padding-bottom: 1px; border-bottom: 1px solid var(--line); }
.daily-bars i { display: block; height: var(--height); border-radius: 4px 4px 0 0; background: var(--accent); opacity: .7; }
.daily-bars i:nth-child(5), .daily-bars i:nth-child(8) { opacity: 1; }
.is-active .daily-bars i { animation: chart-appear 220ms var(--ease) both; }
.chart-labels { display: flex; justify-content: space-around; margin-top: 7px; font-size: 8px; color: var(--muted); }
.category-card { padding: 13px; margin-top: 2px; background: var(--card); border: 1px solid var(--line); border-radius: 13px; }
.category-card h3 { margin: 0 0 11px; font-size: 11px; font-weight: 600; }
.category-layout { display: flex; align-items: center; gap: 15px; }
.category-donut { width: 83px; height: 83px; border-radius: 50%; background: conic-gradient(var(--accent) 0% 52.3%, var(--purple) 52.3% 76.7%, var(--gold) 76.7% 85.5%, var(--green) 85.5% 100%); position: relative; flex-shrink: 0; }
.category-donut::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: var(--card); }
.category-legend { flex: 1; margin: 0; padding: 0; list-style: none; }
.category-legend li { display: flex; align-items: center; justify-content: space-between; gap: 5px; font-size: 8px; margin: 9px 0; }
.category-legend li span { display: flex; align-items: center; gap: 4px; }
.legend-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--category); }
.category-legend strong { font-size: 9px; font-weight: 550; }
.demo-tapping::after { content: ""; position: absolute; z-index: 2; left: 50%; top: 50%; width: 28px; height: 28px; border: 2px solid var(--accent); border-radius: 50%; background: #ff6b4a24; pointer-events: none; animation: tap-preview 260ms var(--ease) both; }
.preview-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; }
.preview-tabs { display: flex; gap: 2px; }
.preview-tab { min-height: 44px; padding: 0 11px; background: transparent; border: 0; border-radius: 9px; color: var(--muted); font-size: 12px; }
.preview-tab[aria-selected="true"] { background: var(--stage); color: var(--ink); font-weight: 600; }
.tour-toggle { display: inline-flex; justify-content: center; align-items: center; gap: 6px; min-height: 44px; padding: 0 9px; background: transparent; border: 0; color: var(--muted); font-size: 11px; white-space: nowrap; }
.tour-toggle .icon { width: 13px; height: 13px; }
.preview-caption { margin: 4px 0 0; color: var(--muted); font-size: 10px; text-align: center; }
.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 32px 0 38px; border-top: 1px solid var(--line); }
.feature-number { margin: 0 0 11px; font-size: 10px; color: var(--accent-ink); letter-spacing: .06em; }
.feature-strip h2 { margin: 0 0 9px; font-size: 16px; font-weight: 600; letter-spacing: -.025em; }
.feature-strip p:last-child { margin: 0; max-width: 30ch; color: var(--muted); font-size: 13px; line-height: 1.7; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 21px 0 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 23px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

@keyframes tap-preview {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.86); }
  45% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.2); }
}
@keyframes chart-appear {
  from { opacity: 0; transform: translateY(8px); }
  to { transform: translateY(0); }
}

@media (max-width: 1020px) {
  .page-shell { width: calc(100% - 64px); }
  .hero { gap: 38px; }
  h1 { font-size: clamp(49px, 6vw, 66px); }
  .preview-stage { padding-inline: 19px; }
  .phone { width: 280px; height: 584px; }
  .app-page { padding-inline: 14px; }
  .notify-row { flex-wrap: wrap; }
  .notify button { flex: 1; }
  .notify input { flex: 1 1 185px; }
  .preview-tab { padding-inline: 9px; font-size: 11px; }
  .tour-toggle { padding-inline: 5px; font-size: 10px; }
}
@media (max-width: 900px) {
  .page-shell { width: min(510px, calc(100% - 40px)); }
  .site-header { min-height: 83px; }
  .header-links { gap: 0; }
  .header-links .quiet-link { display: none; }
  .hero { grid-template-columns: 1fr; gap: 33px; padding: 31px 0 38px; }
  .hero-copy { padding-bottom: 0; }
  .eyebrow { margin-bottom: 20px; }
  h1 { font-size: clamp(50px, 12vw, 65px); }
  .hero-description { max-width: 38ch; font-size: 16px; margin: 21px 0 26px; }
  .notify { max-width: none; }
  .notify-row { flex-wrap: nowrap; }
  .notify button { flex: 0 0 auto; }
  .notify input { flex: 1; }
  .platforms { margin-top: 16px; }
  .preview-stage { padding-block: 25px; }
  .stage-label { display: none; }
  .phone { width: 294px; height: 592px; }
  .app-page { padding-inline: 17px; }
  .preview-controls { justify-content: center; gap: 14px; }
  .preview-tab { font-size: 12px; }
  .tour-toggle { font-size: 11px; }
  .feature-strip { grid-template-columns: 1fr; gap: 26px; padding: 30px 0; }
  .feature-strip p:last-child { max-width: 40ch; }
  .feature-number { margin-bottom: 7px; }
  .site-footer { gap: 6px; padding-block: 22px; }
}
@media (max-width: 380px) {
  .page-shell { width: calc(100% - 32px); }
  .wordmark { font-size: 21px; }
  .wordmark img { width: 32px; height: 32px; }
  .header-links { font-size: 12px; }
  h1 { font-size: 48px; }
  .notify-row { flex-direction: column; }
  .notify input { flex: auto; }
  .preview-stage { padding: 22px 10px; border-radius: 24px; }
  .phone { width: 264px; height: 583px; }
  .app-page { padding-inline: 12px; }
  .preview-controls { gap: 6px; }
  .preview-tab { padding-inline: 8px; font-size: 11px; }
  .tour-toggle { gap: 3px; font-size: 10px; }
  .site-footer nav { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
