:root {
  color-scheme: dark;
  --ink: #f7f4ea;
  --muted: #a8b1bf;
  --night: #07101f;
  --night-soft: #0d192c;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #ffd76a;
  --gold-strong: #ffb83d;
  --cyan: #71d7e8;
  --shell: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 16%, rgba(113, 215, 232, 0.1), transparent 25rem),
    radial-gradient(circle at 10% 8%, rgba(255, 215, 106, 0.08), transparent 20rem),
    var(--night);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 31, 0.78);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 215, 106, 0.5);
  border-radius: 10px;
  color: var(--gold);
  background: rgba(255, 215, 106, 0.08);
}

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.93rem; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); }

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 60px;
  padding-block: 72px 88px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 22px;
  max-width: 780px;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

h1 em { color: var(--gold); font-style: normal; }

.hero-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.24rem);
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: #181204;
  background: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

.button.secondary { color: var(--ink); background: transparent; border-color: var(--line); }

.tower-stage {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: end center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 72% 12%, rgba(255,255,255,.95) 0 2px, transparent 3px),
    radial-gradient(circle at 20% 24%, rgba(255,255,255,.8) 0 1px, transparent 2px),
    radial-gradient(circle at 46% 9%, rgba(255,255,255,.65) 0 1px, transparent 2px),
    linear-gradient(180deg, #091326, #122c45 70%, #123346);
}

.beam {
  position: absolute;
  top: 63px;
  left: 50%;
  width: 180px;
  height: 90px;
  clip-path: polygon(0 42%, 100% 0, 100% 100%, 0 58%);
  background: linear-gradient(90deg, rgba(255, 215, 106, .4), transparent);
}

.tower { width: 68%; padding-bottom: 34px; filter: drop-shadow(0 20px 20px rgba(0,0,0,.3)); }
.block { height: 42px; margin: 0 auto 5px; border: 1px solid rgba(255,255,255,.16); border-radius: 7px; background: linear-gradient(135deg, #2f647c, #1c435b); }
.block:nth-child(even) { background: linear-gradient(135deg, #3b7c8d, #225467); }
.block:nth-child(1) { width: 31%; background: linear-gradient(135deg, var(--gold), var(--gold-strong)); }
.block:nth-child(2) { width: 38%; }
.block:nth-child(3) { width: 47%; }
.block:nth-child(4) { width: 55%; }
.block:nth-child(5) { width: 64%; }
.block:nth-child(6) { width: 75%; }
.block:nth-child(7) { width: 86%; }
.block:nth-child(8) { width: 100%; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.fact { padding: 34px 28px; text-align: center; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact strong { display: block; margin-bottom: 4px; color: var(--gold); font-size: 1.08rem; }
.fact span { color: var(--muted); font-size: 0.9rem; }

.section { padding-block: 96px; }
.section-heading { max-width: 700px; margin-bottom: 42px; }
.section-heading h2 { margin-bottom: 14px; font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -0.04em; }
.section-heading p { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.025); }
.card-number { color: var(--gold); font-weight: 800; font-size: 0.8rem; letter-spacing: .12em; }
.card h3 { margin: 16px 0 8px; font-size: 1.2rem; }
.card p { margin-bottom: 0; color: var(--muted); }

.support-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 40px;
  border: 1px solid rgba(255, 215, 106, .25);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 215, 106, .08), rgba(113, 215, 232, .05));
}
.support-panel h2 { margin-bottom: 8px; }
.support-panel p { margin-bottom: 0; color: var(--muted); }

.legal-main { padding-block: 72px 110px; }
.legal-header { max-width: 820px; margin-bottom: 56px; }
.legal-header h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
.updated { color: var(--muted); }
.notice { margin-top: 28px; padding: 20px 22px; border-left: 3px solid var(--gold); background: rgba(255,215,106,.06); color: #e9e3d0; }

.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 64px; align-items: start; }
.legal-toc { position: sticky; top: 28px; }
.legal-toc strong { display: block; margin-bottom: 14px; color: var(--gold); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.legal-toc a { display: block; padding: 6px 0; color: var(--muted); font-size: .88rem; text-decoration: none; }
.legal-content section { scroll-margin-top: 24px; padding-bottom: 30px; }
.legal-content h2 { margin-bottom: 12px; font-size: 1.55rem; letter-spacing: -.02em; }
.legal-content h3 { margin-bottom: 8px; font-size: 1.05rem; }
.legal-content p, .legal-content li { color: #c5cbd4; }
.legal-content ul, .legal-content ol { padding-left: 22px; }
.legal-content li + li { margin-top: 7px; }
.contact-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--night-soft); }
.contact-card p:last-child { margin-bottom: 0; }

.site-footer { border-top: 1px solid var(--line); padding-block: 34px 42px; color: var(--muted); font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
.footer-company strong { display: block; color: var(--ink); }
.footer-company span { display: block; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a { text-decoration: none; }
.copyright { margin-top: 20px; color: #7f8998; }

.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.not-found h1 { margin-bottom: 16px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .tower-stage { min-height: 430px; }
  .facts, .cards { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .support-panel, .footer-grid, .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 580px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .nav { min-height: 66px; }
  .brand { font-size: .9rem; }
  .nav-links a:not(:last-child) { display: none; }
  .hero { padding-block: 52px 68px; gap: 36px; min-height: auto; }
  .tower-stage { min-height: 360px; border-radius: 20px; }
  .section { padding-block: 72px; }
  .support-panel { padding: 28px; }
  .legal-main { padding-block: 52px 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
