/* Vitals: the page is an instrument. A heartbeat runs through the hero and follows the load of the
   simulated Mac next to it; the page takes the colour of that Mac's state like the app's window does. */
:root {
  --bg: #07090d;
  --bg-2: #0c1016;
  --txt: #eef2f6;
  --mut: #a3adba;
  --faint: #66717f;
  --line: rgba(255, 255, 255, .08);

  /* One hue per vital sign, the same as in the app. */
  --cpu: #4fe3a6;
  --mem: #62b4ff;
  --disk: #b7a0ff;
  --net: #ffc253;
  --pow: #ff82b0;
  --warn: #ffa23e;
  --alert: #ff6b62;
  --state: #4fe3a6;
  --brand: linear-gradient(120deg, #4fe3a6 0%, #7ce6d0 45%, #62b4ff 100%);

  --body: 'Geist', -apple-system, system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --sys: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  --round: ui-rounded, 'SF Pro Rounded', -apple-system, 'Geist', system-ui, sans-serif;
  --out: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); color: var(--txt); -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.6 var(--body); background: var(--bg); overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--mem); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }
.label { color: var(--faint); text-transform: uppercase; letter-spacing: .14em; margin: 0 0 18px; }
/* Accent words light up as a dot matrix, the readout of an instrument. The full stop is left out of the
   font's range on purpose: Doto draws it as a small cross, so it comes from the body face instead. */
@font-face {
  font-family: 'Doto'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(assets/doto.woff2) format('woff2');
  unicode-range: U+0020-002D, U+002F-007E, U+00A0-00FF, U+2010-2027;
}
h1 em, h2 em {
  font-family: 'Doto', var(--body); font-style: normal; font-weight: 900; font-variation-settings: 'ROND' 100; letter-spacing: -.07em; word-spacing: -.22em;
  background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0 .06em .16em 0;
  /* The dots glow like LEDs; without it the thin matrix looks faint next to the white headline. */
  filter: drop-shadow(0 0 .16em rgba(79, 227, 166, .5));
}
.big { font: 500 clamp(36px, 5.4vw, 72px)/1.02 var(--body); letter-spacing: -.035em; margin: 0 0 22px; }
.say { color: var(--mut); max-width: 62ch; margin: 0; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--out), transform .9s var(--out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

section { position: relative; }
.rewind, .state, .fold, .barsec, .priv, .faq { padding: clamp(80px, 12vh, 150px) var(--gut); max-width: 1320px; margin: 0 auto; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--gut); background: rgba(7, 9, 13, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line);
  transform: translateY(-110%); transition: transform .45s var(--out);
}
.top.show { transform: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 16px var(--body); letter-spacing: -.01em; }
.top-nav { display: flex; gap: 4px; }
.top-nav a { padding: 7px 12px; border-radius: 8px; font-size: 14px; color: var(--mut); text-decoration: none; }
.top-nav a:hover { color: var(--txt); background: rgba(255, 255, 255, .06); }
.top-nav .top-cta { color: #04130d; background: var(--brand); font-weight: 600; }
@media (max-width: 760px) { .top-nav a:not(.top-cta) { display: none; } }

.crumb { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.crumb__back { display: inline-flex; align-items: center; gap: 2px; font: 500 14px/1 var(--body); color: inherit; opacity: .62; text-decoration: none; white-space: nowrap; transition: opacity .2s; }
.crumb__back:hover, .crumb__back:focus-visible { opacity: 1; }
.crumb__back svg { width: 16px; height: 16px; margin-left: -3px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: translate .2s; }
.crumb__back:hover svg { translate: -2px 0; }
.crumb__sep { opacity: .3; font-weight: 300; }
.crumb--hero { margin-bottom: 26px; }

/* ---------- fake macOS menu bar ---------- */
.menubar {
  position: relative; z-index: 3; display: flex; align-items: center; gap: 18px; height: 28px; padding: 0 14px; font: 500 13px/1 var(--sys); color: #fff;
  background: rgba(14, 18, 24, .5); backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .07);
}
.menubar b { font-weight: 700; }
.mb-apple { width: 13px; height: 15px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.4 12.6c0-2.4 2-3.6 2.1-3.7-1.1-1.7-2.9-1.9-3.5-1.9-1.5-.2-2.9.9-3.7.9-.8 0-1.9-.9-3.2-.8-1.6 0-3.1 1-4 2.4-1.7 3-.4 7.4 1.2 9.8.8 1.2 1.8 2.5 3 2.4 1.2 0 1.7-.8 3.1-.8 1.5 0 1.9.8 3.2.8 1.3 0 2.2-1.2 3-2.4.9-1.4 1.3-2.7 1.3-2.8 0 0-2.5-1-2.5-3.9zM14 5.4c.7-.8 1.1-1.9 1-3-1 0-2.1.7-2.8 1.5-.6.7-1.2 1.8-1 2.9 1.1.1 2.1-.6 2.8-1.4z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.4 12.6c0-2.4 2-3.6 2.1-3.7-1.1-1.7-2.9-1.9-3.5-1.9-1.5-.2-2.9.9-3.7.9-.8 0-1.9-.9-3.2-.8-1.6 0-3.1 1-4 2.4-1.7 3-.4 7.4 1.2 9.8.8 1.2 1.8 2.5 3 2.4 1.2 0 1.7-.8 3.1-.8 1.5 0 1.9.8 3.2.8 1.3 0 2.2-1.2 3-2.4.9-1.4 1.3-2.7 1.3-2.8 0 0-2.5-1-2.5-3.9zM14 5.4c.7-.8 1.1-1.9 1-3-1 0-2.1.7-2.8 1.5-.6.7-1.2 1.8-1 2.9 1.1.1 2.1-.6 2.8-1.4z'/%3E%3C/svg%3E") center/contain no-repeat; }
.mb-dim { font-weight: 400; opacity: .92; }
.mb-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.mb-vitals { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 7px; margin: 0 -7px; border: 0; border-radius: 5px; background: none; font: 500 13px/1 var(--sys); font-variant-numeric: tabular-nums; color: #fff; white-space: nowrap; }
button.mb-vitals { cursor: pointer; transition: background .2s; }
button.mb-vitals:hover { background: rgba(255, 255, 255, .1); }
button.mb-vitals.is-open { background: rgba(255, 255, 255, .2); }
.mb-vitals svg { width: 19px; height: 16px; flex: none; }
.mb-sys { display: flex; gap: 14px; }
.mb-sys i { width: 16px; height: 11px; border: 1.4px solid currentColor; border-radius: 3px; opacity: .9; }
.mb-sys i:first-child { width: 15px; border: 0; border-radius: 0; background: currentColor; -webkit-mask: radial-gradient(circle at 50% 100%, #000 18%, transparent 19%, transparent 38%, #000 39%, #000 52%, transparent 53%, transparent 70%, #000 71%, #000 84%, transparent 85%) top/100% 200%; mask: radial-gradient(circle at 50% 100%, #000 18%, transparent 19%, transparent 38%, #000 39%, #000 52%, transparent 53%, transparent 70%, #000 71%, #000 84%, transparent 85%) top/100% 200%; }
.mb-clock { white-space: nowrap; }
@media (max-width: 760px) { .menubar .mb-dim, .menubar .mb-sys { display: none; } .menubar { gap: 12px; } }
@media (max-width: 420px) { .menubar > b { display: none; } }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #0a0e14 0%, var(--bg) 70%); }
.hero-grid {
  position: absolute; inset: 0; z-index: -3; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .034) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .034) 1px, transparent 1px);
  background-size: 34px 34px; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 15%, transparent 78%); mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 15%, transparent 78%);
}
/* The glow takes the colour of the simulated Mac's state. */
.hero-aura {
  position: absolute; inset: -20% -10% auto; height: 90%; z-index: -2; pointer-events: none; opacity: .5;
  background: radial-gradient(60% 60% at 22% 30%, var(--state), transparent 70%), radial-gradient(40% 50% at 84% 18%, var(--state), transparent 70%);
  filter: blur(60px) saturate(1.2); transition: background 1.2s linear;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); mask-image: linear-gradient(180deg, #000 30%, transparent);
}
.hero-aura { opacity: .2; }
.ecg { position: absolute; left: 0; bottom: 0; width: 100%; height: clamp(110px, 17vh, 170px); z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

.hero-in { flex: 1; display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 6vw, 96px); align-items: start; padding: clamp(30px, 5vh, 64px) var(--gut) clamp(120px, 18vh, 180px); max-width: 1320px; width: 100%; margin: 0 auto; }
.hero-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 600 20px var(--body); }
.hero-brand img { border-radius: 10px; filter: drop-shadow(0 6px 18px rgba(79, 227, 166, .3)); }
.kicker { color: rgba(255, 255, 255, .66); text-transform: uppercase; letter-spacing: .14em; margin: 0 0 14px; }
.hero h1 { font: 500 clamp(48px, 7.2vw, 104px)/.95 var(--body); letter-spacing: -.045em; margin: 0 0 24px; }
.lede { font-size: clamp(17px, 1.4vw, 20px); color: rgba(255, 255, 255, .8); max-width: 54ch; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 12px; font: 600 15px var(--body); text-decoration: none; transition: transform .2s var(--out), background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-main { color: #04130d; background: var(--brand); box-shadow: 0 10px 34px rgba(79, 227, 166, .28); }
.btn-ghost { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* The four ways to make the simulated Mac work. */
.stress { max-width: 620px; }
.stress__label { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .72); margin: 0 0 12px; }
.pulse { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--state); box-shadow: 0 0 0 0 var(--state); animation: ring 1.6s infinite; transition: background 1s; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--state) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
.stress__btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stress__btns button {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 11px 14px; text-align: left; cursor: pointer;
  border: 0; border-radius: 12px; background: rgba(255, 255, 255, .055); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .11);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .2s, transform .2s var(--out), box-shadow .2s;
}
.stress__btns button:hover { background: rgba(255, 255, 255, .09); transform: translateY(-1px); }
.stress__btns b { font: 600 14.5px var(--body); }
.stress__btns span { font: 400 12.5px var(--body); color: var(--mut); }
/* While a load runs, a bar drains across its button. */
.stress__btns button::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--state); transform-origin: left; transform: scaleX(0); }
.stress__btns button.is-on { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--state) 65%, transparent); background: color-mix(in srgb, var(--state) 9%, rgba(255, 255, 255, .05)); }
.stress__btns button.is-on::after { animation: drain var(--dur, 30s) linear forwards; }
@keyframes drain { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.coach { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .6); }

.pop-wrap { position: relative; margin-top: -34px; transform-origin: top right; transition: transform .35s var(--out), opacity .25s; }
/* Closed from the menu bar icon, the way the real window goes away. */
.pop-wrap.closed { transform: scale(.94) translateY(-10px); opacity: 0; pointer-events: none; }
.pop-wrap::before { content: ''; position: absolute; inset: 6% -24% -8%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--state) 22%, transparent), transparent); filter: blur(34px); transition: background 1.2s; }

@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; padding-bottom: 60px; }
  .pop-wrap { margin: 8px auto 0; }
  .hero-in { padding-bottom: 150px; }
}
@media (max-width: 620px) { .stress__btns { grid-template-columns: repeat(2, 1fr); } }

/* ---------- the rebuilt Vitals window ---------- */
.pop {
  --pc: var(--cpu);
  position: relative; width: 340px; max-width: calc(100vw - 20px); border-radius: 13px; overflow: hidden; font-family: var(--sys); color: #fff;
  background: rgba(27, 30, 35, .74); backdrop-filter: blur(36px) saturate(1.7); -webkit-backdrop-filter: blur(36px) saturate(1.7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13), 0 0 0 .5px rgba(0, 0, 0, .7), 0 34px 90px rgba(0, 0, 0, .6);
  -webkit-user-select: none; user-select: none; text-align: left;
}
.pop::before { content: ''; position: absolute; inset: 0 0 auto; height: 210px; pointer-events: none; opacity: .34; transition: background .8s linear;
  background: radial-gradient(250px 250px at 12% 0, var(--pc), color-mix(in srgb, var(--pc) 40%, transparent) 45%, transparent 100%); }
.pop > * { position: relative; }
.v-head { padding: 15px 16px 10px; }
.v-head__a { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.v-title { font: 300 30px/1.2 var(--round); letter-spacing: -.01em; white-space: nowrap; }
.v-dot { flex: none; width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--pc) 65%, transparent) 15%, color-mix(in srgb, var(--pc) 12%, transparent) 70%); display: grid; place-items: center; }
.v-dot::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--pc); transition: background .6s; }
.v-head__b { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 1px; font: 500 12px/1.3 var(--sys); color: rgba(255, 255, 255, .6); }
.v-reason { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-up { flex: none; font-size: 11.5px; color: rgba(255, 255, 255, .36); }

.v-rail { position: relative; display: flex; justify-content: space-between; align-items: center; height: 18px; margin: 0 16px 2px; font: 500 11px/1 var(--sys); color: rgba(255, 255, 255, .56); }
.v-rail button { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.v-rail button:hover { color: #fff; }
.v-rail button svg { width: 7px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.v-rail > span { color: rgba(255, 255, 255, .34); }
.v-tag { position: absolute; top: 2px; left: 0; display: none; font-weight: 600; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pop.is-scrub .v-rail > button, .pop.is-scrub .v-rail > span { visibility: hidden; }
.pop.is-scrub .v-tag { display: block; }

.v-row { position: relative; padding: 10px 16px 9px; }
.v-row__top { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; cursor: pointer; }
.v-row__top::before { content: ''; position: absolute; inset: -8px -10px -4px; border-radius: 9px; background: rgba(255, 255, 255, 0); transition: background .15s; }
.v-row__top:hover::before { background: rgba(255, 255, 255, .05); }
.v-row__l { position: relative; min-width: 0; flex: 1; }
.v-name { display: flex; align-items: center; gap: 5px; font: 600 13px/16px var(--sys); }
.v-name svg { width: 8px; height: 8px; fill: none; stroke: rgba(255, 255, 255, .4); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .15s, rotate .25s var(--out); }
.v-row__top:hover .v-name svg, .v-row.is-open .v-name svg { opacity: 1; }
.v-row.is-open .v-name svg { rotate: 90deg; }
.v-remark { display: flex; align-items: center; gap: 6px; height: 15px; margin-top: 2px; font: 400 11.5px/15px var(--sys); color: rgba(255, 255, 255, .58); white-space: nowrap; font-variant-numeric: tabular-nums; }
.v-remark.is-warn { color: var(--warn); font-weight: 500; }
.v-remark > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.v-read { position: relative; flex: none; display: flex; align-items: baseline; gap: 3px; font: 300 27px/32px var(--round); font-variant-numeric: tabular-nums; }
.v-read small, .v-pair small { font: 500 12px/1 var(--sys); color: rgba(255, 255, 255, .58); }
.v-read.is-warn .roll { color: var(--warn); }
.v-pair { position: relative; flex: none; display: grid; grid-template-columns: auto auto auto; column-gap: 4px; align-items: baseline; justify-items: end; margin-top: -3px; font: 300 17.5px/19.5px var(--round); font-variant-numeric: tabular-nums; }
.v-pair small { font-size: 11px; justify-self: start; }
.v-pair i { font: 700 10px/1 var(--sys); color: rgba(255, 255, 255, .55); font-style: normal; }

/* Digits roll like a counter, the way they do in the app. */
.roll { display: inline-flex; overflow: hidden; }
.roll > span { position: relative; display: inline-block; }
.roll .in { display: inline-block; animation: roll-in .42s var(--out); }
.roll .out { position: absolute; left: 0; top: 0; animation: roll-out .42s var(--out) forwards; }
@keyframes roll-in { from { transform: translateY(100%); opacity: 0; } }
@keyframes roll-out { to { transform: translateY(-100%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .roll .in, .roll .out { animation: none; } .roll .out { display: none; } }

.v-cores { margin-left: auto; display: flex; gap: 5px; }
.v-cores span { display: flex; gap: 2px; }
.v-cores i { position: relative; width: 4px; height: 13px; border-radius: 1.5px; background: rgba(255, 255, 255, .11); overflow: hidden; }
.v-cores i::after, .v-bigcores i::after { content: ''; position: absolute; inset: auto 0 0; height: var(--h, 6%); background: var(--cpu); transition: height .45s var(--out), background .3s; }
.v-cores i.is-hot::after, .v-bigcores i.is-hot::after { background: var(--warn); }

.v-trace { position: relative; height: 34px; margin-top: 7px; cursor: crosshair; touch-action: pan-y; }
.v-trace svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.v-trace path { vector-effect: non-scaling-stroke; }
.v-trace::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: rgba(255, 255, 255, .1); }
.v-trace.is-mid::after { bottom: 50%; }
.v-cur { position: absolute; top: -3px; bottom: -3px; width: 1px; background: rgba(255, 255, 255, .5); display: none; pointer-events: none; }
.v-mark { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; pointer-events: none; transition: top .45s var(--out);
  background: radial-gradient(circle, var(--c) 0 2.5px, color-mix(in srgb, var(--c) 45%, transparent) 3px, transparent 7px); }
.pop.is-scrub .v-cur { display: block; }
.pop.is-scrub .v-mark { transition: none; width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--c); box-shadow: 0 0 0 1.5px rgba(27, 30, 35, .9); }

.v-vols { padding: 0 8px 6px; margin-top: -2px; }
.v-vol { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 7px; }
.v-vol:hover { background: rgba(255, 255, 255, .045); }
.v-vol > svg { flex: none; width: 20px; height: 14px; fill: rgba(255, 255, 255, .55); }
.v-vol__m { flex: 1; min-width: 0; }
.v-vol__t { display: flex; justify-content: space-between; gap: 6px; font: 500 12px/1.3 var(--sys); }
.v-vol__t span { font: 400 11px/1.4 var(--sys); color: rgba(255, 255, 255, .58); white-space: nowrap; font-variant-numeric: tabular-nums; }
.v-vol__b { height: 2.5px; margin-top: 4px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.v-vol__b i { display: block; height: 100%; border-radius: 2px; background: var(--disk); }
.v-vol__e { flex: none; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; }
.v-vol__e svg { width: 10px; height: 10px; fill: rgba(255, 255, 255, .55); }

.v-detail { display: none; padding: 4px 16px 12px; }
.v-row.is-open + .v-detail { display: block; animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.v-bigcores { display: flex; gap: 14px; margin-bottom: 12px; }
.v-bigcores div { display: flex; gap: 3px; flex-wrap: wrap; }
.v-bigcores div::after { content: attr(data-label); flex-basis: 100%; margin-top: 2px; font: 500 10.5px/1.3 var(--sys); color: rgba(255, 255, 255, .58); }
.v-bigcores i { position: relative; flex: 1; min-width: 20px; height: 30px; border-radius: 3px; background: rgba(255, 255, 255, .11); overflow: hidden; }
.v-bigcores div:first-child { flex: 4; }
.v-bigcores div:last-child { flex: 6; }
.v-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; margin: 0; font: 400 11.5px/1.4 var(--sys); }
.v-facts div { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.v-facts dt { display: flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .58); white-space: nowrap; }
.v-facts dt i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.v-facts dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.v-cap { margin: 12px 0 5px; font: 600 11px/1.3 var(--sys); color: rgba(255, 255, 255, .58); }
.v-apps { list-style: none; margin: 0; padding: 0; }
.v-apps li { display: flex; align-items: center; gap: 8px; height: 23px; font: 400 12px/1 var(--sys); }
.v-apps li > b { font-weight: 400; }
.v-apps li > small { font: 500 10px/1 var(--sys); color: rgba(255, 255, 255, .34); }
.v-apps li > u { margin-left: auto; width: 54px; display: flex; justify-content: flex-end; text-decoration: none; }
.v-apps li > u::after { content: ''; width: var(--w, 4%); min-width: 2px; height: 3px; border-radius: 2px; background: var(--c); opacity: .78; transition: width .45s var(--out); }
.v-apps li > em { width: 58px; text-align: right; font: 500 11.5px/1 var(--sys); font-style: normal; background: none; color: #fff; padding: 0; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.app-tile { flex: none; width: 16px; height: 16px; }
/* Processes without an app icon get the gear the app shows for them. */
i.app-tile { border-radius: 4.5px; display: grid; place-items: center; font: 700 9px/1 var(--sys); font-style: normal; color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .12); }

/* One vital sign showing its details: the others step back to a single line. */
.pop[data-open] .v-row:not(.is-open) .v-trace, .pop[data-open] .v-vols { display: none; }
.pop[data-open] .v-row:not(.is-open), .pop[data-open] .v-detail { box-shadow: inset 0 -1px 0 -0px rgba(255, 255, 255, 0); }
.pop[data-open] .v-row:not(.is-open)::after, .pop[data-open] .v-row.is-open + .v-detail::after { content: ''; position: absolute; inset: auto 16px 0; height: 1px; background: rgba(255, 255, 255, .1); }
.pop[data-open] .v-row.is-open + .v-detail { position: relative; }
.v-foot { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; font: 500 13px/1.3 var(--sys); color: rgba(255, 255, 255, .58); }
.v-foot svg { width: 15px; height: 13px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; }

/* ---------- time travel ---------- */
.rewind-head { margin-bottom: clamp(36px, 6vh, 64px); }
.case { display: grid; grid-template-columns: minmax(250px, 330px) 1fr; gap: clamp(20px, 3vw, 44px); align-items: start; }
.case__task { margin: 0 0 20px; color: var(--mut); }
.case__task b { color: var(--txt); }
.case__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.case__list li { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--line); transition: background .4s, box-shadow .4s; }
.case__list i { grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--faint); display: grid; place-items: center; transition: background .4s, box-shadow .4s; }
.case__list i::after { content: ''; width: 9px; height: 5px; margin-top: -2px; border: solid #04130d; border-width: 0 0 2px 2px; rotate: -45deg; opacity: 0; }
.case__list span { font: 500 16px/1.3 var(--body); }
.case__list em { font: 400 14px/1.45 var(--body); font-style: normal; background: none; color: var(--faint); padding: 0; letter-spacing: 0; }
.case__list li.is-found { background: color-mix(in srgb, var(--c) 9%, rgba(255, 255, 255, .03)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent); }
.case__list li.is-found i { background: var(--c); box-shadow: none; }
.case__list li.is-found i::after { opacity: 1; }
.case__list li.is-found em { color: var(--txt); }
.case__list li[data-case="cpu"] { --c: var(--cpu); }
.case__list li[data-case="net"] { --c: var(--net); }
.case__list li[data-case="mem"] { --c: var(--mem); }
.case__done { margin: 16px 0 0; color: var(--faint); }

.strip { position: relative; padding: 16px 18px 18px; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); box-shadow: inset 0 0 0 1px var(--line); }
.strip__rail { position: relative; display: flex; justify-content: space-between; height: 22px; color: var(--faint); }
.strip__tag { position: absolute; top: -2px; left: var(--x, 50%); translate: -50% 0; padding: 4px 9px; border-radius: 7px; background: #fff; color: #06090d; font: 600 11px/1.3 var(--mono); white-space: nowrap; opacity: 0; transition: opacity .2s; }
.strip.is-live .strip__tag { opacity: 1; }
.strip.is-live .strip__rail > span { opacity: 0; }
.strip__charts { position: relative; cursor: crosshair; touch-action: pan-y; }
.lane { position: relative; height: clamp(64px, 9vh, 92px); box-shadow: inset 0 -1px 0 var(--line); }
.lane svg { position: absolute; inset: 14px 0 0; width: 100%; height: calc(100% - 14px); overflow: visible; }
.lane path { vector-effect: non-scaling-stroke; }
.lane__name { position: absolute; left: 0; top: 4px; font: 500 11px/1 var(--mono); letter-spacing: .04em; color: var(--mut); }
.lane[data-lane="cpu"] { --c: var(--cpu); }
.lane[data-lane="mem"] { --c: var(--mem); }
.lane[data-lane="net"] { --c: var(--net); }
.lane__name::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--c); }
.strip__cursor { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 1px; background: rgba(255, 255, 255, .6); opacity: 0; pointer-events: none; }
.strip.is-live .strip__cursor { opacity: 1; }

.moment { display: grid; grid-template-columns: 1.3fr repeat(4, auto); gap: 8px 26px; align-items: center; margin-top: 16px; padding-top: 16px; min-height: 76px; }
.moment__v { min-width: 0; }
.moment__v b { display: flex; align-items: center; gap: 9px; font: 300 26px/1.2 var(--round); white-space: nowrap; }
.moment__v b::before { content: ''; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--cpu)); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c, var(--cpu)) 22%, transparent); }
.moment__v span { display: block; margin-top: 2px; font-size: 14px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.moment dl { margin: 0; }
.moment dt { font: 500 11px/1.3 var(--mono); color: var(--faint); }
.moment dd { margin: 0; font: 300 22px/1.3 var(--round); font-variant-numeric: tabular-nums; white-space: nowrap; }
.moment dd small { font: 500 12px var(--sys); color: var(--mut); }
.moment__hint { grid-column: 1 / -1; margin: 0; color: var(--faint); font-size: 15px; }
@media (max-width: 900px) {
  .case { grid-template-columns: 1fr; }
  .moment { grid-template-columns: repeat(4, 1fr); }
  .moment__v { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .moment { grid-template-columns: repeat(2, 1fr); } .strip { padding: 14px 12px; } }

/* ---------- state ---------- */
.verdicts { list-style: none; margin: clamp(32px, 5vh, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .verdicts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .verdicts { grid-template-columns: 1fr; } }
.verdicts li { position: relative; overflow: hidden; padding: 24px 24px 26px; border-radius: 20px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.verdicts li::before { content: ''; position: absolute; inset: 0; opacity: .3; background: radial-gradient(260px 200px at 12% 0, var(--c), transparent 70%); }
.verdicts li > * { position: relative; }
.verdicts i { float: right; width: 20px; height: 20px; margin-top: 8px; border-radius: 50%; background: radial-gradient(circle, var(--c) 0 4.5px, color-mix(in srgb, var(--c) 30%, transparent) 5px 10px); }
.verdicts b { display: block; font: 300 30px/1.2 var(--round); letter-spacing: -.01em; }
.verdicts span { display: block; margin-top: 2px; font: 500 14px/1.4 var(--sys); color: rgba(255, 255, 255, .62); }

/* ---------- apps instead of processes ---------- */
.fold { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.fold-demo { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.fold-cap { margin: 0 0 10px; color: var(--faint); text-transform: uppercase; letter-spacing: .12em; }
.plist__view { height: 300px; overflow: hidden; border-radius: 14px; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--line);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent); }
.plist ul { list-style: none; margin: 0; padding: 0; animation: crawl 46s linear infinite; }
@keyframes crawl { to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) { .plist ul { animation: none; } }
.plist li { display: flex; justify-content: space-between; gap: 10px; padding: 0 12px; font: 400 11px/22px var(--mono); color: #7a8594; white-space: nowrap; }
.plist li span { overflow: hidden; text-overflow: ellipsis; }
.plist li b { font-weight: 400; color: #5b6573; }
.fold-arrow { display: grid; justify-items: center; gap: 8px; color: var(--mut); }
.fold-arrow svg { width: 48px; height: 24px; fill: none; stroke: var(--cpu); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fold-arrow span { max-width: 9ch; text-align: center; line-height: 1.5; color: var(--faint); }
.alist ul { list-style: none; margin: 0; padding: 8px; border-radius: 14px; background: rgba(27, 30, 35, .8); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13), 0 24px 60px rgba(0, 0, 0, .45); font-family: var(--sys); }
.alist li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font: 400 14px/1 var(--sys); }
.alist li:first-child { background: color-mix(in srgb, var(--mem) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mem) 35%, transparent); }
.alist li .app-tile { width: 24px; height: 24px; }
.alist li small { font: 500 11px/1 var(--sys); color: rgba(255, 255, 255, .4); }
.alist li em { margin-left: auto; font: 500 13px/1 var(--sys); font-style: normal; background: none; color: #fff; padding: 0; letter-spacing: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 980px) { .fold { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .fold-demo { grid-template-columns: 1fr; } .fold-arrow svg { rotate: 90deg; } .plist__view { height: 180px; } }

/* ---------- menu bar ---------- */
.bar-demo { margin-top: 40px; max-width: 760px; }
.menubar.wide { border-radius: 10px; height: 34px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
.load { display: flex; align-items: center; gap: 14px; margin-top: 18px; color: var(--mut); }
.load > span { min-width: 15ch; }
.load output { min-width: 10ch; text-align: right; color: var(--txt); }
.load-note { margin: 10px 0 0; font-size: 14px; color: var(--faint); }
.load input { flex: 1; max-width: 360px; height: 22px; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
.load input::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--cpu), var(--net) 60%, var(--alert)); }
.load input::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--cpu), var(--net) 60%, var(--alert)); }
.load input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.load input::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-top: 22px; border-radius: 12px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { padding: 8px 14px; border: 0; border-radius: 9px; background: none; font-size: 14px; color: var(--mut); cursor: pointer; }
.seg button[aria-checked="true"] { color: #04130d; background: var(--brand); font-weight: 600; }

/* ---------- lean and private ---------- */
.priv-grid { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.priv-grid li { padding: 24px; border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); box-shadow: inset 0 0 0 1px var(--line); }
.priv-grid b { display: block; font-size: 18px; margin-bottom: 8px; }
.priv-grid span { color: var(--mut); font-size: 15px; }

/* ---------- faq ---------- */
.faq-list { margin-top: 30px; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font: 500 19px var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font: 300 26px var(--body); color: var(--cpu); transition: transform .3s var(--out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--mut); margin: 0 0 22px; max-width: 64ch; }

/* ---------- download ---------- */
.get { min-height: 88svh; display: grid; place-items: center; text-align: center; padding: 100px var(--gut) 22vh; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, var(--bg), #0a0e14); }
.get .hero-grid { -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 60%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 60%, #000 10%, transparent 75%); }
.get .ecg { height: 24%; bottom: 6%; }
.get-in { display: flex; flex-direction: column; align-items: center; }
.app-icon { width: 128px; height: 128px; margin-bottom: 26px; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .6)) drop-shadow(0 0 50px rgba(79, 227, 166, .22)); }
.get .say { color: rgba(255, 255, 255, .8); margin-bottom: 30px; }
.get-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn-dl, .btn-coffee { gap: 14px; padding: 16px 26px; text-align: left; }
.btn-dl { color: #06090d; background: #fff; box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }
.btn-dl svg { width: 24px; height: 24px; }
.btn-coffee { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-dl b, .btn-coffee b { display: block; font-size: 16px; }
.btn-dl small, .btn-coffee small { display: block; font: 500 13px var(--body); opacity: .65; }
.cup { font-size: 22px; }
.get-note { max-width: 60ch; margin: 24px 0 0; font-size: 14px; color: rgba(255, 255, 255, .7); }
.get-note b { color: #fff; font-weight: 600; }
.get-foot { margin-top: 26px; color: rgba(255, 255, 255, .66); }
.get-foot a { text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }

.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 28px var(--gut); font-size: 14px; color: var(--faint); background: #0a0e14; box-shadow: 0 -1px 0 var(--line); }
.foot p { margin: 0; }
.foot-links { display: flex; gap: 18px; }
.foot a { color: var(--mut); }
