/* Plain, high-contrast styling. Links are always underlined: color alone never carries meaning here. */
:root {
  --bg: #fbfbfe; --fg: #1a1c22; --muted: #4a4f5c; --accent: #3a5ba0; --card: #eef1fa; --line: #c9cfdd;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121318; --fg: #e4e6ee; --muted: #b5bac8; --accent: #b1c5ff; --card: #1d2130; --line: #3a4052; }
}
* { box-sizing: border-box; }
html { font-size: 112.5%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); text-decoration: underline; text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 0.15em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--bg); padding: 0.5rem 1rem; z-index: 1; }

.top, main, .bottom { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem; }
.top { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding-top: 1.25rem; }
.brand { display: flex; gap: 0.6rem; align-items: center; font-weight: 700; font-size: 1.25rem; color: var(--fg); text-decoration: none; }
.brand img { display: block; }
.langs ul, .bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.langs [aria-current="page"] { font-weight: 700; text-decoration: none; color: var(--fg); }
.langs [aria-current="page"]::before { content: "✓ "; }

main { padding-top: 2rem; padding-bottom: 2rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 0.5rem; }
h2 { font-size: 1.3rem; margin: 2rem 0 0.5rem; }
.lead { font-size: 1.2rem; color: var(--muted); margin-top: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.25rem; margin: 1.5rem 0; }
.card h2 { margin-top: 0; }
.button {
  display: inline-block; background: var(--accent); color: var(--bg); font-weight: 700;
  padding: 0.6rem 1.1rem; border-radius: 999px; text-decoration: none;
}
.example { font-size: 1.05rem; }
.example b { white-space: nowrap; }

.privacy h1 { font-size: 1.8rem; }
.privacy blockquote { margin: 1rem 0; padding: 0.5rem 1rem; border-left: 4px solid var(--line); color: var(--muted); }

.bottom { border-top: 1px solid var(--line); padding-top: 1rem; padding-bottom: 2rem; color: var(--muted); font-size: 0.9rem; }
.bottom p { margin: 0.75rem 0 0; }

/* Screenshots: three across on wide screens, a sideways scroll on phones. */
.screens { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(11rem, 1fr); gap: 1rem; overflow-x: auto; padding-bottom: 0.5rem; scroll-snap-type: x mandatory; }
.screens figure { margin: 0; scroll-snap-align: start; }
.screens img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); }
.screens figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.5rem; }
