/* kvz.systems — same visual system as the product card:
   black page, #161618 tiles, single-hue gradients, no shadows or glows,
   SF everywhere, Menlo only in terminals. */

:root {
  --bg: #000;
  --tile: #161618;
  --tile-2: #1f1f22;
  --line: #2c2c30;
  --text: #f5f5f7;
  --muted: #8e8e93;
  --k3s: #4a4a50;
  --apple: #8a8a90;
  --r: 28px;
  --gap: 20px;
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --sf: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, 'Helvetica Neue', sans-serif;
  --mono: Menlo, ui-monospace, 'SF Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sf);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); font-size: .9em; color: #e5e5ea; }
img { display: block; }

/* ---------------- nav ---------------- */
.nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; padding: 0 20px; pointer-events: none; }
.nav__inner {
  pointer-events: auto;
  max-width: 1080px; height: 64px; margin: 0 auto; padding: 0 12px 0 30px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  border-radius: 999px;
  background: rgb(30 30 33 / .78);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
          backdrop-filter: saturate(1.8) blur(20px);
}
.nav__logo img { height: 24px; width: auto; }
.nav__links { display: flex; gap: 30px; font-size: 14px; color: #c7c7cc; }
.nav__links a { transition: color .2s; }
.nav__links a:hover, .nav__links a.active { color: #fff; }
.pill {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 18px;
  border-radius: 999px;
  background: #2c2c30;
  font-size: 13px; font-weight: 500; color: #f5f5f7;
  transition: background .2s;
}
.pill:hover { background: #3a3a3f; }
.pill svg { width: 16px; height: 16px; }

/* ---------------- shared type ---------------- */
.eyebrow { margin: 0 0 14px; font-size: 17px; font-weight: 600; color: var(--muted); letter-spacing: -.01em; }
h2 { margin: 0; font-size: clamp(36px, 5.2vw, 64px); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
.section { max-width: var(--max); margin: 0 auto; padding: 100px 24px 0; }
.section__head { margin-bottom: 44px; }
.section__lede { margin: 20px 0 0; font-size: 21px; color: var(--muted); max-width: 640px; line-height: 1.4; letter-spacing: -.01em; }
.foot { margin: 28px 0 0; color: var(--muted); font-size: 15px; }
.foot a { color: #5fb0ff; }

.grad-warm, .grad-cool, .grad-yellow, .grad-pink, .grad-green, .grad-violet {
  background-clip: text; -webkit-background-clip: text; color: transparent;
}
.grad-warm   { background-image: linear-gradient(180deg, #ffa133, #ff6a00); }
.grad-cool   { background-image: linear-gradient(180deg, #5fb0ff, #1f6fff); }
.grad-yellow { background-image: linear-gradient(180deg, #ffe066, #f5b400); }
.grad-pink   { background-image: linear-gradient(180deg, #ff7aa2, #e0245e); }
.grad-green  { background-image: linear-gradient(180deg, #5cea94, #14b85a); }
.grad-violet { background-image: linear-gradient(180deg, #b48cff, #7a45f5); }

/* ---------------- hero ---------------- */
.hero {
  position: relative; min-height: min(100svh, 860px);
  display: flex; align-items: center; justify-content: center;
  padding: 120px 24px 20px; overflow: hidden;
}
.hero__inner {
  width: 100%; max-width: var(--max);
  display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: center;
}
.hero__left { display: flex; flex-direction: column; align-items: flex-start; }
.hero__right { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / .07) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .07) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center center;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 10%, transparent 100%);
          mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 10%, transparent 100%);
  animation: grid-in 1.6s var(--ease) both;
}
@keyframes grid-in { from { opacity: 0; transform: scale(1.06); } }
.hero > * { position: relative; }
.hero__logo { margin: 0; }
.hero__logo img {
  width: min(500px, 100%); height: auto;
  animation: wipe 1.3s var(--ease) .15s both;
}
@keyframes wipe { from { clip-path: inset(0 100% 0 0); transform: translateY(10px); } to { clip-path: inset(0 0 0 0); } }
.hero__sub {
  margin: 22px 0 0; font-size: clamp(22px, 3vw, 34px); font-weight: 500; letter-spacing: -.02em;
  color: rgb(255 255 255 / .62);
  animation: rise .9s var(--ease) .7s both;
}
.hero__lede {
  max-width: 560px; margin: 0; font-size: 19px; line-height: 1.5; color: var(--muted);
  animation: rise .9s var(--ease) .85s both;
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.hero__cta { display: flex; align-items: center; gap: 22px; margin-top: 28px; flex-wrap: wrap; animation: rise .9s var(--ease) 1s both; }
.install {
  display: inline-flex; align-items: center; gap: 16px;
  height: 52px; padding: 0 8px 0 22px; border-radius: 999px;
  background: var(--tile); border: 0;
  color: var(--text); font: 15px var(--mono); cursor: pointer;
  transition: background .2s;
}
.install:hover { background: #1f1f22; }
.install__copy {
  height: 38px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center;
  background: #f5f5f7; color: #000; font: 600 14px var(--sf);
}
.install.copied .install__copy { background: linear-gradient(180deg, #5cea94, #14b85a); }
.dim { color: #6e6e73; }
.link-arrow { font-size: 17px; color: #5fb0ff; }
.link-arrow::after { content: ' ›'; }
.hero__stats { display: flex; gap: 44px; margin-top: 56px; animation: rise .9s var(--ease) 1.15s both; }
.hero__stats div { display: flex; flex-direction: column; gap: 4px; }
.hero__stats b { font-size: 30px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero__stats .lbl { font-size: 14px; color: var(--muted); }

/* live terminal */
.termtile.live-tile { width: 100%; margin-top: 32px; padding: 28px; min-height: 0; animation: rise .9s var(--ease) 1.15s both; }
.live { text-align: left; width: 100%; }
.live__body { height: 318px; display: flex; flex-direction: column; justify-content: flex-end; font-size: 13.5px; line-height: 1.62; }
.live__body > div { white-space: pre; overflow: hidden; text-overflow: clip; }
.c-green { color: #5cea94; } .c-blue { color: #5fb0ff; } .c-yellow { color: #ffe066; } .c-orange { color: #ffa133; } .c-violet { color: #b48cff; } .c-pink { color: #ff7aa2; }

/* ---------------- bento ---------------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.tile {
  position: relative; overflow: hidden;
  background: var(--tile); border-radius: var(--r);
  padding: 32px; min-width: 0;
}
.span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-12 { grid-column: span 12; }
.tall { min-height: 400px; }
.center { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }

.textured { --tint: 255 120 60; }
.textured::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgb(var(--tint) / .2) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--tint) / .2) 1px, transparent 1px);
  background-size: 28px 28px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 50% 50%, #000 20%, transparent 100%);
          mask-image: radial-gradient(ellipse 75% 85% at 50% 50%, #000 20%, transparent 100%);
}
.textured > * { position: relative; }

.display { font-size: clamp(54px, 7vw, 92px); font-weight: 700; letter-spacing: -.035em; line-height: 1; padding-bottom: 6px; white-space: nowrap; }
.label { margin: 18px 0 0; font-size: 21px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; color: var(--text); }
.lead-text { margin: 0; font-size: 34px; font-weight: 600; letter-spacing: -.025em; }
.mega { font-size: clamp(130px, 17vw, 210px); font-weight: 700; letter-spacing: -.05em; line-height: .92; padding: 0 .04em 10px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.unit { font-size: .42em; letter-spacing: -.03em; margin-left: .05em; }
.statement { font-size: clamp(40px, 6vw, 76px); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; padding-bottom: 6px; }
.statement-tile { padding: 72px 32px 56px; }
.note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.chart-title { font-size: 21px; font-weight: 600; letter-spacing: -.015em; }
.chart-sub { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* process */
.proc { display: grid; grid-template-columns: auto auto; gap: 10px; }
.node { display: flex; align-items: center; gap: 10px; padding: 11px 15px; border-radius: 12px; background: var(--tile-2); font-size: 17px; font-weight: 500; color: #e5e5ea; white-space: nowrap; }
.node i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); transform: scale(0); transition: transform .5s var(--ease) calc(.35s + var(--i) * .12s); }
.in .node i { transform: scale(1); }

/* terminal + liquid glass */
.termtile {
  padding: 0; min-height: 300px;
  clip-path: inset(0 round var(--r));
  background:
    linear-gradient(rgb(255 255 255 / .08) 1px, transparent 1px) -1px -1px / 28px 28px,
    linear-gradient(90deg, rgb(255 255 255 / .08) 1px, transparent 1px) -1px -1px / 28px 28px,
    var(--tile);
}
.copy { position: absolute; left: 32px; top: 26px; right: 32px; margin: 0; font-size: 23px; line-height: 1.3; color: var(--muted); letter-spacing: -.01em; }
.copy b { color: var(--text); font-weight: 600; }
.glass {
  background: rgb(9 9 11 / .38);
  -webkit-backdrop-filter: blur(10px) brightness(1.1) saturate(1.5);
          backdrop-filter: blur(10px) brightness(1.1) saturate(1.5);
}
.term { font-family: var(--mono); color: #e5e5ea; border-radius: 14px; }
.term--crop { position: absolute; left: 32px; right: -40px; bottom: -14px; height: 230px; border-radius: 14px 0 0 0; }
.term__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; font-size: 11px; color: #6e6e73; }
.term__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.term__bar i:nth-child(2) { background: #febc2e; } .term__bar i:nth-child(3) { background: #28c840; }
.term__bar span { flex: 1; text-align: center; margin-right: 50px; }
.term__body { padding: 6px 18px 16px; font-size: 14.5px; line-height: 1.7; overflow: hidden; }
.term__body > div { white-space: pre; }
.trow { display: grid; grid-template-columns: 150px 110px auto; }
.trow[style] { opacity: 0; transform: translateX(-8px); transition: opacity .5s, transform .5s var(--ease); transition-delay: calc(.5s + var(--i) * .18s); }
.in .trow[style] { opacity: 1; transform: none; }
.ok { color: #5cea94; }

/* burst + axis */
.burst { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.burst__num { font-size: clamp(76px, 9vw, 104px); font-weight: 700; letter-spacing: -.035em; line-height: 1; padding: 0 .05em 6px 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.burst__num .unit { font-size: .5em; padding-right: .06em; }
.small-lead { font-size: 21px; font-weight: 600; letter-spacing: -.015em; }
.muted-lead { font-size: 19px; color: var(--muted); margin-top: 4px; }
.axis { position: relative; height: 92px; margin-top: 22px; }
.axis__track { position: absolute; left: 0; right: 0; top: 52px; height: 2px; background: #3a3a3f; }
.axis__tick { position: absolute; top: 47px; width: 1px; height: 12px; background: #3a3a3f; }
.axis__tl { position: absolute; top: 66px; transform: translateX(-50%); font-size: 13px; color: #6e6e73; }
.axis__dot { position: absolute; top: 46px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #5a5a60; left: 0; transition: left 1.1s var(--ease) calc(.2s + var(--i) * .12s); }
.axis__dot.lead { width: 20px; height: 20px; margin-left: -10px; top: 43px; background: linear-gradient(180deg, #ffe066, #f5b400); }
.axis__lbl { position: absolute; top: 0; transform: translateX(-50%); font-size: 15px; color: var(--muted); white-space: nowrap; opacity: 0; transition: opacity .5s calc(.9s + var(--i) * .12s); }
.axis__lbl b { color: var(--text); font-weight: 600; }
.in .axis__lbl { opacity: 1; }

/* gauge + rings */
.gauge { position: relative; margin-top: 18px; text-align: center; }
.gauge svg { width: 100%; max-width: 240px; height: auto; }
.gauge__val { position: absolute; left: 0; right: 0; top: 46%; font-size: 40px; font-weight: 700; letter-spacing: -.03em; }
.gauge__sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.arc { transition: stroke-dashoffset 1.4s var(--ease) .3s; }
.rings { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.rings svg { width: 132px; height: 132px; flex: none; }
.rings__legend { display: flex; flex-direction: column; gap: 10px; }
.rings__legend b { display: block; font-size: 21px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.rings__legend b.lead { color: var(--text); }
.rings__legend span { font-size: 12px; color: var(--muted); }

/* vms */
.vms { display: flex; align-items: center; gap: 12px; height: 90px; }
.vms i { width: 50px; height: 44px; border-radius: 11px; background: linear-gradient(180deg, #b48cff, #7a45f5); transform: skewY(-10deg) scale(.6); opacity: 0; transition: transform .6s var(--ease), opacity .6s; transition-delay: calc(.2s + var(--i, 0) * .14s); }
.vms i.lead { width: 56px; height: 48px; background: linear-gradient(180deg, #b48cff, #7a45f5); }
.in .vms i { transform: skewY(-10deg); opacity: calc(1 - var(--i, 0) * .24); }

/* soak */
.soak { display: flex; align-items: flex-end; gap: 4px; height: 150px; margin-top: 20px; }
.soak i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #5cea94, #14b85a); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease) calc(.15s + var(--i) * .035s); }
.in .soak i { transform: scaleY(1); }

/* memory blocks */
.blocks { display: flex; gap: 22px; margin-top: 18px; align-items: center; }
.blocks__grid { display: grid; grid-template-columns: repeat(8, 15px); gap: 4px; flex: none; }
.blocks__grid i { width: 15px; height: 15px; border-radius: 3px; background: #2c2c30; transform: scale(0); transition: transform .35s var(--ease) calc(var(--i) * 12ms); }
.blocks__grid i.apple { background: #5a5a60; }
.blocks__grid i.kvz { background: linear-gradient(180deg, #5fb0ff, #1f6fff); }
.in .blocks__grid i { transform: scale(1); }
.blocks__legend { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--muted); }
.blocks__legend b { color: var(--text); font-weight: 600; }
.blocks__legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.k-kvz { background: linear-gradient(180deg, #5fb0ff, #1f6fff); }
.k-apple { background: #5a5a60; }
.k-k3s { background: #2c2c30; }

/* ---------------- reveal ---------------- */
.reveal { opacity: 0; transform: translateY(36px) scale(.985); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- runtimes (pinned) ---------------- */
.rt { position: relative; height: 280vh; margin-top: 20px; }
.rt__sticky {
  position: sticky; top: 0; height: 100vh;
  max-width: var(--max); margin: 0 auto; padding: 80px 24px 24px;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center;
}
.rt__lede { margin: 18px 0 30px; font-size: 19px; color: var(--muted); line-height: 1.45; }
.rt__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rt__steps li { position: relative; padding: 14px 0 14px 22px; opacity: .35; transition: opacity .5s; }
.rt__steps li::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 2px; background: #2c2c30; }
.rt__steps li::after { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 2px; background: linear-gradient(180deg, var(--h1), var(--h2)); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }
.rt__steps li.active { opacity: 1; }
.rt__steps li.active::after { transform: scaleY(1); }
.rt__steps p { margin: 6px 0 0; font-size: 16px; line-height: 1.45; color: var(--muted); max-width: 440px; }
.rt__name { display: flex; align-items: baseline; gap: 10px; }
.rt__name code { font-size: 20px; font-weight: 600; color: var(--text); }
.rt__name span { font-size: 12px; color: var(--muted); background: #1f1f22; border-radius: 999px; padding: 2px 9px; }
.rt__visual {
  height: min(560px, 72vh); padding: 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 round var(--r));
  background:
    linear-gradient(rgb(255 255 255 / .08) 1px, transparent 1px) -1px -1px / 28px 28px,
    linear-gradient(90deg, rgb(255 255 255 / .08) 1px, transparent 1px) -1px -1px / 28px 28px,
    var(--tile);
}
.rt__big {
  font-size: clamp(90px, 10vw, 140px); font-weight: 700; letter-spacing: -.045em; line-height: 1; padding: 0 .05em 8px 0;
  background-image: linear-gradient(180deg, var(--h1, #5cea94), var(--h2, #14b85a));
  background-clip: text; -webkit-background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums; width: fit-content;
}
.rt__big.swap { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(16px); } }
.rt__cap { font-size: 21px; font-weight: 500; letter-spacing: -.01em; color: var(--text); margin-top: 6px; }
.rt__term .term__body { font-size: 14px; }
.trow4 { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; transition: opacity .5s, transform .5s var(--ease), color .3s; }
.trow4[data-row] { opacity: 0; transform: translateY(6px); }
.trow4[data-row].on { opacity: .55; transform: none; }
.trow4[data-row].active { opacity: 1; }
.trow4[data-row].active span:nth-child(2) { color: var(--h1); }

/* ---------------- benchmarks ---------------- */
.legend { display: flex; gap: 26px; margin-top: 26px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.legend i { display: inline-block; width: 22px; height: 6px; border-radius: 3px; margin-right: 8px; vertical-align: 2px; }
.k-kvz-rb { background: linear-gradient(90deg, #ff3b5c, #ff8a00, #ffd400, #2ee06d, #2f8cff, #a24bff); }
.k-dash { background: #8a8a90; }

.svgchart { width: 100%; height: auto; margin-top: 18px; overflow: visible; }
.svgchart text { font-family: var(--sf); }
.gridline { stroke: #2c2c30; stroke-width: 1; }
.ax { fill: #6e6e73; font-size: 12px; }
.val { fill: var(--muted); font-size: 13px; font-weight: 600; }
.val.lead { fill: var(--text); }
.series { fill: var(--muted); font-size: 13px; }
.series.lead { fill: var(--text); font-weight: 600; }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .25s; }
.in .draw { stroke-dashoffset: 0; }
.pt { opacity: 0; transition: opacity .4s calc(.4s + var(--i) * .25s); }
.in .pt { opacity: 1; }

.cols { display: flex; gap: 22px; height: 260px; margin-top: 18px; align-items: stretch; }
.col { flex: 1; display: flex; flex-direction: column; text-align: center; min-width: 0; }
.col__track { position: relative; flex: 1; }
.col__bar { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 5px 5px 0 0; background: var(--c); transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--ease) calc(.2s + var(--i) * .12s); }
.in .col__bar { transform: scaleY(1); }
.col__val { position: absolute; left: 0; right: 0; bottom: calc(var(--h) + 8px); font-size: 16px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .5s calc(.8s + var(--i) * .12s); }
.col__val.lead { color: var(--text); }
.in .col__val { opacity: 1; }
.col__name { font-size: 13px; color: var(--muted); padding-top: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.multiples { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.multiples .cols { height: 220px; gap: 12px; }
.multiple__title { margin-top: 12px; font-size: 15px; font-weight: 600; text-align: center; }

.group { margin-top: 22px; }
.group__title { font-size: 14px; font-weight: 600; color: #c7c7cc; margin-bottom: 10px; }
.hbar { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; margin: 7px 0; font-size: 13px; color: var(--muted); }
.hbar__track { position: relative; height: 16px; }
.hbar__bar { height: 100%; width: var(--w); min-width: 6px; border-radius: 0 4px 4px 0; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) calc(.2s + var(--i) * .1s); }
.in .hbar__bar { transform: scaleX(1); }
.hbar__val { position: absolute; top: 50%; left: calc(var(--w) + 10px); transform: translateY(-50%); font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity .5s calc(.9s + var(--i) * .1s); }
.hbar__val.lead { color: var(--text); }
.in .hbar__val { opacity: 1; }

.dotrow { margin-top: 26px; }
.dotrow__head { display: flex; justify-content: space-between; font-size: 15px; color: #c7c7cc; }
.dotrow__head b { color: var(--text); }
.dotrow__track { position: relative; height: 24px; margin-top: 10px; }
.dotrow__track::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: #2c2c30; }
.dotrow__dot { position: absolute; top: 5px; left: 0; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--c); transition: left 1.2s var(--ease) calc(.2s + var(--i) * .1s); }
.dotrow__dot.dash { background: #8a8a90; }
.dotrow__dot.lead { z-index: 1; }

.stats { display: flex; flex-direction: column; gap: 22px; margin-top: 26px; }
.stats div { display: flex; align-items: baseline; gap: 16px; }
.stats b { font-size: 44px; font-weight: 700; letter-spacing: -.03em; min-width: 150px; font-variant-numeric: tabular-nums; }
.stats div > span { font-size: 16px; color: var(--muted); }

/* ---------------- install ---------------- */
.install-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--gap); }
.termtile--full { padding: 36px; min-height: 440px; display: flex; align-items: center; }
.term--free { width: 100%; }
.term--free .term__body { min-height: 290px; }
.tline { min-height: 1.7em; }
.tline:not(.out)::before { content: '~ ❯ '; color: #6e6e73; }
.tline:not(.out):empty::before, .tline.out:empty { display: none; }
.caret { display: inline-block; width: 8px; height: 1.1em; vertical-align: -3px; background: #f5f5f7; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.docs { display: grid; grid-template-rows: repeat(4, 1fr); gap: var(--gap); }
.doc { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 22px 28px; transition: background .2s; }
.doc:hover { background: #1c1c1f; }
.doc b { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.doc b::after { content: ' ›'; color: #5fb0ff; }
.doc span { font-size: 15px; color: var(--muted); }

/* ---------------- footer ---------------- */
.footer { margin-top: 80px; padding: 0 20px 24px; overflow: hidden; }
.footer__art { padding: 20px 4px 40px; display: flex; justify-content: center; }
.footer__art pre {
  margin: 0;
  font: 600 min(13.5px, calc((100vw - 48px) / 63)) / 1.12 var(--mono);
  letter-spacing: 0;
  background-image: linear-gradient(90deg, #ff3b5c, #ff8a00, #ffd400, #2ee06d, #2f8cff, #a24bff, #ff3b5c, #ff8a00, #ffd400, #2ee06d, #2f8cff, #a24bff);
  background-size: 200% 100%;
  background-clip: text; -webkit-background-clip: text; color: transparent;
  animation: flow 14s linear infinite;
  user-select: none;
}
@keyframes flow { to { background-position: -200% 0; } }
.footer__art.reveal { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.footer__inner {
  max-width: 1080px; min-height: 76px; margin: 0 auto; padding: 14px 16px 14px 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  border-radius: 999px; background: #1e1e21;
}
.footer__brand { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 14px; }
.footer__brand img { height: 24px; width: auto; }
.footer__links { display: flex; gap: 6px; font-size: 14px; color: #c7c7cc; }
.footer__links a { height: 42px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 999px; transition: background .2s, color .2s; }
.footer__links a:hover { background: #2c2c30; color: #fff; }
.footer__links a:first-child { background: #2c2c30; color: #f5f5f7; }
.footer__links a:first-child:hover { background: #3a3a3f; }
.footer__links a:hover { color: #fff; }

/* ---------------- responsive ---------------- */
@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__left, .hero__right { align-items: center; text-align: center; }
  .hero__right .hero__lede { margin: 0 auto; }
  .hero__cta { justify-content: center; }
  .span-3, .span-4, .span-5, .span-7 { grid-column: span 6; }
  .install-grid { grid-template-columns: 1fr; }
  .multiples { grid-template-columns: repeat(2, 1fr); }
  .rt { height: auto; }
  .rt__sticky { position: static; height: auto; grid-template-columns: 1fr; }
  .rt__steps li { opacity: 1; }
  .rt__steps li::after { transform: scaleY(1); }
  .trow4[data-row] { opacity: 1; transform: none; }
}
@media (max-width: 720px) {
  .footer__inner { border-radius: 32px; padding: 24px; flex-direction: column; align-items: flex-start; }
  .footer__links { flex-wrap: wrap; margin-left: -12px; }
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: 1fr auto; }
  .bento > * { grid-column: span 12 !important; }
  .hero__stats { gap: 28px; }
  .hero__stats b { font-size: 24px; }
  .install__cmd { font-size: 12px; white-space: nowrap; }
  .install { gap: 10px; padding-left: 16px; }
  .termtile.live-tile { padding: 14px; }
  .live__body { font-size: 10.5px; height: 260px; padding: 6px 12px 14px; }
    .tile { padding: 26px; }
  .blocks { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
