:root {
  --bg: #070b10;
  --bg-elevated: #0d131a;
  --bg-muted: #111a23;
  --text-primary: #edf1f5;
  --text-secondary: rgba(225, 232, 238, 0.76);
  --text-muted: rgba(198, 208, 216, 0.58);
  --accent: #b7edf3;
  --accent-strong: #d9f8fb;
  --accent-soft: rgba(183, 237, 243, 0.14);
  --rule: rgba(220, 229, 237, 0.12);
  --shadow: rgba(0, 0, 0, 0.36);
  --max-width: 1180px;
  --outer-gutter: clamp(1.4rem, 3.6vw, 2.4rem);
  --section-space: clamp(4.8rem, 10vw, 8.6rem);
  --hero-top: clamp(1.5rem, 4vw, 3rem);
  --hero-bottom: clamp(5rem, 11vw, 8rem);
  --button-radius: 999px;
  --button-height: 3.25rem;
  --transition: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "General Sans", "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 18% 18%, rgba(74, 92, 110, 0.18), transparent 26%),
    radial-gradient(circle at 82% 16%, rgba(19, 28, 38, 0.5), transparent 28%),
    radial-gradient(circle at 52% 100%, rgba(46, 61, 78, 0.18), transparent 38%),
    linear-gradient(180deg, #070b10 0%, #090d13 42%, #070b10 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -14vh;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background:
    radial-gradient(circle at center, transparent 38%, rgba(0, 0, 0, 0.74) 100%);
}

body::after {
  background:
    radial-gradient(circle at 20% 24%, rgba(181, 211, 228, 0.04), transparent 28%),
    radial-gradient(circle at 78% 14%, rgba(115, 151, 177, 0.05), transparent 22%);
  filter: blur(24px);
  opacity: 0.85;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

::selection {
  color: var(--bg);
  background: rgba(183, 237, 243, 0.88);
}

:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 4px;
}

.site-shell {
  position: relative;
  isolation: isolate;
}

.section-shell {
  width: min(var(--max-width), calc(100% - (var(--outer-gutter) * 2)));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  isolation: isolate;
}

.hero__canvas,
.hero__vignette,
.hero__scrim {
  position: absolute;
  inset: 0;
}

.hero__canvas {
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero__vignette {
  z-index: 1;
  background:
    radial-gradient(circle at 24% 52%, rgba(14, 21, 30, 0.1), transparent 22%),
    radial-gradient(circle at 70% 26%, rgba(0, 0, 0, 0.42), transparent 28%),
    linear-gradient(180deg, rgba(5, 8, 12, 0.22) 0%, rgba(7, 11, 16, 0.12) 44%, rgba(7, 11, 16, 0.34) 100%);
}

.hero__scrim {
  top: auto;
  height: clamp(12rem, 26vh, 19rem);
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(7, 11, 16, 0) 0%,
    rgba(7, 11, 16, 0.68) 58%,
    rgba(7, 11, 16, 0.97) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 3;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  width: min(var(--max-width), calc(100% - (var(--outer-gutter) * 2)));
  margin: 0 auto;
}

.hero__content {
  width: min(42rem, 100%);
  padding-top: var(--hero-top);
  padding-bottom: var(--hero-bottom);
}

.hero__wordmark,
.section-head__eyebrow {
  font-family: "Cabinet Grotesk", "Segoe UI", sans-serif;
  text-transform: uppercase;
  color: rgba(212, 223, 233, 0.62);
}

.hero__wordmark {
  margin: 0 0 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.11em;
  color: rgba(226, 235, 242, 0.78);
}

.hero__wordmark::before {
  content: "";
  display: block;
  width: clamp(1.5rem, 4vw, 2.4rem);
  height: 1px;
  background: rgba(183, 237, 243, 0.24);
  transform: translateY(0.04em);
}

.section-head__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.34em;
}

.hero h1,
.vision h2,
.closeout h2 {
  margin: 0;
  font-family: "Cabinet Grotesk", "Segoe UI", sans-serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero h1 {
  max-width: 9ch;
  font-size: clamp(3.35rem, 9.8vw, 6.4rem);
  line-height: 0.94;
}

.hero__support {
  max-width: 38rem;
  margin: 1.5rem 0 0;
  font-size: clamp(1rem, 2.15vw, 1.24rem);
  color: var(--text-secondary);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--button-height);
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--rule);
  border-radius: var(--button-radius);
  font-family: "Cabinet Grotesk", "Segoe UI", sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition:
    border-color var(--transition),
    color var(--transition),
    background-color var(--transition),
    transform var(--transition);
}

.button:hover,
.button:focus-visible {
  border-color: rgba(183, 237, 243, 0.42);
  color: var(--accent-strong);
  transform: translateY(-1px);
}

.button--primary {
  background: rgba(224, 234, 241, 0.08);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: rgba(183, 237, 243, 0.14);
}

.button--secondary {
  background: rgba(11, 16, 22, 0.38);
}

.vision,
.closeout {
  position: relative;
  z-index: 4;
}

.vision {
  padding: var(--section-space) 0 clamp(4rem, 8vw, 6rem);
}

.section-head {
  max-width: 54rem;
}

.section-head h2 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1;
}

.section-head__lede,
.closeout p {
  margin: 1.2rem 0 0;
  max-width: 44rem;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  color: var(--text-secondary);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.2rem);
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  padding: clamp(1rem, 2vw, 1.4rem) 0 0;
  border-top: 1px solid var(--rule);
}

.pillar {
  min-height: 100%;
  padding: clamp(1.25rem, 2vw, 1.75rem) 0 0;
}

.pillar + .pillar {
  border-left: 1px solid var(--rule);
  padding-left: clamp(1.5rem, 2.2vw, 2rem);
}

.pillar h3 {
  margin: 0;
  font-family: "Cabinet Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.pillar p {
  margin: 0.85rem 0 0;
  max-width: 22rem;
  color: var(--text-muted);
}

.closeout {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(5rem, 9vw, 7rem);
}

.closeout__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-top: clamp(2.25rem, 5vw, 3rem);
  border-top: 1px solid var(--rule);
}

.closeout__block h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
}

.closeout__block--access {
  padding-left: clamp(1.6rem, 3vw, 2.5rem);
  border-left: 1px solid var(--rule);
}

.closeout__note {
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .hero__content {
    width: min(38rem, 100%);
  }

  .hero h1 {
    max-width: 10ch;
  }

  .section-head h2,
  .closeout__block h2 {
    max-width: 16ch;
  }
}

@media (max-width: 860px) {
  .pillars,
  .closeout__inner {
    grid-template-columns: 1fr;
  }

  .pillar + .pillar,
  .closeout__block--access {
    border-left: 0;
    padding-left: 0;
  }

  .pillar + .pillar {
    padding-top: 1.6rem;
    border-top: 1px solid var(--rule);
  }

  .closeout__block--access {
    padding-top: 1.6rem;
    border-top: 1px solid var(--rule);
  }
}

@media (max-width: 640px) {
  :root {
    --outer-gutter: 1.1rem;
    --hero-bottom: 4.2rem;
    --section-space: 4rem;
  }

  .hero__content {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.15rem);
  }

  .hero__support,
  .section-head__lede,
  .pillar p,
  .closeout p {
    font-size: 0.98rem;
  }

  .hero__actions {
    width: 100%;
  }

  .button {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: border-color var(--transition), color var(--transition), background-color var(--transition);
  }
}
