:root {
  color-scheme: light dark;
  --bg: #f4f8f6;
  --surface: #fff;
  --text: #14201a;
  --muted: #5c6b63;
  --accent: #137b52;
  --line: #d9e4de;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0d1511; --surface: #15201a; --text: #edf7f1; --muted: #a6b8ae; --accent: #63d49f; --line: #2a3d33; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
main { width: min(920px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0; }
header { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 48px; }
.icon, .symbol { display: grid; place-items: center; flex: 0 0 auto; color: white; background: var(--accent); border-radius: 22%; font-weight: 800; }
.icon { width: 72px; height: 72px; font-size: 38px; }
.symbol { width: 40px; height: 40px; font-size: 21px; }
.eyebrow { margin: 0 0 5px; color: var(--accent); font-size: .8rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2.2rem, 7vw, 4.5rem); line-height: 1.03; letter-spacing: -.04em; }
h2 { margin-top: 2.5rem; line-height: 1.2; }
.intro { max-width: 700px; color: var(--muted); font-size: 1.2rem; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { display: block; padding: 28px; color: inherit; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 30px rgb(0 0 0 / .05); }
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card h2 { margin: 20px 0 5px; }
.card p, .note { color: var(--muted); }
.action, a { color: var(--accent); font-weight: 650; }
.note { margin-top: 32px; font-size: .9rem; }
.article { width: min(760px, calc(100% - 40px)); }
nav { margin-bottom: 56px; }
details { padding: 18px 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); }
footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 64px; padding-top: 24px; color: var(--muted); border-top: 1px solid var(--line); font-size: .9rem; }
@media (max-width: 640px) {
  main { padding: 40px 0; }
  header { display: block; }
  .icon { margin-bottom: 24px; }
  .cards { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}

/* Marketing page */
.marketing { width: min(1100px, calc(100% - 40px)); padding-top: 28px; }
.marketing-nav { display: flex; align-items: center; justify-content: space-between; margin: 0 0 90px; }
.marketing-nav a { text-decoration: none; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 1.05rem; font-weight: 800; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: white; background: var(--accent); border-radius: 9px; }
.nav-links { display: flex; gap: 24px; }
.hero { max-width: 900px; margin-bottom: 80px; }
.hero h1 { font-size: clamp(3.2rem, 9vw, 7.2rem); }
.hero-copy { max-width: 790px; margin: 28px 0; color: var(--muted); font-size: clamp(1.15rem, 2.5vw, 1.55rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin: 30px 0; }
.store-badge { display: inline-block; padding: 13px 20px; color: white; background: #111; border-radius: 12px; font-weight: 700; }
.privacy-pill { display: inline-block; padding: 8px 14px; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); border-radius: 999px; font-size: .9rem; font-weight: 650; }
.product-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 430px); gap: clamp(40px, 8vw, 110px); align-items: center; margin: 70px 0 110px; padding: clamp(28px, 6vw, 70px); background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 9%, var(--surface)), var(--surface)); border: 1px solid var(--line); border-radius: 32px; overflow: hidden; }
.stage-copy h2, .workflow > h2 { margin: 8px 0 18px; font-size: clamp(2rem, 4.8vw, 4rem); letter-spacing: -.035em; }
.stage-copy > p { color: var(--muted); }
.check-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li::before { content: "✓"; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; color: white; background: var(--accent); border-radius: 50%; font-size: .75rem; font-weight: 800; }
.phone { position: relative; width: min(100%, 390px); margin: 0 auto -110px; padding: 15px 16px 72px; color: #17211c; background: #f4f7f5; border: 8px solid #18211d; border-radius: 44px 44px 0 0; box-shadow: 0 28px 70px rgb(0 0 0 / .22); font-size: 13px; }
.phone-bar, .app-title, .review-row, .expense-row, .vault-card > div { display: flex; align-items: center; justify-content: space-between; }
.phone-bar { padding: 0 8px 8px; font-size: 10px; font-weight: 750; }
.app-title { margin: 6px 2px 14px; font-size: 22px; font-weight: 800; }
.gear { color: #137b52; font-size: 18px; }
.vault-card { display: grid; gap: 7px; padding: 17px; color: white; background: linear-gradient(145deg, #116b49, #169361); border-radius: 17px; }
.vault-card small { text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.vault-card strong { font-size: 27px; }
.vault-card > span { font-size: 11px; opacity: .85; }
.vault-card > div { padding-top: 8px; border-top: 1px solid rgb(255 255 255 / .25); font-size: 10px; }
.review-row, .expense-row { margin-top: 10px; padding: 13px; background: white; border: 1px solid #dde5e0; border-radius: 13px; }
.review-icon { display: grid; place-items: center; width: 25px; height: 25px; color: white; background: #e08b25; border-radius: 50%; }
.review-row b { margin-right: auto; margin-left: 9px; }
.review-row em { padding: 2px 8px; color: white; background: #e08b25; border-radius: 999px; font-style: normal; font-weight: 800; }
.segment { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; padding: 4px; background: #e7ece9; border-radius: 9px; text-align: center; font-size: 9px; }
.segment > * { padding: 5px 2px; }
.segment b { background: white; border-radius: 6px; box-shadow: 0 1px 3px rgb(0 0 0 / .12); }
.expense-row > span, .expense-row > strong { display: grid; }
.expense-row > strong { text-align: right; }
.expense-row small { color: #66736c; font-size: 9px; font-weight: 500; }
.expense-row .attention { color: #b56200; }
.mock-label { position: absolute; right: 0; bottom: 40px; left: 0; color: #69756e; text-align: center; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.workflow { margin: 110px 0; }
.workflow > h2 { max-width: 760px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.steps article { padding: 28px; border-top: 3px solid var(--accent); background: var(--surface); }
.steps article > span { color: var(--accent); font-size: .8rem; font-weight: 800; letter-spacing: .08em; }
.steps h3 { margin: 18px 0 6px; font-size: 1.35rem; }
.steps p { margin: 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature { padding: 34px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.feature.featured { grid-column: 1 / -1; }
.feature h2 { margin: 18px 0 10px; font-size: 1.55rem; }
.feature p { margin: 0; color: var(--muted); }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border-radius: 12px; font-size: 1.4rem; font-weight: 800; }
.privacy-banner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; margin: 90px 0; padding: 52px; color: white; background: #116b49; border-radius: 28px; }
.privacy-banner h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); }
.privacy-banner .eyebrow { color: #a9f1cf; }
.privacy-banner > p { color: #dff7eb; font-size: 1.1rem; }
.closing { max-width: 760px; margin: 100px auto; text-align: center; }
.closing h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.closing > p { color: var(--muted); font-size: 1.15rem; }
.closing .disclaimer { margin-top: 34px; font-size: .85rem; }
@media (max-width: 700px) {
  .marketing-nav { margin-bottom: 58px; }
  .nav-links { gap: 14px; font-size: .9rem; }
  .feature-grid, .privacy-banner { grid-template-columns: 1fr; }
  .privacy-banner { gap: 16px; padding: 30px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .product-stage { grid-template-columns: 1fr; padding-bottom: 0; }
  .phone { margin-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
}
