/* Public site. Brand not decided yet: neutral palette, all colours are tokens. */
:root {
  color-scheme: light dark;
  --bg: #f7f7f5;
  --surface: #ffffff;
  --text: #1c1d1f;
  --muted: #5b5f66;
  --border: #e3e3df;
  --accent: #2f5bd3;
  --accent-soft: #e8eefc;
  --hero-from: #eef1f6;
  --hero-to: #f7f7f5;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121315;
    --surface: #1b1d20;
    --text: #ececea;
    --muted: #a4a8ae;
    --border: #2c2f34;
    --accent: #8aa8ff;
    --accent-soft: #1f2a44;
    --hero-from: #181b22;
    --hero-to: #121315;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.topbar { border-bottom: 1px solid var(--border); background: var(--surface); }
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px;
}
.wordmark { font-weight: 700; letter-spacing: -0.01em; color: var(--text); text-decoration: none; font-size: 18px; }
.langs { display: flex; flex-wrap: wrap; gap: 4px; }
.langs a {
  font-size: 14px; color: var(--muted); text-decoration: none;
  padding: 4px 10px; border-radius: 999px; border: 1px solid transparent;
}
.langs a:hover { color: var(--text); border-color: var(--border); }
.langs a[aria-current] { color: var(--accent); background: var(--accent-soft); font-weight: 600; }

.hero { background: linear-gradient(180deg, var(--hero-from), var(--hero-to)); padding: 72px 0 64px; }
@media (min-width: 720px) { .hero { padding: 112px 0 96px; } }
.eyebrow {
  margin: 0 0 12px; font-size: 14px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent);
}
.hero h1 { margin: 0; font-size: clamp(40px, 9vw, 72px); line-height: 1.05; letter-spacing: -0.03em; }
.tagline { margin: 20px 0 0; max-width: 36ch; font-size: clamp(19px, 2.6vw, 24px); color: var(--muted); line-height: 1.45; }

.features { padding: 56px 0 72px; }
.features h2 { margin: 0 0 24px; font-size: 26px; letter-spacing: -0.01em; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 16px 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon {
  width: 40px; height: 40px; padding: 8px; border-radius: 10px;
  background: var(--accent-soft); stroke: var(--accent); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; }
.footer .wordmark { font-size: 14px; color: var(--muted); }
@media (max-width: 480px) { .langs { gap: 2px; } .langs a { padding: 4px 7px; font-size: 13px; } }
