@font-face {
  font-family: Roboto;
  src: url("./Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Roboto;
  src: url("./Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --paper: #000;
  --band: #0e0e0e;
  --ink: #f2f2f2;
  --muted: #b8b8b8;
  --line: #737373;
  --accent: #b2cfa6;
  --positive: #b2cfa6;
  --expense: #ffb4ab;
  font: 100%/1.6 Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
body { padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px); }
figure, p, h1, h2, h3 { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, summary:focus-visible, main:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 56px)); margin-inline: auto; }
.skip-link { position:absolute; top:8px; left:12px; z-index:3; transform:translateY(-200%); color:var(--paper); background:var(--ink); padding:10px 14px; }
.skip-link:focus { transform:none; }
.masthead { background: var(--paper); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.header-inner, .footer { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.header-inner { min-height: 74px; }
.brand { display:inline-flex; flex:none; align-items:center; gap:8px; font-size:22px; font-weight:800; line-height:1.2; text-decoration:none; }
.brand img { border-radius:8px; }
.brand span { margin-left:-8px; color:var(--accent); }
.desktop-nav, .footer nav, .actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px 24px; }
.desktop-nav, .footer nav { font-size:14px; color:var(--muted); }
.desktop-nav a { text-decoration:none; }
.mobile-nav { display:none; position:relative; }
.mobile-nav summary { display:grid; place-items:center; width:44px; height:44px; border:1px solid var(--line); border-radius:8px; list-style:none; cursor:pointer; }
.mobile-nav summary::-webkit-details-marker { display:none; }
.mobile-nav nav { position:absolute; z-index:2; right:0; top:calc(100% + 8px); min-width:205px; background:var(--band); border:1px solid var(--line); border-radius:8px; padding:6px; }
.mobile-nav a { display:block; padding:9px 12px; }
.button { display:inline-flex; text-align:center; justify-content:center; align-items:center; gap:10px; min-height:46px; padding:9px 16px; border:1px solid transparent; border-radius:8px; font-weight:700; line-height:1.35; text-decoration:none; touch-action:manipulation; }
.solid { background:var(--accent); color:var(--paper); }
.outline, .inverted { border-color:var(--line); background:var(--band); color:var(--ink); }
.light { background:var(--accent); color:var(--paper); }
.button:active { filter:brightness(.86); }
@media (hover:hover) { .button:hover { filter:brightness(.93); } .desktop-nav a:hover { text-decoration:underline; } }
.hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.16fr); align-items:center; gap:46px; padding-block:54px; }
.hero-copy { min-width:0; }
.eyebrow, .label { font-size:13px; font-weight:700; color:var(--accent); text-transform:uppercase; }
.hero .eyebrow { color:var(--positive); }
.hero h1 { margin-top:4px; font-size:73px; font-weight:800; line-height:1.02; }
.hero h1 span { color:var(--accent); }
.tagline, h2 { font-weight:700; }
.tagline { font-size:36px; line-height:1.14; margin-top:8px; }
.intro-text { max-width:50ch; margin-top:15px; color:var(--muted); }
.hero .actions { margin-top:21px; gap:10px; }
.screen img { width:100%; border:1px solid var(--line); border-radius:8px; background:#000; }
.budget-preview { min-width:0; padding:18px; border:1px solid var(--line); border-radius:8px; background:var(--band); }
.preview-head { display:flex; align-items:center; gap:8px; padding-bottom:12px; border-bottom:1px solid var(--line); font-size:14px; }
.preview-head span:last-child { margin-left:auto; color:var(--muted); }
.preview-balance { display:grid; padding-block:14px; }
.preview-balance span, .preview-flows dt, .preview-weeks, .preview-legend { color:var(--muted); font-size:13px; }
.preview-balance strong { font-size:33px; line-height:1.2; }
.preview-flows { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:0 0 15px; }
.preview-flows dt { overflow-wrap:anywhere; }
.preview-flows dd { margin:0; font-size:17px; font-weight:700; }
.preview-flows div:nth-child(1) dd { color:var(--positive); }
.preview-flows div:nth-child(2) dd { color:var(--expense); }
.preview-chart { padding-top:11px; border-top:1px solid var(--line); }
.preview-chart p { font-size:14px; font-weight:700; }
.preview-plot, .preview-weeks { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
.preview-plot { height:114px; margin-top:8px; border-bottom:1px solid var(--line); }
.preview-pair { display:flex; align-items:end; justify-content:center; gap:5px; }
.preview-pair i { width:min(28%,24px); background:var(--positive); border-radius:3px 3px 0 0; }
.preview-pair i:last-child { background:var(--expense); }
.h-15 { height:15%; } .h-25 { height:25%; } .h-35 { height:35%; } .h-40 { height:40%; }
.h-55 { height:55%; } .h-75 { height:75%; } .h-95 { height:95%; }
.preview-weeks { text-align:center; padding-top:4px; }
.preview-legend { display:flex; justify-content:center; flex-wrap:wrap; gap:14px; margin-top:6px; }
.preview-legend span::before { content:""; display:inline-block; width:8px; height:8px; margin-right:5px; border-radius:2px; background:var(--positive); }
.preview-legend span:last-child::before { background:var(--expense); }
figcaption { margin-top:7px; font-size:13px; color:var(--muted); text-align:center; }
.phone-preview .gallery .screen { max-width:350px; margin-inline:auto; }
.section { padding-block:60px; }
.band { background:var(--band); }
.section-head { max-width:700px; margin-bottom:24px; }
h2 { font-size:42px; line-height:1.12; margin-top:5px; }
h3 { font-size:22px; line-height:1.25; }
.section-head > p:not(.eyebrow), article > p:not(.label) { color:var(--muted); margin-top:9px; }
.columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.columns article { border-top:1px solid var(--line); padding-top:15px; display:flex; flex-direction:column; align-items:flex-start; }
.three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.label { margin-bottom:7px; }
.security-note { max-width:90ch; margin-top:23px; padding-left:14px; border-left:3px solid var(--accent); color:var(--muted); font-size:14px; }
.security-note a { color:var(--accent); font-weight:700; }
.screen { width:100%; padding-top:16px; margin-top:auto; }
.portraits .screen { max-width:310px; margin-inline:auto; }
.export { margin-top:24px; }
.choices .button { margin-top:17px; }
.footer { border-top:1px solid var(--line); padding-block:22px calc(24px + env(safe-area-inset-bottom, 0px)); }
.footer nav { justify-content:flex-end; }
@media (max-width: 760px) {
  .desktop-nav { display:none; }
  .header-access { margin-left:auto; }
  .mobile-nav { display:block; }
  .three { grid-template-columns:1fr; gap:14px; }
  .hero { gap:28px; padding-block:35px; }
  .hero h1 { font-size:60px; }
  .section { padding-block:42px; }
  h2 { font-size:35px; }
}
@media (max-width: 620px) {
  .wrap { width:calc(100% - 32px); }
  .header-inner { min-height:65px; gap:8px; }
  .brand { font-size:19px; }
  .brand img { width:30px; height:30px; }
  .header-access { min-height:44px; padding-inline:8px; font-size:13px; }
  .hero { grid-template-columns:minmax(0,1fr); padding-block:25px; }
  .hero h1 { font-size:56px; }
  .tagline { font-size:28px; }
  .intro-text { font-size:15px; }
  .budget-preview { padding:12px; }
  .preview-flows { gap:6px; }
  .preview-flows dd { font-size:15px; }
  .screen { max-width:390px; margin-inline:auto; }
  .columns { grid-template-columns:minmax(0,1fr); }
  .footer { flex-direction:column; align-items:flex-start; }
  .footer nav { justify-content:flex-start; }
}
