: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; }
.menu-overlay { display: none; }
.reveal-pending { opacity: 0; }
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; flex-wrap: wrap; }
.locale-switcher { gap: 7px; }
.locale-dropdown { position: relative; border: 0; }
.locale-dropdown > summary { min-height: 44px; gap: 7px; color: var(--muted); font-size: .82rem; font-weight: 600; }
.locale-dropdown > summary:hover, .locale-dropdown[open] > summary { color: var(--brand); }
.locale-dropdown > summary svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .16s ease; }
.locale-dropdown[open] > summary svg { transform: rotate(180deg); }
.locale-options { position: absolute; z-index: 1; top: 100%; right: 0; width: 190px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--cream); box-shadow: var(--shadow); }
.locale-options a { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 14px; padding: 0 12px; border-radius: 9px; }
.locale-options a:hover { background: var(--surface); }
.locale-options a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); font-weight: 700; }
.locale-options a[aria-current="page"]::after { content: "✓"; }
.locale-dropdown summary:focus-visible, .locale-options a:focus-visible, .footer-languages a:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.footer-languages { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0 18px; font-size: .72rem; }
.footer-languages a { display: inline-flex; min-height: 44px; align-items: center; color: var(--brand); text-decoration: none; }
.footer-languages a:hover { text-decoration: underline; }
.footer-languages a[aria-current="page"] { font-weight: 700; }
.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; }
.no-script-nav { display: none; }

.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; }
.arrow-icon { display: block; width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.arrow-down { transform: rotate(90deg); }
.arrow-left { transform: rotate(180deg); }
.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; }
@media (min-width: 901px) {
  /* Match the 72px of breathing room below the fixed 84px header. */
  .hero { padding-bottom: 72px; }
}
.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-note { margin: 14px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.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; }
.product-stage { position: relative; padding: 32px 30px 48px; }
.product-deck { position: relative; isolation: isolate; width: min(440px, 100%); margin-inline: auto; }
.product-deck::before, .product-deck::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 34px; pointer-events: none; }
.product-deck::before { background: var(--brand-soft); transform: translate(-10px, -7px) rotate(-5deg); }
.product-deck::after { background: var(--paper); transform: translate(8px, 7px) rotate(-1.5deg); }
.app-window { position: relative; z-index: 2; display: flex; flex-direction: column; width: 100%; min-height: 560px; overflow: hidden; border: 1px solid rgb(31 41 38 / 8%); border-radius: 34px; background: var(--cream); box-shadow: var(--shadow); transform: 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 .brand-symbol { width: 20px; height: 20px; }
.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 24px; }
.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 { display: flex; min-height: 44px; align-self: flex-end; align-items: center; gap: 9px; margin: auto 24px 24px; 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; }
.availability-section { color: var(--cream); background: var(--brand); }
.availability-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 40px clamp(48px, 8vw, 100px); align-items: center; padding-block: clamp(52px, 7vw, 80px); }
.availability-copy { max-width: 650px; }
.availability-copy .eyebrow { color: var(--brand-soft); }
.availability-copy h2 { max-width: 620px; font-size: clamp(2.25rem, 4.5vw, 4.15rem); }
.availability-copy > p:last-child { max-width: 600px; margin: 22px 0 0; color: var(--cream); font-size: 1rem; line-height: 1.6; }
.store-cards { display: grid; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.store-card { display: flex; min-height: 82px; align-items: center; gap: 16px; border-radius: 18px; padding: 16px 20px; color: var(--cream); background: var(--ink); box-shadow: 0 12px 30px rgb(31 41 38 / 12%); }
.store-card svg { width: 31px; height: 31px; flex: 0 0 auto; fill: currentColor; }
.store-card span { display: grid; gap: 3px; }
.store-card small { color: #c7cfcb; font-size: .67rem; font-weight: 600; line-height: 1; }
.store-card strong { font-size: 1rem; line-height: 1.15; }

.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; text-align: center; }
.step + .step { border-left: 1px solid var(--line); }
.step > span { display: block; color: var(--brand); font-size: .72rem; font-weight: 700; text-align: left; }
.step-icon { position: relative; width: 74px; height: 74px; margin: 50px auto 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 auto 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; }
.feature-devices { background: var(--brand-soft); }

.trust-section { background: var(--cream); }
.trust-intro { margin-bottom: clamp(42px, 6vw, 68px); }
.trust-list { border-top: 1px solid var(--line); }
.trust-list article { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.trust-list article > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: var(--brand); background: var(--brand-soft); font-size: .8rem; font-weight: 700; }
.trust-list h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
.trust-list p { max-width: 720px; margin: 10px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.65; }

.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 > a, .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 > a { display: flex; align-items: center; justify-content: space-between; gap: 20px; text-decoration: none; transition: color .16s ease; }
.use-list > a:hover { color: white; }
.use-list > a span { color: var(--accent); font-size: .8em; }
.use-list > :last-child { border-bottom: 1px solid rgb(255 255 255 / 18%); }
.manifesto { 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; }

.case-hero { position: relative; overflow: hidden; padding: 150px 0 clamp(90px, 10vw, 130px); }
.case-hero-grid { display: grid; min-height: 620px; grid-template-columns: 1fr .82fr; gap: clamp(50px, 9vw, 130px); align-items: center; }
.case-hero-copy { position: relative; z-index: 2; }
.case-hero h1 { font-size: clamp(3.4rem, 6.6vw, 6.3rem); }
.case-ledger { position: relative; z-index: 2; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: var(--cream); box-shadow: var(--shadow); transform: rotate(1.25deg); }
.case-ledger-heading { display: grid; gap: 28px; padding: 32px; background: var(--brand-soft); }
.case-ledger-title { display: grid; gap: 7px; }
.case-ledger-title strong { font-size: 1.45rem; letter-spacing: -.04em; }
.case-ledger-title span, .case-ledger-balance span { color: var(--muted); font-size: .72rem; }
.case-ledger-balance { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.case-ledger-balance b { color: var(--brand); font-size: 1.8rem; letter-spacing: -.04em; }
.case-ledger-items { padding: 10px 32px 24px; }
.case-ledger-item { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.case-ledger-item:last-child { border-bottom: 0; }
.case-ledger-item strong { font-size: .88rem; }
.case-ledger-item span { color: var(--muted); font-size: .7rem; }
.case-ledger-item b { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: .82rem; }
.case-ledger-summary { display: grid; margin: 0 32px 32px; overflow: hidden; border-radius: 18px; background: var(--surface); }
.case-ledger-summary > div { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 16px; }
.case-ledger-summary > div + div { border-top: 1px solid var(--line); }
.case-ledger-summary dt { color: var(--muted); font-size: .72rem; }
.case-ledger-summary dd { margin: 0; font-size: .88rem; font-weight: 700; }
.case-ledger-summary .is-emphasis { color: white; background: var(--brand); }
.case-ledger-summary .is-emphasis dt { color: var(--cream); }
.case-fit { background: var(--cream); }
.case-points { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.case-point { min-height: 250px; padding: 34px 34px 34px 0; }
.case-point + .case-point { border-left: 1px solid var(--line); padding-left: 34px; }
.case-point > span { display: grid; width: 34px; height: 34px; margin-bottom: 50px; place-items: center; border-radius: 50%; color: var(--brand); background: var(--brand-soft); font-size: .78rem; font-weight: 700; }
.case-point h3 { font-size: 1.4rem; }
.case-point p { margin: 13px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.case-method { color: white; background: var(--ink); }
.case-method .eyebrow { color: var(--accent); }
.case-method-heading { display: grid; max-width: 850px; margin-bottom: clamp(54px, 8vw, 90px); }
.case-method .steps { border-color: rgb(255 255 255 / 18%); }
.case-method .step + .step { border-color: rgb(255 255 255 / 18%); }
.case-method .step > span { color: var(--accent); }
.case-method .step p { color: rgb(255 255 255 / 70%); }
.case-method-note { max-width: 720px; margin: 42px 0 0; border-top: 1px solid rgb(255 255 255 / 18%); padding-top: 28px; color: rgb(255 255 255 / 78%); font-size: .9rem; line-height: 1.65; }

.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: 40px 0 24px; border-top: 1px solid var(--line); background: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; }
.footer-grid > div:first-child p { margin: 15px 0 0; color: var(--muted); font-size: .8rem; }
.footer-meta { display: flex; flex-direction: column; gap: 4px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0 24px; }
.footer-links a, .footer-links .cookie-settings { display: inline-flex; min-height: 44px; align-items: center; color: var(--brand); font-size: .78rem; font-weight: 700; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.copyright { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .7rem; }
.copyright-mark { display: inline-block; margin-left: 4px; font-size: 16px; line-height: 1; vertical-align: -.15em; }
.cookie-settings { border: 0; padding: 4px 0; color: var(--brand); background: none; font: inherit; font-weight: 700; cursor: pointer; }
.cookie-settings:hover { text-decoration: underline; }
.cookie-settings:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 2px; }

@media (min-width: 641px) {
  .copyright { text-align: center; }
  .site-footer .brand { display: flex; min-height: 34px; }
  .footer-grid > div:first-child p { line-height: 1.28rem; }
  .footer-meta { gap: 15px; }
  .footer-links a, .footer-links .cookie-settings { min-height: 34px; }
  .footer-languages { min-height: 1.28rem; }
  .footer-languages a { min-height: 0; }
}

.cookie-banner { position: fixed; z-index: 60; bottom: 24px; left: 24px; display: flex; width: min(350px, calc(100% - 48px)); align-items: stretch; flex-direction: column; gap: 18px; border: 1px solid rgb(255 255 255 / 12%); border-radius: 22px; padding: 22px; color: #fff; background: #444; box-shadow: 0 18px 60px rgb(0 0 0 / 20%); }
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { display: block; font-size: .92rem; }
.cookie-banner p { margin: 6px 0 0; color: #ededed; font-size: .78rem; line-height: 1.45; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie-actions button { min-height: 42px; border: 0; border-radius: 999px; padding: 0 17px; font-size: .76rem; font-weight: 700; cursor: pointer; }
.cookie-refuse { color: var(--brand-dark); background: var(--brand-soft); }
.cookie-accept { color: white; background: var(--brand); }
.cookie-actions button:hover { filter: brightness(.96); }
.cookie-actions button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

@media (max-width: 900px) {
  :root { --container: min(100% - 34px, 700px); }
  .nav-shell { min-height: 72px; }
  .js .menu-toggle { display: block; }
  /* The fixed logo row masks the panel while it slides behind it. */
  .site-header, .site-header.scrolled { background: var(--cream); backdrop-filter: none; box-shadow: none; transition: none; }
  .site-header::before { content: ""; position: absolute; z-index: 0; inset: 0; background: var(--cream); pointer-events: none; }
  .nav-shell > .brand, .menu-toggle, .no-script-nav { position: relative; z-index: 1; }
  .menu-overlay { position: fixed; z-index: 35; inset: 72px 0 0; display: block; visibility: hidden; opacity: 0; background: rgb(22 31 28 / 45%); transition: opacity .18s ease, visibility .18s ease; }
  .js .menu-open .menu-overlay { visibility: visible; opacity: 1; }
  .site-menu { position: absolute; z-index: -1; inset: 100% 0 auto; display: flex; visibility: hidden; max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 22px; padding: 16px 28px 28px; border-radius: 0 0 24px 24px; background: var(--cream); transform: translateY(-100%); transition: transform .24s ease, visibility 0s linear .24s; }
  .js .menu-open .site-menu { visibility: visible; transform: translateY(0); transition-delay: 0s; }
  .js .menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .js .menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .no-script-nav { display: flex; margin-left: auto; align-items: center; gap: 16px; }
  .no-script-nav > a:first-child { color: var(--brand); font-size: .8rem; font-weight: 700; text-decoration: none; }
  .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; }
  .locale-switcher, .locale-dropdown { width: 100%; }
  .locale-dropdown > summary { justify-content: flex-start; }
  .locale-options { position: static; width: 100%; margin-bottom: 12px; box-shadow: none; }
  .hero { padding-top: 120px; }
  .case-hero { padding-top: 120px; }
  .case-hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 70px; }
  .case-ledger { width: min(100%, 560px); }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 60px; }
  .availability-block { grid-template-columns: 1fr; gap: 32px; }
  .store-cards { width: 100%; min-width: 0; }
  .section-intro, .use-grid, .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .steps { grid-template-columns: 1fr; }
  .case-points { grid-template-columns: 1fr; }
  .case-point { min-height: auto; padding: 28px 0 42px; }
  .case-point + .case-point { border-top: 1px solid var(--line); border-left: 0; padding-left: 0; }
  .case-point > span { margin-bottom: 25px; }
  .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 auto 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); }
  .case-hero h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  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 { padding: 24px 18px 32px; }
  .product-deck::before, .product-deck::after { border-radius: 27px; }
  .product-deck::before { transform: translate(-5px, -5px) rotate(-2deg); }
  .product-deck::after { transform: translate(5px, 5px) rotate(-.5deg); }
  .case-ledger { border-radius: 24px; }
  .case-ledger-heading, .case-ledger-items { padding-inline: 22px; }
  .case-ledger-summary { margin-inline: 22px; }
  .app-window { min-height: 500px; border-radius: 27px; transform: rotate(1deg); }
  .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; }
  .availability-block { padding-block: 44px; }
  .availability-copy > p:last-child { font-size: .94rem; }
  .store-cards { grid-template-columns: 1fr; }
  .store-card { min-height: 76px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 360px; border-radius: 23px; }
  .use-list { margin-top: 20px; }
  .manifesto { margin-top: 90px; }
  summary { min-height: 86px; font-size: .95rem; }
  details p { margin-right: 20px; }
  .cta-panel { min-height: 480px; border-radius: 26px; }
  .site-footer { padding: 28px 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  .footer-grid > div:first-child p { margin-top: 10px; }
  .footer-meta { gap: 0; }
  .footer-links { justify-content: center; gap: 0 18px; }
  .footer-links a, .footer-links .cookie-settings, .footer-languages a { min-height: 36px; }
  .copyright { grid-column: auto; margin-top: 0; }
  .footer-languages { justify-content: center; }
  .cookie-banner { bottom: 12px; left: 12px; width: calc(100% - 24px); border-radius: 20px; padding: 20px; }
  .cookie-actions button { width: 100%; }
}

@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; }
}

.feature-intro { grid-template-columns: minmax(0, 820px) auto; gap: 24px; }
.motion-toggle { justify-self: end; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; color: var(--brand-dark); background: var(--cream); font: inherit; font-size: .75rem; font-weight: 600; cursor: pointer; }
.motion-toggle[hidden] { display: none; }
.motion-toggle:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.feature-card { gap: 30px; }
.feature-demo { margin-top: auto; min-height: 236px; }
.demo-caption { display: block; margin-bottom: 12px; font-size: .7rem; font-weight: 600; }
.feature-balance .demo-caption { color: var(--cream); }
.demo-stack { display: grid; gap: 9px; }
.demo-row { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 12px; border-radius: 12px; padding: 12px 16px; opacity: 1; transform: none; transition: opacity .35s ease, transform .35s ease; }
.demo-row > span { font-size: .75rem; }
.demo-row > strong { flex-shrink: 0; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.feature-balance .demo-row { color: var(--brand-dark); background: var(--brand-soft); }
.feature-balance .demo-row.demo-owe { color: var(--ink); background: var(--cream); }
.motion-ready[data-step="0"] .demo-row,
.motion-ready[data-step="1"] .demo-row:nth-child(n+2),
.motion-ready[data-step="2"] .demo-row:nth-child(n+3),
.motion-ready[data-step="3"] .demo-row:nth-child(n+4) { opacity: 0; transform: translateY(12px); }
.demo-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; border-radius: 999px; padding: 4px; color: var(--muted); background: var(--surface); font-size: .72rem; font-weight: 600; text-align: center; }
.demo-tabs span { border-radius: 999px; padding: 10px 4px; transition: background .3s ease, color .3s ease; }
[data-mode="0"] .demo-tabs span:nth-child(1), [data-mode="1"] .demo-tabs span:nth-child(2), [data-mode="2"] .demo-tabs span:nth-child(3) { color: white; background: var(--brand); }
.demo-split-head, .demo-person { display: grid; grid-template-columns: minmax(0, 1fr) auto 38px; gap: 10px; align-items: center; }
.demo-split-head { margin-top: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; color: var(--brand); font-size: .62rem; font-weight: 600; }
.demo-split-head span:last-child { text-align: center; }
.demo-person { border-bottom: 1px solid var(--line); padding: 10px 0; font-size: .76rem; }
.demo-person > span:first-child { display: flex; align-items: center; gap: 7px; }
.demo-checkbox { display: inline-grid; width: 15px; height: 15px; flex: 0 0 auto; place-items: center; border-radius: 3px; background: var(--brand); color: white; font-size: .6rem; font-style: normal; }
.demo-payer { justify-self: center; width: 17px; height: 17px; border: 1px solid var(--muted); border-radius: 50%; }
.demo-payer.selected { border: 4px solid var(--cream); outline: 1px solid var(--brand); background: var(--brand); }
.demo-values { display: grid; text-align: right; font-variant-numeric: tabular-nums; }
.demo-values b { grid-area: 1 / 1; font-weight: 600; visibility: hidden; }
[data-mode="0"] .demo-values b:nth-child(1), [data-mode="1"] .demo-values b:nth-child(2), [data-mode="2"] .demo-values b:nth-child(3) { visibility: visible; }
.demo-activity .demo-row { justify-content: flex-start; min-height: 44px; border-bottom: 1px solid var(--line); border-radius: 0; padding: 9px 0; }
.demo-event-icon { display: grid; width: 27px; height: 27px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--brand); background: var(--brand-soft); font-style: normal; font-size: .8rem; }
.demo-devices { display: grid; grid-template-columns: minmax(0, .8fr) 24px minmax(0, 1.4fr); gap: 8px; align-items: center; }
.demo-screen { min-width: 0; border: 2px solid var(--brand); border-radius: 17px; padding: 10px; background: var(--cream); box-shadow: 0 10px 20px rgb(31 41 38 / 8%); }
.demo-phone { padding-top: 18px; }
.demo-phone::before { content: ""; display: block; width: 24px; height: 4px; margin: -10px auto 10px; border-radius: 4px; background: var(--brand); }
.demo-browser { border-radius: 12px; }
.demo-screen-label { display: block; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: .62rem; font-weight: 600; }
.demo-device-arrow { color: var(--brand); text-align: center; font-size: 1.3rem; }
.demo-expense { display: grid; gap: 7px; border-radius: 9px; padding: 10px 8px; color: var(--brand-dark); background: var(--brand-soft); opacity: 1; transform: none; transition: opacity .35s ease, transform .35s ease; }
.demo-expense > span:not(.demo-grocery-icon) { font-size: .62rem; }
.demo-expense strong { font-size: .85rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.demo-expense small { font-size: .55rem; }
.demo-grocery-icon { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 6px; color: var(--cream); background: var(--brand); font-size: .9rem; }
.motion-ready[data-step="0"] .demo-expense,
.motion-ready[data-step="1"] .demo-browser .demo-expense,
.motion-ready[data-step="2"] .demo-browser .demo-expense { opacity: 0; transform: translateY(10px); }
@media (max-width: 900px) {
  .feature-intro { grid-template-columns: 1fr; gap: 20px; }
  .motion-toggle { justify-self: start; }
}
@media (max-width: 640px) {
  .feature-card { padding: 26px 22px; }
  .demo-row { padding-inline: 12px; }
  .demo-row > strong { font-size: 1rem; }
  .demo-devices { grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1.3fr); gap: 5px; }
  .demo-screen { padding-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-row, .demo-tabs span, .demo-expense { transition: none; }
}

.public-privacy {
  padding: 156px 0 80px;
}

.privacy-document {
  max-width: 860px;
}

.privacy-document .privacy-heading {
  margin-bottom: 48px;
}

.privacy-document h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin: 12px 0 24px;
}

.privacy-document section + section {
  margin-top: 36px;
}

.privacy-document h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin-bottom: 12px;
}

.privacy-document p {
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.privacy-document p + p {
  margin-top: 16px;
}

.privacy-document a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .public-privacy { padding: 112px 0 48px; }
  .privacy-document .privacy-heading { margin-bottom: 32px; }
}

