:root {
  color-scheme: dark;
  --bg: #060b18;
  --bg-soft: #0b1222;
  --surface: rgba(15, 23, 42, 0.82);
  --surface-strong: rgba(10, 16, 30, 0.94);
  --text: #f5f7fb;
  --muted: #aeb8ca;
  --line: rgba(255, 255, 255, 0.1);
  --gold: #ffd23f;
  --amber: #ffab2e;
  --orange: #ff7a33;
  --red: #ff4d5d;
  --crimson: #cb3648;
  --purple: #8d5cff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 210, 63, 0.12), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(255, 77, 93, 0.1), transparent 24%),
    linear-gradient(180deg, #081120 0%, #050913 100%);
  color: var(--text);
  font: 16px/1.55 "Segoe UI", "Inter", "Helvetica Neue", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  padding: 0.14rem 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.92em;
}

.site-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(5, 9, 19, 0.56);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.topnav a {
  color: var(--muted);
  font-weight: 600;
}

.topnav a:hover,
.topnav a.is-active {
  color: var(--gold);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
}

.hero-copy,
.hero-card,
.section,
.policy-card,
.stats-strip,
.footer {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(16, 24, 43, 0.94), rgba(8, 13, 25, 0.92));
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 34px;
}

.hero-card {
  padding: 20px;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 210, 63, 0.18), transparent 28%),
    radial-gradient(circle at 80% 80%, rgba(255, 77, 93, 0.18), transparent 24%),
    linear-gradient(160deg, rgba(16, 24, 43, 0.96), rgba(8, 13, 25, 0.94));
}

.hero-brand {
  width: min(100%, 420px);
  height: auto;
  display: block;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.3rem;
}

.lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 62ch;
}

.pill-row,
.cta-row,
.level-list,
.feature-grid,
.two-column,
.footer-links {
  display: flex;
  flex-wrap: wrap;
}

.pill-row {
  gap: 10px;
  margin-top: 20px;
}

.pill {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #eef3ff;
  font-weight: 700;
  font-size: 0.92rem;
}

.cta-row {
  gap: 14px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(90deg, var(--gold), var(--orange), var(--red));
  color: #101522;
  box-shadow: 0 12px 28px rgba(255, 122, 51, 0.22);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-bottom: 24px;
}

.stat-card {
  padding: 20px 22px;
  background: rgba(8, 13, 25, 0.72);
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
}

.stat-card span {
  color: var(--muted);
}

.section,
.policy-card {
  padding: 28px;
  margin-bottom: 24px;
}

.section-heading {
  margin-bottom: 20px;
}

.feature-grid {
  gap: 16px;
}

.feature-card {
  flex: 1 1 280px;
  min-height: 180px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.feature-card p,
.level-card p,
.info-panel p,
.policy-card p,
.policy-card li {
  color: var(--muted);
}

.feature-gold { box-shadow: inset 0 0 0 1px rgba(255, 210, 63, 0.24); }
.feature-orange { box-shadow: inset 0 0 0 1px rgba(255, 171, 46, 0.24); }
.feature-red { box-shadow: inset 0 0 0 1px rgba(255, 77, 93, 0.24); }
.feature-warm { box-shadow: inset 0 0 0 1px rgba(255, 122, 51, 0.24); }
.feature-deep { box-shadow: inset 0 0 0 1px rgba(203, 54, 72, 0.24); }
.feature-purple { box-shadow: inset 0 0 0 1px rgba(141, 92, 255, 0.24); }

.level-list {
  flex-direction: column;
  gap: 14px;
}

.level-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.level-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  border-radius: 18px;
  font-size: 2rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.05);
}

.level-a1 .level-badge { color: var(--gold); }
.level-a2 .level-badge { color: var(--amber); }
.level-b1 .level-badge { color: var(--orange); }
.level-b1p .level-badge { color: var(--red); }
.level-b2 .level-badge { color: var(--crimson); }

.highlight-section {
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 210, 63, 0.08), transparent 24%),
    radial-gradient(circle at 80% 20%, rgba(255, 77, 93, 0.08), transparent 20%),
    linear-gradient(160deg, rgba(16, 24, 43, 0.96), rgba(8, 13, 25, 0.94));
}

.two-column {
  gap: 16px;
}

.info-panel {
  flex: 1 1 320px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-page {
  display: grid;
  gap: 20px;
}

.policy-hero {
  padding: 14px 4px 4px;
}

.policy-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.policy-card li + li {
  margin-top: 8px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
}

.footer span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.footer-links {
  gap: 16px;
}

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

.footer-links a:hover {
  color: var(--gold);
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max));
    padding-top: 16px;
  }

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

  .topnav {
    gap: 8px 14px;
  }

  .hero-copy,
  .hero-card,
  .section,
  .policy-card {
    padding: 22px;
  }

  .level-card {
    grid-template-columns: 1fr;
  }
}
