:root {
  color-scheme: light;
  --ink: #1f2926;
  --muted: #596460;
  --paper: #f4f2ec;
  --cream: #fffdf8;
  --surface: #e9ede7;
  --line: #d5ddd7;
  --brand: #246b5a;
  --brand-dark: #194f43;
  --brand-soft: #dcebe5;
  --accent: #e59668;
  --white: #fffefa;
  --shadow: 0 24px 70px rgb(31 41 38 / 12%);
  --container: min(1180px, calc(100vw - 48px));
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); }
body.menu-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-150%); border-radius: 999px; padding: 12px 18px; color: white; background: var(--brand); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 40; inset: 0 0 auto; transition: background .2s ease, box-shadow .2s ease; }
.site-header.scrolled { background: rgb(244 242 236 / 90%); box-shadow: 0 1px 0 rgb(31 41 38 / 8%); backdrop-filter: blur(16px); }
.nav-shell { display: flex; min-height: 84px; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.55rem; font-weight: 700; line-height: 1; letter-spacing: -.07em; }
.brand-symbol { width: 34px; height: 34px; overflow: visible; }
.brand-symbol circle:first-child { fill: var(--brand); }
.brand-symbol path { fill: none; stroke: var(--cream); stroke-width: 4; stroke-linecap: round; }
.brand-symbol .brand-spark { fill: var(--accent); }
.site-menu { display: flex; flex: 1; align-items: center; justify-content: flex-end; gap: 36px; }
.nav-links, .nav-actions, .locale-switcher { display: flex; align-items: center; }
.nav-links { gap: 30px; }
.nav-links a, .locale-switcher a { color: var(--muted); font-size: .82rem; font-weight: 600; text-decoration: none; }
.nav-links a:hover, .locale-switcher a:hover, .locale-switcher a[aria-current="page"] { color: var(--brand); }
.nav-actions { gap: 22px; }
.locale-switcher { gap: 7px; }
.locale-switcher span { color: var(--line); }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 50%; background: var(--surface); }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform .2s ease; }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 999px; padding: 0 24px; color: white; background: var(--brand); font-size: .9rem; font-weight: 700; text-decoration: none; transition: transform .16s ease, background .16s ease; }
.button:hover { background: var(--brand-dark); transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-small { min-height: 42px; padding-inline: 18px; font-size: .78rem; }
.button-light { color: var(--brand-dark); background: var(--cream); }
.button-light:hover { color: var(--brand-dark); background: white; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--brand); font-size: .88rem; font-weight: 700; text-decoration: none; }
.text-link span { transition: transform .16s ease; }
.text-link:hover span { transform: translateY(3px); }

.eyebrow { margin: 0 0 16px; color: var(--brand); font-size: .78rem; font-weight: 700; line-height: 1.25; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { margin: 0; letter-spacing: -.05em; }
h1 { max-width: 720px; font-size: clamp(3.6rem, 7.4vw, 7.1rem); font-weight: 700; line-height: .86; }
h1 span, h1 em { display: block; }
h1 em { margin-top: .12em; color: var(--brand); font-style: normal; }
h2 { font-size: clamp(2.5rem, 5vw, 4.8rem); font-weight: 700; line-height: .94; }
h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); font-weight: 700; line-height: 1.05; }

.hero { position: relative; overflow: hidden; padding: 156px 0 0; }
.hero-grid { display: grid; min-height: 690px; grid-template-columns: 1.05fr .95fr; gap: clamp(38px, 7vw, 96px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-lede { max-width: 620px; margin: 34px 0 0; color: var(--muted); font-size: clamp(1.06rem, 1.6vw, 1.28rem); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.hero-orbit { position: absolute; border: 1px solid rgb(36 107 90 / 13%); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 720px; height: 720px; top: 76px; right: -280px; }
.orbit-two { width: 460px; height: 460px; top: 206px; right: -150px; }

.product-stage { position: relative; min-height: 590px; }
.app-window { position: absolute; z-index: 2; width: min(440px, 88vw); min-height: 560px; top: 8px; left: 50%; overflow: hidden; border: 1px solid rgb(31 41 38 / 8%); border-radius: 34px; background: var(--cream); box-shadow: var(--shadow); transform: translateX(-50%) rotate(2.25deg); }
.app-topbar { display: flex; min-height: 70px; align-items: center; justify-content: space-between; padding: 0 25px; border-bottom: 1px solid var(--line); }
.mini-brand { display: flex; align-items: center; gap: 7px; font-size: .92rem; font-weight: 700; letter-spacing: -.06em; }
.mini-brand i { display: block; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); box-shadow: inset 0 0 0 6px var(--brand); }
.mini-avatar { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; color: white; background: var(--brand); font-size: .62rem; font-weight: 700; }
.app-heading { padding: 27px 26px 20px; }
.app-heading > p { margin: 0 0 18px; font-size: 1.7rem; font-weight: 700; letter-spacing: -.05em; }
.app-balance { display: grid; grid-template-columns: 1fr auto; align-items: end; border-radius: 19px; padding: 18px 20px; background: var(--brand-soft); }
.app-balance span, .app-balance small { color: var(--muted); font-size: .69rem; }
.app-balance strong { grid-row: span 2; color: var(--brand); font-size: 1.6rem; letter-spacing: -.04em; }
.app-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 0 26px 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .69rem; font-weight: 600; text-align: center; }
.app-tabs span { padding: 13px 5px; }
.app-tabs .active { border-bottom: 2px solid var(--brand); color: var(--brand); }
.expense-list { padding: 0 26px; }
.expense-list article { display: grid; grid-template-columns: 42px 1fr auto; gap: 13px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.expense-list time { display: grid; width: 39px; height: 43px; place-content: center; border-radius: 10px; color: var(--brand); background: var(--surface); font-size: .82rem; font-weight: 700; line-height: .85; text-align: center; }
.expense-list time small { color: var(--muted); font-size: .44rem; }
.expense-list div { display: grid; gap: 3px; }
.expense-list div strong { font-size: .82rem; }
.expense-list div small { color: var(--muted); font-size: .62rem; }
.expense-list b { font-size: .78rem; }
.mock-add { position: absolute; right: 24px; bottom: 24px; display: flex; min-height: 44px; align-items: center; gap: 9px; border: 0; border-radius: 999px; padding: 0 16px; color: white; background: var(--brand); font-size: .68rem; font-weight: 700; }
.mock-add span { font-size: 1.1rem; }
.floating-note { position: absolute; z-index: 4; display: flex; align-items: center; gap: 8px; border-radius: 999px; color: var(--brand-dark); background: var(--white); box-shadow: 0 12px 40px rgb(31 41 38 / 14%); font-size: .66rem; font-weight: 700; }
.note-a { top: 102px; left: -30px; padding: 12px 16px; transform: rotate(-5deg); }
.note-a span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.note-b { right: 2px; bottom: 80px; width: 48px; height: 48px; justify-content: center; color: white; background: var(--brand); font-size: 1.1rem; transform: rotate(7deg); }
.proof-row { display: flex; min-height: 86px; align-items: center; justify-content: center; gap: 27px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; font-weight: 600; }
.proof-row i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

.section { padding: clamp(90px, 11vw, 150px) 0; }
.section-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 8vw, 120px); align-items: end; margin-bottom: clamp(54px, 8vw, 90px); }
.section-intro > p { max-width: 440px; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.how-section { background: var(--cream); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step { position: relative; min-height: 360px; padding: 28px 34px 34px 0; }
.step + .step { border-left: 1px solid var(--line); padding-left: 34px; }
.step > span { color: var(--brand); font-size: .72rem; font-weight: 700; }
.step-icon { position: relative; width: 74px; height: 74px; margin: 50px 0 35px; color: var(--brand); }
.step-icon.people i { position: absolute; width: 28px; height: 28px; border: 2px solid currentColor; border-radius: 50%; }
.step-icon.people i:nth-child(1) { top: 5px; left: 23px; background: var(--cream); }
.step-icon.people i:nth-child(2) { top: 33px; left: 4px; }
.step-icon.people i:nth-child(3) { top: 33px; right: 4px; }
.step-icon.receipt { border: 2px solid currentColor; border-radius: 8px; transform: rotate(-3deg); }
.step-icon.receipt::after { position: absolute; right: -8px; bottom: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); content: ""; }
.step-icon.receipt i { display: block; width: 38px; height: 2px; margin: 15px auto 0; background: currentColor; }
.step-icon.check { display: grid; place-items: center; border: 2px solid currentColor; border-radius: 50%; font-size: 2rem; }
.step h3 { font-size: 1.55rem; }
.step p { max-width: 290px; margin: 14px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }

.features-section { background: var(--paper); }
.feature-intro { grid-template-columns: minmax(0, 820px); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature-card { display: flex; min-height: 410px; flex-direction: column; justify-content: space-between; overflow: hidden; border-radius: 28px; padding: clamp(30px, 5vw, 50px); background: var(--cream); }
.feature-card p { max-width: 470px; margin: 15px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.feature-balance { background: var(--brand); }
.feature-balance h3, .feature-balance p { color: white; }
.feature-balance p { color: #eef5f2; opacity: 1; }
.balance-pill { display: grid; grid-template-columns: 1fr auto; align-items: center; border-radius: 19px; padding: 22px 24px; color: var(--brand-dark); background: var(--brand-soft); }
.balance-pill span { font-size: .78rem; font-weight: 600; }
.balance-pill strong { font-size: 1.6rem; letter-spacing: -.04em; }
.split-control { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border-radius: 999px; padding: 5px; color: var(--muted); background: var(--surface); font-size: .78rem; font-weight: 600; text-align: center; }
.split-control span, .split-control strong { border-radius: 999px; padding: 15px 8px; }
.split-control strong { color: white; background: var(--brand); }
.feature-activity ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.feature-activity li { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding: 15px 0; font-size: .78rem; font-weight: 600; }
.feature-activity li i { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: var(--brand); background: var(--brand-soft); font-style: normal; }
.feature-devices { background: var(--brand-soft); }
.device-visual { position: relative; min-height: 175px; }
.device-visual span { position: absolute; display: block; border: 3px solid var(--brand); background: var(--cream); box-shadow: 0 14px 30px rgb(31 41 38 / 10%); }
.device-visual .browser { width: 76%; height: 160px; right: 0; bottom: -48px; border-radius: 15px 15px 0 0; }
.device-visual .browser i { display: block; height: 22px; border-bottom: 2px solid var(--brand-soft); }
.device-visual .phone { z-index: 2; width: 82px; height: 160px; left: 8%; bottom: -50px; border-radius: 18px 18px 0 0; }
.device-visual .phone i { display: block; width: 27px; height: 5px; margin: 8px auto; border-radius: 999px; background: var(--brand); }

.use-section { color: white; background: var(--ink); }
.use-section .eyebrow { color: var(--accent); }
.use-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 10vw, 150px); }
.use-heading h2 { max-width: 670px; }
.use-list { display: grid; }
.use-list span { border-top: 1px solid rgb(255 255 255 / 18%); padding: 21px 0; color: rgb(255 255 255 / 70%); font-size: clamp(1.2rem, 2vw, 1.65rem); font-weight: 600; letter-spacing: -.03em; }
.use-list span:last-child { border-bottom: 1px solid rgb(255 255 255 / 18%); }
blockquote { max-width: 980px; margin: clamp(85px, 12vw, 160px) 0 0; color: var(--brand-soft); font-size: clamp(2.3rem, 5vw, 5rem); font-weight: 700; line-height: .98; letter-spacing: -.055em; }

.faq-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(50px, 10vw, 150px); }
.faq-heading { position: sticky; top: 130px; align-self: start; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; min-height: 94px; align-items: center; justify-content: space-between; gap: 30px; cursor: pointer; font-size: 1.08rem; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary span { position: relative; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); }
summary span::before, summary span::after { position: absolute; top: 16px; left: 10px; width: 14px; height: 2px; background: var(--brand); content: ""; }
summary span::after { transform: rotate(90deg); transition: transform .16s ease; }
details[open] summary span::after { transform: rotate(0); }
details p { max-width: 620px; margin: -10px 60px 28px 0; color: var(--muted); line-height: 1.65; }

.cta-section { padding: 0 0 clamp(90px, 10vw, 130px); }
.cta-panel { position: relative; display: grid; min-height: 420px; grid-template-columns: 1fr auto; gap: 40px; align-items: end; overflow: hidden; border-radius: 34px; padding: clamp(42px, 7vw, 80px); color: white; background: var(--brand); }
.cta-panel > div { position: relative; z-index: 2; max-width: 750px; }
.cta-panel .eyebrow { color: var(--brand-soft); }
.cta-panel > div > p:last-child { max-width: 540px; margin: 22px 0 0; color: #eef5f2; line-height: 1.6; }
.cta-panel .button { position: relative; z-index: 2; }
.cta-panel svg { position: absolute; width: 330px; height: 330px; top: -110px; right: 5%; opacity: .13; }
.cta-panel svg circle { fill: none; stroke: white; stroke-width: 2; }
.cta-panel svg path { fill: none; stroke: white; stroke-width: 9; stroke-linecap: round; }
.cta-panel svg .spark { fill: var(--accent); stroke: none; opacity: 1; }

.site-footer { padding: 65px 0 35px; border-top: 1px solid var(--line); background: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 70px; }
.footer-grid > div:first-child p { margin: 15px 0 0; color: var(--muted); font-size: .8rem; }
.footer-links { display: flex; align-items: flex-start; gap: 26px; }
.footer-links a { color: var(--brand); font-size: .78rem; font-weight: 700; text-decoration: none; }
.copyright { grid-column: 1 / -1; margin: 25px 0 0; color: var(--muted); font-size: .7rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: none; }
.steps .reveal:nth-child(2), .feature-grid .reveal:nth-child(2) { transition-delay: .08s; }
.steps .reveal:nth-child(3), .feature-grid .reveal:nth-child(3) { transition-delay: .16s; }
.feature-grid .reveal:nth-child(4) { transition-delay: .24s; }

@media (max-width: 900px) {
  :root { --container: min(100% - 34px, 700px); }
  .nav-shell { min-height: 72px; }
  .menu-toggle { display: block; }
  .site-menu { position: fixed; z-index: -1; inset: 0; display: flex; visibility: hidden; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 35px; padding: 110px 28px 40px; background: var(--cream); opacity: 0; transition: opacity .18s ease, visibility .18s ease; }
  .menu-open .site-menu { visibility: visible; opacity: 1; }
  .menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-links { align-items: stretch; flex-direction: column; gap: 0; }
  .nav-links a { border-bottom: 1px solid var(--line); padding: 18px 0; font-size: 1.25rem; }
  .nav-actions { justify-content: space-between; }
  .hero { padding-top: 120px; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 60px; }
  .product-stage { min-height: 590px; }
  .product-stage .note-a { left: 0; }
  .section-intro, .use-grid, .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: auto; padding: 28px 0 46px; }
  .step + .step { border-top: 1px solid var(--line); border-left: 0; padding-left: 0; }
  .step-icon { margin: 35px 0 25px; }
  .faq-heading { position: static; }
  .cta-panel { grid-template-columns: 1fr; align-items: start; }
  .cta-panel .button { justify-self: start; }
}

@media (max-width: 640px) {
  h1 { font-size: clamp(3.25rem, 17vw, 5.2rem); }
  h2 { font-size: clamp(2.35rem, 12vw, 3.6rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 19px; }
  .product-stage { min-height: 520px; }
  .app-window { min-height: 500px; border-radius: 27px; }
  .app-heading { padding: 22px 20px 16px; }
  .app-heading > p { font-size: 1.4rem; }
  .app-tabs, .expense-list { margin-inline: 20px; padding-inline: 0; }
  .expense-list article { grid-template-columns: 38px 1fr auto; gap: 9px; }
  .note-b { right: -2px; bottom: 70px; }
  .proof-row { min-height: 110px; flex-wrap: wrap; gap: 12px 16px; padding-block: 24px; text-align: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 360px; border-radius: 23px; }
  .use-list { margin-top: 20px; }
  blockquote { margin-top: 90px; }
  summary { min-height: 86px; font-size: .95rem; }
  details p { margin-right: 20px; }
  .cta-panel { min-height: 480px; border-radius: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { flex-wrap: wrap; }
  .copyright { grid-column: auto; margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
