:root {
  --bg: #07111f;
  --bg-soft: #0d1930;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f5f7ff;
  --muted: #aab6d4;
  --accent: #90a6ff;
  --accent-strong: #6f8eff;
  --shadow: 0 24px 80px rgba(2, 8, 23, 0.34);
  --radius: 26px;
  --radius-sm: 16px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 10%, rgba(144, 166, 255, 0.18), transparent 28%),
    radial-gradient(circle at 80% 8%, rgba(80, 108, 204, 0.16), transparent 30%),
    linear-gradient(180deg, #08111f 0%, #06101d 100%);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(6, 13, 26, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.site-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a,
.footer-links a {
  color: var(--muted);
}

.site-nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
  gap: 26px;
  align-items: stretch;
  padding: 88px 0 44px;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent);
}

.hero h1,
.section h2,
.legal h1 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.9rem, 7vw, 6rem);
}

.lead {
  margin: 22px 0 0;
  max-width: 760px;
  font-size: clamp(1.04rem, 2vw, 1.24rem);
  line-height: 1.6;
  color: var(--muted);
}

.lead.compact {
  max-width: 860px;
}

.hero-actions,
.card-actions,
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #08111f;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.btn:hover { filter: brightness(1.05); }

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn-small {
  min-height: 40px;
  padding: 10px 16px;
  font-size: 0.94rem;
}

.hero-panel,
.card,
.legal-box {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(144, 166, 255, 0.12), rgba(255, 255, 255, 0.03)),
    var(--surface);
}

.hero-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.panel-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-panel h2,
.card h3,
.legal h2 {
  margin: 0 0 12px;
}

.hero-panel p,
.card p,
.card li,
.site-footer p,
.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.65;
}

.panel-list,
.legal ul,
.card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  font-weight: 700;
  color: #dfe5ff;
}

.section {
  padding: 34px 0 18px;
}

.section-about {
  padding-bottom: 74px;
}

.section-head {
  margin-bottom: 22px;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  max-width: 18ch;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 28px;
}

.card-featured {
  background:
    linear-gradient(180deg, rgba(144, 166, 255, 0.14), rgba(255, 255, 255, 0.03)),
    var(--surface);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(144, 166, 255, 0.14);
  color: #dce4ff;
  font-size: 0.82rem;
  font-weight: 800;
}

.pill-muted {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.meta-row span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d8e0ff;
  font-size: 0.88rem;
}

.about-layout {
  display: grid;
  gap: 10px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 0 52px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.legal {
  padding: 72px 0 60px;
}

.legal h1 {
  font-size: clamp(2.3rem, 5vw, 4.1rem);
}

.legal h2 {
  margin-top: 32px;
  font-size: 1.32rem;
}

.legal-box {
  margin-top: 26px;
  padding: 28px;
}

.notice {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 217, 102, 0.1);
  color: #ffd96f;
  font-size: 0.86rem;
  font-weight: 700;
}

@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .hero h1 { max-width: 100%; }
  .card,
  .hero-panel,
  .legal-box { padding: 22px; }
}
