/*
  Shared styles for every page and every language variant.

  Extracted from the inline <style> block when DE/FR were added: three languages x two pages is
  six files, and a duplicated stylesheet means every design tweak is a six-way edit that will
  eventually be done five times. Also lets the browser cache it once across the whole site.
*/
:root {
  --bg: #ffffff; --fg: #16181d; --muted: #5b6270; --line: #e6e8ec;
  --accent: #1f5eff; --card: #f7f8fa;
  --maxw: 64rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1013; --fg: #edeef1; --muted: #9aa1ad; --line: #23262d;
    --accent: #6f9bff; --card: #15181d;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
header { padding: 2rem 0; }
.brand { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand span { color: var(--accent); }

.hero { padding: 3.5rem 0 2.5rem; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.1; letter-spacing: -0.02em;
  margin: 0 0 1rem; max-width: 20ch;
}
.hero p.lede { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--muted); max-width: 52ch; margin: 0 0 2rem; }

.cta { display: flex; flex-wrap: wrap; gap: 0.6rem; max-width: 30rem; }
.cta .btn {
  display: inline-block; padding: 0.8rem 1.2rem; font-size: 1rem; font-weight: 600;
  border-radius: 0.6rem; background: var(--accent); color: #fff; text-decoration: none;
}
.cta small { flex-basis: 100%; color: var(--muted); font-size: 0.85rem; margin-top: 0.2rem; }

.benefits { padding: 2.5rem 0 3rem; display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 46rem) { .benefits { grid-template-columns: 1fr; } }
.benefits .card { background: var(--card); border: 1px solid var(--line); border-radius: 0.9rem; padding: 1.3rem; }
.benefits h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.benefits p { margin: 0; color: var(--muted); font-size: 0.95rem; }

footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); font-size: 0.9rem; }
footer a { color: inherit; }
footer .row { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; justify-content: space-between; }

/* ── Language switcher ──────────────────────────────────────────────────────────────────────
 Plain links, deliberately. Auto-redirecting on Accept-Language is the obvious temptation and
 it is a trap: Google warns that redirecting the crawler stops it ever reaching the other
 variants, so they never get indexed - which is the whole point of translating the site.
 Visitors choose; the crawler follows real links.                                            */
.langs { display: flex; gap: 0.25rem; align-items: center; }
.langs a {
display: inline-block; padding: 0.15rem 0.5rem; border-radius: 0.35rem;
font-size: 0.85rem; text-decoration: none; color: var(--muted);
}
.langs a:hover { background: var(--card); color: var(--fg); }
.langs a[aria-current="true"] { color: var(--fg); font-weight: 600; background: var(--card); }
header .row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }

/* Keyboard users land on the language switcher before the content otherwise. */
.skip {
  position: absolute; left: -9999px;
  background: var(--accent); color: #fff; padding: 0.5rem 0.75rem; border-radius: 0.35rem;
}
.skip:focus { left: 1rem; top: 1rem; z-index: 10; }
.brand a { color: inherit; text-decoration: none; }
