:root {
  --bg: #0b1020;
  --bg-alt: #111831;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --text: #eef2ff;
  --muted: #b6c2e1;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #7dd3fc;
  --accent-strong: #38bdf8;
  --max-width: 1120px;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.12), transparent 30%),
    linear-gradient(180deg, #0b1020 0%, #0d1327 100%);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  display: block;
}

pre {
  margin: 0;
  overflow-x: auto;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.narrow {
  width: min(calc(100% - 2rem), 860px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(11, 16, 32, 0.72);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.nav-links a:hover,
.brand:hover {
  color: var(--accent);
}

.hero {
  padding: 7rem 0 4rem;
}

.hero-content {
  text-align: center;
}

.eyebrow,
.section-label {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.subtitle {
  width: min(100%, 760px);
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-badges,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.hero-badges {
  margin-top: 1.75rem;
}

.hero-actions {
  margin-top: 2rem;
}

.badge,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border-radius: 999px;
  font-size: 0.92rem;
}

.badge-strong {
  color: #07131e;
  background: linear-gradient(135deg, var(--accent), #c4b5fd);
  border-color: transparent;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent-strong), #818cf8);
  color: #07131e;
}

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

.notice {
  padding-bottom: 1rem;
}

.notice-card {
  padding: 1rem 1.2rem;
  border: 1px solid rgba(125, 211, 252, 0.25);
  background: rgba(125, 211, 252, 0.08);
  border-radius: 16px;
  color: #dff6ff;
}

.section {
  padding: 4.25rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 1.4rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.grid {
  display: grid;
  gap: 1.25rem;
}

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

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

.top-gap {
  margin-top: 1.25rem;
}

.card {
  padding: 1.4rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  font-size: 1.1rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 0;
  color: var(--muted);
}

.media-card {
  overflow: hidden;
}

.media-placeholder {
  min-height: 240px;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(129, 140, 248, 0.12)),
    rgba(255, 255, 255, 0.03);
  color: #dbeafe;
  font-weight: 700;
  text-align: center;
}

.resource-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer {
  padding: 1.75rem 0 2.5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
  color: var(--muted);
  font-size: 0.94rem;
}

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

@media (max-width: 720px) {
  .hero {
    padding-top: 5.5rem;
  }

  .nav {
    min-height: 64px;
  }

  .nav-links {
    display: none;
  }

  .section {
    padding: 3.5rem 0;
  }

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