:root {
  color-scheme: dark;
  --bg: #090611;
  --raised: #110b1d;
  --panel: #171025;
  --ink: #f7f4ff;
  --muted: #aaa0ba;
  --line: rgba(199, 168, 255, 0.18);
  --uv: #a879ff;
  --uv-bright: #c7a8ff;
  --shielded: #38d9b8;
  --taproot: #ffb657;
  --rgb: #ff446e;
  --formal: #5de4c7;
  --page: min(1780px, calc(100vw - 96px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--bg);
  background-size: 64px 64px;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

.shell {
  width: var(--page);
  margin-inline: auto;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 42rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  opacity: 0.13;
}

.ambient--one {
  top: -23rem;
  right: -12rem;
  background: var(--uv);
}

.ambient--two {
  top: 120vh;
  left: -30rem;
  background: #2e8b93;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  width: 100%;
  min-height: 88px;
  padding: 0 max(48px, calc((100vw - 1780px) / 2));
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(199, 168, 255, 0.12);
  background: rgba(9, 6, 17, 0.78);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.brand__signal {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--uv);
  box-shadow: 0 0 18px var(--uv);
}

.brand__muted {
  color: var(--muted);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.5vw, 46px);
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 680;
}

.nav a {
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.nav__source {
  padding: 10px 16px;
  border: 1px solid rgba(199, 168, 255, 0.3);
  border-radius: 999px;
}

.hero {
  display: grid;
  min-height: calc(100vh - 88px);
  padding-block: clamp(90px, 13vh, 170px) 80px;
  align-content: center;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.32fr);
  gap: 9vw;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--uv-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow--uv {
  color: var(--uv-bright);
}

h1,
h2 {
  margin: 0;
  font-family:
    "Arial Black", Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.058em;
  line-height: 0.94;
}

.hero h1 {
  max-width: 1150px;
  font-size: clamp(3.6rem, 7.8vw, 9.7rem);
}

.hero h1 span {
  display: block;
  color: var(--uv-bright);
}

.hero__lede {
  max-width: 750px;
  margin: 38px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.4rem);
  line-height: 1.65;
}

.hero__actions,
.closing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

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

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

.button--primary {
  background: var(--ink);
  color: var(--bg);
}

.button--ghost {
  border-color: rgba(199, 168, 255, 0.28);
  background: rgba(199, 168, 255, 0.04);
  color: var(--ink);
}

.hero__index {
  display: grid;
  align-self: end;
  gap: 26px;
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.hero__number {
  color: var(--uv-bright);
  font-family: "Arial Black", Inter, sans-serif;
  font-size: clamp(5rem, 8vw, 10rem);
  letter-spacing: -0.08em;
  line-height: 0.75;
}

.hero__index div {
  display: grid;
  gap: 5px;
}

.hero__index strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

.hero__index div span {
  color: var(--muted);
  font-size: 0.82rem;
}

.feature {
  padding-block: 125px 170px;
}

.section-heading {
  display: grid;
  margin-bottom: 55px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 9vw;
  align-items: end;
}

.section-heading .eyebrow {
  margin-bottom: 20px;
}

.section-heading h2,
.film h2,
.benchmark h2,
.closing h2 {
  font-size: clamp(3rem, 5.9vw, 7.4rem);
}

.section-heading > p {
  max-width: 560px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.player {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: #030207;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.player::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  content: "";
  pointer-events: none;
}

.player video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #030207;
  object-fit: contain;
}

.player__badge {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: inline-flex;
  padding: 8px 11px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(9, 6, 17, 0.74);
  color: rgba(247, 244, 255, 0.75);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  backdrop-filter: blur(12px);
  pointer-events: none;
  transition: opacity 180ms ease;
}

.player:has(video:playing) .player__badge {
  opacity: 0;
}

.player__badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--uv-bright);
  box-shadow: 0 0 10px var(--uv);
}

.section-kicker {
  display: flex;
  padding: 26px 0;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-kicker .eyebrow {
  margin: 0;
}

.section-kicker > span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.film {
  --accent: var(--uv);
  display: grid;
  padding-block: clamp(110px, 14vw, 210px);
  align-items: center;
  grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(60px, 9vw, 160px);
  border-bottom: 1px solid var(--line);
}

.film:nth-of-type(even) .film__copy {
  order: 2;
}

.film:nth-of-type(even) .player {
  order: 1;
}

.film--shielded {
  --accent: var(--shielded);
}

.film--taproot {
  --accent: var(--taproot);
}

.film--rgb {
  --accent: var(--rgb);
}

.film .eyebrow {
  color: var(--accent);
}

.film h2 {
  color: var(--ink);
}

.film__copy > p:not(.eyebrow) {
  max-width: 610px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.film .player {
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.34),
    0 0 90px color-mix(in srgb, var(--accent) 8%, transparent);
}

.film .player__badge span {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.facts {
  display: grid;
  margin: 38px 0 0;
  padding: 0;
  gap: 0;
  list-style: none;
}

.facts li {
  display: grid;
  min-height: 58px;
  align-items: center;
  grid-template-columns: 90px 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--muted);
  font-size: 0.83rem;
}

.facts li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.facts span {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.benchmark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 48%, rgba(168, 121, 255, 0.2), transparent 38%),
    var(--raised);
}

.benchmark::after {
  position: absolute;
  top: -12rem;
  right: -9rem;
  width: 37rem;
  aspect-ratio: 1;
  border: 1px solid rgba(199, 168, 255, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(199, 168, 255, 0.018),
    0 0 0 160px rgba(199, 168, 255, 0.012);
  content: "";
}

.benchmark__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 920px;
  padding-block: 150px;
  align-items: center;
  grid-template-columns: minmax(390px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(70px, 8vw, 150px);
}

.benchmark__copy > p:not(.eyebrow, .benchmark__note) {
  max-width: 650px;
  margin: 32px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.metrics {
  display: grid;
  margin-top: 45px;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  display: grid;
  padding: 23px 14px 23px 0;
  gap: 9px;
}

.metrics div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.metrics span {
  color: var(--uv-bright);
  font-family: "Arial Black", Inter, sans-serif;
  font-size: clamp(1.2rem, 1.8vw, 2rem);
  letter-spacing: -0.045em;
}

.metrics small {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
}

.benchmark__note {
  margin: 18px 0 0;
  color: rgba(170, 160, 186, 0.7);
  font-size: 0.72rem;
}

.formal {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(93, 228, 199, 0.12);
  border-bottom: 1px solid rgba(93, 228, 199, 0.12);
  background:
    radial-gradient(circle at 88% 40%, rgba(93, 228, 199, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(93, 228, 199, 0.035), transparent 42%),
    #070b13;
}

.formal::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(93, 228, 199, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 228, 199, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
  mask-image: linear-gradient(90deg, black, transparent 72%);
  pointer-events: none;
}

.formal__inner {
  position: relative;
  display: grid;
  min-height: 960px;
  padding-block: 150px;
  align-items: center;
  grid-template-columns: minmax(390px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(70px, 8vw, 150px);
}

.formal .eyebrow {
  color: var(--formal);
}

.formal h2 {
  font-size: clamp(3rem, 5.9vw, 7.4rem);
}

.formal__copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.formal__metrics {
  display: grid;
  margin-top: 42px;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(93, 228, 199, 0.2);
  border-bottom: 1px solid rgba(93, 228, 199, 0.2);
}

.formal__metrics div {
  display: grid;
  padding: 22px 14px 22px 0;
  gap: 7px;
}

.formal__metrics div + div {
  padding-left: 18px;
  border-left: 1px solid rgba(93, 228, 199, 0.15);
}

.formal__metrics span {
  color: var(--formal);
  font-family: "Arial Black", Inter, sans-serif;
  font-size: clamp(1.65rem, 2.5vw, 2.9rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.formal__metrics small {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.56rem;
  letter-spacing: 0.12em;
}

.player--formal {
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.4),
    0 0 100px rgba(93, 228, 199, 0.08);
}

.player--formal .player__badge span {
  background: var(--formal);
  box-shadow: 0 0 10px var(--formal);
}

.closing {
  display: grid;
  min-height: 880px;
  padding-block: 160px;
  align-content: center;
  text-align: center;
}

.closing h2 span {
  color: var(--uv-bright);
}

.closing > p:not(.eyebrow) {
  max-width: 680px;
  margin: 38px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.closing__actions {
  justify-content: center;
}

.footer {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.footer p {
  color: var(--muted);
  font-size: 0.75rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (max-width: 1100px) {
  :root {
    --page: calc(100vw - 56px);
  }

  .site-header {
    padding-inline: 28px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .hero__index {
    grid-template-columns: 1.1fr repeat(3, 1fr);
    align-items: end;
    padding: 30px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero__number {
    font-size: 6rem;
  }

  .film,
  .benchmark__inner,
  .formal__inner {
    grid-template-columns: 1fr;
  }

  .film:nth-of-type(even) .film__copy,
  .film:nth-of-type(even) .player {
    order: initial;
  }

  .benchmark__inner,
  .formal__inner {
    padding-block: 120px;
  }

  .benchmark__copy,
  .formal__copy {
    max-width: 780px;
  }
}

@media (max-width: 720px) {
  :root {
    --page: calc(100vw - 34px);
  }

  .site-header {
    min-height: 72px;
    padding-inline: 17px;
  }

  .brand__muted,
  .nav a:not(.nav__source) {
    display: none;
  }

  .nav__source {
    padding: 8px 13px;
    font-size: 0.7rem;
  }

  .hero {
    min-height: calc(100svh - 72px);
    padding-block: 100px 65px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 15vw, 5.5rem);
  }

  .hero__index {
    grid-template-columns: 1fr 1fr;
  }

  .hero__number {
    grid-row: span 3;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-heading h2,
  .film h2,
  .benchmark h2,
  .formal h2,
  .closing h2 {
    font-size: clamp(2.7rem, 13vw, 4.7rem);
  }

  .feature {
    padding-block: 100px 125px;
  }

  .film {
    padding-block: 110px;
    gap: 55px;
  }

  .player {
    border-radius: 10px;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .metrics div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .formal__metrics {
    grid-template-columns: 1fr;
  }

  .formal__metrics div + div {
    padding-left: 0;
    border-top: 1px solid rgba(93, 228, 199, 0.15);
    border-left: 0;
  }

  .closing {
    min-height: 720px;
  }

  .footer {
    display: grid;
    padding-block: 34px;
    gap: 18px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button {
    transition: none;
  }
}
