:root {
  --bg: #08111e;
  --bg-soft: #0f1f34;
  --panel: rgba(8, 17, 30, 0.82);
  --panel-strong: rgba(10, 23, 39, 0.94);
  --card: rgba(244, 250, 255, 0.96);
  --text: #eaf4ff;
  --text-dark: #14314a;
  --muted: #9fc1de;
  --accent: #ff9f43;
  --accent-soft: #ffd28e;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 159, 67, 0.16), transparent 26%),
    radial-gradient(circle at 80% 18%, rgba(70, 148, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #0b1524 0%, #07111d 100%);
  min-height: 100vh;
}

a {
  color: inherit;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(8, 17, 30, 0.72);
  border-bottom: 1px solid var(--border);
}

.topbar .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}

.brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand span {
  color: var(--accent-soft);
}

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

.nav a {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.hero {
  padding: 72px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 24px;
}

.hero-copy,
.hero-card,
.page-card,
.footer-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 40px;
  background: linear-gradient(180deg, rgba(12, 26, 44, 0.9), rgba(10, 20, 34, 0.96));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 159, 67, 0.12);
  color: var(--accent-soft);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.05;
}

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

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #ffffff;
}

h3 {
  font-size: 1.35rem;
  color: #ffffff;
}

.lede,
.body-copy,
li,
.footnote {
  line-height: 1.7;
}

.lede {
  font-size: 1.18rem;
  color: #d1e5f7;
  max-width: 62ch;
}

.hero-actions,
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button,
.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
}

.button {
  background: linear-gradient(135deg, #ffb25b, #ff8d4a);
  color: #08111e;
}

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

.hero-card {
  padding: 28px;
  background: linear-gradient(180deg, rgba(20, 39, 61, 0.96), rgba(10, 20, 34, 0.96));
  display: grid;
  gap: 16px;
}

.metric {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-label {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-value {
  font-size: 1.7rem;
  font-weight: 800;
  margin-top: 8px;
}

.section {
  padding: 20px 0 52px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.page-card {
  background: var(--card);
  color: var(--text-dark);
  padding: 28px;
}

.page-card h2,
.page-card h3 {
  color: #12324d;
}

.page-card p,
.page-card li {
  color: #27455c;
  font-size: 1.05rem;
}

.page-card ul,
.page-card ol {
  padding-left: 1.2rem;
  margin: 16px 0 0;
}

.page-card li + li {
  margin-top: 10px;
}

.page-header {
  padding-top: 56px;
}

.page-header .page-card {
  background: linear-gradient(180deg, rgba(12, 26, 44, 0.95), rgba(10, 20, 34, 0.98));
  color: var(--text);
}

.page-header .page-card p {
  color: #d1e5f7;
  font-size: 1.12rem;
}

.meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.96rem;
}

.notice {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 159, 67, 0.14);
  border: 1px solid rgba(255, 159, 67, 0.3);
  color: #8d5217;
}

.footer {
  padding: 0 0 42px;
}

.footer-card {
  background: var(--panel-strong);
  padding: 24px;
}

.footer-copy {
  color: #c0d8ef;
  font-size: 0.96rem;
}

.mono {
  font-family: "SFMono-Regular", "Menlo", monospace;
}

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

  .hero {
    padding-top: 40px;
  }

  .hero-copy,
  .hero-card,
  .page-card {
    padding: 24px;
  }
}
