:root {
  --bg: #050608;
  --panel: #0d1016;
  --line: #1c2333;
  --blue: #0b3d91;
  --blue-bright: #5b8def;
  --text: #f2f4f8;
  --muted: #a3acbb;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

a { color: var(--blue-bright); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

.display { text-transform: uppercase; letter-spacing: 0.04em; font-weight: 800; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 6vw;
  background: rgba(5, 6, 8, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 8px; }
.brand span { font-size: 18px; }
.brand em { font-style: normal; color: var(--blue-bright); }
nav.main a { margin-left: 26px; color: var(--muted); font-size: 15px; font-weight: 500; }
nav.main a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  padding: 80px 6vw 70px; max-width: 1200px; margin: 0 auto;
}
.eyebrow { color: var(--blue-bright); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.05; margin-bottom: 22px; }
.hero p.lead { color: var(--muted); font-size: 18px; max-width: 540px; }
.hero img.logo { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }

.cta-row { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn { padding: 14px 26px; border-radius: 10px; font-weight: 700; font-size: 15px; display: inline-block; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #1150b8; }
.btn-secondary { border: 1px solid var(--line); color: var(--text); }
.btn-secondary:hover { border-color: var(--blue-bright); }

/* Sections */
section.block { padding: 64px 6vw; border-top: 1px solid var(--line); }
.wrap { max-width: 1200px; margin: 0 auto; }
h2.section { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 30px; }

.grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.card { background: var(--panel); padding: 30px 26px; }
.card .num { color: var(--blue-bright); font-size: 13px; font-weight: 700; display: block; margin-bottom: 12px; font-family: ui-monospace, Consolas, monospace; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

.pillars { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 28px; }
.pillar { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.pillar i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-bright); display: block; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 18px; }
.info dt:first-child { margin-top: 0; }
.info dd { font-size: 17px; }

/* Footer */
footer.site { padding: 36px 6vw; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); margin-left: 18px; }
footer.site a:first-child { margin-left: 0; }

/* Legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 6vw 80px; }
.legal h1 { font-size: 32px; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.legal h2 { font-size: 20px; margin: 32px 0 10px; }
.legal p, .legal li { color: #d5dbe6; margin-bottom: 10px; }
.legal ul { padding-left: 22px; }

.notfound { text-align: center; padding-top: 120px; }
.notfound .cta-row { justify-content: center; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding: 48px 5vw 48px; gap: 32px; }
  .two { grid-template-columns: 1fr; gap: 28px; }
  nav.main a { margin-left: 16px; font-size: 14px; }
  header.site { padding: 12px 5vw; }
  section.block { padding: 48px 5vw; }
}
@media (max-width: 520px) {
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
