:root {
  --navy: #0c1b2a;
  --charcoal: #1a2030;
  --teal: #33e1dc;
  --orange: #ff7a45;
  --gray: #c5ceda;
  --offwhite: #f3f6f9;
  --text: #d7dfeb;
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #122338 0%, #0c1b2a 45%);
  color: var(--text);
  min-height: 100vh;
}

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

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

main {
  width: min(1200px, 90vw);
  margin: 0 auto 120px;
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--teal);
  margin-bottom: 12px;
}

h1,
h2,
h3,
h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  color: #f7fbff;
  margin-top: 0;
}

p {
  line-height: 1.6;
  color: var(--text);
}

ul {
  padding-left: 1.2rem;
}

.section {
  margin-top: 96px;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 32px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5vw;
  background: rgba(12, 27, 42, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--teal));
  display: grid;
  place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: #0c1b2a;
}

.logo-title {
  font-weight: 600;
  margin: 0;
}

.logo-subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray);
}

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

.site-nav a {
  font-weight: 500;
  color: var(--gray);
  padding-bottom: 4px;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--teal);
  border-bottom: 2px solid var(--teal);
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
  margin-top: 60px;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(26, 32, 48, 0.6);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}

.btn {
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 120ms ease, box-shadow 120ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  background: var(--orange);
  color: #0c1b2a;
  box-shadow: 0 10px 30px rgba(255, 122, 69, 0.35);
}

.btn.ghost {
  border-color: var(--teal);
  color: var(--teal);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-highlights {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-highlights .stat {
  font-size: 2rem;
  font-weight: 600;
  color: var(--teal);
}

.hero-visual img {
  border-radius: 24px;
  border: 1px solid var(--border);
  background: #0f1f33;
}

/* Cards */
.card-grid,
.roadmap-grid,
.grid.three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card,
.video-card,
.video-tile,
.primer-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  background: rgba(10, 18, 30, 0.7);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.card img,
.primer-card img {
  border-radius: 16px;
  margin-bottom: 16px;
}

.text-link {
  font-weight: 500;
  color: var(--teal);
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(51, 225, 220, 0.15);
  color: var(--teal);
  font-size: 0.8rem;
  margin-top: 12px;
}

/* Video */
.video-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.video-frame iframe {
  width: 100%;
  min-height: 260px;
  border-radius: 16px;
}

.video-frame.ratio iframe {
  aspect-ratio: 16 / 9;
  min-height: unset;
}

/* Page hero */
.page-hero {
  margin-top: 60px;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  background: rgba(14, 22, 36, 0.65);
}

.page-hero img {
  border-radius: 20px;
}

.detailed {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  background: rgba(8, 14, 24, 0.65);
}

.detailed.alt {
  background: rgba(17, 27, 44, 0.65);
}

.story-list {
  list-style: square;
}

.quote {
  text-align: center;
}

.quote blockquote {
  font-size: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
}

.video-grid .video-tile {
  padding: 0;
  overflow: hidden;
}

.video-grid .video-tile h3,
.video-grid .video-tile p {
  padding: 0 24px 16px;
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.resources-callout {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  background: linear-gradient(120deg, rgba(255, 122, 69, 0.15), rgba(51, 225, 220, 0.1));
}

.resource-grid .card {
  min-height: 260px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 5vw;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  background: #08101b;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.tiny {
  font-size: 0.8rem;
  color: var(--gray);
}

/* Responsive nav */
@media (max-width: 820px) {
  .site-nav {
    position: absolute;
    top: 70px;
    right: 20px;
    flex-direction: column;
    background: rgba(12, 27, 42, 0.95);
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}
