/* Inter 4.1 (SIL OFL, fonts/LICENSE.txt), subset to Latin plus ⌥⌘ and arrows.
   One variable file: weight 100–900 and optical size 14–32 (the Display cut). */
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #1B1320;
  --plum: #241A28;
  --plum-2: #2A1F2F;
  --plum-3: #382A3F;
  --ink: #F6F1F7;
  --muted: #B6A9BB;
  --dim: #9A8DA0;

  /* Type. Inter everywhere on the page; the system font only inside the
     replicas of macOS (window, menu bar, notifications, widget, Spotlight),
     so on a Mac they look exactly like the real thing. */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-sys: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --fs-display: clamp(44px, 8vw, 104px);
  --fs-h2: clamp(32px, 4.6vw, 52px);
  --fs-h2-cap: clamp(28px, 3.2vw, 42px);
  --fs-h3: 21px;
  --fs-lead: clamp(18px, 1.9vw, 20px);
  --fs-body: 16px;
  --fs-ui: 15px;
  --fs-small: 14px;
  --fs-label: 12px;
  --track-display: -.035em;
  --track-h2: -.03em;
  --track-h3: -.015em;
  --track-label: .1em;
  --coral: #F47369;
  --azure: #88DCFF;
  --line: rgba(255, 255, 255, .09);
  --warn: #FF9F0A;
  --crit: #FF453A;
  --ok: #32D74B;
  --win: #1F1E22;
  --track: rgba(255, 255, 255, .10);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--font);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { text-wrap: pretty; }
code {
  font: .86em var(--font-mono);
  background: rgba(255, 255, 255, .08);
  padding: .12em .45em;
  border-radius: 6px;
}
/* Inter draws ⌥ and ⌘, so key caps stay in the page font on every platform. */
kbd {
  font: 600 .84em/1 var(--font);
  letter-spacing: .04em;
  background: rgba(255, 255, 255, .08);
  padding: .22em .5em;
  border-radius: 6px;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .14);
  white-space: nowrap;
}
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
h2 { font-size: var(--fs-h2); line-height: 1.05; letter-spacing: var(--track-h2); margin: 0 0 18px; font-weight: 750; text-wrap: balance; }
.kicker { margin: 0 0 14px; font-size: var(--fs-label); line-height: 1; font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--azure); }
.sub { color: var(--muted); font-size: var(--fs-lead); line-height: 1.55; max-width: 560px; margin: 0 0 18px; }
.fine { color: var(--dim); font-size: var(--fs-small); line-height: 1.5; margin: 18px 0 0; text-wrap: balance; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px max(16px, calc((100% - 1120px) / 2));
  background: rgba(27, 19, 32, .72);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 19px; text-decoration: none; letter-spacing: -.02em; }
.nav nav { display: flex; gap: 24px; align-items: center; font-size: var(--fs-ui); font-weight: 500; color: var(--muted); }
.nav nav a { text-decoration: none; transition: color .15s; }
.nav nav a:hover { color: var(--ink); }
.nav-gh { padding: 6px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); color: var(--ink); }

/* ---------- buttons ---------- */
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 26px; border-radius: 999px; font-size: var(--fs-body); font-weight: 650; letter-spacing: -.005em; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: #2A0F0C; box-shadow: 0 10px 30px -10px rgba(244, 115, 105, .7); }
.btn-primary:hover { background: #FF8278; box-shadow: 0 14px 36px -10px rgba(244, 115, 105, .85); }
.btn-ghost { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); }
.btn-lg { padding: 18px 34px; font-size: 18px; }
.btn svg { flex: none; }

/* The install command: the primary call to action. */
.install-cmd {
  display: flex; align-items: center; gap: 6px;
  width: fit-content; max-width: 100%; margin: 0 auto 16px; padding: 6px 6px 6px 20px;
  border-radius: 999px; background: rgba(36, 26, 40, .85);
  box-shadow: inset 0 0 0 1.5px rgba(244, 115, 105, .55), 0 10px 30px -12px rgba(244, 115, 105, .5);
  backdrop-filter: blur(6px);
}
.install-cmd code {
  min-width: 0; background: none; padding: 0; font-size: 15px; color: var(--ink);
  white-space: nowrap; overflow-x: auto; scrollbar-width: none;
}
.install-cmd .prompt { color: var(--coral); margin-right: .5em; user-select: none; }
.copy {
  flex: none; border: 0; cursor: pointer; padding: 10px 18px; border-radius: 999px;
  font: 650 var(--fs-ui) var(--font); background: var(--coral); color: #2A0F0C;
  transition: background .15s;
}
.copy:hover { background: #FF8278; }
.hero .install-cmd { animation: up .9s var(--ease) .2s both; }
.fine a { color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh; display: grid; place-items: center;
  padding: 120px 0 90px;
  background:
    radial-gradient(60% 50% at 18% 30%, rgba(244, 115, 105, .16), transparent 70%),
    radial-gradient(50% 50% at 85% 70%, rgba(136, 220, 255, .10), transparent 70%);
}
.hero-lanes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hl { fill: none; stroke-width: 120; stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 1.8s var(--ease) .15s forwards; }
.hl-coral { stroke: rgba(244, 115, 105, .13); }
.hl-azure { stroke: rgba(136, 220, 255, .10); animation-delay: .45s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-copy { position: relative; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 26px; padding: 7px 16px 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted); font-weight: 550; font-size: var(--fs-small);
  animation: up .8s var(--ease) both;
}
.pip { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(50, 215, 75, .18); }
h1 {
  font-size: var(--fs-display); line-height: .98; letter-spacing: var(--track-display);
  margin: 0 0 28px; font-weight: 800; text-wrap: balance;
  animation: up .9s var(--ease) .08s both;
}
/* "lane" in a coral-to-peach sweep; the full stop is the azure lane. */
h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--coral) 15%, #FFA48A 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h1 em .dot { color: var(--azure); -webkit-text-fill-color: var(--azure); }
.lede { max-width: 620px; margin: 0 auto 34px; color: var(--muted); font-size: var(--fs-lead); line-height: 1.55; text-wrap: balance; animation: up .9s var(--ease) .16s both; }
.hero .cta { animation: up .9s var(--ease) .24s both; }
.hero .fine { animation: up .9s var(--ease) .3s both; }
@keyframes up { from { opacity: 0; transform: translateY(22px); } }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--coral); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* ---------- story ---------- */
.story { position: relative; height: 560vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; padding-top: 56px; overflow: hidden; }
.stage-inner { width: min(1240px, 100% - 32px); display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: 56px; align-items: center; }

.captions { position: relative; height: 340px; }
.rail { list-style: none; margin: 0 0 30px; padding: 0; display: flex; gap: 6px; }
.rail li { flex: 1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.rail i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--coral); }
.rail li:nth-child(2) i { background: var(--azure); }
.rail li:nth-child(3) i { background: #5CB06B; }
.rail li:nth-child(4) i { background: #9E78D4; }
.cap { position: absolute; top: 40px; left: 0; right: 0; opacity: 0; transform: translateY(18px); transition: opacity .45s, transform .55s var(--ease); pointer-events: none; }
.cap.on { opacity: 1; transform: none; pointer-events: auto; }
.cap h2 { font-size: var(--fs-h2-cap); line-height: 1.06; letter-spacing: -.028em; }
.cap p:not(.kicker) { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 0; }

.desk, .widget, .mbs, .preview .spot, .preview .spot-hit {
  font-family: var(--font-sys);
  font-optical-sizing: auto;
}
.desk {
  position: relative; border-radius: 22px; overflow: hidden;
  background:
    radial-gradient(70% 80% at 10% 0%, rgba(244, 115, 105, .22), transparent 60%),
    radial-gradient(70% 80% at 100% 100%, rgba(136, 220, 255, .16), transparent 60%),
    linear-gradient(160deg, #3A2742, #1F1726);
  box-shadow: 0 0 0 1px var(--line), 0 40px 80px -30px rgba(0, 0, 0, .7);
  opacity: 0; transform: translateY(60px) scale(.97);
  transition: opacity .6s, transform .8s var(--ease);
}
.desk.in { opacity: 1; transform: none; }

.menubar {
  display: flex; align-items: center; gap: 16px; height: 30px; padding: 0 14px;
  background: rgba(20, 14, 24, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 13px; color: rgba(255, 255, 255, .88);
}
.mb-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, .85); }
.mb-menus { color: rgba(255, 255, 255, .7); white-space: nowrap; }
.mb-spacer { flex: 1; }
.mb-clock { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mb-lanes { display: inline-flex; align-items: center; gap: 6px; padding: 2px 7px; border-radius: 5px; font-variant-numeric: tabular-nums; color: #fff; transition: background .2s; }
.mb-lanes b { font-weight: 600; }
.mb-lanes.open { background: rgba(255, 255, 255, .18); }
.mb-lanes.warn { color: var(--warn); }
.mb-lanes.crit { color: var(--crit); }
.gauge { display: inline-grid; gap: 2px; width: 17px; }
.gauge i { position: relative; height: 3.5px; border-radius: 2px; box-shadow: inset 0 0 0 1px currentColor; overflow: hidden; }
.gauge i::after { content: ""; position: absolute; inset: 0; background: currentColor; transform-origin: left; transform: scaleX(var(--g, 0)); }
.gauge i:nth-child(1)::after { --g: var(--g1); }
.gauge i:nth-child(2)::after { --g: var(--g2); }
.gauge i:nth-child(3)::after { --g: var(--g3); }

/* the window */
.win {
  margin: 34px 34px 34px; border-radius: 14px;
  background: var(--win); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -20px rgba(0, 0, 0, .8);
  font-size: 14px; overflow: hidden;
}
.win-bar { display: flex; gap: 8px; padding: 13px 14px 0; }
.win-bar i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; }
.win-bar i:nth-child(2) { background: #FEBC2E; }
.win-bar i:nth-child(3) { background: #28C840; }
.win-head { display: flex; align-items: center; gap: 14px; padding: 10px 22px 16px; border-bottom: 1px solid var(--line); }
.win-head img { border-radius: 10px; }
.wh-text { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.wh-text b { font-size: 20px; letter-spacing: -.01em; }
.wh-text small { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wh-tools { display: flex; gap: 16px; color: var(--muted); }
.wh-tools svg { width: 19px; height: 19px; }
.wh-new { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--coral); color: #2A0F0C; font-weight: 600; font-size: 13px; white-space: nowrap; }
.wh-new svg { width: 11px; height: 11px; }

.rows { padding: 4px 10px; }
.row {
  --c: #888; --ci: #888;
  display: grid; grid-template-columns: 34px 38px minmax(110px, 1.05fr) 1fr 1fr 76px; gap: 16px; align-items: center;
  padding: 13px 12px; border-radius: 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, .09);
  opacity: 0; transform: translateX(-26px);
  transition: opacity .5s, transform .6s var(--ease), background .4s;
}
.row:last-child { border-bottom: 0; }
.row.on { opacity: 1; transform: none; }
.row.most { background: color-mix(in srgb, var(--c) 9%, transparent); }
.num { font-size: 24px; font-weight: 800; color: color-mix(in srgb, var(--c) 75%, #000); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ico {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--ci) 70%, #fff), var(--ci) 55%, color-mix(in srgb, var(--ci) 80%, #000));
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .25), 0 4px 12px -4px color-mix(in srgb, var(--ci) 60%, transparent);
  transition: background .3s;
}
.ico svg { width: 62%; height: 62%; }
.who { min-width: 0; line-height: 1.35; }
.who b { font-size: 16px; }
.badge { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; font-size: 11px; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease); vertical-align: 2px; }
.row.most .badge { opacity: 1; transform: none; }
.who small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; }
.who small i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.row.running .who small { color: var(--ok); }
.row.running .who small i { background: var(--ok); }
.m { min-width: 0; }
.mh { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.mh b { font-size: 16px; letter-spacing: 0; color: var(--ink); font-variant-numeric: tabular-nums; transition: color .3s; }
.bar { position: relative; height: 7px; margin: 5px 0 4px; border-radius: 4px; background: var(--track); }
.fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; min-width: 0; border-radius: 4px; background: var(--c); transition: width .18s linear, background .35s; }
.pace { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; border-radius: 1px; background: rgba(255, 255, 255, .72); left: 0; transition: left .18s linear, opacity .3s; }
.m small { display: block; color: var(--dim); font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.m.warn .fill { background: var(--warn); } .m.warn .mh b { color: var(--warn); }
.m.crit .fill { background: var(--crit); } .m.crit .mh b { color: var(--crit); }
.signin { grid-column: span 2; color: var(--warn); font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.act { justify-self: end; width: 76px; padding: 6px 0; border-radius: 7px; border: 0; font: inherit; font-size: 13px; font-weight: 600; color: #1E1216; background: var(--c); transition: background .2s, box-shadow .3s, transform .2s; }
.row.running .act { background: rgba(255, 255, 255, .09); color: var(--ink); }
.row.pressed .act { transform: scale(.94); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 55%, transparent); }
.win-foot { display: flex; align-items: center; gap: 8px; padding: 10px 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* menu bar panel */
.panel {
  position: absolute; top: 36px; right: 84px; width: 290px; z-index: 3;
  padding: 14px; border-radius: 14px;
  background: rgba(40, 37, 44, .9); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 60px -10px rgba(0, 0, 0, .7);
  font-size: 13px;
  opacity: 0; transform: translateY(-10px) scale(.97); transform-origin: top right;
  transition: opacity .3s, transform .4s var(--ease);
  pointer-events: none;
}
.panel.on { opacity: 1; transform: none; }
.pn-head { display: grid; line-height: 1.3; margin-bottom: 10px; }
.pn-head b { font-size: 16px; }
.pn-head small { color: var(--muted); }
.pn-best {
  --c: #5CB06B;
  display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center;
  padding: 10px; border-radius: 11px; margin-bottom: 8px;
  background: color-mix(in srgb, var(--c) 22%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent);
  transition: background .3s;
}
.pn-best .ico { width: 34px; height: 34px; border-radius: 9px; }
.pn-best small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 70%, #fff); }
.pn-best b { display: block; font-size: 15px; line-height: 1.25; }
.pn-best span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.pn-go { display: grid; justify-items: end; gap: 5px; }
.pn-focus { padding: 3px 10px; border-radius: 6px; background: var(--c); color: #1E1216 !important; font-weight: 600; font-size: 12px !important; }
.pn-go kbd { font-size: 11px; color: var(--muted); transition: transform .15s, background .15s, color .15s; }
.pn-go kbd.down { transform: scale(.88); background: #fff; color: #000; }
.pn-list { display: grid; }
.pn-row { --c: #888; display: grid; grid-template-columns: 3px 1fr 1fr; gap: 6px 10px; padding: 8px 2px; border-top: 1px dashed rgba(255, 255, 255, .09); }
.pn-row > i { grid-row: span 2; border-radius: 2px; background: var(--c); }
.pn-row > b { grid-column: span 2; font-size: 13px; }
.pn-row .m small { display: none; }
.pn-row .mh { font-size: 10.5px; letter-spacing: .06em; }
.pn-row .mh b { font-size: 12px; }
.pn-row .bar { height: 5px; margin: 3px 0 0; }

/* notifications */
.toast {
  position: absolute; top: 40px; right: 12px; z-index: 4; width: 320px; max-width: calc(100% - 24px);
  display: grid; grid-template-columns: 34px 1fr auto; gap: 11px; align-items: center;
  padding: 12px 14px; border-radius: 16px;
  background: rgba(52, 48, 56, .88); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 20px 40px -10px rgba(0, 0, 0, .6);
  font-size: 13px; line-height: 1.35;
  opacity: 0; transform: translateX(calc(100% + 24px));
  transition: opacity .35s, transform .55s var(--ease);
}
.toast.on { opacity: 1; transform: none; }
.toast img { border-radius: 8px; }
.toast b { display: block; }
.toast span { color: rgba(255, 255, 255, .75); }
.toast small { align-self: start; color: var(--dim); }

/* ---------- sections ---------- */
.band { position: relative; padding: 130px 0; }
.band.alt { background: var(--plum); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

/* new lane */
.maker { display: grid; gap: 22px; margin-top: 34px; max-width: 460px; }
.field { display: grid; gap: 8px; }
.field span { font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--dim); }
.field input {
  font: inherit; font-size: 22px; font-weight: 650; letter-spacing: -.015em; color: var(--ink);
  padding: 14px 18px; border-radius: 14px; border: 0; outline: 0;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow .2s;
}
.field input:focus { box-shadow: inset 0 0 0 2px var(--sel, var(--coral)); }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.sw { width: 38px; height: 38px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--ci); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); transition: transform .15s, box-shadow .2s; }
.sw:hover { transform: scale(1.1); }
.sw[aria-checked="true"] { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--ci); }
.sw:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.preview {
  --ci: #D46B9E;
  position: relative; display: grid; justify-items: center; gap: 22px; padding: 34px 26px 30px; border-radius: 26px;
  background:
    radial-gradient(80% 60% at 50% 45%, color-mix(in srgb, var(--ci) 26%, transparent), transparent 70%),
    linear-gradient(160deg, #3A2742, #1F1726);
  box-shadow: 0 0 0 1px var(--line);
  transition: background .4s;
}
.spot, .spot-hit { width: 100%; max-width: 420px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(40, 37, 44, .85); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.spot { color: var(--muted); font-size: 20px; }
.spot svg { width: 22px; height: 22px; flex: none; }
.spot-q { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot-hit { margin-top: -16px; border-radius: 0 0 14px 14px; background: color-mix(in srgb, var(--ci) 45%, #2a272e); box-shadow: none; }
.spot-hit .ico { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.spot-hit b { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot-hit small { color: rgba(255, 255, 255, .7); }
.big { padding: 18px 0 6px; }
.ico-xl { width: 150px; height: 150px; border-radius: 36px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 30px 60px -16px color-mix(in srgb, var(--ci) 80%, transparent); }
.ico-xl.pop { animation: pop .5s var(--ease); }
@keyframes pop { 40% { transform: scale(1.08) rotate(-3deg); } }
.dock { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 20px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.dock .ico { width: 46px; height: 46px; border-radius: 12px; }
.dock-sep { width: 1px; align-self: stretch; background: rgba(255, 255, 255, .2); }
.dock-new { position: relative; }
.dock-new::after { content: ""; position: absolute; bottom: -7px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: rgba(255, 255, 255, .8); }
.dock-new.bounce { animation: bounce .7s var(--ease); }
@keyframes bounce { 30% { transform: translateY(-16px); } 55% { transform: translateY(0); } 72% { transform: translateY(-6px); } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 50px; }
.tile { grid-column: span 3; display: flex; flex-direction: column; padding: 26px; border-radius: 22px; background: var(--plum-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.t-cli { grid-column: span 4; }
.t-privacy { grid-column: span 2; background: linear-gradient(160deg, rgba(244, 115, 105, .18), rgba(136, 220, 255, .08)), var(--plum-2); }
.tile h3 { margin: 0 0 8px; font-size: var(--fs-h3); line-height: 1.25; font-weight: 700; letter-spacing: var(--track-h3); text-wrap: balance; }
.tile p { margin: 0; color: var(--muted); font-size: var(--fs-body); }
.tile-art { display: grid; place-items: center; min-height: 170px; margin: -6px -6px 22px; border-radius: 14px; background: rgba(0, 0, 0, .18); }
.mbs { display: flex; gap: 8px; padding: 9px 14px; border-radius: 10px; background: rgba(20, 14, 24, .7); font-size: 22px; }
.mbs .gauge { width: 26px; gap: 3px; }
.mbs .gauge i { height: 5px; border-radius: 3px; }
.widget { width: min(300px, 90%); display: grid; gap: 12px; padding: 18px; border-radius: 22px; background: #2B2830; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 20px 40px -16px rgba(0, 0, 0, .7); }
.wg-row { display: grid; grid-template-columns: 8px 64px 1fr 52px; gap: 10px; align-items: center; font-size: 13px; }
.wg-row > i { width: 8px; height: 8px; border-radius: 50%; background: var(--ci); }
.wg-row small { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.wg-bar { height: 6px; border-radius: 3px; background: var(--track); overflow: hidden; }
.wg-bar span { display: block; height: 100%; border-radius: 3px; background: var(--ci); }
.term { width: 100%; margin: 0; padding: 22px 24px; font: 14px/1.75 ui-monospace, "SF Mono", Menlo, monospace; color: #E9E3EC; white-space: pre-wrap; word-break: break-word; }
.term .p { color: var(--coral); }
.term .o { color: var(--azure); }
.caret { display: inline-block; width: 8px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--ink); animation: blink 1.1s steps(1) infinite; }
.big-num { margin-top: auto !important; padding-top: 28px; font-size: 52px !important; font-weight: 800; letter-spacing: -.035em; color: var(--ink) !important; line-height: 1; font-variant-numeric: tabular-nums; }
.big-num small { display: block; margin-top: 10px; font-size: var(--fs-small); font-weight: 400; letter-spacing: 0; color: var(--muted); line-height: 1.5; text-wrap: pretty; }
.extras { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.extras li { padding: 20px 22px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: var(--fs-small); line-height: 1.55; text-wrap: pretty; }
.extras b { color: var(--ink); }

/* finale */
.finale { overflow: hidden; text-align: center; padding: 150px 0 140px; }
.finale-lanes { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .22; }
.finale-lanes path { fill: none; stroke-width: 26; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2s var(--ease); }
.finale.in .finale-lanes path { stroke-dashoffset: 0; }
.finale.in .finale-lanes path:nth-child(2) { transition-delay: .12s; }
.finale.in .finale-lanes path:nth-child(3) { transition-delay: .24s; }
.finale.in .finale-lanes path:nth-child(4) { transition-delay: .36s; }
.finale-copy { position: relative; }
.finale h2 { font-size: clamp(40px, 7vw, 84px); font-weight: 800; letter-spacing: var(--track-display); line-height: 1; }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px auto 46px; padding: 0; max-width: 980px; text-align: left; }
.steps li { counter-increment: s; padding: 22px; border-radius: 18px; background: rgba(36, 26, 40, .8); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-body); line-height: 1.55; color: var(--muted); backdrop-filter: blur(6px); text-wrap: pretty; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 10px; background: var(--coral); color: #2A0F0C; font-weight: 750; font-variant-numeric: tabular-nums; }
.steps b { color: var(--ink); }

footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--dim); font-size: var(--fs-small); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot .brand { font-size: 17px; color: var(--ink); }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* ---------- changelog page ---------- */
/* Releases hang off one lane line, newest first; the latest wears coral. */
.changelog { width: min(760px, 100% - 32px); padding: 132px 0 96px; }
.changelog h1 { font-size: var(--fs-h2); line-height: 1.05; letter-spacing: var(--track-h2); margin: 0 0 16px; font-weight: 750; text-wrap: balance; animation: none; }
.changelog .sub { margin-bottom: 56px; }
.changelog .sub b { color: var(--ink); font-weight: 600; }
.release { position: relative; padding: 0 0 52px 34px; border-left: 2px solid var(--line); margin-left: 6px; scroll-margin-top: 90px; }
.release:last-of-type { border-left-color: transparent; padding-bottom: 0; }
.release::before { content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2.5px var(--azure); }
.release:first-of-type::before { background: var(--coral); box-shadow: 0 0 0 5px rgba(244, 115, 105, .18); }
.rel-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--dim); font-size: var(--fs-small); line-height: 1; }
.rel-version { font: 650 15px/1 var(--font-mono); color: var(--ink); text-decoration: none; }
.rel-version:hover { color: var(--azure); }
.rel-latest { padding: 4px 8px; border-radius: 999px; background: rgba(50, 215, 75, .14); color: var(--ok); font-size: var(--fs-label); font-weight: 650; letter-spacing: .02em; }
.rel-head time::before { content: "·"; margin-right: 10px; }
.release h2 { font-size: clamp(24px, 3vw, 30px); letter-spacing: var(--track-h3); margin: 12px 0 14px; }
.rel-body { color: var(--muted); }
.rel-body p { margin: 0 0 14px; }
.rel-body ul { margin: 0 0 14px; padding-left: 20px; }
.rel-body li { margin-bottom: 8px; padding-left: 4px; }
.rel-body li::marker { color: var(--dim); }
.rel-body b { color: var(--ink); font-weight: 600; }
.rel-body a, .rel-link { color: var(--azure); text-decoration: none; }
.rel-body a:hover, .rel-link:hover { text-decoration: underline; }
.rel-link { font-size: var(--fs-small); font-weight: 550; }
.nav nav a[aria-current="page"] { color: var(--ink); }

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

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .stage-inner { grid-template-columns: 1fr; gap: 14px; align-content: center; }
  .captions { height: 180px; }
  .rail { margin-bottom: 0; max-width: 360px; }
  .cap { top: 22px; }
  .cap h2 { font-size: 27px; margin-bottom: 8px; }
  .cap p:not(.kicker) { font-size: var(--fs-small); line-height: 1.55; }
  .cap .kicker { display: none; }
  .desk { max-width: 760px; width: 100%; justify-self: center; }
}
@media (max-width: 720px) {
  :root { --track-display: -.025em; --track-h2: -.022em; }
  .br-wide { display: none; }
  .nav nav a:not(.nav-gh) { display: none; }
  .band { padding: 90px 0; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .bento { grid-template-columns: 1fr; }
  .tile, .t-cli, .t-privacy { grid-column: auto; }
  .extras, .steps { grid-template-columns: 1fr; }
  .captions { height: 196px; }
  .mb-menus, .mb-app, .wh-tools { display: none; }
  .win { margin: 16px 10px 12px; font-size: 13px; }
  .win-head { padding: 6px 14px 12px; gap: 10px; }
  .win-head img { width: 32px; height: 32px; }
  .wh-text b { font-size: 17px; }
  .wh-new { padding: 6px 10px; font-size: 12px; }
  .rows { padding: 2px 4px; }
  .row { grid-template-columns: 22px 30px minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 10px 8px; }
  .row .mw, .row .act { display: none; }
  .signin { grid-column: span 1; font-size: 12px; }
  .num { font-size: 17px; }
  .row .ico { width: 30px; height: 30px; border-radius: 8px; }
  .who b { font-size: 14.5px; }
  .badge { display: none; }
  .who small { font-size: 11.5px; }
  .who .note { display: none; }
  .panel { right: 8px; width: 260px; }
  .toast { right: 8px; }
  .win-foot { padding: 8px 14px; }
}
@media (max-height: 760px) and (min-width: 1041px) {
  .win { margin: 22px 26px 24px; }
  .row { padding: 9px 12px; }
  .win-head { padding-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .hl { stroke-dashoffset: 0; }
  .finale-lanes path { stroke-dashoffset: 0; }
}
