@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/SpaceGrotesk-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/SpaceGrotesk-SemiBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07090d;
  --bg-elevated: rgba(11, 16, 24, 0.92);
  --bg-soft: rgba(255, 255, 255, 0.04);
  --bg-soft-strong: rgba(255, 255, 255, 0.08);
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-strong: rgba(255, 255, 255, 0.14);
  --track-line: rgba(255, 255, 255, 0.028);
  --track-lime: rgba(202, 255, 57, 0.12);
  --track-blue: rgba(138, 201, 255, 0.1);
  --text: #f5f7fb;
  --text-secondary: #b8c2ce;
  --text-muted: #7f8997;
  --accent: #caff39;
  --accent-blue: #8ac9ff;
  --accent-warm: #f7a34b;
  --shadow-xl: 0 44px 120px rgba(0, 0, 0, 0.36);
  --shadow-lg: 0 26px 72px rgba(0, 0, 0, 0.22);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max-width: 1280px;
  --section-gap: clamp(96px, 16vh, 176px);
  --brand-glyph-url: url("../assets/brand/vector-helix-mark.svg");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  background: #07090d;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(202, 255, 57, 0.12), transparent 22%),
    radial-gradient(circle at 82% 16%, rgba(87, 130, 212, 0.14), transparent 24%),
    linear-gradient(180deg, #0c1320 0%, #07090d 48%, #050608 100%);
  background-color: #07090d;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 140px 140px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.44), transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background:
    radial-gradient(circle at 48% 18%, var(--track-lime), transparent 22%),
    linear-gradient(118deg, transparent 0 36%, rgba(202, 255, 57, 0.045) 45%, transparent 54%),
    linear-gradient(118deg, transparent 0 62%, rgba(138, 201, 255, 0.038) 70%, transparent 78%),
    repeating-linear-gradient(115deg, transparent 0 108px, var(--track-line) 108px 109px, transparent 109px 216px);
  mix-blend-mode: screen;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.28) 72%, transparent);
}

body[data-atlas-tone="lime"] {
  --atlas-tone: rgba(202, 255, 57, 0.28);
}

body[data-atlas-tone="blue"] {
  --atlas-tone: rgba(138, 201, 255, 0.26);
}

body[data-atlas-tone="warm"] {
  --atlas-tone: rgba(247, 163, 75, 0.22);
}

body[data-scrolled="true"] .site-header {
  top: 10px;
  padding: 9px 12px;
  background: rgba(7, 10, 15, 0.84);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.26);
}

body[data-scrolled="true"] .header-domain {
  opacity: 0.66;
}

body[data-scrolled="true"] .site-header .button {
  min-height: 42px;
  padding-inline: 18px;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  position: relative;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 16px 0 88px;
}

.site-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.34;
}

.site-orb--left {
  width: 34rem;
  height: 34rem;
  left: -12rem;
  top: -5rem;
  background: rgba(202, 255, 57, 0.09);
}

.site-orb--right {
  width: 30rem;
  height: 30rem;
  right: -10rem;
  top: 12rem;
  background: rgba(138, 201, 255, 0.1);
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(8, 11, 17, 0.9), rgba(8, 11, 17, 0.78) 38%, rgba(11, 16, 24, 0.82) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 62%);
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 20px 48px rgba(0, 0, 0, 0.2);
  transition:
    top 180ms ease,
    padding 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  position: relative;
  display: inline-block;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
}

.brand-mark::before {
  inset: -10px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 44% 42%, rgba(202, 255, 57, 0.22), transparent 48%),
    radial-gradient(circle at 58% 58%, rgba(138, 201, 255, 0.16), transparent 56%);
  filter: blur(10px);
  opacity: 0.72;
}

.brand-mark::after {
  background: var(--brand-glyph-url) center / contain no-repeat;
  filter:
    drop-shadow(0 0 14px rgba(202, 255, 57, 0.12))
    drop-shadow(0 6px 18px rgba(0, 0, 0, 0.24));
}

.header-meta {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

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

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

.button-primary {
  background: var(--accent);
  color: #0c1103;
  box-shadow: 0 16px 40px rgba(202, 255, 57, 0.16);
}

.button-secondary,
.button-ghost {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(245, 247, 251, 0.82);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.site-header .button-ghost {
  min-height: 46px;
  padding-inline: 19px;
  border-color: rgba(255, 255, 255, 0.085);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.button-label--short {
  display: none;
}

.section-label,
.eyebrow {
  margin: 0 0 18px;
  color: #cfe980;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-shell {
  position: relative;
  margin-top: var(--section-gap);
  scroll-margin-top: 118px;
  isolation: isolate;
}

.surface {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: clamp(28px, 3vw, 36px);
  background:
    linear-gradient(180deg, rgba(13, 18, 27, 0.74), rgba(9, 12, 18, 0.46) 58%, rgba(7, 9, 13, 0.18) 100%),
    linear-gradient(116deg, rgba(255, 255, 255, 0.024), transparent 34%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.surface::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 30%),
    linear-gradient(115deg, rgba(202, 255, 57, 0.028), transparent 38%, rgba(138, 201, 255, 0.03) 100%);
}

.lede {
  max-width: 36rem;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.7;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.7fr));
  gap: 20px 28px;
  margin-top: calc(var(--section-gap) - 48px);
  padding: 40px 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(202, 255, 57, 0.16) 30%, rgba(138, 201, 255, 0.08) 70%, rgba(255, 255, 255, 0.02));
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -30px;
  width: 172px;
  height: 172px;
  pointer-events: none;
  background: var(--brand-glyph-url) center / contain no-repeat;
  opacity: 0.08;
  filter:
    drop-shadow(0 0 32px rgba(202, 255, 57, 0.1))
    drop-shadow(0 10px 36px rgba(0, 0, 0, 0.24));
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 1) 60%);
}

.site-footer .brand {
  margin-bottom: 14px;
}

.footer-copy {
  max-width: 22rem;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.65;
}

.footer-links {
  display: grid;
  gap: 10px;
  justify-items: start;
  align-content: start;
  color: var(--text-secondary);
}

.footer-links a {
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--text);
}

.page-shell {
  position: relative;
  width: min(calc(100% - 40px), 980px);
  margin: 0 auto;
  padding: 24px 0 64px;
}

.story-layout {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.story-panel {
  position: relative;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(14, 18, 27, 0.86), rgba(8, 10, 15, 0.92));
  box-shadow: var(--shadow-lg);
}

.story-panel h1,
.story-panel h2 {
  margin: 0 0 18px;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.story-panel h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}

.story-panel h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.story-panel p,
.story-panel li {
  color: var(--text-secondary);
  line-height: 1.7;
}

.check-list {
  margin: 0;
  padding-left: 18px;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 12%, rgba(202, 255, 57, 0.08), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(138, 201, 255, 0.08), transparent 24%);
}

@media (max-width: 1024px) {
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 74px;
  }

  body::after {
    opacity: 0.16;
  }

  .site-shell,
  .page-shell {
    width: min(calc(100% - 18px), var(--max-width));
    padding-top: 12px;
  }

  .site-header {
    top: 12px;
    margin-bottom: 20px;
    gap: 10px;
    padding: 9px 10px;
  }

  .header-domain {
    display: none;
  }

  .header-meta {
    flex-shrink: 0;
    gap: 8px;
  }

  .brand-mark {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .brand {
    gap: 10px;
    font-size: 0.96rem;
  }

  .button {
    min-height: 48px;
    padding: 0 18px;
  }

  .site-header .button-ghost {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.9rem;
  }

  .button-label--full {
    display: none;
  }

  .button-label--short {
    display: inline;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .story-panel {
    padding: 24px;
    border-radius: 22px;
  }
}

/* 2026-04-16 release candidate reduction pass */

.site-shell {
  padding-bottom: 72px;
}

.surface {
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}

.surface::before {
  display: none;
}

.site-header {
  justify-content: flex-start;
  width: max-content;
  max-width: calc(100% - 10px);
  min-width: 0;
  margin-bottom: 18px;
  padding: 10px 16px 10px 14px;
  border-color: rgba(255, 255, 255, 0.045);
  background:
    linear-gradient(90deg, rgba(7, 10, 15, 0.94), rgba(7, 10, 15, 0.82) 58%, rgba(8, 11, 17, 0.68) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 76%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 16px 38px rgba(0, 0, 0, 0.16);
}

body[data-scrolled="true"] .site-header {
  width: max-content;
  max-width: calc(100% - 10px);
  min-width: 0;
  padding: 9px 14px;
}

.brand {
  gap: 12px;
  font-size: 1.02rem;
}

.section-shell {
  margin-top: clamp(72px, 11vh, 120px);
}

.site-footer {
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.65fr));
  gap: 18px 24px;
  margin-top: calc(var(--section-gap) - 116px);
  padding: 20px 0 16px;
}

.footer-copy {
  max-width: 18rem;
  font-size: 0.95rem;
}

.footer-links {
  gap: 8px;
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .site-header,
  body[data-scrolled="true"] .site-header {
    width: max-content;
    max-width: calc(100% - 6px);
    padding: 9px 12px 9px 11px;
  }

  .brand-mark {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .site-footer {
    margin-top: calc(var(--section-gap) - 88px);
    padding-top: 18px;
  }
}
