:root {
  color-scheme: dark;
  --bg: #0b0b0f;
  --bg-soft: #111118;
  --surface: rgba(25, 25, 33, 0.74);
  --line: rgba(255, 255, 255, 0.13);
  --text: #f8f5ef;
  --muted: #aaa7a4;
  --orange: #ff5a00;
  --orange-light: #ff7a00;
  --amber: #ffb800;
  --page-padding: clamp(1.25rem, 5vw, 5.5rem);
  --header-height: 6rem;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 75% 10%, rgba(255, 90, 0, 0.08), transparent 27rem),
    var(--bg);
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  color: #111;
  background: var(--amber);
  border-radius: 999px;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 var(--page-padding);
  pointer-events: none;
}

.site-header a {
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand img {
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid rgba(255, 122, 0, 0.3);
  border-radius: 0.85rem;
  box-shadow: 0 0 2.25rem rgba(255, 90, 0, 0.16);
}

.header-link {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(11, 11, 15, 0.6);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(16px);
}

.slide {
  position: relative;
  display: flex;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  scroll-snap-align: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.slide:not(.slide--hero)::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 6rem 6rem;
  mask-image: radial-gradient(circle at 65% 50%, #000, transparent 74%);
}

.slide__inner {
  position: relative;
  z-index: 2;
  width: min(100%, 92rem);
  min-height: 100%;
  margin: auto;
  padding: calc(var(--header-height) + 2rem) var(--page-padding) 5rem;
}

.eyebrow,
.slide-number {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin: 0 0 1.5rem;
  color: #c8c4be;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span,
.slide-number::before {
  width: 1.75rem;
  height: 0.12rem;
  background: linear-gradient(90deg, var(--orange), var(--amber));
}

.slide-number::before {
  flex: 0 0 auto;
  content: "";
}

h1,
h2 {
  margin: 0;
  font-weight: 820;
  line-height: 0.92;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

h1 {
  max-width: 68rem;
  font-size: clamp(4.4rem, 10.4vw, 10rem);
}

h2 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 7.1vw, 7rem);
}

h1 em,
h2 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(100deg, var(--orange) 4%, var(--orange-light) 52%, var(--amber));
  background-clip: text;
  -webkit-background-clip: text;
}

.slide--hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(11, 11, 15, 0.94) 0%, rgba(11, 11, 15, 0.63) 52%, rgba(11, 11, 15, 0.08)),
    var(--bg);
}

.slide--hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, rgba(11, 11, 15, 0.76) 0%, rgba(11, 11, 15, 0.26) 58%, transparent 82%);
}

.slide--hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: radial-gradient(circle at 72% 50%, #000, transparent 69%);
}

.lava-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.94;
  filter: saturate(1.08) contrast(1.04);
}

.hero-orbit {
  position: absolute;
  right: -15vw;
  width: min(70vw, 64rem);
  aspect-ratio: 1;
  pointer-events: none;
  border: 1px solid rgba(255, 122, 0, 0.1);
  border-radius: 50%;
}

.hero-orbit--one {
  top: -42%;
}

.hero-orbit--two {
  bottom: -54%;
  right: 3vw;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-lead,
.section-lead {
  max-width: 40rem;
  margin: 2.25rem 0 0;
  color: #c7c3bd;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.5rem;
}

.button {
  display: inline-flex;
  gap: 1.4rem;
  align-items: center;
  justify-content: center;
  min-height: 3.8rem;
  padding: 0 1.5rem;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button--primary {
  color: #1c0a00;
  background: linear-gradient(115deg, var(--orange), var(--amber));
  box-shadow: 0 0.8rem 3rem rgba(255, 90, 0, 0.22);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line);
  backdrop-filter: blur(12px);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.scroll-hint {
  position: absolute;
  bottom: 2.25rem;
  left: var(--page-padding);
  z-index: 4;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin: 0;
  color: #77747a;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-hint span {
  width: 1.5rem;
  height: 1px;
  background: currentColor;
}

.slide--problem {
  background:
    radial-gradient(circle at 14% 76%, rgba(255, 90, 0, 0.085), transparent 28rem),
    linear-gradient(145deg, #0d0d12, #111117);
}

.split-layout,
.control-layout,
.start-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(28rem, 0.82fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
}

.comparison {
  display: grid;
  gap: 1rem;
}

.comparison-card {
  position: relative;
  padding: clamp(1.4rem, 2.7vw, 2.25rem);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(28, 28, 36, 0.76), rgba(15, 15, 20, 0.76));
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 1.4rem 5rem rgba(0, 0, 0, 0.2);
}

.comparison-card--hot {
  background: linear-gradient(135deg, rgba(255, 90, 0, 0.13), rgba(255, 184, 0, 0.035));
  border-color: rgba(255, 122, 0, 0.35);
  box-shadow: 0 1.4rem 5rem rgba(0, 0, 0, 0.24);
}

.comparison-card__label {
  margin: 0 0 1.6rem;
  color: #959198;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.comparison-card > p:last-child {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.linear-flow,
.parallel-flow {
  display: grid;
  gap: 0.55rem;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 720;
}

.linear-flow {
  grid-template-columns: auto 1fr auto 1fr auto;
  color: #77747a;
}

.linear-flow i {
  height: 1px;
  background: #45434a;
}

.parallel-flow {
  position: relative;
  grid-template-columns: 1fr 1fr;
  padding-right: 6rem;
}

.parallel-flow span,
.parallel-flow b {
  padding: 0.65rem 0.8rem;
  border-radius: 0.65rem;
}

.parallel-flow span {
  color: #ffd2b5;
  background: rgba(255, 90, 0, 0.12);
  border: 1px solid rgba(255, 122, 0, 0.2);
}

.parallel-flow b {
  position: absolute;
  top: 50%;
  right: 0;
  color: #241000;
  background: var(--amber);
  transform: translateY(-50%);
}

.slide--flow {
  min-height: 112svh;
  background: var(--bg);
}

.slide--flow::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(90deg, rgba(11, 11, 15, 0.98) 0%, rgba(11, 11, 15, 0.86) 38%, rgba(11, 11, 15, 0.24) 72%);
}

.parallax-stage {
  position: absolute;
  inset: -12% -8%;
  overflow: hidden;
}

.parallax-layer {
  position: absolute;
  inset: 50% auto auto 50%;
  width: max(115vw, 92rem);
  height: auto;
  will-change: transform;
  filter: saturate(0.82) contrast(1.05) brightness(0.82);
  mix-blend-mode: screen;
  mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
}

.parallax-layer--back {
  opacity: 0.42;
}

.parallax-layer--middle {
  opacity: 0.56;
}

.parallax-layer--front {
  opacity: 0.3;
}

.flow-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flow-steps {
  display: grid;
  gap: 0;
  width: min(100%, 38rem);
  margin: 3.25rem 0 0;
  padding: 0.35rem 1.25rem;
  list-style: none;
  background: linear-gradient(145deg, rgba(23, 23, 30, 0.72), rgba(10, 10, 14, 0.72));
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 1.5rem 5rem rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.flow-steps li {
  display: grid;
  grid-template-columns: 2.25rem auto 1fr;
  gap: 0.8rem;
  align-items: baseline;
  padding: 1rem 0;
  color: #aaa7a4;
  font-size: 0.9rem;
  line-height: 1.45;
  border-bottom: 1px solid var(--line);
}

.flow-steps li:last-child {
  border-bottom: 0;
}

.flow-steps span {
  color: var(--orange-light);
  font-size: 0.68rem;
  font-weight: 800;
}

.flow-steps strong {
  color: var(--text);
}

.slide--control {
  background:
    radial-gradient(circle at 85% 45%, rgba(255, 90, 0, 0.09), transparent 32rem),
    linear-gradient(145deg, #0d0d12, #111117);
}

.control-layout h2 em {
  display: inline-block;
  font-size: 0.75em;
}

.section-lead code,
.install-note code {
  color: #ffb47b;
  font: 0.9em ui-monospace, SFMono-Regular, Menlo, monospace;
}

.run-card {
  position: relative;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  background: linear-gradient(145deg, rgba(25, 25, 33, 0.8), rgba(13, 13, 18, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.7rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 2rem 7rem rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(22px);
}

.run-card__header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  color: #aaa7a4;
  font: 700 0.66rem ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--line);
}

.run-card__header span {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.run-card__header i {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 1rem var(--orange);
}

.run-card__header b {
  color: var(--orange-light);
}

.run-card ul {
  position: relative;
  display: grid;
  gap: 1.35rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.run-card ul::before {
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 0.98rem;
  width: 1px;
  content: "";
  background: linear-gradient(rgba(158, 232, 166, 0.55), rgba(255, 90, 0, 0.35), var(--line));
}

.run-card li {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.run-card p {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 650;
}

.run-card small {
  color: #77747a;
  font-size: 0.68rem;
  font-weight: 560;
}

.status {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 2rem;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.status--done {
  color: #0d150e;
  background: #9ee8a6;
}

.status--live::after {
  width: 0.5rem;
  height: 0.5rem;
  content: "";
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 1rem var(--orange);
  animation: pulse 1.6s ease-in-out infinite;
}

.status--wait {
  color: #66636b;
}

.slide--start {
  background:
    radial-gradient(circle at 20% 35%, rgba(255, 90, 0, 0.12), transparent 32rem),
    linear-gradient(145deg, #0d0d12, #111117);
}

.slide--start::before {
  position: absolute;
  top: 10%;
  right: -12rem;
  width: 38rem;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(255, 122, 0, 0.16);
  border-radius: 50%;
  box-shadow: inset 0 0 8rem rgba(255, 90, 0, 0.06);
}

.install-panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(145deg, rgba(25, 25, 33, 0.8), rgba(13, 13, 18, 0.8));
  border: 1px solid var(--line);
  border-radius: 1.7rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 2rem 7rem rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.install-panel > p:first-child {
  margin: 0 0 1rem;
  color: #9b989e;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.command {
  position: relative;
  padding: 1.2rem 7rem 1.2rem 1.2rem;
  overflow: hidden;
  background: #09090c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
}

.command code {
  display: block;
  overflow: hidden;
  color: #f5c39e;
  font: 0.72rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.command button {
  position: absolute;
  top: 50%;
  right: 0.65rem;
  padding: 0.55rem 0.7rem;
  color: #c8c4be;
  cursor: pointer;
  background: #202029;
  border: 0;
  border-radius: 0.55rem;
  transform: translateY(-50%);
}

.install-note {
  margin: 1.2rem 0 1.7rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.button--wide {
  width: 100%;
}

footer {
  position: absolute;
  right: var(--page-padding);
  bottom: 1.8rem;
  left: var(--page-padding);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  color: #68656c;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.slide-controls {
  position: fixed;
  top: 50%;
  right: clamp(1rem, 2vw, 2rem);
  z-index: 40;
  display: grid;
  gap: 0.7rem;
  justify-items: center;
  transform: translateY(-50%);
}

.slide-arrow {
  display: grid;
  place-items: center;
  width: clamp(3.5rem, 5vw, 4.5rem);
  height: clamp(3.5rem, 5vw, 4.5rem);
  color: var(--text);
  cursor: pointer;
  background: rgba(15, 15, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px);
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.slide-arrow:hover:not(:disabled) {
  color: var(--amber);
  border-color: rgba(255, 122, 0, 0.5);
  transform: scale(1.05);
}

.slide-arrow:disabled {
  cursor: default;
  opacity: 0.25;
}

.slide-progress {
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  color: #656269;
  font: 700 0.62rem ui-monospace, SFMono-Regular, Menlo, monospace;
}

.slide-progress__current {
  color: var(--orange-light);
}

.slide-progress i {
  position: relative;
  width: 1px;
  height: 3.5rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.slide-progress b {
  position: absolute;
  inset: 0 0 auto;
  height: 20%;
  background: linear-gradient(var(--orange), var(--amber));
  transition: height 280ms ease;
}

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

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

@keyframes pulse {
  50% {
    opacity: 0.45;
    transform: scale(0.72);
  }
}
@media (max-width: 900px) {
  :root {
    --header-height: 5rem;
  }
  .split-layout,
  .control-layout,
  .start-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .slide__inner {
    padding-right: calc(var(--page-padding) + 3.25rem);
  }
  .slide--problem .slide__inner,
  .slide--control .slide__inner,
  .slide--start .slide__inner {
    align-content: center;
  }
  .comparison,
  .run-card,
  .install-panel {
    width: min(100%, 40rem);
  }
  .parallax-layer {
    width: max(160vw, 70rem);
    opacity: 0.42;
  }
  .slide--flow::before {
    background: linear-gradient(90deg, rgba(11, 11, 15, 0.96), rgba(11, 11, 15, 0.64));
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: clamp(3.65rem, 17vw, 6rem);
  }
  h2 {
    font-size: clamp(2.8rem, 13vw, 4.6rem);
  }
  .slide {
    min-height: 100svh;
  }
  .slide--hero::before {
    background: linear-gradient(90deg, rgba(11, 11, 15, 0.74), rgba(11, 11, 15, 0.3) 78%, rgba(11, 11, 15, 0.12));
  }
  .slide__inner {
    padding-top: calc(var(--header-height) + 1rem);
    padding-right: calc(var(--page-padding) + 2.4rem);
    padding-bottom: 4rem;
  }
  .hero-lead,
  .section-lead {
    margin-top: 1.5rem;
    font-size: 0.98rem;
  }
  .header-link {
    padding: 0.65rem 0.8rem;
  }
  .hero-actions {
    margin-top: 1.6rem;
  }
  .button {
    min-height: 3.35rem;
    padding-inline: 1.15rem;
  }
  .scroll-hint {
    display: none;
  }
  .comparison-card {
    padding: 1.2rem;
  }
  .linear-flow {
    grid-template-columns: 1fr;
  }
  .linear-flow i {
    width: 1px;
    height: 0.7rem;
    margin-left: 0.4rem;
  }
  .parallel-flow {
    grid-template-columns: 1fr;
    padding-right: 5.5rem;
  }
  .flow-steps li {
    grid-template-columns: 1.7rem 1fr;
  }
  .flow-steps li strong {
    grid-column: 2;
  }
  .run-card__header b {
    display: none;
  }
  .command {
    padding-right: 1.2rem;
  }
  .command code {
    padding-bottom: 2.8rem;
    overflow: visible;
    white-space: normal;
  }
  .command button {
    top: auto;
    right: auto;
    bottom: 0.7rem;
    left: 0.7rem;
    transform: none;
  }
  footer {
    display: none;
  }
  .slide-controls {
    right: 0.6rem;
  }
  .slide-arrow {
    width: 3rem;
    height: 3rem;
  }
}

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