:root {
  --forest: #286c63;
  --forest-deep: #20574f;
  --ink: #24352f;
  --muted: #65736b;
  --canvas: #f5f6f3;
  --surface: #fff;
  --green-soft: #edf4f1;
  --line: #e0e6e0;
  --orange: #a45d25;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; scrollbar-color: var(--muted) var(--canvas); }
body { margin: 0; font-size: 16px; line-height: 1.65; }
::selection { color: var(--surface); background: var(--forest); }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
a:hover { color: var(--forest); }
a:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--forest); outline-offset: 5px; border-radius: 4px; }
input { accent-color: var(--forest); caret-color: var(--forest); }
svg { width: 24px; height: 24px; flex: 0 0 auto; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { line-height: 1.15; text-wrap: balance; }
strong { font-variant-numeric: tabular-nums; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; top: 8px; left: 8px; transform: translateY(-150%); z-index: 10; padding: 10px 18px; background: var(--surface); }
.skip-link:focus { transform: translateY(0); }
.site-header { min-height: 100px; display: flex; align-items: center; gap: 38px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 750; letter-spacing: -.03em; }
.brand-symbol { background: var(--forest); color: var(--surface); border-radius: 13px; display: grid; place-items: center; width: 43px; height: 43px; }
.section-nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; }
.header-actions { display: flex; gap: 24px; align-items: center; }
.language { display: flex; border: 1px solid var(--line); border-radius: 7px; padding: 3px; font-size: 12px; line-height: 1; font-weight: 700; }
.language a { padding: 9px; border-radius: 4px; }
.language [aria-current] { color: var(--forest-deep); background: var(--green-soft); }
.login-link { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 650; }
.login-link svg { width: 18px; height: 18px; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 66px; padding-block: 76px 86px; align-items: center; }
h1 { font-size: clamp(40px, 4.5vw, 61px); letter-spacing: -.035em; font-weight: 730; }
h1 span { color: var(--forest); }
.lead { color: var(--muted); max-width: 46ch; margin-top: 25px; font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 8px; font-weight: 650; font-size: 15px; line-height: 1.5; min-height: 50px; }
.button.primary { background: var(--forest); color: var(--surface); }
.button.primary:hover { background: var(--forest-deep); }
.button svg { width: 19px; height: 19px; }
.text-link { color: var(--forest-deep); font-size: 14px; font-weight: 650; display: inline-flex; align-items: center; gap: 9px; }
.text-link:hover { text-decoration: underline; }
.account-note { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; margin-top: 20px; }
.account-note svg { width: 15px; height: 15px; color: var(--forest); }
.receipt-demo { min-width: 0; }
figcaption { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.receipt-demo > figcaption { text-align: right; }
.receipt { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; }
.receipt-heading { display: flex; gap: 13px; align-items: center; padding: 23px 26px 18px; }
.receipt-heading h2 { font-size: 19px; letter-spacing: -.02em; }
.receipt-heading p { color: var(--muted); font-size: 12px; margin-top: 5px; }
.mini-brand { color: var(--forest); background: var(--green-soft); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0; }
.grocery-rows { list-style: none; margin: 0; padding: 0 26px; }
.grocery-rows li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.grocery-rows strong { font-size: 14px; margin-left: auto; white-space: nowrap; }
.item-name { font-size: 14px; font-weight: 600; line-height: 1.45; }
.item-name small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.bought { background: var(--forest); color: var(--surface); border-radius: 5px; width: 21px; height: 21px; display: grid; place-items: center; flex-shrink: 0; }
.bought svg { width: 15px; height: 15px; }
.personal-mark { color: var(--orange); width: 21px; height: 21px; }
.personal-mark svg { width: 21px; height: 21px; }
.demo-control { padding: 12px 26px 18px; }
.switch-label { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-size: 13px; font-weight: 600; }
.switch-label small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; margin-top: 3px; }
.switch-label input { position: absolute; right: 0; margin: 0; width: 42px; height: 24px; opacity: 0; cursor: pointer; }
.switch-track { width: 42px; height: 24px; border-radius: 20px; background: #78857e; flex-shrink: 0; transition: background 180ms ease-out; pointer-events: none; }
.switch-track::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); display: block; margin: 3px; transition: transform 180ms ease-out; }
.switch-label input:checked + .switch-track { background: var(--forest); }
.switch-label input:checked + .switch-track::before { transform: translateX(18px); }
.switch-label input:focus-visible + .switch-track { outline: 3px solid var(--forest); outline-offset: 4px; }
.receipt-summary { padding: 17px 26px 16px; background: var(--green-soft); }
.shared-total { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 12px; margin-bottom: 7px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--forest-deep); }
.shared-total strong { font-size: 27px; letter-spacing: -.03em; }
.debt-row { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding-block: 5px; font-size: 12px; }
.debt-row > span { display: flex; align-items: center; gap: 9px; }
.avatar { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--forest-deep); background: var(--surface); font-size: 10px; font-weight: 700; }
.demo-explanation { padding: 11px 26px; font-size: 12px; color: var(--muted); }
.features { background: var(--surface); padding-block: 88px 0; border-block: 1px solid var(--line); }
h2 { font-size: clamp(30px, 3vw, 43px); letter-spacing: -.025em; font-weight: 700; }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 60px; }
.section-intro > p { max-width: 39ch; color: var(--muted); }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding-block: 68px; align-items: center; }
.feature-copy h3, .money-features h3 { font-size: 29px; letter-spacing: -.025em; max-width: 22ch; }
.feature-copy > p { margin-top: 20px; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; font-size: 14px; }
.check-list li { display: flex; gap: 10px; align-items: start; }
.check-list svg { color: var(--forest); width: 17px; height: 17px; margin-top: 3px; }
.history-preview { background: var(--canvas); border-radius: 14px; padding: 26px 32px; }
.preview-heading { font-size: 16px; line-height: 1.5; font-weight: 650; }
.search-preview { display: flex; align-items: center; gap: 11px; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 12px; margin-top: 16px; font-size: 13px; }
.search-preview svg { width: 18px; height: 18px; color: var(--forest); }
.history-label { margin-left: auto; font-size: 12px; color: var(--muted); }
.history-rows { list-style: none; margin: 0; padding: 0 8px; font-size: 13px; }
.history-rows li { display: flex; justify-content: space-between; padding-block: 11px; border-bottom: 1px solid var(--line); }
.unit-label { color: var(--forest-deep); }
.preview-foot { font-size: 12px; color: var(--muted); margin-top: 15px; text-align: center; }
.meal-row { border-top: 1px solid var(--line); }
.meal-preview { padding: 26px 32px; border-radius: 14px; background: var(--green-soft); }
.meal-preview > figcaption, .meal-preview > .preview-foot { color: var(--forest-deep); }
.meal-paper { padding: 22px 26px; background: var(--surface); border-radius: 7px; }
.recipe-symbol { color: var(--forest); }
.meal-paper h4 { margin-top: 14px; font-size: 22px; letter-spacing: -.02em; }
.meal-paper p { color: var(--muted); margin-top: 14px; font-size: 12px; }
.meal-paper .check-list { margin-top: 12px; gap: 6px; }
.money-features { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; border-top: 1px solid var(--line); padding-block: 62px; }
.money-features p { color: var(--muted); margin-top: 20px; }
.money-features .text-link { margin-top: 24px; }
.currency-note { display: flex; align-items: center; gap: 9px; margin-top: 24px; }
.currency-note > span { font-size: 12px; font-weight: 650; padding: 5px 10px; border: 1px solid var(--line); border-radius: 5px; color: var(--forest-deep); }
.currency-note small { color: var(--muted); font-size: 12px; margin-left: 3px; }
.sync-section { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding-block: 88px; }
.sync-section > div > p { color: var(--muted); }
.sync-section .text-link { margin-top: 22px; }
.how-section { border-top: 1px solid var(--line); padding-block: 70px 78px; }
.how-section h2 { max-width: 25ch; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; counter-reset: step; margin: 40px 0 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; position: relative; padding-left: 42px; }
.steps li::before { content: counter(step); display: grid; place-items: center; position: absolute; left: 0; top: 0; width: 28px; height: 28px; background: var(--green-soft); border-radius: 50%; color: var(--forest-deep); font-size: 13px; font-weight: 700; }
.steps h3 { font-size: 18px; line-height: 1.5; }
.steps p { color: var(--muted); margin-top: 10px; font-size: 14px; }
.faq-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; border-top: 1px solid var(--line); padding-block: 76px 90px; }
.faq-section > div > p { color: var(--muted); font-size: 14px; margin-top: 18px; }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 26px; cursor: pointer; padding-block: 18px; font-size: 15px; font-weight: 600; list-style: none; line-height: 1.5; }
summary::-webkit-details-marker { display: none; }
summary svg { width: 18px; height: 18px; color: var(--forest); transition: transform 180ms ease-out; }
details[open] summary svg { transform: rotate(45deg); }
details p { padding: 0 30px 22px 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.closing { background: var(--forest-deep); color: var(--surface); padding-block: 64px; }
.closing .wrap { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.closing p { color: #d3e6df; font-size: 15px; margin-top: 18px; }
.button.light { background: var(--surface); color: var(--forest-deep); flex-shrink: 0; }
.button.light:hover { background: var(--green-soft); }
.closing a:focus-visible { outline-color: var(--surface); }
.site-footer { padding-block: 42px; display: flex; align-items: center; gap: 45px; }
.site-footer .brand { font-size: 20px; }
.site-footer .brand svg { color: var(--forest); }
.site-footer p, .site-footer > span { color: var(--muted); font-size: 12px; margin-top: 8px; }
.site-footer nav { margin-left: auto; display: flex; gap: 24px; font-size: 13px; }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 56px); }
  .site-header { gap: 25px; }
  .section-nav { gap: 18px; }
  .hero { gap: 36px; }
  h1 { font-size: 46px; }
  .feature-row, .money-features, .sync-section { gap: 60px; }
  .faq-section { gap: 45px; }
  .site-footer { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { padding-block: 18px 14px; min-height: 0; flex-wrap: wrap; gap: 17px; }
  .brand { font-size: 22px; }
  .brand-symbol { width: 36px; height: 36px; border-radius: 11px; }
  .header-actions { margin-left: auto; gap: 15px; }
  .login-link { font-size: 13px; }
  .login-link svg { display: none; }
  .section-nav { order: 3; margin: 0; width: 100%; gap: 25px; font-size: 12px; }
  .hero { grid-template-columns: 1fr; padding-block: 44px 52px; gap: 38px; }
  h1 { font-size: clamp(35px, 8.5vw, 53px); }
  .lead { font-size: 16px; margin-top: 22px; }
  .hero-actions { gap: 18px; margin-top: 24px; }
  .button { padding: 12px 17px; font-size: 14px; }
  .receipt-demo { width: min(100%, 490px); margin-inline: auto; }
  .receipt-heading { padding: 21px 20px 18px; }
  .receipt-heading h2 { font-size: 17px; }
  .grocery-rows { padding-inline: 20px; }
  .demo-control { padding-inline: 20px; }
  .receipt-summary { padding-inline: 20px; }
  .demo-explanation { padding-inline: 20px; }
  .features { padding-top: 52px; }
  .section-intro { display: block; }
  h2 { font-size: 32px; }
  .section-intro > p { margin-top: 20px; }
  .feature-row { grid-template-columns: 1fr; gap: 30px; padding-block: 42px; }
  .feature-copy h3, .money-features h3 { font-size: 26px; max-width: 100%; }
  .history-preview, .meal-preview { padding: 22px; }
  .meal-row .feature-copy { grid-row: 1; }
  .meal-paper { padding: 22px; }
  .money-features { grid-template-columns: 1fr; gap: 38px; padding-block: 42px; }
  .sync-section { grid-template-columns: 1fr; gap: 24px; padding-block: 52px; }
  .how-section { padding-block: 45px; }
  .steps { grid-template-columns: 1fr; gap: 27px; margin-top: 28px; }
  .steps li { padding-left: 42px; }
  .steps p { margin-top: 5px; }
  .faq-section { grid-template-columns: 1fr; gap: 23px; padding-block: 45px 54px; }
  .closing { padding-block: 44px; }
  .closing .wrap { display: block; }
  .closing .button { margin-top: 28px; }
  .site-footer { display: block; padding-block: 30px; }
  .site-footer nav { margin: 25px 0 20px; flex-wrap: wrap; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .switch-track, .switch-track::before, summary svg { transition: none; }
}
