:root {
  --bg: #1E1B4B;
  --surface: #312E81;
  --text: #EEF2FF;
  --muted: #A5B4FC;
  --primary: #A855F7;
  --secondary: #4338CA;
  --accent: #D8B4FE;
  --border: rgba(255,255,255,0.1);
  --font-sans: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: linear-gradient(160deg, var(--bg) 0%, #221d52 42%, #171438 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(168,85,247,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,85,247,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

a { color: var(--accent); }

img { max-width: 100%; }

.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

main { flex: 1 0 auto; }

h1, h2, h3, h4 {
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 16px;
  text-transform: uppercase;
}

h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h2 { font-size: clamp(1.25rem, 2.6vw, 1.7rem); }
h3 { font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 14px;
  background: rgba(168,85,247,0.06);
  box-shadow: 0 0 12px rgba(168,85,247,0.15) inset;
}

.section {
  position: relative;
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 14px;
  background:
    linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.6;
}

.section-alt::before {
  width: 140px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.disclosure {
  margin: 8px auto;
  width: max-content;
  max-width: calc(100% - 24px);
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(168,85,247,0.05);
  font-size: 11px;
  line-height: 1.45;
  padding: 6px 24px;
  color: var(--muted);
  text-align: center;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(23,20,56,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  box-shadow: 0 1px 0 rgba(168,85,247,0.55), 0 0 8px rgba(168,85,247,0.6);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 48px;
  height: 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 0 10px rgba(168,85,247,0.65);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  display: inline-block;
  padding: 4px 2px;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  transition: width 0.28s ease;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 40px;
  height: 34px;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.nav-toggle .bar,
.nav-toggle .bar::before,
.nav-toggle .bar::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 6px var(--primary);
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle .bar { position: relative; }
.nav-toggle .bar::before { position: absolute; top: -6px; left: 0; }
.nav-toggle .bar::after { position: absolute; top: 6px; left: 0; }

.nav-open .nav-toggle .bar { background: transparent; box-shadow: none; }
.nav-open .nav-toggle .bar::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle .bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .navbar-inner { padding: 0 20px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 34px;
    background: rgba(23,20,56,0.98);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  .nav-links li { text-align: center; }
  .nav-links a {
    font-size: 20px;
    letter-spacing: 0.1em;
  }
  .nav-open .nav-links { opacity: 1; visibility: visible; }
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 280px;
  border-top: 1px solid var(--border);
}

.hero-headline {
  display: flex;
  align-items: center;
  background: var(--primary);
  padding: 44px 40px;
}

.hero-headline h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3.6vw, 2.6rem);
  color: #ffffff;
  text-shadow: 0 0 18px rgba(255,255,255,0.35);
}

.hero-sub {
  display: flex;
  align-items: center;
  background: var(--surface);
  padding: 44px 40px;
  border-left: 2px solid var(--accent);
  box-shadow: inset 6px 0 24px -18px rgba(216,180,254,0.8);
}

.hero-sub p {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
}

.hero-sub .muted { color: var(--muted); font-size: 0.85rem; margin-top: 12px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-sub { border-left: none; border-top: 2px solid var(--accent); }
  .hero-headline, .hero-sub { padding: 32px 24px; }
}

.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #17123a;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 11px 22px;
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.15s ease;
  animation: pulse-glow 2.6s ease-in-out infinite;
}

.btn:hover {
  box-shadow: 0 0 18px rgba(216,180,254,0.7), 0 0 34px rgba(168,85,247,0.4);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--primary);
  box-shadow: inset 0 0 10px rgba(168,85,247,0.25);
  animation: none;
}

.btn-ghost:hover {
  box-shadow: 0 0 14px rgba(168,85,247,0.65), inset 0 0 14px rgba(168,85,247,0.35);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 6px rgba(216,180,254,0.35); }
  50% { box-shadow: 0 0 16px rgba(216,180,254,0.75), 0 0 30px rgba(168,85,247,0.35); }
}

.agegate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,13,40,0.92);
  backdrop-filter: blur(8px);
  padding: 20px;
}

.agegate[hidden] { display: none; }

.agegate-box {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: linear-gradient(160deg, var(--surface), #26236b);
  border: 1px solid var(--primary);
  border-radius: 14px;
  padding: 34px 30px;
  text-align: center;
  box-shadow: 0 0 24px rgba(168,85,247,0.5), inset 0 0 24px rgba(168,85,247,0.12);
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 16px);
}

.agegate-box h2 { margin-bottom: 10px; }

.agegate-box p { color: var(--muted); font-size: 0.92rem; }

.agegate-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.agegate-note {
  margin-top: 18px;
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

.agegate-note a { color: var(--accent); }

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 90;
  width: min(680px, calc(100% - 24px));
  background: rgba(23,20,56,0.97);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 0 22px rgba(168,85,247,0.45);
  display: none;
}

.cookie-banner.active { display: block; }

.cookie-banner p { margin: 0 0 12px; font-size: 0.85rem; color: var(--muted); }
.cookie-banner p a { color: var(--accent); }

.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 8px 16px; font-size: 0.7rem; }

.offers-section {
  position: relative;
  background-image: linear-gradient(rgba(30,27,75,0.88), rgba(23,20,56,0.94)), url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, var(--surface) 0%, #262364 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}

.offer-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 0 18px rgba(168,85,247,0.5), inset 0 0 18px rgba(168,85,247,0.1);
}

.offer-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 18px 10px;
}

.offer-logo {
  width: 96px;
  height: 64px;
  flex: 0 0 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.offer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.offer-name {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

.offer-badge {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 10px;
}

.offer-body { padding: 0 18px 16px; flex: 1; }

.offer-bonus {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
  overflow-wrap: anywhere;
}

.offer-terms {
  margin: 4px 0 0;
  font-size: 0.72rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

.offer-desc {
  margin: 10px 0 0;
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--muted);
}

.offer-cta-row { padding: 0 18px 20px; }

.offer-cta {
  display: inline-block;
  width: 100%;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #17123a;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 6px;
  padding: 11px 14px;
  cursor: pointer;
  transition: box-shadow 0.25s ease;
  animation: pulse-glow 3s ease-in-out infinite;
}

.offer-cta:hover {
  box-shadow: 0 0 18px rgba(168,85,247,0.8), 0 0 34px rgba(168,85,247,0.4);
}

.offers-note {
  margin-top: 22px;
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 820px;
}

.info-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

@media (max-width: 760px) {
  .info-grid-2 { grid-template-columns: 1fr; gap: 20px; }
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.stat-cell {
  border: 1px solid var(--border);
  border-top: 2px solid var(--primary);
  border-radius: 8px;
  padding: 16px 18px;
  background: rgba(168,85,247,0.05);
}

.stat-cell .stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 6px;
}

.stat-cell p { margin: 0; font-size: 0.9rem; color: var(--muted); }

@media (max-width: 760px) {
  .stat-band { grid-template-columns: 1fr; }
}

.info-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.info-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  box-shadow: 0 0 8px var(--primary);
}

.step-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step-list li {
  counter-increment: step;
  position: relative;
  padding: 12px 0 12px 54px;
  border-bottom: 1px dashed var(--border);
  color: var(--muted);
}

.step-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #17123a;
  background: var(--accent);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.callout {
  position: relative;
  border: 1px solid var(--primary);
  border-radius: 10px;
  padding: 20px 22px;
  background: rgba(168,85,247,0.07);
  box-shadow: inset 0 0 20px rgba(168,85,247,0.12);
}

.callout h3 { margin-top: 0; }
.callout p { margin: 8px 0 0; color: var(--muted); }

.quote-block {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 22px;
  margin: 20px 0;
  font-size: 1.1rem;
  color: var(--text);
  font-style: italic;
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-size: 0.88rem;
}

.mini-table th,
.mini-table td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border);
}

.mini-table th {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(168,85,247,0.08);
}

.mini-table td { color: var(--muted); }

.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.card-tile {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  background: rgba(49,46,129,0.55);
  overflow: hidden;
}

.card-tile::after {
  content: "";
  position: absolute;
  right: -14px;
  top: -14px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--primary);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  opacity: 0.6;
}

.card-tile h3 { font-size: 0.82rem; margin-bottom: 8px; color: var(--accent); }
.card-tile p { margin: 0; font-size: 0.84rem; color: var(--muted); }

.toc-box {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 22px;
  background: rgba(23,20,56,0.5);
}

.toc-box h3 { margin-bottom: 10px; }

.toc-box ol { margin: 0; padding-left: 20px; }
.toc-box li { margin: 6px 0; }

.two-col-split {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 36px;
  align-items: start;
}

@media (max-width: 860px) {
  .two-col-split { grid-template-columns: 1fr; }
}

.split-figure {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.split-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 320px;
  object-fit: cover;
}

.split-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--accent);
  background: linear-gradient(transparent, rgba(15,13,40,0.9));
}

.timeline {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 0 0 18px 30px;
  border-left: 1px solid var(--primary);
  margin-left: 8px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 6px;
  width: 11px;
  height: 11px;
  background: var(--bg);
  border: 2px solid var(--primary);
  box-shadow: 0 0 8px var(--primary);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.timeline .tl-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.timeline p { margin: 4px 0 0; color: var(--muted); font-size: 0.92rem; }

.info-cta {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
  border: 1px solid var(--primary);
  border-radius: 6px;
  padding: 11px 20px;
  background: rgba(168,85,247,0.08);
  transition: box-shadow 0.25s ease, background 0.2s ease;
}

.info-cta:hover {
  box-shadow: 0 0 16px rgba(168,85,247,0.6);
  background: rgba(168,85,247,0.16);
}

.decor-frame {
  max-width: 500px;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
}

.decor-frame img {
  display: block;
  max-width: 500px;
  max-width: 100%;
  max-height: 320px;
  width: auto;
  object-fit: cover;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.mosaic figure {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--border);
  position: relative;
}

.mosaic img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 320px;
  object-fit: cover;
}

.band-bg {
  height: 220px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  margin: 26px 0;
}

.split-cap {
  display: block;
  padding: 10px 14px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--accent);
  background: rgba(15,13,40,0.85);
  border-top: 1px solid var(--border);
}

.band-bg span {
  position: absolute;
  left: 16px;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(15,13,40,0.85);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 14px;
}

.mosaic figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--accent);
  background: linear-gradient(transparent, rgba(15,13,40,0.92));
}

.page-hero {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(168,85,247,0.22), rgba(67,56,202,0.28) 60%, rgba(30,27,75,0.4));
  padding: 44px 0 38px;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border: 1px solid var(--primary);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  opacity: 0.35;
}

.page-hero .crumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
}

.page-hero .crumb a { color: var(--muted); }

.page-hero p.lede {
  max-width: 720px;
  color: var(--muted);
  margin: 14px 0 0;
}

.updated-stamp {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 14px;
  background: rgba(168,85,247,0.06);
}

.article-body { padding: 40px 0 60px; }
.article-body p { color: var(--muted); margin: 0 0 18px; max-width: 860px; }
.article-body p strong { color: var(--text); }

.rail-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 860px) {
  .rail-layout { grid-template-columns: 1fr; }
}

.rail {
  position: sticky;
  top: 76px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(23,20,56,0.55);
  padding: 18px 20px;
}

.rail h3 { font-size: 0.75rem; letter-spacing: 0.18em; color: var(--accent); }
.rail ul { list-style: none; margin: 0; padding: 0; }
.rail li { padding: 7px 0; border-bottom: 1px dashed var(--border); }
.rail li:last-child { border-bottom: none; }
.rail a { color: var(--muted); text-decoration: none; font-size: 0.86rem; }
.rail a:hover { color: var(--accent); }

.bench-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 26px;
  font-size: 0.88rem;
}

.bench-table th,
.bench-table td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  text-align: left;
}

.bench-table th {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(168,85,247,0.09);
}

.bench-table td { color: var(--muted); }

.glossary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin: 18px 0 26px;
}

.glossary div {
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(168,85,247,0.05);
}

.glossary dt {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text);
  margin: 0 0 6px;
}

.glossary dd { margin: 0; font-size: 0.85rem; color: var(--muted); }

.go-spinner {
  width: 46px;
  height: 46px;
  margin: 26px auto 0;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  box-shadow: 0 0 14px rgba(168,85,247,0.5);
  animation: go-spin 0.9s linear infinite;
}

@keyframes go-spin {
  to { transform: rotate(360deg); }
}

.notfound {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.notfound .code {
  font-family: var(--font-mono);
  font-size: clamp(4rem, 14vw, 7rem);
  line-height: 1;
  color: var(--primary);
  text-shadow: 0 0 24px rgba(168,85,247,0.8), 0 0 60px rgba(168,85,247,0.4);
  margin: 0 0 18px;
}

.site-footer {
  flex-shrink: 0;
  margin-top: 40px;
  background: #14112f;
  border-top: 1px solid var(--primary);
  box-shadow: 0 -1px 0 rgba(168,85,247,0.5), 0 -4px 18px rgba(168,85,247,0.25);
  padding: 40px 0 28px;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}

.site-footer .brand-name { font-size: 0.95rem; }
.site-footer p { color: var(--muted); margin: 12px 0 0; }
.site-footer h3 {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 14px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin: 8px 0; }
.site-footer ul a { color: var(--muted); text-decoration: none; }
.site-footer ul a:hover { color: var(--accent); }

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.footer-badges a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #ffffff;
  overflow: hidden;
}

.footer-badges img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.footer-legal {
  border-top: 1px solid var(--border);
  margin-top: 30px;
  padding-top: 20px;
  display: grid;
  gap: 10px;
  font-size: 0.76rem;
  color: var(--muted);
}

.footer-legal .company-line {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text);
}

.footer-legal a { color: var(--accent); }

.footer-responsible a { color: var(--accent); }

.split-hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(67,56,202,0.3), rgba(30,27,75,0.5));
}

.split-hero .ph-main { padding: 40px 0; }
.split-hero .ph-side {
  border-left: 2px solid var(--accent);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 860px) {
  .split-hero { grid-template-columns: 1fr; }
  .split-hero .ph-side { border-left: none; border-top: 2px solid var(--accent); }
}

.ph-side .ph-fact {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(168,85,247,0.06);
}

.ph-side .ph-fact strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.ph-side .ph-fact p { margin: 0; font-size: 0.85rem; color: var(--muted); }

.band-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(168,85,247,0.05);
}

.band-strip div {
  padding: 20px 22px;
  border-left: 1px solid var(--border);
}

.band-strip div:first-child { border-left: none; }

.band-strip strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.band-strip p { margin: 0; font-size: 0.86rem; color: var(--muted); }

@media (max-width: 760px) {
  .band-strip { grid-template-columns: 1fr; }
  .band-strip div { border-left: none; border-top: 1px solid var(--border); }
  .band-strip div:first-child { border-top: none; }
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 18px 0 26px;
}

.check-grid div {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  background: rgba(49,46,129,0.4);
}

.check-grid div strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 6px;
}

.check-grid div p { margin: 0; font-size: 0.85rem; color: var(--muted); }


.neon-frame {
  box-shadow: 0 0 22px rgba(168,85,247,0.45), 0 0 46px rgba(168,85,247,0.2), inset 0 0 22px rgba(168,85,247,0.14);
}

.cyber-clip {
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  border-radius: 0;
}

.tech-shape {
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.futuristic-hero {
  position: relative;
}

.futuristic-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(600px 220px at 12% 0%, rgba(168,85,247,0.16), transparent 60%), radial-gradient(500px 200px at 88% 100%, rgba(67,56,202,0.2), transparent 65%);
}

.high-contrast {
  text-shadow: 0 0 14px rgba(255,255,255,0.4), 0 0 34px rgba(168,85,247,0.5);
}

.circuit-bg {
  position: relative;
}

.circuit-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(216,180,254,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(216,180,254,0.05) 1px, transparent 1px);
  background-size: 36px 36px;
}

.glitch-text {
  position: relative;
  display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
  opacity: 0;
}

.glitch-text::before {
  color: var(--accent);
  animation: glitch-a 4.2s infinite steps(1);
}

.glitch-text::after {
  color: var(--primary);
  animation: glitch-b 4.2s infinite steps(1);
}

@keyframes glitch-a {
  0%, 92%, 100% { opacity: 0; transform: none; }
  93% { opacity: 0.7; transform: translate(-2px, 1px); clip-path: inset(20% 0 40% 0); }
  95% { opacity: 0.7; transform: translate(2px, -1px); clip-path: inset(60% 0 10% 0); }
  97% { opacity: 0; }
}

@keyframes glitch-b {
  0%, 92%, 100% { opacity: 0; transform: none; }
  94% { opacity: 0.6; transform: translate(2px, -1px); clip-path: inset(40% 0 20% 0); }
  96% { opacity: 0.6; transform: translate(-2px, 1px); clip-path: inset(10% 0 70% 0); }
  98% { opacity: 0; }
}

.legal-body { padding: 40px 0 60px; }
.legal-body h2 { margin-top: 34px; }
.legal-body p, .legal-body li { color: var(--muted); }
.legal-body ul { margin: 10px 0 18px; padding-left: 22px; }
.legal-body li { margin: 6px 0; }

.contact-form {
  max-width: 560px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(23,20,56,0.5);
  padding: 24px;
  margin-top: 22px;
}

.contact-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(30,27,75,0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 11px 14px;
  margin-bottom: 16px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(168,85,247,0.5);
}

.form-error {
  color: #fca5a5;
  font-size: 0.8rem;
  margin: -8px 0 14px;
  min-height: 1em;
}

.form-success {
  border: 1px solid var(--primary);
  border-radius: 12px;
  background: rgba(168,85,247,0.08);
  padding: 24px;
  max-width: 560px;
}

.form-success h3 { color: var(--accent); }
.form-success p { color: var(--muted); margin: 8px 0 0; }
