:root {
  --ink-950: oklch(0.145 0.025 292);
  --ink-900: oklch(0.18 0.035 292);
  --ink-850: oklch(0.215 0.04 292);
  --ink-800: oklch(0.255 0.045 292);
  --ink-700: oklch(0.34 0.045 292);
  --paper: oklch(0.955 0.012 78);
  --paper-dim: oklch(0.78 0.02 285);
  --paper-muted: oklch(0.63 0.025 290);
  --violet: oklch(0.67 0.22 290);
  --violet-bright: oklch(0.75 0.18 288);
  --violet-deep: oklch(0.46 0.18 293);
  --amber: oklch(0.79 0.145 72);
  --coral: oklch(0.7 0.18 28);
  --mint: oklch(0.76 0.12 164);
  --line: oklch(0.37 0.04 292 / 0.62);
  --line-soft: oklch(0.32 0.035 292 / 0.45);
  --shadow: oklch(0.08 0.025 292 / 0.56);
  --page-gutter: clamp(1.25rem, 4vw, 4.75rem);
  --content-max: 88rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  margin: 0;
  min-width: 20rem;
  background:
    radial-gradient(circle at 78% 7%, oklch(0.31 0.105 296 / 0.38), transparent 31rem),
    var(--ink-950);
  color: var(--paper);
  font-family: "Geologica", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 380;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, oklch(0.98 0.004 80 / 0.015) 4px);
  mix-blend-mode: soft-light;
}

::selection {
  background: var(--amber);
  color: var(--ink-950);
}

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

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

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

button {
  color: inherit;
}

svg {
  display: block;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--paper);
  color: var(--ink-950);
  font-weight: 650;
  transform: translateY(-180%);
  transition: transform 220ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 5rem;
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid transparent;
  background: oklch(0.145 0.025 292 / 0.02);
  transition: background-color 280ms var(--ease-out), border-color 280ms var(--ease-out), transform 280ms var(--ease-out);
}

.site-header.is-scrolled {
  border-color: var(--line-soft);
  background: oklch(0.165 0.03 292 / 0.96);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  color: var(--paper);
  font-size: 1rem;
  font-weight: 680;
  letter-spacing: -0.025em;
}

.brand-mark {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border-radius: 0.62rem;
  background: var(--violet);
  color: var(--ink-950);
  box-shadow: 0 0 0 1px oklch(0.83 0.13 290 / 0.2), 0 10px 28px oklch(0.49 0.2 290 / 0.22);
}

.brand-mark svg {
  width: 1.3rem;
  height: 1.3rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  color: var(--paper-dim);
  font-size: 0.78rem;
  font-weight: 520;
  letter-spacing: 0.02em;
}

.primary-nav a,
.site-footer a,
.text-link {
  transition: color 180ms ease-out;
}

.primary-nav a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--violet-bright);
}

.header-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.6rem;
  padding: 0 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-850);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 580;
  transition: transform 200ms var(--ease-out), border-color 200ms ease-out, background-color 200ms ease-out;
}

.header-action:hover {
  transform: translateY(-2px);
  border-color: oklch(0.67 0.22 290 / 0.75);
  background: var(--ink-800);
}

.header-action svg {
  width: 1rem;
  height: 1rem;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(31rem, 1.14fr);
  align-items: center;
  min-height: 56rem;
  padding: clamp(8rem, 13vw, 11.5rem) var(--page-gutter) clamp(6rem, 9vw, 8rem);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 48.5%;
  z-index: -1;
  width: 1px;
  content: "";
  background: linear-gradient(to bottom, transparent, var(--line) 18%, var(--line) 82%, transparent);
}

.hero-beam {
  position: absolute;
  top: -13rem;
  right: -8rem;
  z-index: -2;
  width: 68rem;
  height: 68rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, oklch(0.69 0.21 290 / 0.2) 0 7%, transparent 8% 18%, oklch(0.61 0.18 292 / 0.1) 19% 20%, transparent 21% 37%, oklch(0.65 0.16 288 / 0.075) 38% 39%, transparent 40%),
    conic-gradient(from 218deg, transparent 0 25%, oklch(0.62 0.18 290 / 0.1) 29% 39%, transparent 44% 100%);
  filter: blur(1px);
  animation: beam-turn 28s linear infinite;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 18% 20%, oklch(0.92 0.02 80 / 0.13) 0 1px, transparent 1.4px),
    radial-gradient(circle at 74% 35%, oklch(0.75 0.14 290 / 0.13) 0 1px, transparent 1.4px);
  background-size: 31px 31px, 47px 47px;
  mask-image: linear-gradient(to bottom, transparent, oklch(0.2 0 0) 20%, oklch(0.2 0 0) 80%, transparent);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 46rem;
  padding-right: clamp(1rem, 5vw, 6rem);
}

.release-note {
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  padding: 0.48rem 0.75rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--ink-900);
  color: var(--paper-muted);
  font-size: 0.68rem;
  line-height: 1.3;
}

.release-note a {
  color: var(--paper);
  font-weight: 620;
}

.release-note span:last-child::before {
  margin: 0 0.65rem;
  color: var(--ink-700);
  content: "/";
}

.pulse {
  width: 0.42rem;
  height: 0.42rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 oklch(0.76 0.12 164 / 0.5);
  animation: pulse 2.8s ease-out infinite;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--violet-bright);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.closing h2 {
  margin: 0;
  color: var(--paper);
  font-weight: 740;
  font-variation-settings: "wdth" 84;
  letter-spacing: -0.062em;
  line-height: 0.92;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(4.2rem, 7.6vw, 8rem);
}

.hero h1 span {
  color: var(--violet-bright);
}

.hero-lede {
  max-width: 39rem;
  margin: 2rem 0 0;
  color: var(--paper-dim);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.75;
}

.hero-actions,
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  transition: transform 220ms var(--ease-out), background-color 180ms ease-out, border-color 180ms ease-out, color 180ms ease-out;
}

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

.button svg {
  width: 1.05rem;
  margin-left: 0.7rem;
  transition: transform 220ms var(--ease-out);
}

.button:hover svg {
  transform: translateX(3px);
}

.button-primary {
  background: var(--violet);
  color: var(--ink-950);
  box-shadow: 0 15px 45px oklch(0.47 0.2 292 / 0.32);
}

.button-primary:hover {
  background: var(--violet-bright);
}

.button-quiet {
  border-color: var(--line);
  background: var(--ink-850);
  color: var(--paper);
}

.button-quiet:hover {
  border-color: oklch(0.58 0.1 291 / 0.8);
  background: var(--ink-800);
}

.hero-requirements {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 2rem;
  color: var(--paper-muted);
  font-size: 0.66rem;
  font-weight: 530;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-requirements span {
  position: relative;
  padding-left: 0.85rem;
}

.hero-requirements span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--ink-700);
  content: "";
  transform: translateY(-50%);
}

.product-visual {
  position: relative;
  z-index: 2;
  width: min(58vw, 56rem);
  margin: 2rem -6vw 0 auto;
  perspective: 90rem;
}

.app-window {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.44 / 1;
  border: 1px solid oklch(0.56 0.09 292 / 0.5);
  border-radius: 1.05rem;
  background: var(--ink-900);
  box-shadow:
    0 3rem 7rem var(--shadow),
    0 0 0 0.5rem oklch(0.25 0.04 292 / 0.38),
    0 0 6rem oklch(0.48 0.2 292 / 0.13);
  transform: rotateY(-5deg) rotateX(2deg);
  transform-origin: center right;
}

.window-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 2.5rem;
  padding: 0 0.9rem;
  border-bottom: 1px solid var(--line-soft);
  background: var(--ink-850);
}

.window-dots {
  display: flex;
  gap: 0.35rem;
}

.window-dots i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--ink-700);
}

.window-dots i:first-child { background: var(--coral); }
.window-dots i:nth-child(2) { background: var(--amber); }
.window-dots i:nth-child(3) { background: var(--mint); }

.window-address {
  min-width: 10rem;
  padding: 0.28rem 1.4rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--ink-900);
  color: var(--paper-muted);
  font-size: 0.52rem;
  text-align: center;
}

.window-secure {
  justify-self: end;
  color: var(--paper-muted);
}

.window-secure svg {
  width: 0.75rem;
}

.app-shell {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  height: calc(100% - 2.5rem);
}

.mock-sidebar {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 1rem 0;
  border-right: 1px solid var(--line-soft);
  background: oklch(0.165 0.03 292);
}

.mock-logo {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 1.4rem;
  place-items: center;
  border-radius: 0.48rem;
  background: var(--violet);
}

.mock-logo i {
  width: 0;
  height: 0;
  border-top: 0.35rem solid transparent;
  border-bottom: 0.35rem solid transparent;
  border-left: 0.55rem solid var(--ink-950);
}

.mock-nav {
  width: 1.28rem;
  height: 1.28rem;
  margin: 0.28rem 0;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
}

.mock-nav.active {
  border-color: oklch(0.67 0.22 290 / 0.7);
  background: oklch(0.46 0.18 293 / 0.55);
  box-shadow: inset 0 0 0 0.28rem var(--ink-900);
}

.mock-nav.lower {
  margin-top: auto;
  border-radius: 50%;
}

.mock-main {
  position: relative;
  min-width: 0;
  padding: clamp(0.8rem, 1.8vw, 1.4rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, oklch(0.38 0.12 294 / 0.25), transparent 40%),
    var(--ink-900);
}

.mock-topline,
.mock-heading,
.now-playing {
  display: flex;
  align-items: center;
}

.mock-topline {
  justify-content: space-between;
  gap: 1rem;
}

.mock-search {
  display: flex;
  align-items: center;
  width: min(54%, 17rem);
  height: 1.8rem;
  padding: 0 0.7rem;
  border: 1px solid var(--line-soft);
  border-radius: 0.42rem;
  background: var(--ink-850);
  color: var(--paper-muted);
}

.mock-search span {
  position: relative;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.5rem;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.mock-search span::after {
  position: absolute;
  right: -0.23rem;
  bottom: -0.16rem;
  width: 0.3rem;
  height: 1px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
}

.mock-search b {
  font-size: clamp(0.36rem, 0.65vw, 0.52rem);
  font-weight: 430;
}

.mock-avatar {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ink-800);
  color: var(--paper-dim);
  font-size: 0.48rem;
  font-weight: 650;
}

.mock-heading {
  justify-content: space-between;
  margin: clamp(1rem, 2.4vw, 1.8rem) 0 0.75rem;
}

.mock-heading div {
  display: flex;
  flex-direction: column;
}

.mock-heading small,
.mock-heading span {
  color: var(--paper-muted);
  font-size: clamp(0.3rem, 0.53vw, 0.46rem);
}

.mock-heading strong {
  color: var(--paper);
  font-size: clamp(0.72rem, 1.2vw, 1.05rem);
  line-height: 1.25;
}

.poster-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(4rem, 1fr));
  gap: clamp(0.45rem, 1vw, 0.78rem);
}

.poster {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 0.68;
  padding: clamp(0.35rem, 0.7vw, 0.62rem);
  overflow: hidden;
  border: 1px solid oklch(0.7 0.05 290 / 0.16);
  border-radius: 0.5rem;
  box-shadow: 0 0.8rem 1.5rem oklch(0.07 0.03 292 / 0.3);
}

.poster span {
  position: relative;
  z-index: 2;
  color: var(--paper);
  font-size: clamp(0.35rem, 0.7vw, 0.62rem);
  font-weight: 680;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.poster i {
  position: absolute;
  border-radius: 50%;
}

.poster-signal {
  background: linear-gradient(150deg, oklch(0.22 0.08 285), oklch(0.53 0.2 304));
}
.poster-signal i {
  top: 13%; right: -18%; width: 82%; aspect-ratio: 1; border: 1px solid oklch(0.82 0.13 290 / 0.55); box-shadow: inset 0 0 0 0.45rem oklch(0.29 0.1 293 / 0.5);
}

.poster-north {
  background: linear-gradient(170deg, oklch(0.71 0.11 205), oklch(0.25 0.06 238) 72%);
}
.poster-north i {
  top: 10%; left: 15%; width: 70%; height: 58%; border-radius: 45% 55% 50% 50%; background: oklch(0.91 0.04 195 / 0.7); filter: blur(0.2rem); transform: rotate(-18deg);
}

.poster-solar {
  background: linear-gradient(145deg, oklch(0.77 0.15 74), oklch(0.58 0.18 36) 48%, oklch(0.2 0.06 305));
}
.poster-solar i {
  top: 13%; left: 15%; width: 58%; aspect-ratio: 1; background: oklch(0.92 0.08 80); box-shadow: 0 0 1rem oklch(0.85 0.13 72 / 0.75);
}

.poster-archive {
  background: linear-gradient(160deg, oklch(0.28 0.03 176), oklch(0.14 0.02 180));
}
.poster-archive i {
  inset: 15% 18% 28%; border: 1px solid oklch(0.73 0.11 165 / 0.65); border-radius: 0.15rem; box-shadow: inset 0 0 0 0.45rem oklch(0.56 0.12 164 / 0.12), 0 0 1rem oklch(0.64 0.14 165 / 0.3);
}

.poster-tide {
  background: linear-gradient(180deg, oklch(0.73 0.11 220), oklch(0.39 0.12 256) 50%, oklch(0.17 0.06 287));
}
.poster-tide i {
  right: -20%; bottom: 18%; width: 120%; height: 36%; border-radius: 50%; background: oklch(0.88 0.04 225 / 0.55); transform: rotate(-10deg);
}

.now-playing {
  position: absolute;
  right: clamp(0.7rem, 1.5vw, 1.2rem);
  bottom: clamp(0.65rem, 1.35vw, 1rem);
  left: clamp(0.7rem, 1.5vw, 1.2rem);
  gap: clamp(0.5rem, 1.2vw, 0.85rem);
  min-height: 3.25rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid oklch(0.67 0.22 290 / 0.26);
  border-radius: 0.62rem;
  background: oklch(0.205 0.045 292 / 0.97);
  box-shadow: 0 1rem 2.3rem oklch(0.08 0.025 292 / 0.45);
}

.now-playing button {
  display: grid;
  flex: 0 0 auto;
  width: 1.8rem;
  height: 1.8rem;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--violet);
}

.now-playing button span {
  width: 0;
  height: 0;
  margin-left: 0.12rem;
  border-top: 0.27rem solid transparent;
  border-bottom: 0.27rem solid transparent;
  border-left: 0.43rem solid var(--ink-950);
}

.now-copy {
  display: flex;
  min-width: 5.5rem;
  flex-direction: column;
}

.now-copy strong { font-size: clamp(0.4rem, 0.72vw, 0.62rem); }
.now-copy small { color: var(--paper-muted); font-size: clamp(0.28rem, 0.5vw, 0.42rem); }

.timeline {
  position: relative;
  flex: 1 1 auto;
  height: 0.18rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--ink-700);
}

.timeline i {
  position: absolute;
  inset: 0 38% 0 0;
  border-radius: inherit;
  background: var(--violet-bright);
}

.now-playing time {
  color: var(--paper-muted);
  font-size: clamp(0.3rem, 0.5vw, 0.43rem);
}

.pipeline-chip {
  display: flex;
  align-items: center;
  white-space: nowrap;
  color: var(--mint);
  font-size: clamp(0.3rem, 0.5vw, 0.43rem);
}

.pipeline-chip i {
  width: 0.34rem;
  height: 0.34rem;
  margin-right: 0.3rem;
  border-radius: 50%;
  background: var(--mint);
}

.projector-ring {
  position: absolute;
  z-index: -1;
  border: 1px solid oklch(0.66 0.18 290 / 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.ring-one {
  top: -4rem;
  right: -2rem;
  width: 16rem;
  height: 16rem;
}

.ring-two {
  right: 9rem;
  bottom: -6rem;
  width: 10rem;
  height: 10rem;
  border-color: oklch(0.79 0.145 72 / 0.18);
}

.hero-index {
  position: absolute;
  right: var(--page-gutter);
  bottom: 1.8rem;
  color: var(--paper-muted);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
}

.capability-ribbon {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--ink-900);
}

.ribbon-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.4vw, 2.4rem);
  min-width: max-content;
  min-height: 4.4rem;
  padding: 0 var(--page-gutter);
  color: var(--paper-dim);
  font-size: clamp(0.62rem, 0.8vw, 0.76rem);
  font-weight: 530;
}

.ribbon-track i {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: var(--violet);
}

.section {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-right: var(--page-gutter);
  padding-left: var(--page-gutter);
}

.playback {
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(32rem, 1.25fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: start;
  padding-top: clamp(8rem, 14vw, 13rem);
  padding-bottom: clamp(8rem, 13vw, 12rem);
}

.section-heading {
  position: sticky;
  top: 9rem;
}

.section h2 {
  font-size: clamp(3.3rem, 6.3vw, 6.2rem);
}

.section-heading > p:last-child,
.control-intro > p:last-child,
.architecture-copy > p:last-child,
.setup-copy > p:nth-of-type(2) {
  max-width: 42rem;
  margin: 1.6rem 0 0;
  color: var(--paper-dim);
  font-size: clamp(0.96rem, 1.25vw, 1.12rem);
}

.mode-stage {
  min-width: 0;
  border-top: 1px solid var(--line);
}

.mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.mode-tab {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 0.75rem;
  min-width: 0;
  padding: 1.25rem 0.85rem;
  border: 0;
  border-right: 1px solid var(--line-soft);
  background: transparent;
  color: var(--paper-muted);
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease-out, background-color 180ms ease-out;
}

.mode-tab:last-child { border-right: 0; }

.mode-tab span {
  grid-row: span 2;
  color: var(--ink-700);
  font-size: 0.57rem;
  font-weight: 620;
}

.mode-tab strong {
  overflow: hidden;
  font-size: clamp(0.72rem, 1vw, 0.9rem);
  font-weight: 650;
  text-overflow: ellipsis;
}

.mode-tab small {
  overflow: hidden;
  color: var(--paper-muted);
  font-size: 0.55rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mode-tab:hover {
  background: var(--ink-900);
  color: var(--paper);
}

.mode-tab.is-active {
  background: var(--violet);
  color: var(--ink-950);
}

.mode-tab.is-active span,
.mode-tab.is-active small {
  color: oklch(0.22 0.065 292 / 0.8);
}

.pipeline {
  min-height: 39rem;
  background: var(--ink-900);
}

.pipeline-visual {
  display: grid;
  grid-template-columns: 7rem 1fr 7rem;
  align-items: center;
  min-height: 20rem;
  padding: 3rem clamp(1.3rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, oklch(0.45 0.16 292 / 0.12), transparent 48%);
  background-size: 2rem 2rem, 2rem 2rem, auto;
}

.pipeline-node {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 7rem;
  height: 7rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ink-850);
  color: var(--paper);
  box-shadow: 0 1.2rem 3rem oklch(0.08 0.03 292 / 0.4);
}

.pipeline-node i {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border-radius: 0.6rem;
  background: var(--amber);
  color: var(--ink-950);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 750;
}

.pipeline-node small {
  margin-top: 0.55rem;
  color: var(--paper-muted);
  font-size: 0.52rem;
}

.screen-node svg {
  width: 3.1rem;
  color: var(--violet-bright);
}

.node-orbit {
  position: absolute;
  inset: -0.6rem;
  border: 1px dashed oklch(0.79 0.145 72 / 0.35);
  border-radius: 50%;
  animation: beam-turn 16s linear infinite reverse;
}

.pipeline-route {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 2px;
  background: var(--violet-deep);
  box-shadow: 0 0 1.2rem oklch(0.67 0.22 290 / 0.45);
}

.pipeline-route span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--violet-bright);
  box-shadow: 0 0 0.8rem oklch(0.72 0.18 290 / 0.8);
  animation: packet 2.2s var(--ease-out) infinite;
}

.pipeline-route span:nth-child(2) { animation-delay: 0.35s; }
.pipeline-route span:nth-child(3) { animation-delay: 0.7s; }
.pipeline-route span:nth-child(4) { animation-delay: 1.05s; }

.route-label {
  position: absolute;
  top: 1.15rem;
  left: 50%;
  min-width: 8.5rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-850);
  color: var(--paper-dim);
  font-size: 0.52rem;
  text-align: center;
  transform: translateX(-50%);
}

.pipeline-copy {
  padding: clamp(2rem, 4vw, 3.2rem);
}

.mode-number {
  margin: 0 0 1.1rem;
  color: var(--violet-bright);
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.14em;
}

.pipeline-copy h3 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 700;
  font-variation-settings: "wdth" 86;
  letter-spacing: -0.055em;
  line-height: 1;
}

.pipeline-copy > p:not(.mode-number) {
  max-width: 41rem;
  margin: 1.2rem 0 0;
  color: var(--paper-dim);
}

.pipeline-copy ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 2.3rem 0 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.pipeline-copy li {
  min-height: 3rem;
  padding: 0 1rem;
  border-right: 1px solid var(--line-soft);
  color: var(--paper-muted);
  font-size: 0.68rem;
}

.pipeline-copy li:first-child { padding-left: 0; }
.pipeline-copy li:last-child { border-right: 0; }

.pipeline[data-pipeline-mode="remux"] .pipeline-route {
  background: var(--amber);
  box-shadow: 0 0 1.2rem oklch(0.79 0.145 72 / 0.45);
}

.pipeline[data-pipeline-mode="remux"] .pipeline-route span { background: var(--amber); }
.pipeline[data-pipeline-mode="remux"] .screen-node svg { color: var(--amber); }

.pipeline[data-pipeline-mode="transcode"] .pipeline-route {
  background: var(--mint);
  box-shadow: 0 0 1.2rem oklch(0.76 0.12 164 / 0.4);
}

.pipeline[data-pipeline-mode="transcode"] .pipeline-route span { background: var(--mint); }
.pipeline[data-pipeline-mode="transcode"] .screen-node svg { color: var(--mint); }

.control {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(32rem, 1.2fr);
  gap: clamp(3rem, 10vw, 10rem);
  padding-top: clamp(7rem, 12vw, 11rem);
  padding-bottom: clamp(7rem, 13vw, 12rem);
  border-top: 1px solid var(--line-soft);
}

.control-intro {
  align-self: start;
}

.feature-ledger {
  border-top: 1px solid var(--line);
}

.feature-ledger article {
  display: grid;
  grid-template-columns: 4.4rem 1fr auto;
  gap: clamp(1rem, 2.2vw, 2rem);
  align-items: start;
  padding: clamp(1.5rem, 3vw, 2.3rem) 0;
  border-bottom: 1px solid var(--line);
}

.feature-glyph {
  display: grid;
  width: 3.3rem;
  height: 3.3rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ink-900);
  color: var(--violet-bright);
  font-size: 0.72rem;
  font-weight: 690;
}

.feature-ledger h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 630;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.feature-ledger p {
  max-width: 42rem;
  margin: 0.65rem 0 0;
  color: var(--paper-dim);
  font-size: 0.88rem;
}

.feature-ledger article > small {
  padding-top: 0.25rem;
  color: var(--paper-muted);
  font-size: 0.52rem;
  font-weight: 610;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.architecture {
  display: grid;
  grid-template-columns: minmax(18rem, 0.7fr) minmax(34rem, 1.3fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: center;
  padding-top: clamp(7rem, 12vw, 11rem);
  padding-bottom: clamp(7rem, 12vw, 11rem);
  border-top: 1px solid var(--line-soft);
}

.architecture-copy h2 {
  font-size: clamp(3.1rem, 5.8vw, 5.7rem);
}

.system-map {
  display: grid;
  grid-template-columns: minmax(7rem, 1fr) 4rem minmax(10rem, 1.15fr) 4rem minmax(7rem, 1fr);
  align-items: center;
  min-height: 27rem;
  padding: clamp(1.2rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, oklch(0.48 0.18 292 / 0.12), transparent 35%),
    var(--ink-900);
}

.map-column {
  display: flex;
  min-height: 14rem;
  flex-direction: column;
  justify-content: center;
}

.map-column small,
.map-core small {
  margin-bottom: 0.7rem;
  color: var(--paper-muted);
  font-size: 0.48rem;
  letter-spacing: 0.12em;
}

.map-column span {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--paper-dim);
  font-size: clamp(0.58rem, 0.8vw, 0.72rem);
}

.map-core {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  flex-direction: column;
  border: 1px solid oklch(0.67 0.22 290 / 0.5);
  border-radius: 50%;
  background: var(--ink-850);
  box-shadow: 0 0 4rem oklch(0.48 0.2 292 / 0.22), inset 0 0 3rem oklch(0.47 0.18 292 / 0.12);
  text-align: center;
}

.map-core strong {
  margin: 0.75rem 0 0.2rem;
  font-size: clamp(0.9rem, 1.5vw, 1.3rem);
  letter-spacing: -0.035em;
}

.map-core small {
  margin: 0;
  font-size: clamp(0.34rem, 0.5vw, 0.46rem);
}

.core-mark {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 0.75rem;
  background: var(--violet);
}

.core-mark span,
.closing-mark span {
  width: 0;
  height: 0;
  margin-left: 0.18rem;
  border-top: 0.6rem solid transparent;
  border-bottom: 0.6rem solid transparent;
  border-left: 0.9rem solid var(--ink-950);
}

.map-connection {
  position: relative;
  display: flex;
  align-items: center;
  height: 1px;
  background: var(--line);
}

.map-connection i,
.map-connection b {
  position: absolute;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: var(--violet-bright);
}

.map-connection i:first-child { left: 0; }
.map-connection b { left: 50%; transform: translateX(-50%); }
.map-connection i:last-child { right: 0; }

.setup {
  display: grid;
  grid-template-columns: minmax(20rem, 0.8fr) minmax(31rem, 1.2fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: center;
  padding-top: clamp(7rem, 12vw, 11rem);
  padding-bottom: clamp(8rem, 14vw, 13rem);
  border-top: 1px solid var(--line-soft);
}

.setup-copy h2 {
  max-width: 13ch;
  font-size: clamp(3rem, 5.6vw, 5.5rem);
}

.setup-copy > a {
  display: inline-flex;
  align-items: center;
  margin-top: 1.6rem;
  color: var(--violet-bright);
  font-size: 0.78rem;
  font-weight: 610;
}

.setup-copy > a span {
  margin-left: 0.5rem;
  transition: transform 180ms var(--ease-out);
}

.setup-copy > a:hover span { transform: translateX(4px); }

.terminal {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: oklch(0.125 0.023 292);
  box-shadow: 0 2rem 6rem oklch(0.08 0.025 292 / 0.42);
}

.terminal-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 3.3rem;
  padding: 0 1rem;
  border-bottom: 1px solid var(--line-soft);
  background: var(--ink-850);
}

.terminal-bar > div {
  display: flex;
  gap: 0.35rem;
}

.terminal-bar i {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--ink-700);
}

.terminal-bar i:first-child { background: var(--coral); }
.terminal-bar i:nth-child(2) { background: var(--amber); }
.terminal-bar i:nth-child(3) { background: var(--mint); }

.terminal-bar > span {
  color: var(--paper-muted);
  font-size: 0.62rem;
}

.copy-button {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 0.38rem;
  background: var(--ink-800);
  color: var(--paper-dim);
  font-size: 0.58rem;
  cursor: pointer;
  transition: background-color 180ms ease-out, color 180ms ease-out;
}

.copy-button:hover {
  background: var(--violet-deep);
  color: var(--paper);
}

.copy-button svg { width: 0.8rem; }

.terminal pre {
  margin: 0;
  padding: clamp(1.5rem, 4vw, 2.8rem);
  overflow-x: auto;
  color: var(--paper-dim);
  font-family: "Geologica", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(0.67rem, 1vw, 0.84rem);
  font-variation-settings: "wdth" 82;
  line-height: 2;
}

.terminal code span {
  color: var(--violet-bright);
  font-weight: 620;
}

.copy-status {
  min-height: 1.4rem;
  margin: -1rem 2.8rem 1.2rem;
  color: var(--mint);
  font-size: 0.62rem;
  text-align: right;
}

.closing {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44rem;
  padding: clamp(7rem, 12vw, 11rem) var(--page-gutter);
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 50% 45%, oklch(0.43 0.2 292 / 0.3), transparent 24rem),
    var(--ink-900);
  text-align: center;
}

.closing::before,
.closing::after {
  position: absolute;
  top: 50%;
  width: 28vw;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--line));
}

.closing::before { left: 0; }
.closing::after { right: 0; transform: rotate(180deg); }

.closing-mark {
  display: grid;
  width: 4.2rem;
  height: 4.2rem;
  margin-bottom: 2rem;
  place-items: center;
  border-radius: 1.1rem;
  background: var(--violet);
  box-shadow: 0 0 4rem oklch(0.57 0.21 292 / 0.5);
  transform: rotate(-4deg);
}

.closing > p {
  margin: 0 0 0.9rem;
  color: var(--paper-muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.closing h2 {
  max-width: 14ch;
  font-size: clamp(3.6rem, 7.4vw, 7.5rem);
}

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

.text-link {
  padding: 0.8rem;
  color: var(--paper-dim);
  font-size: 0.78rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 8.5rem;
  padding: 1.5rem var(--page-gutter);
  border-top: 1px solid var(--line-soft);
  background: var(--ink-950);
  color: var(--paper-muted);
  font-size: 0.64rem;
}

.footer-brand { color: var(--paper); }

.site-footer > p {
  max-width: 36rem;
  margin: 0;
  text-align: center;
}

.site-footer > div {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

.js .reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 780ms var(--ease-out), transform 780ms var(--ease-out);
}

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

.hero .product-visual {
  transition-delay: 120ms;
}

@keyframes beam-turn {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 oklch(0.76 0.12 164 / 0.55); }
  70%, 100% { box-shadow: 0 0 0 0.55rem oklch(0.76 0.12 164 / 0); }
}

@keyframes packet {
  0%, 35% { opacity: 0; transform: translateX(-1.4rem) scale(0.6); }
  60% { opacity: 1; }
  100% { opacity: 0; transform: translateX(1.4rem) scale(1); }
}

@media (max-width: 74rem) {
  .hero {
    grid-template-columns: minmax(0, 0.88fr) minmax(27rem, 1.12fr);
  }

  .product-visual {
    width: min(61vw, 49rem);
    margin-right: -8vw;
  }

  .pipeline-visual {
    grid-template-columns: 5.6rem 1fr 5.6rem;
  }

  .pipeline-node {
    width: 5.6rem;
    height: 5.6rem;
  }

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

  .site-footer > p {
    display: none;
  }
}

@media (max-width: 62rem) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 9rem;
  }

  .hero::before {
    top: 54%;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--line), transparent);
  }

  .hero-copy {
    max-width: 48rem;
    padding-right: 0;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(4.5rem, 12vw, 7.3rem);
  }

  .product-visual {
    width: min(92vw, 54rem);
    margin: 7rem auto 0;
  }

  .app-window {
    transform: rotateY(-2deg) rotateX(1deg);
  }

  .playback,
  .control,
  .architecture,
  .setup {
    grid-template-columns: 1fr;
  }

  .section-heading {
    position: static;
  }

  .playback,
  .control,
  .architecture,
  .setup {
    gap: 4rem;
  }

  .section-heading > p:last-child,
  .control-intro > p:last-child,
  .architecture-copy > p:last-child,
  .setup-copy > p:nth-of-type(2) {
    max-width: 50rem;
  }
}

@media (max-width: 46rem) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 4.5rem;
  }

  .primary-nav {
    display: none;
  }

  .header-action span {
    display: none;
  }

  .header-action {
    width: 2.7rem;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .hero {
    min-height: auto;
    padding-top: 7.7rem;
    padding-bottom: 5rem;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 17vw, 6rem);
  }

  .release-note {
    align-items: flex-start;
    border-radius: 0.65rem;
    flex-wrap: wrap;
  }

  .release-note span:last-child {
    width: 100%;
    margin: 0.25rem 0 0 0.98rem;
  }

  .release-note span:last-child::before { display: none; }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button { width: 100%; }

  .product-visual {
    width: 101%;
    margin-top: 5rem;
  }

  .app-window {
    aspect-ratio: 1.05 / 1;
  }

  .window-address,
  .window-secure,
  .mock-avatar,
  .poster:nth-child(4),
  .poster:nth-child(5),
  .pipeline-chip {
    display: none;
  }

  .window-bar { grid-template-columns: 1fr; }
  .window-dots { justify-self: start; }

  .app-shell { grid-template-columns: 2.75rem 1fr; }
  .poster-rail { grid-template-columns: repeat(3, 1fr); }
  .mock-search { width: 72%; }

  .now-playing {
    gap: 0.5rem;
  }

  .now-copy { min-width: 4.5rem; }

  .ribbon-track {
    justify-content: flex-start;
    animation: ribbon-move 24s linear infinite;
  }

  .playback,
  .control,
  .architecture,
  .setup {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .section h2,
  .architecture-copy h2,
  .setup-copy h2 {
    font-size: clamp(3.1rem, 14vw, 5rem);
  }

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

  .mode-tab {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .mode-tab:last-child { border-bottom: 0; }

  .pipeline-visual {
    grid-template-columns: 4.5rem 1fr 4.5rem;
    min-height: 15rem;
    padding: 2rem 1rem;
    background-size: 1.5rem 1.5rem;
  }

  .pipeline-node {
    width: 4.5rem;
    height: 4.5rem;
  }

  .pipeline-node i { width: 1.9rem; height: 1.9rem; }
  .screen-node svg { width: 2.4rem; }
  .route-label { min-width: 6.5rem; font-size: 0.42rem; }

  .pipeline-copy ul {
    grid-template-columns: 1fr;
  }

  .pipeline-copy li {
    min-height: auto;
    padding: 0.55rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .pipeline-copy li:last-child { border-bottom: 0; }

  .feature-ledger article {
    grid-template-columns: 3.4rem 1fr;
  }

  .feature-glyph { width: 2.8rem; height: 2.8rem; }

  .feature-ledger article > small {
    grid-column: 2;
    padding-top: 0;
  }

  .system-map {
    grid-template-columns: 1fr;
    gap: 1.3rem;
    padding: 2rem;
  }

  .map-column {
    min-height: auto;
  }

  .map-core {
    width: min(13rem, 70vw);
    justify-self: center;
  }

  .map-connection {
    width: 1px;
    height: 3rem;
    justify-self: center;
  }

  .map-connection i:first-child { top: 0; left: -0.14rem; }
  .map-connection b { top: 50%; left: -0.14rem; transform: translateY(-50%); }
  .map-connection i:last-child { right: auto; bottom: 0; left: -0.14rem; }

  .terminal-bar { grid-template-columns: 1fr auto; }
  .terminal-bar > span { display: none; }
  .terminal pre { padding: 1.5rem 1rem; font-size: 0.62rem; }
  .copy-status { margin-right: 1rem; }

  .closing {
    min-height: 38rem;
  }

  .closing h2 { font-size: clamp(3.4rem, 15vw, 5.7rem); }
  .closing::before,
  .closing::after { display: none; }

  .site-footer {
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .site-footer > div {
    justify-content: flex-start;
  }
}

@media (max-width: 27rem) {
  .hero-requirements { gap: 0.8rem; }
  .app-window { aspect-ratio: 0.95 / 1; }
  .mock-main { padding: 0.8rem; }
  .now-playing time { display: none; }
  .pipeline-visual { grid-template-columns: 4rem 1fr 4rem; padding-right: 0.7rem; padding-left: 0.7rem; }
  .pipeline-node { width: 4rem; height: 4rem; }
  .route-label { top: 1rem; min-width: 5.2rem; padding-right: 0.25rem; padding-left: 0.25rem; }
}

@keyframes ribbon-move {
  to { transform: translateX(-52%); }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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