:root {
  --bg: #0B1220;
  --bg-elev: #161B26;
  --text: #E8EEF7;
  --muted: #8B95A8;
  --accent: #F5B942;
  --accent-2: #3BA0FF;
  --cyan: #4CC9FF;
  --line: #2A3344;
  --max: 44rem;
  --wide: 64rem;
  --radius: 14px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(245,185,66,.10) 0%, transparent 55%),
              radial-gradient(900px 500px at 100% 0%, rgba(59,160,255,.12) 0%, transparent 50%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--accent-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.wrap { width: min(100% - 2rem, var(--wide)); margin: 0 auto; }
.narrow { width: min(100% - 2rem, var(--max)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(11, 15, 20, 0.85);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0; flex-wrap: wrap;
}
.brand {
  color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.02em;
}
.brand span { color: var(--accent); }
.nav {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.1rem; align-items: center;
  font-size: 0.95rem;
}
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .legal { color: var(--accent); font-weight: 600; }

.hero {
  padding: 3.5rem 0 2.5rem;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15; margin: 0 0 1rem; max-width: 18ch;
}
.hero p.lead {
  font-size: 1.1rem; color: var(--muted); max-width: 38rem; margin: 0 0 1.5rem;
}
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.75rem; }
.pill {
  border: 1px solid var(--line); background: var(--bg-elev);
  color: var(--muted); border-radius: 999px; padding: 0.35rem 0.8rem; font-size: 0.85rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 0.7rem 1.15rem; font-weight: 600;
  text-decoration: none; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #062016; }
.btn-primary:hover { filter: brightness(1.05); color: #062016; }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }

.section { padding: 2rem 0 2.5rem; }
.section h2 { margin: 0 0 0.75rem; font-size: 1.35rem; }
.grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1.25rem;
}
.card {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.1rem 1.15rem;
}
.card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.note {
  background: #17212c; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0.9rem 1rem; color: var(--muted); font-size: 0.95rem;
}

.legal-body { padding: 2rem 0 3rem; }
.legal-body h1 { font-size: 1.7rem; margin: 0 0 0.5rem; }
.legal-body h2 { font-size: 1.15rem; margin: 1.6rem 0 0.5rem; }
.legal-body p, .legal-body li { color: #d5deea; }
.meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.25rem; }
.lang-switch { font-size: 0.9rem; margin-bottom: 1rem; }

.site-footer {
  border-top: 1px solid var(--line); padding: 1.5rem 0 2rem; margin-top: 1rem;
  color: var(--muted); font-size: 0.92rem;
}
.site-footer .row {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem;
  justify-content: space-between; align-items: flex-start;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .legal-links a { color: var(--accent); font-weight: 600; }

code { font-size: 0.9em; background: #0a1018; padding: 0.1em 0.35em; border-radius: 4px; }
