/* WorldPlane info site. One dark theme; the diagrams' server colours are --s1 to --s8. */
:root {
  color-scheme: dark;
  --bg: #05060a;
  --bg-2: #080b13;
  --panel: #0b0f19;
  --line: rgba(150, 168, 214, 0.12);
  --line-2: rgba(150, 168, 214, 0.22);
  --ink: #eef1f8;
  --ink-2: #b3bbcc;
  --ink-3: #7d879b;
  --s1: #5b8cff;
  --s2: #ff7a45;
  --s3: #2fd6a8;
  --s4: #ffbe55;
  --s5: #ff5fa8;
  --s6: #9a7bff;
  --good: #3ddc84;
  --grad: linear-gradient(100deg, #7fb0ff 0%, #9a7bff 48%, #ff7ac6 100%);
  --display: 'Sora', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
video,
svg,
canvas {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: rgba(150, 168, 214, 0.1);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.05em 0.35em;
  white-space: nowrap;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 2px solid #9ab8ff;
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font: 600 15px/1 var(--body);
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease),
    border-color 0.25s;
}
.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}
.btn-lg {
  min-height: 52px;
  padding: 0 26px;
  font-size: 16px;
}
.btn-primary {
  color: #fff;
  background:
    linear-gradient(100deg, #4f86ff, #8a6bff 60%, #c862e6) padding-box,
    linear-gradient(100deg, #9cc2ff, #c2adff, #ffa3dc) border-box;
  border: 1px solid transparent;
  box-shadow:
    0 8px 30px -8px rgba(110, 120, 255, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 40px -10px rgba(130, 120, 255, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(190, 205, 255, 0.4);
}

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition:
    background 0.3s,
    border-color 0.3s,
    backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled,
.nav.open {
  background: rgba(6, 8, 14, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 650 18px/1 var(--display);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.mark {
  width: 26px;
  height: 26px;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: 12px;
}
.nav-links > a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 15px;
  text-decoration: none;
  transition:
    color 0.2s,
    background 0.2s;
}
.nav-links > a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}
.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-signin {
  padding: 8px 14px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.nav-signin:hover {
  color: var(--ink);
}
.nav-cta-mobile,
.nav-toggle {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: max(720px, 100svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(900px 600px at 72% 18%, rgba(91, 140, 255, 0.16), transparent 65%),
    radial-gradient(700px 500px at 95% 75%, rgba(255, 95, 168, 0.08), transparent 70%),
    radial-gradient(800px 600px at 5% 0%, rgba(154, 123, 255, 0.12), transparent 60%),
    var(--bg);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 6, 10, 0.92) 0%, rgba(5, 6, 10, 0.7) 34%, rgba(5, 6, 10, 0) 58%),
    linear-gradient(180deg, rgba(5, 6, 10, 0) 70%, var(--bg) 100%);
  pointer-events: none;
}
.hero-inner {
  padding-top: 120px;
  padding-bottom: 96px;
}
.hero-inner > * {
  max-width: 640px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  color: var(--ink-2);
  font: 500 13px/1.2 var(--mono);
  letter-spacing: 0.02em;
}
.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 7px rgba(61, 220, 132, 0.05);
  }
}
.hero h1 {
  margin-top: 26px;
  font-size: clamp(46px, 6.4vw, 92px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 0.98;
  max-width: 820px;
}
.hero-lede {
  margin-top: 26px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 560px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.cta-center {
  justify-content: center;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  padding: 0;
  margin: 44px 0 0;
  color: var(--ink-3);
  font-size: 14px;
}
.hero-proof li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-proof li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--grad);
}
.hero-proof strong {
  color: var(--ink);
  font-weight: 600;
}
.hero-legend {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-3);
  font: 400 12px/1.3 var(--mono);
}
.swatches {
  display: inline-flex;
  gap: 3px;
}
.swatches i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--s1);
}
.swatches i:nth-child(2) {
  background: var(--s2);
}
.swatches i:nth-child(3) {
  background: var(--s3);
}
.swatches i:nth-child(4) {
  background: var(--s4);
}

/* Metrics */
.metrics {
  position: relative;
  padding: 56px 0 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent),
    var(--bg);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 13px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fb5ff;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow-center {
  display: flex;
  justify-content: center;
}
h2.eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  line-height: 1;
}
.metric-grid {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.metric {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px;
  background: var(--bg-2);
}
.metric-num {
  font: 600 clamp(38px, 4.4vw, 56px)/1 var(--display);
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff, #b9c4e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.metric-num small {
  font-size: 0.45em;
  letter-spacing: 0;
  margin-left: 4px;
}
.metric-label {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.45;
}
.metric-label b {
  color: var(--ink);
  font-weight: 600;
}
.metric-note {
  margin-top: 18px;
  text-align: center;
  color: var(--ink-3);
  font-size: 13px;
}

/* Sections */
.section {
  position: relative;
  padding: clamp(64px, 8vw, 112px) 0;
}
.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5.5vw, 72px);
}
.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head-center .eyebrow {
  justify-content: center;
}
.section h2,
.final h2 {
  margin-top: 18px;
  font-size: clamp(32px, 4.4vw, 54px);
  letter-spacing: -0.035em;
}
.section-lede {
  margin-top: 20px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-2);
  line-height: 1.65;
}

/* Feature rows */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px) 0;
}
.feature + .feature {
  border-top: 1px solid var(--line);
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: clamp(56px, 8vw, 96px);
}
.feature-flip {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}
.feature-flip .feature-copy {
  order: 2;
}
.feature-stack {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 44px);
}
.feature-stack .feature-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  column-gap: clamp(32px, 6vw, 80px);
  align-items: end;
}
.feature-stack .feature-copy > .step,
.feature-stack .feature-copy > h3 {
  grid-column: 1;
}
.feature-stack .feature-copy > p:not(.step),
.feature-stack .feature-copy > .chips {
  grid-column: 2;
}
.feature-stack .feature-copy > p:not(.step):not(.fine) {
  grid-row: 1 / span 2;
  margin-top: 0;
}
.feature-stack .feature-copy > .fine {
  grid-column: 2;
}
.feature-stack .viz {
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
}
.feature-copy > p:not(.step):not(.fine) {
  color: var(--ink-2);
  margin-top: 16px;
}
.feature h3 {
  font-size: clamp(26px, 2.8vw, 36px);
  letter-spacing: -0.03em;
  margin-top: 14px;
}
.step {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 500 13px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.step span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--ink);
  border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    var(--grad) border-box;
  border: 1px solid transparent;
  letter-spacing: 0;
}
.fine {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.55;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}
.ticks li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.55;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 14px;
  height: 8px;
  border-left: 2px solid #8fb0ff;
  border-bottom: 2px solid #8fb0ff;
  transform: rotate(-45deg) translateY(-3px);
  border-radius: 1px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.chip {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-2);
  font-size: 13.5px;
}
.chip b {
  color: var(--ink);
  font-weight: 600;
}
.stat-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 26px 0 0;
}
.stat-pair div {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.stat-pair dt {
  color: var(--ink-3);
  font-size: 13px;
}
.stat-pair dd {
  margin: 6px 0 0;
  font: 600 19px/1.25 var(--display);
  letter-spacing: -0.02em;
}

/* Diagram frames */
.viz {
  position: relative;
  margin: 0;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(91, 140, 255, 0.08), transparent 60%),
    linear-gradient(180deg, #0b0f1a, #070910);
  box-shadow:
    0 40px 80px -40px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.viz::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background-image: radial-gradient(rgba(170, 185, 230, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.viz canvas,
.viz svg {
  position: relative;
  z-index: 1;
  width: 100%;
}
.viz-split canvas {
  aspect-ratio: 1 / 0.86;
  height: auto;
}
.viz-tags {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.viz-tag {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px 4px 7px;
  border-radius: 999px;
  background: rgba(8, 10, 18, 0.82);
  border: 1px solid var(--line-2);
  font: 500 11.5px/1 var(--mono);
  color: var(--ink);
  white-space: nowrap;
  transition:
    left 0.9s var(--ease),
    top 0.9s var(--ease);
}
.viz-tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.viz-caption {
  position: relative;
  z-index: 1;
  min-height: 3.2em;
  padding: 0 24px 22px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.5;
  transition: opacity 0.35s;
}
.viz-caption.swap {
  opacity: 0;
}
.viz-border svg {
  aspect-ratio: 760 / 428;
}
.viz-scroll {
  position: relative;
  z-index: 1;
  overflow-x: auto;
  scrollbar-width: thin;
}
.viz-gateway svg {
  aspect-ratio: 760 / 400;
}

/* Autoscale */
.viz-scale {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 196px;
}
.scale-map {
  position: relative;
  z-index: 1;
  padding: 14px;
}
.scale-map canvas {
  aspect-ratio: 1;
  height: auto;
  border-radius: 14px;
}
.scale-phase {
  position: absolute;
  left: 26px;
  top: 26px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(8, 10, 18, 0.85);
  border: 1px solid var(--line-2);
  font: 500 12px/1 var(--mono);
  color: var(--ink-2);
  transition: color 0.3s, border-color 0.3s;
}
.scale-phase.event {
  color: #ffd38a;
  border-color: rgba(255, 190, 85, 0.5);
}
.scale-side {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 16px 18px 4px;
  font-size: 13px;
}
.scale-spend {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.scale-spend-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.scale-spend-row b {
  font: 600 16px/1 var(--display);
  font-variant-numeric: tabular-nums;
}
.muted {
  color: var(--ink-3);
}
.meter {
  height: 6px;
  margin: 10px 0 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.meter i {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5b8cff, #9a7bff);
  transition: width 0.6s var(--ease);
}
.scale-servers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.scale-servers li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--mono);
  font-size: 12px;
  animation: rowIn 0.5s var(--ease);
  transition:
    opacity 0.4s,
    border-color 0.4s;
}
@keyframes rowIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}
.scale-servers li i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  flex: none;
}
.scale-servers li em {
  margin-left: auto;
  font-style: normal;
  color: var(--ink-3);
}
.scale-servers li.spare {
  border-style: dashed;
}
.scale-servers li.spare i {
  background: transparent !important;
  border: 1px dashed var(--ink-3);
}
.scale-servers li.draining {
  opacity: 0.45;
}
.scale-servers li.gw i {
  background: var(--ink-2);
  border-radius: 50%;
}
.scale-chart {
  width: 100%;
  height: 64px;
  margin-top: auto;
}
.scale-chart-label {
  color: var(--ink-3);
  font-size: 11.5px;
  margin-top: -8px;
}

/* Sleep and wake */
.viz-sleep {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 36px);
  align-items: center;
  padding: clamp(18px, 3vw, 36px);
}
.viz-sleep > * {
  position: relative;
  z-index: 1;
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-3);
  font: 500 12px/1 var(--mono);
}
.win-bar > i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.win-bar > span {
  margin-left: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sleep-launcher {
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: #0c101b;
  overflow: hidden;
}
.launcher-body {
  padding: 14px;
  display: grid;
  gap: 10px;
}
.launcher-art {
  height: 74px;
  border-radius: 10px;
  background:
    radial-gradient(60% 80% at 30% 100%, rgba(47, 214, 168, 0.35), transparent 70%),
    radial-gradient(50% 70% at 80% 90%, rgba(91, 140, 255, 0.4), transparent 70%),
    linear-gradient(180deg, #1a2140, #0d1224);
  position: relative;
  overflow: hidden;
}
.launcher-art::after {
  content: '';
  position: absolute;
  inset: auto -10% -30% -10%;
  height: 60%;
  background: linear-gradient(170deg, transparent 40%, rgba(5, 6, 10, 0.9) 41%);
}
.launcher-play {
  font: 650 14px/1 var(--display);
  letter-spacing: 0.04em;
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 12px;
  background: linear-gradient(100deg, #4f86ff, #8a6bff);
  box-shadow: 0 6px 20px -6px rgba(110, 120, 255, 0.7);
  transition: transform 0.2s, filter 0.2s;
}
.launcher-play.pressed {
  transform: scale(0.96);
  filter: brightness(1.25);
}
.launcher-play.busy {
  filter: saturate(0.4) brightness(0.8);
}
.launcher-status {
  min-height: 1.3em;
  color: var(--ink-3);
  font-size: 12px;
  text-align: center;
}
.sleep-wire {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  min-height: 210px;
  align-content: center;
}
.sleep-wire li {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  font: 400 12.5px/1.5 var(--mono);
  color: var(--ink-2);
  overflow-wrap: anywhere;
  animation: rowIn 0.45s var(--ease);
}
.sleep-wire li b {
  font-weight: 500;
  color: #9fb5ff;
}
.sleep-wire li.res b {
  color: #ffd38a;
}
.sleep-wire li.ok b {
  color: var(--good);
}
.sleep-wire li.note {
  border-style: dashed;
  color: var(--ink-3);
  font-family: var(--body);
  font-size: 12.5px;
}
.sleep-zone {
  display: grid;
  gap: 10px;
  justify-items: center;
}
.sleep-zone svg {
  width: 100%;
  max-width: 300px;
}
.zone-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(8, 10, 18, 0.8);
  font: 500 12px/1 var(--mono);
  color: var(--ink-2);
}
.zone-state b {
  color: var(--ink);
  font-weight: 500;
}
.zone-state .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-3);
  transition: background 0.4s, box-shadow 0.4s;
}
.zone-state.starting .dot {
  background: #ffbe55;
  box-shadow: 0 0 0 4px rgba(255, 190, 85, 0.2);
}
.zone-state.running .dot {
  background: var(--good);
  box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.2);
}

/* Atlas */
.atlas {
  overflow: hidden;
}
.atlas-glow {
  position: absolute;
  inset: 10% -20% auto;
  height: 900px;
  background:
    radial-gradient(40% 50% at 30% 40%, rgba(91, 140, 255, 0.18), transparent 70%),
    radial-gradient(35% 45% at 70% 50%, rgba(255, 122, 69, 0.1), transparent 70%),
    radial-gradient(30% 40% at 55% 70%, rgba(47, 214, 168, 0.1), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.atlas-stage {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}
.atlas-window {
  border-radius: 22px;
  border: 1px solid var(--line-2);
  background: #090c14;
  overflow: hidden;
  box-shadow:
    0 60px 120px -40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 120px -20px rgba(91, 140, 255, 0.25);
}
.atlas-window .win-bar {
  height: 46px;
}
.atlas-tabs {
  margin-left: auto;
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.atlas-tabs button {
  border: 0;
  background: transparent;
  color: var(--ink-3);
  font: 500 12px/1 var(--mono);
  padding: 7px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.atlas-tabs button[aria-selected='true'] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
}
.atlas-view {
  position: relative;
  aspect-ratio: 1;
  background: #0b0c0d;
}
.atlas-view video,
.atlas-view img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.atlas-view img {
  object-position: 50% 50%;
}
.atlas-inspector {
  position: absolute;
  right: -64px;
  bottom: 64px;
  width: 240px;
  height: auto;
  border-radius: 16px;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.9),
    0 0 0 1px var(--line-2);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}
.atlas-note {
  margin-top: 14px;
  text-align: center;
  color: var(--ink-3);
  font-size: 13px;
}
.atlas-features {
  list-style: none;
  padding: 0;
  margin: clamp(48px, 7vw, 80px) 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.atlas-features li {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}
.atlas-features h3 {
  margin-top: 16px;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.atlas-features p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
}
.ico {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background-color: rgba(255, 255, 255, 0.03);
  background-repeat: no-repeat;
  background-position: center;
}
.ico-a {
  background-image: radial-gradient(circle at 35% 40%, var(--s1) 0 3px, transparent 4px),
    radial-gradient(circle at 65% 35%, var(--s2) 0 3px, transparent 4px),
    radial-gradient(circle at 55% 68%, var(--s3) 0 3px, transparent 4px);
}
.ico-b {
  background-image: radial-gradient(circle, transparent 0 7px, var(--s4) 8px 9px, transparent 10px),
    radial-gradient(circle, var(--s4) 0 2.5px, transparent 3.5px);
}
.ico-c {
  background-image: linear-gradient(90deg, transparent 9px, var(--ink-3) 9px 31px, transparent 31px),
    radial-gradient(circle at 60% 50%, var(--s1) 0 4px, transparent 5px);
  background-size: 100% 2px, 100% 100%;
  background-position: center, center;
}
.ico-d {
  background-image: linear-gradient(var(--ink-3), var(--ink-3)), linear-gradient(var(--ink-3), var(--ink-3)),
    linear-gradient(var(--s6), var(--s6));
  background-size: 18px 2px, 12px 2px, 8px 8px;
  background-position: 18px 13px, 18px 21px, 8px 13px;
}

/* Code */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.code-card,
.terminal {
  border-radius: 20px;
  border: 1px solid var(--line-2);
  background: #090c15;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.85);
}
.code-card pre {
  margin: 0;
  padding: 20px 22px 24px;
  overflow-x: auto;
  font: 400 12.5px/1.7 var(--mono);
  color: #cfd6e6;
  tab-size: 4;
}
.code-card pre code {
  background: none;
  border: 0;
  padding: 0;
  font-size: inherit;
  white-space: pre;
}
.code-card .c {
  color: #6f7a92;
  font-style: italic;
}
.code-card .k {
  color: #c79bff;
}
.code-card .t {
  color: #7fd8c4;
}
.code-card .f {
  color: #8fb6ff;
}
.code-card .n {
  color: #ffbe7a;
}
.code-card .hl {
  display: inline-block;
  min-width: 100%;
  margin: 0 -22px;
  padding: 0 22px;
  background: linear-gradient(90deg, rgba(91, 140, 255, 0.16), rgba(154, 123, 255, 0.04));
  box-shadow: inset 2px 0 0 #8fb0ff;
}

/* Ship */
.ship-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.ship-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
  position: relative;
}
.ship-steps::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: linear-gradient(180deg, #5b8cff, #9a7bff, #ff7ac6);
  opacity: 0.5;
}
.ship-steps li {
  display: flex;
  gap: 18px;
  position: relative;
}
.ship-steps .num {
  flex: none;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  font: 600 14px/1 var(--display);
}
.ship-steps h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-top: 6px;
}
.ship-steps p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}
.term-body {
  padding: 20px 22px 24px;
  min-height: 330px;
  font: 400 13px/1.6 var(--mono);
}
.term-line {
  min-height: 1.6em;
  color: #e4e9f5;
  word-break: break-all;
}
.term-line + .term-line,
.pipeline + .term-line {
  margin-top: 12px;
}
.term-line .ps {
  color: #8fb6ff;
  margin-right: 10px;
  user-select: none;
}
.term-line .caret {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  vertical-align: -0.18em;
  background: #cfd6e6;
  margin-left: 1px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  opacity: 0;
  transition: opacity 0.3s;
}
.pipeline.show {
  opacity: 1;
}
.pipeline span {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 11.5px;
  transition: all 0.35s;
}
.pipeline span.on {
  color: #ffd38a;
  border-color: rgba(255, 190, 85, 0.5);
  background: rgba(255, 190, 85, 0.08);
}
.pipeline span.done {
  color: var(--good);
  border-color: rgba(61, 220, 132, 0.4);
  background: rgba(61, 220, 132, 0.07);
}
.term-live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(61, 220, 132, 0.35);
  background: rgba(61, 220, 132, 0.07);
  color: #b7f5cf;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.4s var(--ease);
}
.term-live.show {
  opacity: 1;
  transform: none;
}
.term-live .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.2);
}
.term-static {
  margin: 0;
  white-space: pre-wrap;
  color: #e4e9f5;
}

/* Studios */
.aud-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.aud {
  position: relative;
  padding: clamp(26px, 3.4vw, 40px);
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  overflow: hidden;
}
.aud::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(91, 140, 255, 0.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.aud-large::before {
  background: linear-gradient(140deg, rgba(255, 122, 198, 0.45), transparent 40%);
}
.aud h3 {
  font-size: 26px;
  margin-top: 22px;
}
.aud > p {
  margin-top: 10px;
  color: var(--ink-2);
}
.aud-art svg {
  width: 120px;
  height: 80px;
  fill: none;
  stroke-width: 1.4;
}
.aud-indie .aud-art svg {
  stroke: #8fb0ff;
}
.aud-indie .aud-art circle:nth-child(2) {
  opacity: 0.55;
}
.aud-indie .aud-art circle:nth-child(3) {
  opacity: 0.25;
}
.aud-large .aud-art svg {
  stroke: #ff9ad2;
}
.aud-large .aud-art rect:nth-child(even) {
  opacity: 0.5;
}
.cap-grid {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.cap-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 14.5px;
  color: var(--ink-2);
}
.cap-ico {
  color: #9fb5ff;
  font-size: 13px;
}

/* Pricing */
.pricing {
  background: radial-gradient(760px 300px at 50% 340px, rgba(154, 123, 255, 0.1), transparent 100%);
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.price {
  padding: 28px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.price:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
}
.price-mid {
  background:
    linear-gradient(180deg, rgba(91, 140, 255, 0.09), rgba(154, 123, 255, 0.03)) padding-box,
    linear-gradient(160deg, rgba(127, 176, 255, 0.6), rgba(154, 123, 255, 0.2) 50%, transparent) border-box;
  border: 1px solid transparent;
}
.price h3 {
  font-size: 20px;
}
.price-spec {
  margin-top: 6px;
  color: var(--ink-3);
  font: 400 13px/1.4 var(--mono);
}
.price-num {
  margin-top: 26px;
  color: var(--ink-3);
  font-size: 15px;
}
.price-num span {
  font: 600 44px/1 var(--display);
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-right: 4px;
}
.price-bar {
  margin-top: 22px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
}
.price-bar i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: var(--grad);
}
.estimator {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.est-controls {
  padding: clamp(22px, 3vw, 34px);
  display: grid;
  gap: 20px;
}
.est-controls h3 {
  font-size: 20px;
}
.seg {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.seg legend {
  width: 100%;
  margin-bottom: 8px;
  color: var(--ink-2);
  font-size: 14px;
}
.seg label {
  position: relative;
}
.seg input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.seg span {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  font-size: 14px;
  transition: all 0.2s;
}
.seg input:checked + span {
  color: #fff;
  border-color: rgba(143, 176, 255, 0.7);
  background: rgba(91, 140, 255, 0.18);
}
.seg input:focus-visible + span {
  outline: 2px solid #9ab8ff;
  outline-offset: 2px;
}
.range {
  display: grid;
  gap: 10px;
  color: var(--ink-2);
  font-size: 14px;
}
.range > span {
  display: flex;
  justify-content: space-between;
}
.range output {
  color: var(--ink);
  font: 600 15px/1 var(--display);
  font-variant-numeric: tabular-nums;
}
input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  background: transparent;
  cursor: pointer;
  --p: 50%;
}
input[type='range']::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, #6aa2ff, #9a7bff) 0 / var(--p) 100% no-repeat, rgba(255, 255, 255, 0.1);
}
input[type='range']::-moz-range-track {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}
input[type='range']::-moz-range-progress {
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, #6aa2ff, #9a7bff);
}
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -8px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  box-shadow: 0 0 0 5px rgba(127, 150, 255, 0.25), 0 2px 8px rgba(0, 0, 0, 0.5);
}
input[type='range']::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  box-shadow: 0 0 0 5px rgba(127, 150, 255, 0.25);
}
.est-result {
  padding: clamp(22px, 3vw, 34px);
  border-left: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(154, 123, 255, 0.16), transparent 60%),
    rgba(255, 255, 255, 0.015);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.est-label {
  color: var(--ink-3);
  font-size: 13px;
}
.est-hour {
  margin: 4px 0 18px;
  font: 600 20px/1.2 var(--display);
}
.est-month {
  margin: 2px 0;
  font: 650 clamp(48px, 5vw, 64px)/1 var(--display);
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff, #c8bfff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.est-note {
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.55;
}
.price-notes {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.price-notes li {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
}
.price-notes b {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 4px;
}

/* Maker */
.maker {
  padding-top: 40px;
}
.maker-inner {
  max-width: 820px;
  text-align: center;
  padding-top: clamp(48px, 7vw, 80px);
  padding-bottom: clamp(48px, 7vw, 80px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.maker-inner .eyebrow {
  justify-content: center;
}

/* FAQ */
.faq-inner {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.faq-inner .section-head {
  margin-bottom: 0;
  position: sticky;
  top: 110px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 4px;
  font: 600 18px/1.35 var(--display);
  letter-spacing: -0.015em;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: '';
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.3s var(--ease);
}
.faq-list details[open] summary::after {
  transform: rotate(225deg) translateY(-3px);
}
.faq-list details p {
  padding: 0 4px 24px;
  color: var(--ink-2);
  max-width: 640px;
}
.faq-list a {
  color: #a9c1ff;
}

/* Final CTA */
.final {
  position: relative;
  padding: clamp(100px, 14vw, 180px) 0;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  border-top: 1px solid var(--line);
}
.final-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.75;
}
.final::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(46% 42% at 50% 46%, rgba(5, 6, 10, 0.88), rgba(5, 6, 10, 0) 100%),
    linear-gradient(180deg, var(--bg) 0%, rgba(5, 6, 10, 0) 45%);
  pointer-events: none;
}
.final-inner {
  max-width: 760px;
}
.final h2 {
  font-size: clamp(36px, 5.4vw, 68px);
  letter-spacing: -0.04em;
}
.final .section-lede {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
  background: #040509;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 32px;
  align-items: start;
}
.footer-brand p {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 14px;
}
.footer-brand a:not(.brand) {
  color: var(--ink-2);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.footer-links a {
  color: var(--ink-2);
  font-size: 14px;
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--ink);
}
.footer-fine {
  grid-column: 1 / -1;
  color: var(--ink-3);
  font-size: 12.5px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* Reveal on scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* Tablet */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: 4px;
    border-radius: 12px;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    width: 18px;
    height: 1.6px;
    background: var(--ink);
    transition: transform 0.3s var(--ease);
  }
  .nav.open .nav-toggle span:first-child {
    transform: translateY(3.3px) rotate(45deg);
  }
  .nav.open .nav-toggle span:last-child {
    transform: translateY(-3.3px) rotate(-45deg);
  }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px var(--gutter) 22px;
    background: rgba(6, 8, 14, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links > a {
    padding: 14px 4px;
    font-size: 17px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-cta-mobile {
    display: flex;
    gap: 10px;
    margin-top: 18px;
  }
  .nav-cta-mobile .btn {
    flex: 1;
  }
  .atlas-features,
  .cap-grid,
  .price-notes {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .atlas-inspector {
    right: -16px;
    width: 200px;
  }
}

/* Phone */
@media (max-width: 820px) {
  body {
    font-size: 16px;
  }
  .nav-signin {
    display: none;
  }
  .hero {
    align-items: flex-end;
    min-height: auto;
  }
  .hero-canvas {
    height: 470px;
  }
  .hero-shade {
    background: linear-gradient(180deg, rgba(5, 6, 10, 0) 280px, var(--bg) 470px);
  }
  .hero-inner {
    padding-top: 400px;
    padding-bottom: 64px;
  }
  .hero-legend {
    display: none;
  }
  .br-wide {
    display: none;
  }
  .viz-border svg {
    min-width: 640px;
  }
  .hero-proof {
    margin-top: 32px;
    flex-direction: column;
    gap: 10px;
  }
  .feature,
  .split,
  .ship-grid,
  .faq-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature-flip .feature-copy {
    order: 0;
  }
  .feature-stack .feature-copy {
    display: block;
  }
  .feature-stack .feature-copy > p:not(.step) {
    margin-top: 16px;
  }
  .faq-inner .section-head {
    position: static;
  }
  .viz-scale {
    grid-template-columns: minmax(0, 1fr);
  }
  .scale-side {
    padding: 0 14px 18px;
  }
  .viz-sleep {
    grid-template-columns: minmax(0, 1fr);
  }
  .sleep-wire {
    min-height: 0;
  }
  .sleep-launcher {
    max-width: 320px;
    width: 100%;
    justify-self: center;
  }
  .aud-grid,
  .price-grid,
  .estimator {
    grid-template-columns: minmax(0, 1fr);
  }
  .est-result {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .atlas-inspector {
    position: relative;
    right: auto;
    bottom: auto;
    width: 220px;
    margin: -48px 12px 0 auto;
  }
  .atlas-tabs button {
    padding: 7px 9px;
  }
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .stat-pair {
    grid-template-columns: 1fr 1fr;
  }
  .term-body {
    min-height: 0;
    font-size: 12px;
  }
  .code-card pre {
    font-size: 11.5px;
  }
}

@media (max-width: 520px) {
  .metric-grid,
  .price-notes {
    grid-template-columns: minmax(0, 1fr);
  }
  .cap-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .cap-grid li {
    padding: 12px;
    font-size: 13.5px;
  }
  .atlas-features {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .atlas-features li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 14px;
    padding: 16px;
  }
  .atlas-features .ico {
    grid-row: span 2;
  }
  .atlas-features h3 {
    margin-top: 0;
    font-size: 16px;
  }
  .atlas-features p {
    margin-top: 4px;
  }
  .price {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 18px 20px;
  }
  .price-num {
    grid-row: 1 / span 2;
    grid-column: 2;
    margin: 0;
    text-align: right;
  }
  .price-num span {
    display: block;
    font-size: 34px;
    margin: 0;
  }
  .price-bar {
    grid-column: 1 / -1;
    margin-top: 14px;
  }
  .metric {
    padding: 22px;
  }
  .cta-row .btn {
    flex: 1 1 100%;
  }
  .hero h1 {
    font-size: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Diagram text and the sleeping zone */
[hidden] {
  display: none !important;
}
.bd-label {
  font: 500 11px var(--mono);
  letter-spacing: 0.12em;
  fill: var(--ink-3);
}
.bd-small {
  font: 400 10.5px var(--mono);
  fill: var(--ink-3);
}
.bd-tag {
  font: 500 10px var(--mono);
  fill: var(--ink-2);
}
.bd-chip {
  font: 600 11.5px var(--body);
  fill: var(--ink);
}
.bd-note {
  font: 500 11px var(--mono);
  fill: #ffd38a;
}
.gw-text {
  font: 500 12.5px var(--body);
  fill: var(--ink);
}
.gw-note {
  font: 500 10.5px var(--mono);
  fill: #a9c1ff;
}
.gw-title {
  font: 650 17px var(--display);
  fill: var(--ink);
}
.gw-sub {
  font: 400 11px var(--mono);
  fill: var(--ink-3);
}
.sz-top {
  fill: #121829;
  stroke: rgba(255, 255, 255, 0.1);
  transition: fill 0.8s;
}
.sz-side {
  fill: #0b0f1b;
}
.sz-side-r {
  fill: #080b15;
}
.sz-grid {
  stroke: rgba(255, 255, 255, 0.05);
}
.running .sz-top {
  fill: #172243;
}
.sz-cube {
  opacity: 0.16;
  transition: opacity 0.5s, filter 0.6s;
}
.sz-cube.on {
  opacity: 1;
  animation: pop 0.6s var(--ease);
}
@keyframes pop {
  from {
    transform: translateY(-12px);
  }
}
.sz-cube .t {
  fill: #3a4058;
  transition: fill 0.6s;
}
.sz-cube .l {
  fill: #262b3d;
  transition: fill 0.6s;
}
.sz-cube .r {
  fill: #1d2131;
  transition: fill 0.6s;
}
.starting .sz-cube.on .t {
  fill: #ffcf7a;
}
.starting .sz-cube.on .l {
  fill: #b78530;
}
.starting .sz-cube.on .r {
  fill: #8c6424;
}
.running .sz-cube.on .t {
  fill: var(--c);
}
.running .sz-cube.on .l {
  fill: color-mix(in srgb, var(--c) 62%, #000);
}
.running .sz-cube.on .r {
  fill: color-mix(in srgb, var(--c) 42%, #000);
}
.running .sz-cube.on {
  filter: drop-shadow(0 0 8px var(--c));
}
.sz-zz text {
  font: 600 13px var(--display);
  fill: var(--ink-3);
  opacity: 0;
}
.sleeping .sz-zz text {
  animation: zz 2.6s ease-in-out infinite;
}
.sleeping .sz-zz text:nth-child(2) {
  animation-delay: 0.4s;
}
.sleeping .sz-zz text:nth-child(3) {
  animation-delay: 0.8s;
}
@keyframes zz {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  35% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}
.metric-num.metric-word {
  font-size: clamp(28px, 2.8vw, 36px);
  letter-spacing: -0.03em;
}

/* Legal pages */
.legal {
  padding: 140px 0 96px;
}
.legal-inner {
  max-width: 760px;
}
.legal h1 {
  margin-top: 18px;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.04em;
}
.legal .updated {
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 14px;
}
.legal h2 {
  margin-top: 48px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.legal p,
.legal li {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.7;
}
.legal p {
  margin-top: 14px;
}
.legal ul {
  margin: 12px 0 0;
  padding-left: 22px;
}
.legal li + li {
  margin-top: 6px;
}
.legal a {
  color: #a9c1ff;
}
.legal strong {
  color: var(--ink);
}

/* Plans */
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}
.plan-studio {
  background:
    linear-gradient(180deg, rgba(91, 140, 255, 0.1), rgba(154, 123, 255, 0.03)) padding-box,
    linear-gradient(160deg, rgba(127, 176, 255, 0.6), rgba(154, 123, 255, 0.2) 50%, transparent) border-box;
  border: 1px solid transparent;
}
.plan h3 {
  font-size: 22px;
}
.plan-price {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 15px;
}
.plan-price span {
  font: 650 48px/1 var(--display);
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-right: 6px;
}
.plan-for {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 15px;
}
.plan .ticks {
  margin-bottom: 26px;
}
.plan .btn {
  margin-top: auto;
  align-self: flex-start;
}
.price-sub {
  font-size: 22px;
  letter-spacing: -0.02em;
}
.price-sub-lede {
  margin: 8px 0 20px;
  color: var(--ink-2);
  font-size: 15px;
}
@media (max-width: 820px) {
  .plan-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
