:root {
  --bg: #0a0a0c;
  --ink: #f3f5f8;
  --muted: #a7adb8;
  --blue: #0038ff;
  --line: rgba(232, 236, 244, 0.28);
  --rail: 68px;
  --safe-b: env(safe-area-inset-bottom);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html.locked,
html.locked body {
  overflow: hidden;
  height: 100%;
  overscroll-behavior: none;
}

html.locked body { touch-action: none; }
html.locked .gate-card { touch-action: pan-y; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(0, 56, 255, 0.16), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: Bahnschrift, "Segoe UI", "Avenir Next", "Century Gothic", Futura, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: #0a0a0c;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { top: 12px; }

.rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01) 28%, rgba(0,56,255,0.18));
  border-right: 1px solid var(--line);
}

.rail span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.46em;
  text-transform: uppercase;
  font-size: 12px;
  color: #d5dae3;
}

.top {
  position: sticky;
  top: 0;
  z-index: 25;
  margin-left: var(--rail);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 28px;
  background: rgba(10, 10, 12, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.brand {
  text-decoration: none;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  flex: 0 0 auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--muted);
}

.nav a:hover,
.nav a[aria-current="page"] { color: #fff; }

.nav a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 var(--blue);
}

.burger {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: #fff;
  cursor: pointer;
}

.burger span,
.burger span:before,
.burger span:after {
  display: block;
  height: 1px;
  width: 18px;
  background: #f4f6fb;
  position: relative;
  margin: 0 auto;
}
.burger span:before,
.burger span:after {
  content: "";
  position: absolute;
  left: 0;
}
.burger span:before { top: -6px; }
.burger span:after { top: 6px; }

main {
  margin-left: var(--rail);
  padding: 28px 28px 36px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 8px;
}

.kicker {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.38em;
  font-size: 12px;
  color: #9eb0ff;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 16px;
}

h1 { font-size: clamp(34px, 4.2vw, 62px); max-width: none; }
h2 { font-size: clamp(26px, 3vw, 40px); }
h3 { font-size: 18px; letter-spacing: 0.16em; }

.lead { max-width: none; color: #d5dae2; font-size: 18px; }

.hero-stat {
  margin: 0;
  border-radius: 28px;
  padding: 32px 28px;
  align-self: stretch;
  background: #07080d;
  color: #f7f8fb;
  border: 1px solid rgba(247, 248, 251, 0.55);
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}

.hero-stat strong {
  display: block;
  font-size: clamp(48px, 6vw, 72px);
  letter-spacing: 0.06em;
  line-height: 0.9;
  color: #ffffff;
}

.hero-stat span {
  display: block;
  margin-top: 10px;
  color: #f4f6fb;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-stat p {
  margin: 18px 0 0;
  color: #f7f8fb;
  max-width: 28ch;
}

.alert {
  margin: 34px 0 42px;
  padding: 28px 28px 24px;
  background: var(--blue);
  color: #f5f7ff;
  border-radius: 8px 48px 8px 8px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 18px;
}

.alert p { margin: 0 0 12px; max-width: 62ch; }
.alert a { color: #fff; }

.alert-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-content: center;
}

.alert-links a {
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.55);
  padding-bottom: 3px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin: 10px 0 22px;
}

.section-head p { margin: 0; max-width: none; color: var(--muted); }

.stack { display: flex; flex-direction: column; gap: 18px; }

.slab {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 20px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025)) padding-box,
    linear-gradient(135deg, rgba(255,255,255,0.8), rgba(0,56,255,0.55) 46%, rgba(170,176,186,0.25)) border-box;
  border: 1px solid transparent;
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 22px 50px rgba(0,0,0,0.32);
}

.slab:nth-child(even),
.slab:nth-child(odd) { margin: 0; }

.mark {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  object-fit: contain;
  background: #0a0a0c;
}

.slab h3 { margin-bottom: 8px; }
.slab p { margin: 0 0 10px; color: #d7dbe3; }
.meta { color: var(--muted); font-size: 13px; letter-spacing: 0.04em; }
.lic { color: #c5ceff; font-size: 13px; letter-spacing: 0.04em; margin: 0; }

.actions { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 12px; }
.actions a.text {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: #d5dbe8;
}

.go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}

.go:hover { filter: brightness(1.12); }

.score {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 32% 28%, #ffffff, #c5cad3 36%, #6e7582 70%, #2c313a 100%);
  color: #0a0a0c;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7), 0 10px 24px rgba(0,0,0,0.35);
}

.score b { display: block; font-size: 22px; letter-spacing: 0.04em; line-height: 1; }
.score small {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mosaic {
  margin-top: 54px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.glass,
.panel {
  border-radius: 26px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)) padding-box,
    linear-gradient(160deg, rgba(255,255,255,0.65), rgba(0,56,255,0.35), rgba(180,186,196,0.2)) border-box;
  border: 1px solid transparent;
  backdrop-filter: blur(14px);
}

.side-piles { display: flex; flex-direction: column; gap: 18px; }
.side-piles a.panel {
  text-decoration: none;
  display: block;
  min-height: 132px;
}
.side-piles a.panel:hover { outline: 1px solid rgba(0,56,255,0.8); }
.panel p { margin: 0; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.split > :only-child { grid-column: 1 / -1; }

.prose p { color: #d7dce4; }
.prose p + p { margin-top: 0; }

.factline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0;
}

.fact {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.16);
}

.fact b {
  display: block;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  color: #9eb0ff;
  margin-bottom: 4px;
}

.steps { display: flex; flex-direction: column; gap: 0; margin-top: 12px; }
.step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.step em {
  font-style: normal;
  font-size: 28px;
  letter-spacing: 0.08em;
  color: #9eb0ff;
}

.phone {
  font-size: clamp(32px, 6vw, 64px);
  letter-spacing: 0.08em;
  text-decoration: none;
  color: #fff;
  display: inline-block;
  margin: 8px 0 10px;
}

.help-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}
.help-list article:last-child { grid-column: 1 / -1; }
.help-list article { padding: 18px 18px 16px; }
.help-list article { margin: 0; }

.mail {
  display: inline-block;
  margin-top: 8px;
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: 0.06em;
  color: #fff;
}

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 36px; align-items: start; }
.cols p { margin-top: 0; }

.site-footer {
  margin-left: var(--rail);
  padding: 10px 28px 28px;
  padding-bottom: calc(92px + var(--safe-b));
}

.foot-claim {
  padding: 22px 22px 18px;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(90deg, rgba(0,56,255,0.2), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.2);
  border-bottom: 0;
}

.foot-claim p {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1.45;
  max-width: 70ch;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border-left: 1px solid rgba(255,255,255,0.2);
  border-right: 1px solid rgba(255,255,255,0.2);
}

.foot-links a {
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.22);
}

.foot-copy {
  padding: 18px 22px 20px;
  border-radius: 0 0 22px 22px;
  border: 1px solid rgba(255,255,255,0.2);
  border-top: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(10,10,12,0.2));
}

.foot-lead {
  font-size: 18px;
  letter-spacing: 0.03em;
  margin: 0 0 14px;
}

.foot-cols {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.foot-copy p { margin: 0 0 12px; color: #c9ced6; font-size: 15px; }
.foot-copy a { color: #dfe6ff; }
.foot-meta { letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px !important; }
.foot-meta + .foot-meta { margin-top: 8px; }

.byline {
  margin: -4px 0 16px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.past {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 10px;
  color: #d7defc;
  border: 1px solid rgba(158, 176, 255, 0.55);
}

.cookiebar {
  position: fixed;
  left: calc(var(--rail) + 16px);
  right: auto;
  bottom: calc(58px + var(--safe-b));
  z-index: 45;
  width: min(640px, calc(100% - var(--rail) - 32px));
}

.cookiebar[hidden] { display: none !important; }

.cookiebar-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(12, 12, 16, 0.94);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.cookiebar p { margin: 0; font-size: 14px; color: #d5dae3; }
.cookiebar a { color: #fff; }
.cookiebar-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.cookiebar .btn { width: auto; min-height: 40px; padding: 0 14px; }

.sheet { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.sheet label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.sheet input,
.sheet textarea {
  font: inherit;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--ink);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}
.sheet textarea { min-height: 120px; resize: vertical; }
.sheet .btn { width: auto; align-self: flex-start; padding: 0 18px; }
.form-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  color: #f4f7ff;
  background: rgba(0, 56, 255, 0.28);
  border: 1px solid rgba(158, 176, 255, 0.55);
}

body.has-cookie .site-footer { padding-bottom: calc(168px + var(--safe-b)); }

.riskbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 16px calc(7px + var(--safe-b));
  background: rgba(10, 10, 12, 0.94);
  border-top: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(16px);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.03em;
}

.riskbar p { margin: 0; }
.riskbar a { color: #fff; }
.riskbar-link {
  flex: 0 0 auto;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
  border-bottom: 1px solid rgba(255,255,255,0.5);
}

.gate {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(6, 6, 8, 0.78);
  backdrop-filter: blur(18px);
}

.gate[hidden] { display: none !important; }

.gate-card {
  width: min(420px, 100%);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: 22px 18px 18px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(28,28,34,0.96), rgba(12,12,16,0.96)) padding-box,
    linear-gradient(160deg, #ffffff, #9aa0ab 40%, #0038ff) border-box;
  border: 1px solid transparent;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.gate-card h2 { font-size: 26px; }
.gate-card p { color: #d5dae3; margin: 0 0 14px; font-size: 15px; }

.stack-btn { display: flex; flex-direction: column; gap: 10px; }

.btn {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-blue {
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
}

.btn-silver {
  background: linear-gradient(180deg, #f4f6fa, #b7bdc8);
  color: #0a0a0c;
  border: 1px solid #e6e8ee;
}

.tiny { font-size: 13px !important; color: var(--muted) !important; }

:focus-visible {
  outline: 2px solid #0038ff;
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hero, .mosaic, .split, .alert, .foot-cols, .cols, .help-list { grid-template-columns: 1fr; }
  .help-list article:last-child { grid-column: auto; }
  h1 { max-width: none; }
}

@media (max-width: 860px) {
  .rail { display: none; }
  .top, main, .site-footer { margin-left: 0; }
  .top { padding: 10px 14px; }
  main { padding: 18px 14px 24px; }
  .site-footer { padding: 0 14px; padding-bottom: calc(96px + var(--safe-b)); }
  body.has-cookie .site-footer { padding-bottom: calc(210px + var(--safe-b)); }
  .cookiebar {
    left: 10px;
    width: auto;
    right: 10px;
    bottom: calc(86px + var(--safe-b));
  }
  .cookiebar-inner { flex-direction: column; align-items: stretch; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 14px 16px;
    flex-direction: column;
    background: rgba(10,10,12,0.96);
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .nav.open { display: flex; }
  .nav a { padding: 8px 0; font-size: 13px; }
  .slab,
  .slab:nth-child(even),
  .slab:nth-child(odd) {
    margin: 0;
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .mark { width: 72px; height: 72px; }
  .score { width: 74px; height: 74px; grid-column: 1 / -1; justify-self: start; }
  .help-list article { margin: 0; }
}

@media (max-width: 640px) {
  .riskbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 6px 12px calc(6px + var(--safe-b));
    font-size: 11px;
  }
  .section-head { flex-direction: column; align-items: flex-start; }
  .alert { padding: 18px 16px; border-radius: 8px 28px 8px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .go:hover { filter: none; }
}
