:root {
  color-scheme: light dark;
  --bg: #fcfcfb; --surface: #ffffff; --surface-2: #f1f4f1; --text: #0b0b0b; --muted: #6b6a66;
  --accent: #0f6b4f; --accent-strong: #0a513d; --accent-soft: #e1f1eb; --line: #d9dedb; --focus: #bb5a16;
  --shadow: 0 18px 50px rgba(20, 45, 36, .09); --radius: 16px; --wrap: min(1120px, calc(100% - 2rem));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 1rem; line-height: 1.65; text-rendering: optimizeLegibility; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(2.8rem, 8vw, 5.75rem); max-width: 10ch; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 5vw, 3.3rem); max-width: 18ch; margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; margin-bottom: .65rem; }
p { max-width: 65ch; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 100; padding: .75rem 1rem; background: var(--text); color: var(--bg); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); }
.nav-shell { width: var(--wrap); min-height: 72px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { color: var(--text); display: inline-flex; align-items: center; gap: .65rem; font-size: 1.05rem; font-weight: 760; text-decoration: none; letter-spacing: -.015em; white-space: nowrap; }
.brand-mark { width: 1.7rem; aspect-ratio: 1; border-radius: 50%; background: var(--accent); display: inline-block; position: relative; box-shadow: inset 0 0 0 5px var(--accent-soft); }
.brand-mark::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 13px; height: 2px; background: var(--accent); transform: translate(-50%, -50%) rotate(-25deg); }
.site-header nav { display: flex; align-items: center; gap: .25rem; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 650; padding: .55rem .7rem; border-radius: 9px; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.eyebrow { color: var(--accent); font-size: .76rem; font-weight: 800; line-height: 1.3; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1rem; }
.lede { color: var(--muted); font-size: clamp(1.12rem, 2.5vw, 1.38rem); line-height: 1.55; max-width: 59ch; }
.hero { padding-block: clamp(4rem, 10vw, 8.5rem); display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: clamp(2.5rem, 8vw, 7rem); }
.hero-copy { min-width: 0; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .8rem 1.1rem; border: 1px solid transparent; border-radius: 11px; font-size: .96rem; font-weight: 760; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-strong); }
.button-secondary { border-color: var(--line); background: var(--surface); color: var(--text); }
.button-large { min-height: 56px; padding: 1rem 1.35rem; }
.meal-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 1.4rem; box-shadow: var(--shadow); transform: rotate(1.2deg); }
.meal-card-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--muted); font-size: .78rem; font-weight: 700; }
.status { color: var(--accent); background: var(--accent-soft); padding: .28rem .5rem; border-radius: 99px; }
.meal-name { font-size: 1.7rem; font-weight: 780; letter-spacing: -.03em; margin: 2.25rem 0 1rem; }
.food-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.food-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.food-list li span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.meal-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.25rem; }
.meal-total strong { font-size: 1.25rem; color: var(--accent); }
.meal-card > p { color: var(--muted); font-size: .8rem; margin: 1rem 0 0; }
.capture-strip { scroll-margin-top: 1rem; border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.capture-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1rem 3rem; align-items: end; margin-bottom: 2.25rem; }
.capture-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.capture-heading h2, .capture-heading p { margin-bottom: 0; }
.capture-heading p { color: var(--muted); }
.capture-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capture-grid li { min-height: 190px; display: flex; flex-direction: column; padding: 1.15rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.capture-grid strong { font-size: 1.2rem; letter-spacing: -.02em; margin: auto 0 .3rem; }
.capture-grid li > span:last-child { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.capture-index { color: var(--accent); font: 750 .72rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.key-strip { background: var(--text); color: var(--bg); padding-block: clamp(3rem, 7vw, 5.5rem); }
.key-strip .eyebrow { color: #65d0ad; }
.key-strip h2 { margin-bottom: 0; }
.key-strip p:last-child { color: color-mix(in srgb, var(--bg) 70%, transparent); margin: 0; font-size: 1.08rem; }
.key-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 4rem; }
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section-heading { margin-bottom: 3rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.steps li { min-height: 285px; display: flex; flex-direction: column; padding: 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.steps li:nth-child(even) { margin-top: 2rem; }
.steps p { color: var(--muted); margin: 0; }
.step-number { width: fit-content; color: var(--accent); font-size: .8rem; font-weight: 800; letter-spacing: .12em; border-bottom: 2px solid var(--accent); padding-bottom: .2rem; margin-bottom: auto; }
.accuracy-section { background: var(--accent-soft); }
.accuracy-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(2rem, 8vw, 7rem); }
.accuracy-grid p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.benchmark-card { justify-self: end; width: min(100%, 340px); aspect-ratio: 1.12; display: grid; align-content: center; text-align: center; padding: 2rem; border-radius: 50%; background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line)); box-shadow: var(--shadow); }
.benchmark-number { color: var(--accent); font-size: clamp(4rem, 11vw, 6.5rem); line-height: .9; font-weight: 820; letter-spacing: -.07em; }
.benchmark-unit { color: var(--accent); font-weight: 800; }
.benchmark-card p { font-size: .82rem !important; margin: .75rem auto 0; max-width: 23ch; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-grid article { border-top: 3px solid var(--accent); padding: 1.4rem .2rem 0; }
.feature-grid p { color: var(--muted); margin-bottom: 0; }
.privacy-callout { padding-block: 0; }
.callout-inner { background: var(--surface-2); border: 1px solid var(--line); border-radius: 24px; padding: clamp(2rem, 6vw, 4.5rem); display: flex; justify-content: space-between; align-items: end; gap: 3rem; }
.callout-inner p:not(.eyebrow) { color: var(--muted); margin-bottom: 0; }
.text-link { white-space: nowrap; font-weight: 750; }
.download-panel { border-radius: 24px; background: var(--text); color: var(--bg); padding: clamp(2rem, 7vw, 5rem); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 6rem); }
.download-panel .eyebrow { color: #65d0ad; }
.download-panel p:not(.eyebrow) { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.download-actions { display: grid; gap: .75rem; align-content: center; }
.placeholder-link { align-items: flex-start; flex-direction: column; line-height: 1.3; }
.placeholder-link span { display: block; font-size: .7rem; font-weight: 600; opacity: .72; }
.badge-placeholder { border: 1px dashed color-mix(in srgb, var(--bg) 35%, transparent); border-radius: 11px; padding: .7rem 1rem; color: color-mix(in srgb, var(--bg) 60%, transparent); font-size: .8rem; text-align: center; }
.support-panel { display: flex; align-items: center; justify-content: space-between; gap: 3rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 3rem; }
.support-panel h2 { margin-bottom: .6rem; }
.support-panel p:not(.eyebrow) { color: var(--muted); margin-bottom: 0; }
.site-footer { background: var(--surface-2); border-top: 1px solid var(--line); padding-block: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 3rem; }
.footer-grid p { color: var(--muted); font-size: .86rem; margin: .8rem 0 0; }
.footer-grid .licence { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .72rem; }
.footer-grid nav { display: grid; grid-template-columns: repeat(2, auto); gap: .6rem 2rem; align-content: start; }
.footer-grid nav a { color: var(--muted); font-size: .88rem; }
.footer-grid nav a[aria-current="page"] { color: var(--text); font-weight: 720; }
.footer-grid nav span { display: block; font-size: .65rem; }
.legal-main { min-height: 70vh; }
.legal { max-width: 820px; padding-block: clamp(4rem, 9vw, 7rem); }
.legal-header { padding-bottom: 3.5rem; border-bottom: 1px solid var(--line); margin-bottom: 3.5rem; }
.legal-header h1, .support-hero h1 { max-width: 13ch; font-size: clamp(2.8rem, 7vw, 5.2rem); }
.legal .meta { color: var(--muted); font-size: .86rem; }
.legal section { scroll-margin-top: 1rem; margin-block: 3.5rem; }
.legal section h2 { font-size: clamp(1.5rem, 4vw, 2rem); max-width: 28ch; }
.legal section p, .legal section li { color: var(--muted); }
.legal section a { overflow-wrap: anywhere; }
.policy-index { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 1.5rem; }
.policy-index strong { grid-column: 1 / -1; margin-bottom: .4rem; }
.policy-index a { font-size: .9rem; }
.data-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-block: 1.5rem; }
table { border-collapse: collapse; width: 100%; min-width: 650px; background: var(--surface); font-size: .9rem; }
th, td { padding: 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: var(--text); background: var(--surface-2); }
td { color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
.health-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-block: 1.5rem; }
.health-grid > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; background: var(--surface); }
.health-grid h3 { margin: .8rem 0 .3rem; }
.health-grid p { font-size: .86rem; margin: 0; }
.direction { display: inline-block; color: var(--accent); background: var(--accent-soft); border-radius: 99px; padding: .2rem .5rem; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.support-hero { max-width: 920px; padding-block: clamp(4rem, 9vw, 7rem); }
.support-hero > .lede { margin-bottom: 3.5rem; }
.donation-card { background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line)); border-radius: 24px; padding: clamp(1.5rem, 5vw, 3.5rem); }
.donation-card h2 { font-size: 2rem; }
.donation-card .button { margin-block: .8rem 1rem; }
.small { font-size: .8rem; }
.muted { color: var(--muted); }
.calm-note { margin-top: 4rem; }
.calm-note h2 { font-size: 1.7rem; }
.plain-list { padding-left: 1.25rem; color: var(--muted); }
.plain-list li + li { margin-top: .6rem; }
.sources-page { max-width: 900px; }
.source-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.source-list li { display: grid; grid-template-columns: 140px 1fr; gap: 2rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.source-list p { margin: 0; color: var(--text) !important; }
.source-country { color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 820px) {
  .nav-shell { align-items: flex-start; flex-direction: column; padding-block: .85rem; gap: .65rem; }
  .site-header nav { width: 100%; overflow-x: auto; padding-bottom: .2rem; }
  .site-header nav a { flex: 0 0 auto; }
  .hero, .key-grid, .accuracy-grid, .download-panel, .capture-heading { grid-template-columns: 1fr; }
  .hero { padding-top: 4rem; }
  .meal-card { width: min(100%, 480px); justify-self: center; transform: none; }
  .key-grid { gap: 1.5rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(even) { margin-top: 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .capture-grid { grid-template-columns: repeat(2, 1fr); }
  .benchmark-card { justify-self: center; }
  .callout-inner, .support-panel { align-items: flex-start; flex-direction: column; gap: 1.5rem; }
}
@media (max-width: 560px) {
  :root { --wrap: min(100% - 1.25rem, 1120px); }
  h1 { font-size: clamp(2.65rem, 14vw, 4.1rem); }
  .site-header nav { gap: 0; margin-inline: -.35rem; width: calc(100% + .7rem); }
  .site-header nav a { padding-inline: .5rem; font-size: .84rem; }
  .steps, .feature-grid, .footer-grid, .health-grid, .capture-grid { grid-template-columns: 1fr; }
  .steps li { min-height: 245px; }
  .footer-grid nav { grid-template-columns: 1fr; gap: .65rem; }
  .policy-index { grid-template-columns: 1fr; }
  .policy-index strong { grid-column: 1; }
  .source-list li { grid-template-columns: 1fr; gap: .6rem; }
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1a1a19; --surface: #242422; --surface-2: #202522; --text: #ffffff; --muted: #a3a29b; --accent: #37b58f; --accent-strong: #2b9677; --accent-soft: #173d31; --line: #3b3c38; --focus: #f1a15f; --shadow: 0 18px 55px rgba(0, 0, 0, .28); }
  .button-primary { color: #071c15; }
  .key-strip, .download-panel { background: #0d3025; color: #fff; }
  .key-strip h2, .download-panel h2 { color: #fff; }
  .key-strip p:last-child, .download-panel p:not(.eyebrow) { color: #c6d8d1; }
  .badge-placeholder { color: #a3b8b1; border-color: #65766f; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
