:root {
  --candy-red: #b40018;
  --candy-red-deep: #8f0014;
  --candy-red-hot: #d6001c;
  --candy-red-soft: #ff8a8f;
  color: #f5f4ef;
  background: #030308;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  background: #030308;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(180, 0, 24, 0.13), transparent 36%),
    #030308;
  overflow-x: hidden;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
  padding: 0 clamp(20px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(180deg, rgba(3, 3, 8, 0.78), transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 6px;
  background: var(--candy-red-deep);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.nav-tabs {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
}

.nav-tabs a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-tabs a:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 720vh;
  background: #030308;
}

.hero__stage {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  isolation: isolate;
  overflow: hidden;
  background: #030308;
}

#motion-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #030308;
}

.hero__stage::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 3, 8, 0.78), transparent 46%, rgba(3, 3, 8, 0.32)),
    linear-gradient(0deg, rgba(3, 3, 8, 0.62), transparent 28%, rgba(3, 3, 8, 0.35)),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(180, 20, 20, 0.018) 2px, rgba(180, 20, 20, 0.018) 4px);
}

.hero__overlay {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 40px));
  padding: 16vh clamp(20px, 5vw, 72px);
  will-change: transform;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 7px 14px;
  border: 1px solid rgba(214, 0, 28, 0.45);
  border-radius: 999px;
  background: rgba(143, 0, 20, 0.34);
  color: var(--candy-red-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.status-pill span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--candy-red-hot);
  animation: ap-pulse 2s ease-in-out infinite;
}

h1 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(3.2rem, 9vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

h1 span {
  display: block;
  color: var(--candy-red-hot);
}

.hero__copy {
  max-width: 430px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  font-weight: 300;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 12px 22px;
  color: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 750;
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

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

.button--primary {
  background: linear-gradient(180deg, var(--candy-red), var(--candy-red-deep));
  box-shadow: 0 18px 42px rgba(143, 0, 20, 0.38);
}

.button--primary:hover {
  background: linear-gradient(180deg, var(--candy-red-hot), var(--candy-red));
}

.button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.button--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.feature-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
  margin-top: 30px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(14px);
}

.feature-tabs button {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 9px 15px;
  background: transparent;
  color: rgba(255, 255, 255, 0.42);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.feature-tabs button:hover,
.feature-tabs button.is-active {
  background: linear-gradient(180deg, var(--candy-red), var(--candy-red-deep));
  color: #fff;
}

.story-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 112vh 0 18vh;
  color: #fff;
}

.text-band,
.copy-section,
.text-footer {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(3, 3, 8, 0.18);
  backdrop-filter: blur(10px) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-bottom: 28vh;
  border-radius: 20px;
  overflow: hidden;
}

.stats-band p,
.metric-row p {
  margin: 0;
  padding: 24px 18px;
  text-align: center;
}

.stats-band strong,
.metric-row strong {
  display: block;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.stats-band span,
.metric-row span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.copy-section {
  width: min(920px, 100%);
  margin: 0 0 28vh;
  padding: clamp(30px, 6vw, 72px);
  border-radius: 28px;
}

.copy-section--clear {
  border-color: transparent;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.copy-section:nth-of-type(even) {
  margin-left: auto;
}

.copy-section--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-kicker,
.micro-copy,
.system-copy {
  color: var(--candy-red-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.copy-section h2,
.copy-section h3 {
  margin: 0;
  color: #fff;
  letter-spacing: -0.055em;
}

.copy-section h2 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 0.95;
}

.copy-section h3 {
  font-size: clamp(1.6rem, 3vw, 2.55rem);
  line-height: 1;
}

.copy-section > p:not(.section-kicker):not(.micro-copy):not(.system-copy),
.copy-grid p {
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  font-weight: 300;
  line-height: 1.7;
}

.metric-row {
  display: flex;
  gap: 12px;
  margin: 34px 0;
}

.metric-row p {
  flex: 1;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.copy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

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

.copy-grid article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.018);
  backdrop-filter: blur(6px);
}

.copy-grid ul {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.62);
}

.copy-grid li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--candy-red-hot);
  vertical-align: middle;
}

.story-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
  margin-bottom: 34px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(8px);
}

.story-tabs span {
  border-radius: 10px;
  padding: 9px 15px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.86rem;
  font-weight: 700;
}

.story-tabs span:first-child {
  background: linear-gradient(180deg, var(--candy-red), var(--candy-red-deep));
  color: #fff;
}

.system-copy {
  margin: 26px 0 0;
}

.final-copy {
  margin-bottom: 42vh;
}

.center-actions {
  justify-content: center;
}

.text-footer {
  position: absolute;
  right: 20px;
  bottom: 28px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.35);
}

.text-footer p {
  margin: 0;
}

.text-footer p:first-child {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.text-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.text-footer a {
  color: inherit;
  font-size: 0.88rem;
  text-decoration: none;
}

.text-footer a:hover {
  color: rgba(255, 255, 255, 0.78);
}

.scroll-hint {
  position: fixed;
  right: clamp(20px, 4vw, 56px);
  bottom: clamp(22px, 4vw, 48px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(245, 244, 239, 0.72);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-hint span {
  width: 34px;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  animation: pulse 1.7s ease-in-out infinite;
}

@keyframes ap-pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scaleX(0.45);
    opacity: 0.45;
  }

  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (max-width: 720px) {
  .site-nav {
    gap: 14px;
    height: auto;
    padding-top: 18px;
  }

  .nav-tabs,
  .site-nav .button {
    display: none;
  }

  .hero {
    min-height: 760vh;
  }

  .hero__stage {
    min-height: 100svh;
  }

  .hero__overlay {
    padding-top: 15vh;
  }

  h1 {
    max-width: 9ch;
  }

  .feature-tabs {
    width: 100%;
  }

  .feature-tabs button {
    flex: 1 1 42%;
  }

  .story-content {
    padding-top: 115vh;
  }

  .stats-band,
  .copy-grid,
  .copy-grid--two {
    grid-template-columns: 1fr;
  }

  .stats-band {
    margin-bottom: 18vh;
  }

  .copy-section {
    margin-bottom: 18vh;
  }

  .metric-row,
  .text-footer {
    flex-direction: column;
    align-items: stretch;
  }
}
