:root {
  --bg: #020304;
  --bg-soft: #06080b;
  --panel: #0b1016;
  --panel-2: #10161d;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f7fb;
  --muted: rgba(240, 244, 255, 0.72);
  --muted-2: rgba(240, 244, 255, 0.54);
  --gold: #d0a25a;
  --blue: #8ab3ff;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1560px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(41, 75, 136, 0.08), transparent 26%),
    linear-gradient(180deg, #010203 0%, #020304 100%);
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  background: rgba(2, 3, 4, 0.9);
  backdrop-filter: blur(14px);
}

.topbar.is-scrolled {
  border-bottom: 1px solid var(--line);
}

.brand img,
.footer-brand img {
  width: 164px;
  filter: brightness(0) invert(1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
}

.nav-cta {
  padding: 13px 20px;
  border-radius: 999px;
  background: #121c29;
}

.menu-toggle {
  display: none;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
}

.section {
  margin-top: 28px;
  scroll-margin-top: 140px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 86vh;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #06090d;
  box-shadow: var(--shadow);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 5, 8, 0.9) 0%, rgba(3, 5, 8, 0.62) 48%, rgba(3, 5, 8, 0.26) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.48));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 360px;
  align-items: end;
  gap: 24px;
  min-height: 86vh;
  padding: 54px 34px 34px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.card-kicker,
.footer-title,
.panel-label {
  margin: 0 0 16px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.accent {
  color: var(--blue);
}

h1,
h2,
h3,
strong {
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.05em;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3rem, 5.6vw, 5.6rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(1.55rem, 2.7vw, 2.5rem);
  max-width: 15ch;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.08;
}

p {
  margin: 0;
  line-height: 1.7;
}

.hero-copy p:last-of-type,
.feature-body p:last-of-type,
.split-copy p:last-of-type,
.program-card p,
.insights-text p:last-of-type,
.footer-brand p,
.legal p {
  color: var(--muted);
}

.hero-copy p:last-of-type {
  max-width: 56ch;
  margin-top: 18px;
  font-size: 1rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: #eef2f8;
  color: #0f141a;
}

.button-secondary {
  background: rgba(5, 8, 13, 0.12);
  border-color: var(--gold);
  color: #fff;
}

.hero-panel {
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(10, 15, 23, 0.74);
  backdrop-filter: blur(10px);
}

.panel-stat + .panel-stat {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.panel-stat span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted-2);
  font-size: 0.9rem;
}

.panel-stat strong {
  font-size: 1.1rem;
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.section-head.narrow {
  max-width: 860px;
}

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

.feature-card,
.program-card,
.insights-box,
.split-band,
.footer-top,
.legal {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(14, 17, 23, 0.98), rgba(10, 12, 16, 0.98));
  box-shadow: var(--shadow);
}

.feature-card {
  overflow: hidden;
}

.feature-image {
  aspect-ratio: 16 / 10;
  background: #0f1218;
}

.feature-image img {
  height: 100%;
  object-fit: cover;
}

.feature-body {
  padding: 22px;
}

.feature-body p:last-of-type,
.program-card p,
.insights-text p:last-of-type,
.footer-brand p,
.legal p,
.split-copy p:last-of-type {
  font-size: 0.96rem;
}

.feature-body p:last-of-type,
.split-copy p:last-of-type,
.insights-text p:last-of-type {
  margin-top: 14px;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42%;
  gap: 0;
  overflow: hidden;
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 30px;
}

.split-copy .button {
  align-self: flex-start;
  margin-top: 22px;
}

.split-image {
  min-height: 480px;
  background: #0f1218;
}

.split-image img {
  height: 100%;
  object-fit: cover;
}

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

.program-card {
  padding: 20px;
}

.program-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-weight: 800;
}

.program-card p {
  margin-top: 10px;
}

.insights-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 18px;
  padding: 22px;
}

.insights-text {
  max-width: 640px;
}

.insights-copy h2 {
  max-width: 12ch;
}

.insights-box {
  margin-top: 18px;
}

.newsletter-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.96rem;
}

.newsletter-form input {
  width: 100%;
  height: 56px;
  margin-bottom: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  padding: 0 16px;
  font: inherit;
}

.footer {
  margin-bottom: 44px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  padding: 24px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.footer-brand p {
  max-width: 380px;
  margin-top: 22px;
}

.footer-links a {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.legal {
  margin-top: 20px;
  padding: 20px 24px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}

.hero-copy,
.feature-body,
.split-copy,
.insights-text,
.program-card,
.footer-brand,
.legal {
  min-width: 0;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.9);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .hero-grid,
  .feature-grid,
  .split-band,
  .program-grid,
  .insights-box,
  .footer-top,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 240px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(5, 6, 8, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav a {
    padding: 12px;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid {
    align-items: end;
    padding: 36px 24px 24px;
  }

  .hero-panel,
  .split-image {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .topbar,
  .page-shell {
    width: min(calc(100% - 8px), var(--max));
  }

  .brand img,
  .footer-brand img {
    width: 138px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    padding: 24px 16px 16px;
  }

  .split-copy,
  .feature-body,
  .program-card,
  .insights-box,
  .footer-top,
  .legal {
    padding: 16px;
  }

  h1 {
    font-size: clamp(2.35rem, 10vw, 3.8rem);
  }

  h2 {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }

  h3 {
    font-size: 1.1rem;
  }

  .section {
    scroll-margin-top: 96px;
  }

  .insights-box {
    margin-top: 14px;
  }

  .hero-panel {
    padding: 18px;
  }
}
