/* Same palette as the app (app/lib/design/tokens.dart). System fonts: no third-party requests. */
:root {
  --bg: #FBF7F2; --surface: #FFFFFF; --ink: #1F2A37; --muted: #5B6472; --outline: #DDD3C7;
  --accent: #B84A33; --accent-soft: #F7DDD4; --sage: #4F7D67;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #14181D; --surface: #1D232A; --ink: #EEF0F2; --muted: #A5ADB6; --outline: #2C343C;
          --accent: #E58A73; --accent-soft: #3A2620; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink);
       font: 400 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); text-underline-offset: 3px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header.site { border-bottom: 1px solid var(--outline); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 8px; }
nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--ink); }
.lang { display: inline-flex; border: 1px solid var(--outline); border-radius: 999px; overflow: hidden; }
.lang a { padding: 2px 10px; font-size: 14px; }
.lang a[aria-current] { background: var(--accent-soft); font-weight: 600; }
main { padding-top: 32px; padding-bottom: 48px; }
h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.15; margin: 0 0 8px; }
h2 { font-size: 22px; margin: 32px 0 8px; }
h3 { font-size: 18px; margin: 24px 0 4px; }
.lead { color: var(--muted); font-size: 19px; }
.hero { text-align: center; padding: 24px 0 8px; }
.hero img { border-radius: 28px; }
.badges { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 32px; }
.cards div { background: var(--surface); border: 1px solid var(--outline); border-radius: 20px; padding: 4px 20px 12px; }
.cards h2 { font-size: 19px; margin-top: 16px; }
footer.site { border-top: 1px solid var(--outline); color: var(--muted); font-size: 15px; padding: 16px 0 32px; }
footer .links { display: flex; gap: 16px; flex-wrap: wrap; }
