
:root {
  --bg: #050711;
  --bg-2: #090d1f;
  --text: #f8fafc;
  --muted: rgba(248,250,252,0.68);
  --muted-2: rgba(248,250,252,0.46);
  --border: rgba(255,255,255,0.12);
  --border-strong: rgba(255,255,255,0.22);
  --accent: #8b5cf6;
  --accent-2: #22d3ee;
  --success: #34d399;
  --danger: #fb7185;
  --shadow: 0 34px 110px rgba(0,0,0,0.45);
  --shadow-soft: 0 18px 55px rgba(0,0,0,0.25);
  --radius: 34px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 18% 5%, rgba(139,92,246,0.28), transparent 30%),
    radial-gradient(circle at 82% 14%, rgba(34,211,238,0.18), transparent 28%),
    radial-gradient(circle at 50% 92%, rgba(99,102,241,0.18), transparent 32%),
    linear-gradient(180deg, #050711 0%, #080b19 44%, #0c1024 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black, transparent 74%);
  pointer-events: none;
  z-index: -3;
}

.aurora {
  position: fixed;
  width: 470px;
  height: 470px;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.34;
  pointer-events: none;
  z-index: -2;
  animation: aurora 13s ease-in-out infinite alternate;
}

.aurora.one { left: -190px; top: 70px; background: #8b5cf6; }
.aurora.two { right: -210px; bottom: 60px; background: #22d3ee; animation-delay: -5s; }

@keyframes aurora {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(72px, -46px, 0) scale(1.14); }
}

.wrap {
  width: min(1060px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 70px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 0 auto;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: rgba(8,11,25,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 999px;
  box-shadow: 0 18px 55px rgba(0,0,0,0.28);
}

.brand {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  padding: 8px 28px;
  border-radius: 999px;
  font-weight: 950;
  letter-spacing: -0.07em;
  font-size: clamp(30px, 4vw, 44px);
  text-decoration: none;
  background: linear-gradient(90deg, #ffffff, #c4b5fd, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.08);
}

.nav a {
  border: none;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 850;
  text-decoration: none;
  transition: 0.22s ease;
  font-size: 14px;
}

.nav a:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

.doc-shell {
  margin-top: 48px;
}

.doc-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.105), rgba(255,255,255,0.055));
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  overflow: hidden;
}

.doc-head {
  padding: clamp(24px, 4vw, 42px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  background:
    radial-gradient(circle at 86% 10%, rgba(34,211,238,0.18), transparent 34%),
    radial-gradient(circle at 10% 0%, rgba(139,92,246,0.24), transparent 34%),
    rgba(255,255,255,0.025);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  margin-bottom: 18px;
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 18px rgba(52,211,153,0.7);
}

h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.075em;
  font-weight: 950;
}

.grad {
  background: linear-gradient(90deg, #ffffff, #c4b5fd, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.doc-date {
  display: inline-flex;
  margin-top: 18px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.22);
  color: #ddd6fe;
  font-size: 13px;
  font-weight: 850;
}

.doc-body {
  padding: clamp(22px, 4vw, 44px);
}

.notice {
  margin: 0 0 26px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(34,211,238,0.18);
  background:
    radial-gradient(circle at 95% 0%, rgba(34,211,238,0.14), transparent 36%),
    rgba(255,255,255,0.055);
  color: rgba(248,250,252,0.78);
  line-height: 1.65;
}

h2 {
  margin: 34px 0 12px;
  font-size: 24px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

h2:first-child { margin-top: 0; }

p, li {
  color: rgba(248,250,252,0.74);
  line-height: 1.72;
  font-size: 15px;
}

ul {
  padding-left: 21px;
  margin: 12px 0 0;
}

li + li { margin-top: 8px; }

strong { color: #fff; }

a { color: #67e8f9; }

.footer {
  margin-top: 28px;
  padding: 24px;
  text-align: center;
  color: rgba(248,250,252,0.52);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(248,250,252,0.72);
  text-decoration: none;
  font-weight: 800;
}

.footer-links a:hover { color: #fff; }

.error-page {
  min-height: calc(100vh - 120px);
  display: grid;
  place-items: center;
  padding: 54px 0;
}

.error-card {
  width: min(760px, 100%);
  text-align: center;
  padding: clamp(28px, 6vw, 58px);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.105), rgba(255,255,255,0.055));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  position: relative;
  overflow: hidden;
}

.error-card::before {
  content: "";
  position: absolute;
  inset: -80px;
  background:
    radial-gradient(circle at 20% 15%, rgba(139,92,246,0.24), transparent 32%),
    radial-gradient(circle at 80% 12%, rgba(34,211,238,0.18), transparent 34%);
  pointer-events: none;
  z-index: -1;
}

.error-ghost {
  font-size: 46px;
  margin-bottom: 18px;
  filter: drop-shadow(0 18px 32px rgba(139,92,246,0.3));
}

.error-code {
  margin: 0;
  font-size: clamp(82px, 18vw, 180px);
  line-height: .82;
  letter-spacing: -.10em;
  font-weight: 950;
  background: linear-gradient(90deg, #fff, #c4b5fd, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-title {
  margin: 22px 0 0;
  font-size: clamp(28px, 5vw, 52px);
  letter-spacing: -.06em;
  line-height: 1;
  font-weight: 950;
  color: #fff;
}

.error-text {
  width: min(560px, 100%);
  margin: 18px auto 0;
  color: rgba(248,250,252,.68);
  font-size: 17px;
  line-height: 1.6;
}

.error-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 18px;
  border-radius: 18px;
  text-decoration: none;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #8b5cf6, #6d5dfc 58%, #22d3ee);
  box-shadow: 0 18px 42px rgba(139,92,246,.28);
}

.error-btn.secondary {
  background: rgba(255,255,255,.085);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: none;
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 22px, 1060px);
    padding-top: 14px;
  }

  .site-header {
    grid-template-columns: 1fr;
    border-radius: 26px;
  }

  .brand {
    grid-column: auto;
    min-width: 0;
    font-size: 38px;
  }

  .nav {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .nav a {
    text-align: center;
    padding: 11px 8px;
    font-size: 13px;
  }

  .doc-shell {
    margin-top: 28px;
  }

  .doc-head,
  .doc-body {
    padding: 20px;
  }
}


.section-accent {
  position: relative;
  padding-left: 14px;
}

.section-accent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8b5cf6, #22d3ee);
  box-shadow: 0 0 18px rgba(139,92,246,.35);
}

.highlight-box {
  margin: 24px 0 30px;
  padding: 22px 22px 24px;
  border-radius: 26px;
  border: 1px dashed rgba(251,113,133,.78);
  background:
    radial-gradient(circle at 100% 0%, rgba(251,113,133,.09), transparent 34%),
    linear-gradient(180deg, rgba(70,10,25,.52), rgba(40,8,18,.46));
  box-shadow: inset 0 0 0 1px rgba(251,113,133,.08), 0 18px 40px rgba(0,0,0,.18);
}

.highlight-box h3 {
  margin: 0 0 16px;
  color: #fb7185;
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.highlight-box p,
.highlight-box li {
  color: rgba(248,250,252,.82);
}

.highlight-box .lead {
  margin-top: 0;
  font-weight: 800;
  color: #ffe4ea;
}

.highlight-box ul {
  margin-top: 14px;
}

.highlight-box strong {
  color: #fff;
}

.highlight-box .sanction {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(251,113,133,.16);
}
