/* Minimal, dependency-free, high-contrast styling for a legal/compliance
   page. Deliberately not wired to the Flutter design_tokens.md system —
   this is a separate static site with no build step (ARCHITECTURE.md
   §website/); token integration for website/ is not in scope for 1g. */

:root {
  color-scheme: light dark;
  --fg: #14171a;
  --bg: #ffffff;
  --muted: #4b5157;
  --border: #d7dbe0;
  --link: #0a4fb3;
  --button-bg: #0a4fb3;
  --button-fg: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg: #eef1f4;
    --bg: #121417;
    --muted: #b8bfc7;
    --border: #33383e;
    --link: #7ab0ff;
    --button-bg: #7ab0ff;
    --button-fg: #0b1220;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

h1 { font-size: 1.75rem; line-height: 1.25; margin: 1.25rem 0 1rem; }
h2 { font-size: 1.2rem; line-height: 1.3; margin: 2rem 0 0.5rem; }
p, ul { margin: 0.75rem 0; }
ul { padding-left: 1.25rem; }
li { margin: 0.4rem 0; }

a { color: var(--link); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--bg);
  color: var(--fg);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  z-index: 10;
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.lang-switch {
  text-align: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

.button {
  display: inline-block;
  background: var(--button-bg);
  color: var(--button-fg);
  padding: 0.75rem 1.25rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-weight: 600;
  min-height: 44px;
  line-height: 1.6;
}
.button:hover { text-decoration: underline; }

footer {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}
