/* BLK0 brand landing — OP rhythm, Void/Ledger Navy + Signal Cyan */

:root {
  /* BLK0 Swiss Monochrome Obsidian & Crisp White tokens */
  --void: #000000;
  --obsidian: #121316;
  --charcoal: #191b1f;
  --ice: #f5f6f8;
  --blk0: #f5f6f8;
  --blk0-deep: #cbd5e1;
  --blk0-soft: #ffffff;
  --fog: #9ca3af;
  --paper: #ffffff;

  --bg: var(--void);
  --bg-elevated: #0a0b0e;
  --surface: var(--obsidian);
  --surface-2: var(--charcoal);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: var(--paper);
  --text-muted: var(--fog);
  --text-dim: rgba(156, 163, 175, 0.72);
  --accent: var(--ice);
  --accent-deep: var(--blk0-deep);
  --accent-soft: rgba(245, 246, 248, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1400px;
  --header-h: 96px;
  --font: "Switzer", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Liquid glass base (CSS fallback). Chromium gets refraction + frost via liquid-glass.js */
  --lg-tint: rgba(255, 255, 255, 0.12);
  --lg-tint-strong: rgba(255, 255, 255, 0.16);
  --lg-edge: rgba(255, 255, 255, 0.22);
  --lg-filter: blur(16px) saturate(1.55) brightness(1.06);
  --lg-shadow:
    inset 0.5px 0.5px 0 rgba(255, 255, 255, 0.28),
    inset -0.5px -0.5px 0 rgba(255, 255, 255, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.28);
}

.lg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

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

.container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn-lg {
  padding: 0.95rem 1.6rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: #08090b;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #ffffff;
  border-color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--ice);
  border-color: rgba(245, 246, 248, 0.42);
}

.btn-outline:hover {
  background: var(--accent-soft);
  color: var(--blk0-soft);
  border-color: var(--blk0-soft);
}

.btn-tapeout {
  gap: 10px;
  padding-inline: 1.15rem 1.25rem;
}

.btn-tapeout .tapeout-mark {
  flex-shrink: 0;
  display: block;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: rgba(245, 246, 248, 0.45);
  background: var(--accent-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
  padding-inline: 0.85rem;
}

.btn-ghost:hover {
  color: var(--text);
}

/* Header — floats over hero; exit motion only when scrolling (transform kills blur) */
.site-header {
  --phase-0: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: auto;
  min-height: var(--header-h);
  padding-top: 32px;
  padding-bottom: 12px;
  background: transparent;
  border-bottom: 1px solid transparent;
  pointer-events: none;
}

.site-header.is-scroll-exit {
  transform: translate3d(0, calc(var(--phase-0) * -96px), 0);
  opacity: calc(1 - var(--phase-0) * 1.05);
  will-change: transform, opacity;
}

.site-header .nav-inner,
.site-header .nav-inner a,
.site-header .nav-inner button {
  pointer-events: auto;
}

.site-header.is-exiting .nav-inner,
.site-header.is-exiting .nav-inner a,
.site-header.is-exiting .nav-inner button {
  pointer-events: none;
}

.site-header.is-scrolled {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-inner {
  width: min(100% - 120px, var(--max));
  margin-inline: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 2.125rem;
  letter-spacing: -0.03em;
  color: var(--paper);
  flex-shrink: 0;
}

.logo-mark {
  flex-shrink: 0;
  width: 42px;
  height: 48px;
  display: block;
}

.logo-wordmark {
  flex-shrink: 0;
  height: 32px;
  width: auto;
  display: block;
}

.nav-cluster {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: max-content;
  max-width: 100%;
  z-index: 2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px 8px;
  border-radius: 999px;
  position: relative;
  z-index: 3;
  isolation: isolate;
  overflow: hidden;
  background: var(--lg-tint);
  border: 1px solid var(--lg-edge);
  backdrop-filter: var(--lg-filter);
  -webkit-backdrop-filter: var(--lg-filter);
  box-shadow: var(--lg-shadow);
}

.nav-pill {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transform: translate(0, 0);
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.1) 42%,
      rgba(245, 246, 248, 0.14) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px) saturate(1.7) brightness(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.7) brightness(1.12);
  box-shadow:
    inset 0.5px 0.5px 0 rgba(255, 255, 255, 0.35),
    inset -0.5px -0.5px 0 rgba(255, 255, 255, 0.08),
    0 4px 16px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease;
  z-index: 0;
}

.nav-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    120% 90% at 18% 0%,
    rgba(255, 255, 255, 0.38) 0%,
    transparent 52%
  );
  opacity: 0.85;
  mix-blend-mode: soft-light;
}

.nav-links.is-hot .nav-pill {
  opacity: 1;
}

.nav-links .nav-item {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.nav-links .nav-item:hover,
.nav-links .nav-item:focus-visible {
  color: #fff;
}

#protocol {
  scroll-margin-top: 72px;
}

.custody-card {
  display: grid;
  min-width: 0;
}

#roadmap {
  scroll-margin-top: var(--header-h);
}

@media (prefers-reduced-motion: reduce) {
  .nav-pill {
    transition: none;
  }
}

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(245, 246, 248, 0.35);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--paper);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: rgba(245, 246, 248, 0.75);
  background: rgba(245, 246, 248, 0.1);
  outline: none;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Hero sticky scroll — frosted wash + mask phase */
.hero-scroll {
  --phase-0: 0;
  --phase-a: 0;
  --phase-b: 0;
  --mask-top: 0px;
  --mask-right: 0px;
  --mask-bottom: 0px;
  --mask-left: 0px;
  --mask-radius: 0px;
  --rail-fill: 0px;
  --box-size: 28px;
  --underlay-y: 0px;
  --scene-y: 0px;
  background: var(--bg);
}

.hero-track {
  /* Overwritten by JS to match phase B end (≈ 2 screens of rail) */
  position: relative;
  height: calc(100svh + 280svh);
}

#roadmap-start {
  position: absolute;
  top: 74vh;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  padding-top: var(--header-h);
}

/* Under layer: copy + rail — already there when the box starts shrinking */
.hero-underlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: translate3d(0, calc(var(--underlay-y, 0px) + var(--scene-y, 0px)), 0);
  will-change: transform;
}

.hero-journey {
  margin: 0 0 20px;
  width: min(100% - 48px, 42rem);
  text-align: center;
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--paper);
  /* Sit clearly above the centered dock box */
  transform: translateY(calc(var(--box-size) * -0.5 - 64px));
}

.hero-rail {
  --rail-h: 200svh;
  --roadmap-gap: 52px;
  position: absolute;
  left: 50%;
  top: calc(50% + var(--box-size) / 2);
  height: var(--rail-h);
  bottom: auto;
  transform: translateX(-50%);
  width: 1px;
  margin: 0;
  min-height: 0;
}

.hero-rail-track {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.34) 0 3px,
    transparent 3px 8px
  );
}

.hero-rail-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--rail-fill);
  background: var(--ice);
  box-shadow: none;
}

.roadmap-nodes {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
  z-index: 2;
}

.roadmap-node {
  --node-fill: 0;
  --draw: 0;
  --gap-fade: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--node-t) * 100%);
  height: 0;
}

/* Same dash rhythm as the vertical rail: 3px on / 5px gap, 1px stroke.
   Outline is SVG-drawn (--draw); purple fill via ::before (--node-fill). */
.roadmap-node-box {
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--box-size);
  height: var(--box-size);
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  border: 0;
  background: transparent;
}

.roadmap-node-box svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  position: relative;
  z-index: 0;
}

.roadmap-node-box .draw-reveal {
  stroke-dasharray: 100;
  stroke-dashoffset: calc((1 - var(--draw, 0)) * 100);
}

.roadmap-node-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--ice);
  opacity: var(--node-fill, 0);
  pointer-events: none;
}

.roadmap-side {
  position: absolute;
  top: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: min(38vw, 240px);
  pointer-events: none;
  opacity: calc(0.42 + 0.58 * var(--node-fill, 0));
}

.roadmap-side--time {
  align-items: flex-end;
}

.roadmap-side--copy {
  align-items: flex-start;
}

/* Odd: time left, title/desc right */
.roadmap-node:nth-child(odd) .roadmap-side--time {
  right: calc(50% + var(--roadmap-gap, 52px));
  align-items: flex-end;
  text-align: right;
}

.roadmap-node:nth-child(odd) .roadmap-side--copy {
  left: calc(50% + var(--roadmap-gap, 52px));
  align-items: flex-start;
  text-align: left;
}

/* Even: time right, title/desc left */
.roadmap-node:nth-child(even) .roadmap-side--time {
  left: calc(50% + var(--roadmap-gap, 52px));
  align-items: flex-start;
  text-align: left;
}

.roadmap-node:nth-child(even) .roadmap-side--copy {
  right: calc(50% + var(--roadmap-gap, 52px));
  align-items: flex-end;
  text-align: right;
}

.roadmap-time {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-size: clamp(1.125rem, 1.7vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.roadmap-year,
.roadmap-dot {
  font-size: 1em;
}

.roadmap-month {
  font-size: 1.5em;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.roadmap-title {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.2;
}

.roadmap-desc {
  font-size: clamp(0.9375rem, 1.35vw, 1.0625rem);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.35;
}

.roadmap-soon {
  --soon-fill: 0;
  position: absolute;
  left: 50%;
  top: calc(50% + var(--box-size) / 2 + 200svh + 40px);
  transform: translateX(-50%);
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: calc(0.42 + 0.58 * var(--soon-fill, 0));
  white-space: nowrap;
}

.roadmap-mobile {
  display: none;
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--void);
  transform: translate3d(0, var(--scene-y, 0px), 0);
  will-change: transform;
  /* Shrinking / docking viewport */
  clip-path: inset(
    var(--mask-top)
    var(--mask-right)
    var(--mask-bottom)
    var(--mask-left)
    round var(--mask-radius)
  );
}

.hero-brand-layer {
  position: absolute;
  inset: 0;
  /* Solid dock color — same as rail progress + roadmap node fill */
  background: var(--ice);
  opacity: var(--phase-a);
}

.hero-frost {
  position: absolute;
  inset: 0;
  opacity: calc(1 - var(--phase-a));
  overflow: hidden;
  background: #120a22;
}

.frost-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 42%;
  display: block;
  /* Darkened + noised plate — no live Gaussian */
  filter: none;
  transform: none;
}

.frost-noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  mix-blend-mode: overlay;
  opacity: 0.96;
  pointer-events: none;
}

.hero-frost::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.78;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 96px 96px;
  mix-blend-mode: overlay;
}

.hero-frost::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* Several black vignettes */
    radial-gradient(ellipse 70% 55% at 0% 0%, rgba(0, 0, 0, 0.72) 0%, transparent 62%),
    radial-gradient(ellipse 65% 50% at 100% 0%, rgba(0, 0, 0, 0.58) 0%, transparent 60%),
    radial-gradient(ellipse 75% 60% at 0% 100%, rgba(0, 0, 0, 0.78) 0%, transparent 64%),
    radial-gradient(ellipse 70% 55% at 100% 100%, rgba(0, 0, 0, 0.7) 0%, transparent 62%),
    radial-gradient(ellipse 55% 45% at 50% 110%, rgba(0, 0, 0, 0.45) 0%, transparent 70%),
    linear-gradient(
      155deg,
      rgba(72, 40, 140, 0.24) 0%,
      rgba(18, 8, 36, 0.36) 48%,
      rgba(4, 1, 10, 0.48) 100%
    ),
    rgba(10, 4, 22, 0.16);
  pointer-events: none;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(6, 2, 14, 0.52) 0%, rgba(16, 6, 34, 0.26) 45%, rgba(30, 12, 58, 0.12) 100%),
    rgba(6, 2, 14, 0.1);
  opacity: calc(1 - var(--phase-a));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  /* Full page rhythm — match OP-scale content column */
  width: min(100% - 120px, 1400px);
  max-width: none;
  margin-inline: auto;
  /* Region B — sit under nav with modest air, not vertically centered */
  padding: 134px 0 0;
}

.hero-content[data-hero-rise].is-in {
  animation: hero-content-enter 0.7s ease;
}

@keyframes hero-content-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

.hero-sticky.is-phasing .hero-content[data-hero-rise].is-in {
  /* Region B: short early offset — fully gone before mask (phase-a) starts */
  opacity: calc(1 - var(--phase-0));
  transform: translate3d(0, calc(var(--phase-0) * -64px), 0);
  animation: none;
  will-change: transform, opacity;
}

.eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-slogan {
  font-size: clamp(3rem, 7.5vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-bottom: 20px;
  color: var(--paper);
  max-width: min(100%, 20ch);
}

/*
  Particle canvas keeps inset “white” (pad) on left/top/bottom so dots can scatter.
  Outer spacing is reduced by the same pad so the glyph block still sits on the
  content column / previous rhythm (no net layout growth).
*/
.hero-slogan {
  --slogan-pad: 0.35em;
  position: relative;
  width: min(calc(100% + var(--slogan-pad)), calc(14em + var(--slogan-pad)));
  max-width: calc(min(100%, 14em) + var(--slogan-pad));
  min-height: calc(2 * 1.02em + 2 * var(--slogan-pad));
  margin-left: calc(-1 * var(--slogan-pad));
  margin-top: calc(-1 * var(--slogan-pad));
  margin-bottom: calc(20px - var(--slogan-pad));
  overflow: visible;
}

.hero-slogan-heading {
  font: inherit;
  padding: var(--slogan-pad) 0 var(--slogan-pad) var(--slogan-pad);
}

.hero-slogan-heading span {
  display: block;
}

.hero-slogan-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  touch-action: none;
}

.hero-slogan.has-particles .hero-slogan-heading {
  opacity: 0;
}

.hero-slogan.has-particles .hero-slogan-canvas {
  visibility: visible;
}

.hero-lead {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--text-muted);
  max-width: min(100%, 40em);
  margin-bottom: 28px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

/* Region C — infinite audience ticker inside hero-stage */
.audience-marquee {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 98px;
  z-index: 4;
  width: min(100% - 120px, 1400px);
  margin: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee-x 32s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-shrink: 0;
  padding-right: 48px;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee-item svg {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--text-muted);
}

@keyframes marquee-x {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* Pin statement — taller air above/below the copy block. */
.pin-band {
  position: relative;
  height: auto;
  background: var(--bg);
  border-top: 0;
  margin-top: 0;
  padding-top: 360px;
  padding-bottom: 400px;
}

.pin-sticky {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 0 24px;
}

/* The fragment targets the copy's midpoint, not the section's top padding. */
#custody {
  position: absolute;
  top: 50%;
  scroll-margin-top: 50dvh;
}

.pin-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.pin-title {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: var(--paper);
  max-width: 16ch;
}

.pin-title span {
  display: block;
  opacity: 0.18;
  transform: translateY(18px);
  will-change: opacity, transform;
}

/* Case strip */
.cases {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.cases-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: stretch;
}

.cases-copy h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--paper);
}

.cases-copy p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  margin-bottom: 28px;
  max-width: 36ch;
}

.cases-stage {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.case-panel {
  flex: 1;
  display: none;
}

.case-panel.is-active {
  display: block;
  animation: case-in 0.45s ease;
}

@keyframes case-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.case-kicker {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.case-metric {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--paper);
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--paper) 40%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.case-note {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 36ch;
}

.case-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 32px;
}

.case-tabs button {
  position: relative;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: left;
  padding: 10px 0 0;
  cursor: pointer;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s ease;
}

.case-tabs button.on {
  color: var(--paper);
}

.case-progress {
  position: absolute;
  left: 0;
  top: -2px;
  height: 2px;
  width: 0;
  background: var(--accent);
}

/* Configurator tabs */
.config-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding: 6px;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

.config-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.config-tab:hover {
  color: var(--text);
}

.config-tab.on {
  color: #fff;
  background: var(--accent);
}

.config-panels {
  margin-bottom: 28px;
}

.config-panel {
  display: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px 32px;
}

.config-panel.is-active {
  display: block;
  animation: case-in 0.35s ease;
}

.config-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.config-list li {
  color: var(--text-muted);
  font-size: 1rem;
  padding-left: 18px;
  position: relative;
}

.config-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--accent);
}

.config-list strong {
  color: var(--text);
  font-weight: 600;
}

/* Section shared */
.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--paper);
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* Stats */
.stats-band {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.2s ease;
}

.stat-card:hover {
  border-color: rgba(245, 246, 248, 0.3);
}

.stat-value {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 10px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--paper) 35%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 20px;
}

.stat-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.stat-link:hover {
  color: #ffffff;
}

/* Capabilities */
.capabilities {
  padding: 100px 0;
}

.cap-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.cap-card:first-child {
  padding-top: 0;
}

.cap-card.reverse .cap-copy {
  order: 2;
}

.cap-card.reverse .cap-visual {
  order: 1;
}

.cap-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.cap-copy h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--paper);
}

.cap-copy ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cap-copy li {
  color: var(--text-muted);
  font-size: 1rem;
  padding-left: 18px;
  position: relative;
}

.cap-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--accent);
}

.cap-copy strong {
  color: var(--text);
  font-weight: 600;
}

.cap-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.panel-svg {
  width: 100%;
  height: auto;
  display: block;
}

.flow-line {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw-line 4s ease forwards infinite;
}

.flow-line.delay {
  animation-delay: 0.7s;
}

/* Ecosystem */
.ecosystem {
  padding: 100px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.eco-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.eco-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 246, 248, 0.28);
}

.eco-num {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 8px;
}

.eco-name {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 6px;
  color: var(--paper);
}

.eco-desc {
  font-size: 0.8125rem;
  color: var(--text-dim);
  line-height: 1.45;
}

/* Protocol foundations — OP metrics panel */
.protocol {
  position: relative;
  padding: 8px 0 40px;
  margin-top: -28svh;
}

.protocol-shell {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 56px);
  min-height: calc(100svh - 148px);
  border-radius: 28px;
  padding: clamp(32px, 4.5vw, 56px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  background: #120a22;
}

.protocol-frost {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

.protocol-frost-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 42%;
  display: block;
}

.protocol-frost-noise {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: overlay;
  opacity: 0.94;
  pointer-events: none;
}

.protocol-frost::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.74;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 96px 96px;
  mix-blend-mode: overlay;
}

.protocol-frost::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 0% 0%, rgba(0, 0, 0, 0.45) 0%, transparent 62%),
    radial-gradient(ellipse 65% 50% at 100% 0%, rgba(0, 0, 0, 0.32) 0%, transparent 60%),
    radial-gradient(ellipse 75% 60% at 0% 100%, rgba(0, 0, 0, 0.5) 0%, transparent 64%),
    radial-gradient(ellipse 70% 55% at 100% 100%, rgba(0, 0, 0, 0.45) 0%, transparent 62%),
    linear-gradient(
      155deg,
      rgba(72, 40, 140, 0.22) 0%,
      rgba(18, 8, 36, 0.28) 48%,
      rgba(4, 1, 10, 0.38) 100%
    ),
    linear-gradient(90deg, rgba(6, 2, 14, 0.28) 0%, rgba(16, 6, 34, 0.1) 55%, transparent 100%);
}

.protocol-top,
.protocol-grid {
  position: relative;
  z-index: 1;
}

.protocol-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 0;
}

.protocol-motion .protocol-top {
  --p: 0;
  --p-chip: 0;
  opacity: calc(0.12 + var(--p) * 0.88);
  transform: translate3d(0, calc((1 - var(--p)) * 28px), 0);
  will-change: transform, opacity;
}

.protocol-top h2 {
  margin: 0;
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.96);
}

.protocol-top h2 span {
  display: inline;
  font-weight: 500;
  color: rgba(220, 228, 240, 0.72);
}

.protocol-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.92);
  color: #141415;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.protocol-motion .protocol-chip {
  opacity: calc(0.08 + var(--p-chip) * 0.92);
  transform: translate3d(0, calc((1 - var(--p-chip)) * 14px), 0);
}

.protocol-chip:hover {
  background: #fff;
}

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

.protocol-motion .protocol-card {
  opacity: calc(0.08 + var(--p) * 0.92);
  transform: translate3d(0, calc((1 - var(--p)) * 56px), 0);
  will-change: transform, opacity;
}

.protocol-card {
  --p: 0;
  --p-title: 0;
  --p-sub: 0;
  --p-stat: 0;
  --p-btn: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  min-height: min(42svh, 360px);
  padding: 32px 24px 24px;
  border-radius: 22px;
  isolation: isolate;
  overflow: hidden;
  background: var(--lg-tint);
  border: 1px solid var(--lg-edge);
  backdrop-filter: var(--lg-filter);
  -webkit-backdrop-filter: var(--lg-filter);
  box-shadow: var(--lg-shadow);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.protocol-card > * {
  position: relative;
  z-index: 1;
}

.protocol-card:hover {
  background: var(--lg-tint-strong);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow:
    inset 0.5px 0.5px 0 rgba(255, 255, 255, 0.32),
    inset -0.5px -0.5px 0 rgba(255, 255, 255, 0.08),
    0 16px 44px rgba(0, 0, 0, 0.34);
}

.protocol-card-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 3.4em;
}

.protocol-card-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.96);
  line-height: 1.3;
}

.protocol-card-sub {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.58);
}

.protocol-motion .protocol-card-title,
.protocol-motion .protocol-card-sub,
.protocol-motion .protocol-card-stat,
.protocol-motion .protocol-card-btn {
  opacity: calc(0.05 + var(--local-p, 0) * 0.95);
  transform: translate3d(0, calc((1 - var(--local-p, 0)) * 20px), 0);
  will-change: transform, opacity;
}

.protocol-motion .protocol-card-title {
  --local-p: var(--p-title);
}

.protocol-motion .protocol-card-sub {
  --local-p: var(--p-sub);
}

.protocol-card-stat {
  margin: auto 0;
  padding: 28px 0 24px;
  font-size: clamp(1.65rem, 2.8vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fff;
}

.protocol-motion .protocol-card-stat {
  --local-p: var(--p-stat);
  transform:
    translate3d(0, calc((1 - var(--p-stat)) * 28px), 0)
    scale(calc(0.94 + var(--p-stat) * 0.06));
}

.protocol-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.35),
    inset -1px -1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px) saturate(1.6) brightness(1.08);
  -webkit-backdrop-filter: blur(6px) saturate(1.6) brightness(1.08);
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.protocol-motion .protocol-card-btn {
  --local-p: var(--p-btn);
}

.protocol-card-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.45),
    inset -1px -1px 0 rgba(255, 255, 255, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .protocol-motion .protocol-top,
  .protocol-motion .protocol-chip,
  .protocol-motion .protocol-card,
  .protocol-motion .protocol-card-title,
  .protocol-motion .protocol-card-sub,
  .protocol-motion .protocol-card-stat,
  .protocol-motion .protocol-card-btn {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 1100px) {
  .protocol-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .protocol-grid {
    grid-template-columns: 1fr;
  }

  .protocol-shell {
    min-height: 0;
  }

  .protocol-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .protocol-top h2 {
    white-space: normal;
  }

  .protocol-card {
    min-height: 220px;
  }

  .protocol-motion .protocol-top,
  .protocol-motion .protocol-chip,
  .protocol-motion .protocol-card,
  .protocol-motion .protocol-card-title,
  .protocol-motion .protocol-card-sub,
  .protocol-motion .protocol-card-stat,
  .protocol-motion .protocol-card-btn {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .protocol-shell {
    border-radius: 20px;
    padding: 22px 16px 18px;
  }

  .protocol-card {
    min-height: 0;
    padding: 22px 18px 18px;
  }
}

/* Modular features */
.modular {
  padding: 100px 0;
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: default;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  user-select: none;
}

.chip:hover,
.chip.active {
  color: var(--paper);
  border-color: rgba(245, 246, 248, 0.4);
  background: var(--accent-soft);
}

.chip.active {
  color: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(245, 246, 248, 0.18);
}

.modular-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  max-width: 680px;
}

.modular-note p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.modular-note svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Enterprise / Reliability */
.enterprise {
  padding: 100px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.ent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ent-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
}

.ent-icon {
  margin-bottom: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: 12px;
  border: 1px solid rgba(245, 246, 248, 0.15);
}

.ent-card h3 {
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--paper);
}

.ent-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Timeline */
.timeline {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: none;
}

.step {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step::after {
  content: "";
  position: absolute;
  top: 48px;
  right: -13px;
  width: 24px;
  height: 1px;
  background: rgba(245, 246, 248, 0.25);
  z-index: 1;
}

.step:last-child::after {
  display: none;
}

.step-num {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--paper);
}

.step p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Bottom CTA */
.bottom-cta {
  padding: 100px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.cta-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cta-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s ease;
}

.cta-card:hover {
  border-color: rgba(245, 246, 248, 0.3);
}

.cta-card-visual {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 8px;
}

.cta-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.cta-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  flex: 1;
}

.cta-card .btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* Footer — OP-style columns + newsletter + clipped wordmark */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 96px 0 0;
  border-top: 1px solid var(--border);
  background: #070708;
}

.site-footer .footer-top,
.site-footer .footer-legal {
  width: min(100% - 240px, var(--max));
  margin-inline: auto;
}

.footer-top {
  position: relative;
  z-index: 2;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(5, 150px);
  gap: 0 10px;
  justify-content: center;
  width: 100%;
}

.footer-col h4 {
  margin: 0 0 20px;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.2857;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.2857;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.92);
  padding-left: 0;
  transition:
    color 0.2s ease,
    padding-left 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-col a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--ice);
  transform: translateY(-50%) scale(0);
  transform-origin: center;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.footer-col a:hover {
  color: #fff;
  padding-left: 15px;
}

.footer-col a:hover::before {
  transform: translateY(-50%) scale(1);
}

.footer-subscribe {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin: 88px auto 0;
  max-width: 720px;
}

.footer-subscribe-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--paper);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.footer-subscribe-field {
  position: relative;
  flex: 1 1 280px;
  max-width: 360px;
  display: flex;
  align-items: center;
}

.footer-subscribe-field input {
  width: 100%;
  height: 48px;
  padding: 0 52px 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--paper);
  font: inherit;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.footer-subscribe-field input::placeholder {
  color: rgba(172, 173, 174, 0.55);
}

.footer-subscribe-field input:focus {
  border-color: rgba(245, 246, 248, 0.55);
  background: rgba(255, 255, 255, 0.05);
}

.footer-subscribe-go {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: var(--paper);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.footer-subscribe-go:hover {
  background: rgba(245, 246, 248, 0.16);
  border-color: rgba(245, 246, 248, 0.45);
  color: var(--blk0-soft);
}

.footer-mark-wrap {
  position: relative;
  z-index: 1;
  margin-top: 72px;
  height: clamp(180px, 26vw, 300px);
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.footer-mark-svg {
  position: absolute;
  left: 50%;
  bottom: -24%;
  transform: translateX(-50%);
  width: clamp(320px, 78vw, 1080px);
  height: auto;
  display: block;
}

.footer-mark {
  position: absolute;
  left: 50%;
  bottom: -0.28em;
  transform: translateX(-50%);
  margin: 0;
  font-size: clamp(4.75rem, 18vw, 16rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.82;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.1);
  text-stroke: 1.5px rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.footer-legal {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 20px 0 28px;
  pointer-events: none;
}

.footer-legal a {
  pointer-events: auto;
}

.footer-legal p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-legal-links a {
  font-size: 0.8125rem;
  color: var(--text-dim);
  transition: color 0.15s ease;
}

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

/* Animations */
@keyframes draw-line {
  0% { stroke-dashoffset: 400; opacity: 0.25; }
  40% { stroke-dashoffset: 0; opacity: 0.85; }
  100% { stroke-dashoffset: -200; opacity: 0.2; }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease var(--reveal-delay, 0ms), transform 0.55s ease var(--reveal-delay, 0ms);
}

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

/* Responsive */
@media (max-width: 1024px) {
  .eco-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-cols {
    grid-template-columns: repeat(3, 150px);
    gap: 28px 10px;
    justify-content: center;
  }

  .footer-subscribe {
    margin-top: 64px;
  }
}

@media (max-width: 900px) {
  #protocol {
    scroll-margin-top: calc(var(--header-h) - 32px);
  }

  :root {
    --header-h: 72px;
  }

  .nav-inner {
    width: 100%;
    max-width: none;
    padding-inline: 16px;
    box-sizing: border-box;
    gap: 12px;
  }

  .wordmark {
    font-size: 1.25rem;
    gap: 8px;
  }

  .logo-mark {
    width: 28px;
    height: 32px;
  }

  .btn-tapeout {
    padding: 0.55rem 0.85rem;
    font-size: 0.8125rem;
    gap: 8px;
    min-height: 34px;
    box-sizing: border-box;
  }

  .btn-tapeout .tapeout-mark {
    width: 16px;
    height: 13px;
  }

  .nav-toggle {
    display: flex;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    gap: 4px;
  }

  .nav-toggle span {
    width: 13px;
    height: 1.5px;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }

  .nav-cluster {
    position: static;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(8, 8, 10, 0.96);
    border: 1px solid var(--border);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 16px 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    z-index: 120;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-pill {
    display: none;
  }

  .nav-links .nav-item {
    padding: 14px 0;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    text-align: left;
    background: transparent !important;
  }

  .nav-links .nav-item:last-child {
    border-bottom: 0;
  }

  .nav-ctas {
    gap: 8px;
    flex-shrink: 0;
  }

  .nav-ctas .btn-ghost {
    display: none;
  }

  .site-header {
    padding-top: 16px;
    padding-bottom: 8px;
    min-height: var(--header-h);
  }

  .cap-card,
  .cap-card.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cap-card.reverse .cap-copy,
  .cap-card.reverse .cap-visual {
    order: unset;
  }

  .stats-grid,
  .ent-grid,
  .steps,
  .cta-cards {
    grid-template-columns: 1fr;
  }

  .step::after {
    display: none;
  }

  .hero-scroll {
    overflow: visible;
  }

  .hero-track {
    height: auto;
  }

  .hero-sticky {
    position: relative;
    height: auto;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    padding-top: var(--header-h);
  }

  /* Frost only covers the first screen so marquee sits at its bottom,
     and the roadmap below is not painted over. */
  .hero-stage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    right: auto;
    bottom: auto;
    clip-path: none;
    border-radius: 0;
    pointer-events: none;
    z-index: 1;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    order: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: calc(100svh - var(--header-h));
    padding: 28px 16px 88px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-slogan {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
    max-width: none;
    width: 100%;
    margin-bottom: 16px;
  }

  .hero-slogan {
    --slogan-pad: 0.28em;
    width: calc(100% + var(--slogan-pad));
    max-width: none;
    margin-left: calc(-1 * var(--slogan-pad));
    margin-top: calc(-1 * var(--slogan-pad));
    margin-bottom: calc(16px - var(--slogan-pad));
  }

  .hero-lead {
    font-size: 0.9375rem;
    max-width: none;
    line-height: 1.55;
  }

  .hero-actions {
    margin-bottom: 0;
    margin-top: 24px;
  }

  .hero-actions .btn-lg {
    width: 100%;
  }

  .audience-marquee {
    position: absolute;
    left: 0;
    right: 0;
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    top: auto;
    transform: none;
    width: 100%;
    margin: 0;
    padding-inline: 16px;
    box-sizing: border-box;
    opacity: 1 !important;
    z-index: 4;
    pointer-events: none;
  }

  .marquee {
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }

  .marquee-item {
    font-size: 0.6875rem;
    gap: 8px;
  }

  .marquee-item svg {
    width: 20px;
    height: 20px;
  }

  .protocol {
    margin-top: 0;
    padding: 24px 0 64px;
  }

  .protocol .container {
    width: min(100% - 40px, var(--max));
  }

  .protocol-shell {
    width: 100%;
    margin-inline: auto;
    padding: 24px 16px 20px;
    border-radius: 22px;
    box-sizing: border-box;
  }

  .protocol-top {
    gap: 16px;
    margin-bottom: 4px;
  }

  .protocol-top h2 {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
    white-space: normal;
  }

  .protocol-chip {
    height: 34px;
    padding: 0 14px;
    font-size: 0.75rem;
  }

  .protocol-grid {
    gap: 12px;
  }

  .protocol-card {
    min-height: 200px;
    padding: 20px 16px;
  }

  .protocol-card-stat {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .pin-band {
    height: auto;
    padding: 104px 0 120px;
  }

  .pin-sticky {
    position: relative;
    height: auto;
    padding: 0 16px;
  }

  .pin-kicker {
    font-size: 0.8125rem;
  }

  .pin-title {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .pin-title span {
    opacity: 1 !important;
    transform: none !important;
  }

  .cases-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .case-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .stats-band,
  .capabilities,
  .ecosystem,
  .modular,
  .enterprise,
  .timeline,
  .bottom-cta {
    padding: 72px 0;
  }
}

@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .hero-underlay {
    position: relative;
    z-index: 3;
    order: 3;
    width: 100%;
    margin-top: 8px;
    margin-inline: auto;
    padding: 72px 20px 56px;
    box-sizing: border-box;
    transform: none !important;
    background: var(--bg);
    align-items: center;
    justify-content: flex-start;
  }

  .hero-rail {
    display: none;
  }

  .roadmap-soon {
    display: none;
  }

  .hero-journey {
    width: 100%;
    max-width: 22rem;
    margin: 0 0 24px;
    margin-inline: auto;
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    text-align: center;
    transform: none;
  }

  /* Centered timeline column; rail still through node centers. */
  .roadmap-mobile {
    --node-size: 7px;
    --rail-pad: 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0 0 var(--rail-pad);
    border: 0;
    box-sizing: border-box;
  }

  .roadmap-mobile::before {
    content: "";
    position: absolute;
    left: calc(var(--node-size) / 2);
    top: 8px;
    bottom: 28px;
    width: 0;
    border-left: 1px dashed rgba(255, 255, 255, 0.28);
    transform: translateX(-0.5px);
    pointer-events: none;
  }

  .roadmap-mobile li {
    position: relative;
    display: grid;
    grid-template-columns: 5.5rem auto;
    gap: 4px 14px;
    padding: 16px 0;
    border-bottom: 0;
    justify-content: start;
  }

  .roadmap-mobile li::before {
    content: "";
    position: absolute;
    left: calc(-1 * var(--rail-pad));
    top: 22px;
    width: var(--node-size);
    height: var(--node-size);
    border-radius: 1px;
    background: var(--ice);
    box-shadow: 0 0 0 3px var(--bg);
  }

  .roadmap-mobile .roadmap-time {
    grid-row: 1 / span 2;
    align-self: start;
    padding-top: 2px;
    opacity: 0.7;
  }

  .roadmap-mobile .roadmap-title {
    font-size: 1.0625rem;
  }

  .roadmap-mobile .roadmap-desc {
    font-size: 0.8125rem;
    opacity: 0.72;
  }

  .roadmap-mobile-soon {
    display: block !important;
    grid-template-columns: 1fr !important;
    text-align: left;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    border-bottom: 0;
    padding: 22px 0 8px;
  }

  .roadmap-mobile-soon::before {
    background: rgba(255, 255, 255, 0.35);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, var(--max));
  }

  .nav-inner {
    padding-inline: 12px;
  }

  .nav-links {
    left: 12px;
    right: 12px;
  }

  .hero-content {
    padding: 20px 12px 80px;
  }

  .hero-underlay {
    padding: 64px 16px 56px;
  }

  .audience-marquee {
    padding-inline: 12px;
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
  }

  .protocol .container {
    width: min(100% - 32px, var(--max));
  }

  .protocol-shell {
    padding: 20px 14px 16px;
    border-radius: 20px;
  }

  .site-footer .footer-top,
  .site-footer .footer-legal {
    width: min(100% - 32px, var(--max));
  }

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

  .footer-cols {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 28px 12px;
    justify-content: stretch;
    width: 100%;
  }

  .footer-col {
    min-width: 0;
  }

  .footer-col:nth-child(-n + 3) {
    grid-column: span 2;
  }

  /* Bottom pair: same column width as top, centered as a group. */
  .footer-col:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .footer-col:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .footer-subscribe {
    margin-top: 48px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .footer-subscribe-label {
    white-space: normal;
    text-align: left;
    font-size: 0.9375rem;
  }

  .footer-subscribe-field {
    max-width: none;
    flex: 1 1 auto;
  }

  .footer-mark-wrap {
    height: 96px;
    margin-top: 40px;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 0 20px;
  }

  .footer-legal-links {
    gap: 8px 16px;
  }

  .protocol-shell {
    width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
  }
}

@media (max-width: 400px) {
  .btn-tapeout-label {
    display: none;
  }

  .btn-tapeout {
    padding-inline: 0.7rem;
    min-width: 40px;
  }

  .wordmark {
    font-size: 1.125rem;
  }
}


@media (min-width: 901px) and (prefers-reduced-motion: reduce) {
  .hero-track {
    height: auto;
  }

  .hero-sticky {
    position: relative;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
  }

  .hero-stage {
    height: 100svh;
    bottom: auto;
  }

  .hero-content {
    order: 1;
    min-height: calc(100svh - var(--header-h));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .marquee-track {
    animation: none !important;
    transform: none !important;
    flex-wrap: wrap;
    width: auto;
    max-width: 100%;
    justify-content: center;
  }

  .marquee-group[aria-hidden="true"] {
    display: none;
  }

  .marquee-group {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
    gap: 20px 32px;
  }

  .hero-content[data-hero-rise] {
    opacity: 1;
    transform: none;
  }

  .site-header {
    transform: none !important;
    opacity: 1 !important;
  }

  .site-header.is-scroll-exit {
    transform: none !important;
    opacity: 1 !important;
  }
}
