@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@400;600;700;800;900&display=swap");

:root {
  color-scheme: dark;
  --bg: #070c14;
  --panel: #0d1623;
  --panel-2: #111d2d;
  --panel-3: #172337;
  --line: #2a3a50;
  --line-bright: #3a4f6d;
  --text: #f6f8ff;
  --muted: #aab6c8;
  --soft: #d6deec;
  --accent: #d84cff;
  --accent-2: #7c4aa0;
  --cyan: #60e7ff;
  --green: #5ee07d;
  --shadow: #04070d;
  font-family: Lexend, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(7, 12, 20, 0.7), rgba(7, 12, 20, 0.94)),
    url("/bg.png") center top / cover fixed no-repeat,
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 8%, rgba(216, 76, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(13, 22, 35, 0.08), rgba(7, 12, 20, 0.82));
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
strong { color: var(--text); }

.page {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 14px 0 58px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.pill,
.nav a,
.btn,
.link-card,
.fact,
.step,
.faq-item {
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--panel-2);
  box-shadow: 0 5px 0 var(--shadow), 0 14px 26px rgba(0, 0, 0, 0.28);
}

.pill,
.nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  color: var(--soft);
  font-size: 0.88rem;
  font-weight: 900;
}

.pill {
  color: var(--text);
  border-color: var(--line-bright);
}

.nav a:hover,
.pill:hover,
.link-card:hover {
  transform: translateY(1px);
  border-color: rgba(216, 76, 255, 0.7);
}

.hero {
  padding: 72px 0 42px;
  text-align: center;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 14px;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.96;
  letter-spacing: -0.08em;
}

.lead {
  max-width: 780px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.55;
}

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

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  font-weight: 900;
}

.btn.primary {
  border-color: #934ab5;
  background: #743d94;
}

.btn.secondary { color: var(--soft); }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: stretch;
}

.panel {
  border: 2px solid var(--line);
  border-radius: 18px;
  background: rgba(13, 22, 35, 0.94);
  box-shadow: 0 7px 0 var(--shadow), 0 24px 54px rgba(0, 0, 0, 0.36);
}

.card { padding: clamp(20px, 3vw, 30px); }
.stack { display: grid; gap: 16px; }

.panel h2 {
  margin-bottom: 16px;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fact {
  padding: 16px;
}

.fact span,
.link-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fact strong,
.link-card strong {
  display: block;
  color: var(--text);
  font-size: 1.03rem;
  line-height: 1.2;
}

.copy {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.sidebar { display: grid; gap: 16px; }
.link-list { display: grid; gap: 12px; }

.link-card {
  display: block;
  padding: 15px;
}

.link-card small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.step {
  padding: 18px;
}

.step h3 {
  margin-bottom: 8px;
  color: var(--text);
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.faq {
  display: grid;
  gap: 11px;
}

.faq-item {
  padding: 15px 16px;
}

.faq-item h3 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.footer {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(216, 76, 255, 0.2);
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}

.footer a {
  color: var(--soft);
  font-weight: 800;
}

@media (max-width: 860px) {
  .topbar { align-items: flex-start; }
  .layout,
  .mini-grid { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: 1fr; }
  .nav { gap: 8px; }
}

@media (max-width: 560px) {
  .page { width: min(100% - 18px, 1180px); }
  .topbar { flex-direction: column; }
  .nav,
  .pill { width: 100%; }
  .nav a { flex: 1 1 calc(50% - 8px); }
  .card { padding: 18px; }
  h1 { font-size: clamp(2.7rem, 15vw, 4.6rem); }
}
