:root {
  --bg: #10141c;
  --bg-elev: #171d28;
  --surface: #1c2433;
  --text: #f7f4ee;
  --muted: #c5c0b6;
  --faint: #8d887e;
  --accent: #e7b15a;
  --accent-2: #f3d7a1;
  --accent-soft: rgba(231, 177, 90, 0.14);
  --line: rgba(247, 244, 238, 0.1);
  --line-strong: rgba(231, 177, 90, 0.45);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --max: 1080px;
  --nav-w: 248px;
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
  --display: "Space Grotesk", "IBM Plex Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; }
body { min-height: 100vh; padding-left: var(--nav-w); background-image: radial-gradient(900px 420px at 100% 0%, rgba(231, 177, 90, 0.12), transparent 55%); }
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: calc(var(--nav-w) + 12px); top: -40px; background: var(--accent); color: #1a1408; padding: 8px 12px; font-weight: 700; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.site-header { position: fixed; inset: 0 auto 0 0; z-index: 50; width: var(--nav-w); background: #0c1016; border-right: 1px solid var(--line); }
.header-inner { height: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding: 22px 16px 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--display); font-weight: 650; font-size: 1.05rem; }
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; }
.header-tools { margin-top: auto; display: flex; align-items: center; gap: 8px; }
.lang-switch { display: inline-flex; width: 100%; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.lang-switch button { appearance: none; border: 0; background: transparent; flex: 1; color: var(--faint); font: 700 12px/1 var(--font); letter-spacing: 0.08em; min-height: 36px; cursor: pointer; }
.lang-switch button.is-active, .lang-switch button[aria-pressed="true"] { background: var(--accent); color: #1a1408; }
html[data-lang-pending] body { visibility: hidden; }
.nav { display: flex; flex-direction: column; gap: 4px; min-height: 0; overflow: auto; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 550; padding: 10px 12px; border-radius: 12px; }
.nav a:hover, .nav a.is-active { color: #1a1408; background: var(--accent); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 3px auto; background: currentColor; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 999px; font-weight: 650; font-size: 14px; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--accent); color: #1a1408; }
.btn-primary:hover { background: var(--accent-2); color: #1a1408; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--accent-soft); color: var(--text); }

.hero { padding: 28px 0 8px; }
.hero .wrap { background: linear-gradient(160deg, #1a2230 0%, #121820 70%); border: 1px solid var(--line); border-radius: 28px; padding: 48px 40px 28px; display: flex; flex-direction: column; min-height: 520px; }
.hero-copy { max-width: 40rem; }
.kicker { display: inline-flex; color: #1a1408; background: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px; padding: 6px 12px; margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0 0 14px; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); max-width: 18ch; }
.hero h1 { max-width: 16ch; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
.lede { max-width: 48ch; color: var(--muted); font-size: 1.05rem; margin: 0 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.stats { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-top: 36px; }
.stat { background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.stat b { display: block; font-family: var(--display); font-size: 1.35rem; color: var(--accent); }
.stat span { color: var(--faint); font-size: 12px; }

.section { padding: 36px 0; }
.section-head { margin-bottom: 18px; }
.section-head p { margin: 0; max-width: 52ch; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
body[data-page="home"] .grid-3 { grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; }
body[data-page="home"] .grid-3 .card:first-child { grid-row: 1 / span 2; }
.grid-2 { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card:hover { border-color: var(--line-strong); }
.card h3 { margin-bottom: 8px; }
.card p, .card li { color: var(--muted); }
.card-icon { width: 42px; height: 42px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.card-icon svg { width: 20px; height: 20px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 8px 12px; font-size: 12px; font-weight: 650; }
.reg-bar { padding: 8px 0 20px; }
.reg-bar .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.reg-bar p { margin: 0; color: var(--faint); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.compare { display: flex; flex-direction: column; gap: 12px; }
.compare article { border-left: 4px solid var(--accent); }
.compare .label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.note { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--accent-soft); color: var(--muted); }
.faq details { background: var(--bg-elev); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 650; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); margin: 8px 0 0; }

.page-hero { padding: 36px 0 8px; }
.page-hero .wrap { background: var(--bg-elev); border: 1px solid var(--line); border-radius: 24px; padding: 32px 28px; }
.prose { max-width: 70ch; }
.prose p, .prose li { color: var(--muted); }
.prose h2 { margin-top: 32px; }
.prose ul { padding-left: 18px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--accent); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; background: #141a24; }
td { color: var(--muted); }
td strong { color: var(--text); }
.warn { background: rgba(255, 138, 122, 0.08); border: 1px solid rgba(255, 180, 168, 0.28); color: #ffd8d2; border-radius: 16px; padding: 16px 18px; }

.gdpr-banner { position: fixed; left: calc(var(--nav-w) + 16px); right: 16px; bottom: 16px; z-index: 80; width: min(720px, calc(100% - var(--nav-w) - 32px)); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.gdpr-banner-copy { flex: 1 1 240px; }
.gdpr-banner-title { margin: 0 0 6px; font-family: var(--display); font-size: 15px; }
.gdpr-banner p { margin: 0; color: var(--muted); font-size: 13px; }
.gdpr-banner-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.gdpr-banner-actions .btn { min-height: 40px; }

.site-footer { margin: 12px 0 28px; }
.footer-grid { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 22px; background: #0c1016; border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.site-footer h3 { font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; }
.site-footer a, .site-footer p { color: var(--muted); display: block; margin: 0 0 8px; font-size: 14px; }
.site-footer a:hover { color: var(--text); }
.related-sites { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; width: min(var(--max), calc(100% - 48px)); margin: 14px auto 0; padding: 14px 18px; background: #0c1016; border: 1px solid var(--line); border-radius: 16px; }
.related-sites p { margin: 0; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.related-sites a { display: inline; margin: 0; color: var(--text); font-size: 14px; }
.legal-strip { width: min(var(--max), calc(100% - 48px)); margin: 14px auto 0; color: var(--faint); font-size: 12px; }
.crumb { color: var(--faint); font-size: 13px; margin-bottom: 14px; }
.crumb a { color: var(--muted); }
.card ul { margin: 8px 0 0; padding-left: 18px; }

@media (max-width: 980px) {
  body { padding-left: 0; }
  .skip { left: 12px; }
  .site-header { position: sticky; width: 100%; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .header-inner { height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px 16px; position: relative; }
  .header-tools { margin-top: 0; margin-left: auto; }
  .lang-switch { width: auto; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; overflow: visible; background: #0c1016; border-bottom: 1px solid var(--line); padding: 10px; z-index: 40; }
  .nav.is-open { display: flex; }
  .hero .wrap, .page-hero .wrap { padding: 28px 20px; min-height: 0; }
  .stats, .grid-3, .grid-2, .footer-grid,
  body[data-page="home"] .grid-3 { grid-template-columns: 1fr; }
  body[data-page="home"] .grid-3 .card:first-child { grid-row: auto; }
  .gdpr-banner { left: 16px; width: min(720px, calc(100% - 32px)); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
