:root {
  color-scheme: light dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #fffaf0;
  --surface: #ffffff;
  --text: #27231d;
  --muted: #71695f;
  --border: #e8dfd0;
  --accent: #f0b429;
  --accent-ink: #6f4c00;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.65; }
a { color: var(--accent-ink); }
.shell { width: min(820px, calc(100% - 40px)); margin: 0 auto; }
header { padding: 64px 0 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--accent); color: #312100; }
h1 { margin: 22px 0 10px; font-size: clamp(36px, 7vw, 64px); line-height: 1.05; letter-spacing: -.04em; }
h2 { margin-top: 34px; line-height: 1.25; }
.lead, .meta { color: var(--muted); }
.lead { max-width: 620px; font-size: 18px; }
.card { margin: 24px 0; padding: 24px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: 0 12px 40px rgb(76 53 15 / 6%); }
.app-title { margin: 0 0 6px; font-size: 22px; }
.links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.button { display: inline-block; padding: 10px 14px; border-radius: 10px; background: var(--accent); color: #312100; font-weight: 750; text-decoration: none; }
.policy { padding-bottom: 72px; }
.policy h1 { font-size: clamp(34px, 6vw, 54px); }
.language { margin: 48px 0; border: 0; border-top: 1px solid var(--border); }
.language-switcher { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.language-button { padding: 8px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: inherit; font-weight: 750; cursor: pointer; }
.language-button[aria-pressed="true"] { background: var(--accent); color: #312100; }
.language-button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
footer { padding: 32px 0 48px; color: var(--muted); font-size: 14px; }

@media (prefers-color-scheme: dark) {
  :root { --bg: #17140f; --surface: #211d17; --text: #f5ecdf; --muted: #b9afa1; --border: #3a3329; --accent-ink: #f0b429; }
}
