/* ChatRelay landing page */
:root {
  --bg: #f9f9f8;
  --surface: #ffffff;
  --soft: #f1f0ef;
  --soft-2: #eeeeec;
  --ink: #21201c;
  --ink-2: #63635e;
  --ink-3: #8f8e88;
  --line: #e9e8e6;
  --line-2: #dad9d6;
  --black: #111110;
  --ok: #2f9e55;
  --warn: #d68a00;
  --err: #d64545;
  --c-claude: #d9773f;
  --c-codex: #3f6fe0;
  --c-antigravity: #8b5cf6;
  --c-cursor: #21201c;
  --c-kiro: #c99400;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 0 rgba(33, 32, 28, .04), 0 12px 32px -12px rgba(33, 32, 28, .14);
  --shadow-lg: 0 1px 0 rgba(33, 32, 28, .04), 0 30px 80px -24px rgba(33, 32, 28, .25);
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
code, kbd, pre { font-family: var(--mono); }
::selection { background: #21201c; color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 10px;
  font-size: 14.5px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn-dark { background: var(--black); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 1px 2px rgba(0,0,0,.2); }
.btn-dark:hover { background: #2c2b28; }
.btn-light { background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); }
.btn-light:hover { border-color: var(--ink-3); }
.btn-lg { height: 46px; padding: 0 20px; font-size: 15.5px; border-radius: 12px; }
.btn .ico { width: 15px; height: 15px; }

/* ---------- Header / nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(249, 249, 248, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.brand-tag { font-size: 11px; font-weight: 500; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 1px 7px; letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav-links a { font-size: 14.5px; color: var(--ink-2); padding: 7px 11px; border-radius: 8px; transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--ink); background: var(--soft); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-gh { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; color: var(--ink-2); padding: 7px 10px; border-radius: 8px; }
.nav-gh:hover { color: var(--ink); background: var(--soft); }
.nav-gh svg { width: 17px; height: 17px; fill: currentColor; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; }
.nav-toggle:hover { background: var(--soft); }
.nav-toggle .ico { width: 20px; height: 20px; }
.nav-mobile { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 0; text-align: center; position: relative; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px;
  font-size: 13px; color: var(--ink-2); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px 5px 6px;
  box-shadow: 0 1px 2px rgba(33,32,28,.04);
}
.hero-pill b { font-weight: 600; color: #fff; background: var(--black); border-radius: 999px; padding: 1px 8px; font-size: 11.5px; }
.hero-pill:hover { border-color: var(--line-2); color: var(--ink); }
.hero h1 {
  margin: 0 auto; max-width: 900px;
  font-size: clamp(40px, 6.4vw, 74px); line-height: 1.02; font-weight: 600; letter-spacing: -.045em;
}
.hero h1 .serif { font-size: 1.06em; letter-spacing: -.03em; }
.hero-sub { margin: 24px auto 0; max-width: 640px; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); line-height: 1.55; }
.hero-sub a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.hero-sub a:hover { text-decoration-color: var(--ink); }
.hero-cta { display: flex; justify-content: center; gap: 10px; margin-top: 32px; flex-wrap: wrap; }
.hero-meta { margin-top: 18px; font-size: 13px; color: var(--ink-3); display: flex; justify-content: center; gap: 6px 14px; flex-wrap: wrap; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .ico { width: 14px; height: 14px; }

/* ---------- App mock (hero) ---------- */
.stage { margin: 56px auto 0; max-width: 1120px; position: relative; text-align: left; }
.stage-tabs { display: flex; justify-content: center; gap: 4px; margin-bottom: 14px; flex-wrap: wrap; }
.tab {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px;
  font-size: 13.5px; color: var(--ink-2); border-radius: 9px; border: 1px solid transparent;
  transition: color .15s, background .15s, border-color .15s;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--surface); border-color: var(--line); color: var(--ink); box-shadow: 0 1px 2px rgba(33,32,28,.05); }
.tab .ico { width: 15px; height: 15px; }

.window {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.win-bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fbfbfa; font-size: 12.5px; color: var(--ink-2); }
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.win-title { flex: 1; text-align: center; font-weight: 500; }
.win-title img { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; }
.win-cmd { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; font-size: 11.5px; color: var(--ink-3); background: var(--surface); }
.win-body { display: grid; grid-template-columns: 48px 260px 1fr; height: 520px; }
.activity { border-right: 1px solid var(--line); background: #fbfbfa; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 10px; }
.activity span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; color: var(--ink-3); }
.activity span.on { color: var(--ink); background: var(--soft); box-shadow: inset 2px 0 0 var(--ink); }
.activity .ico { width: 18px; height: 18px; }
.side { border-right: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.side-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 8px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.side-search { margin: 0 12px 8px; display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 7px; padding: 6px 9px; font-size: 12.5px; color: var(--ink-3); }
.side-search .ico { width: 13px; height: 13px; }
.proj { display: flex; align-items: center; gap: 10px; padding: 8px 14px; font-size: 13px; }
.proj.on { background: var(--soft); }
.proj-main { flex: 1; min-width: 0; }
.proj-name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.proj-sub { font-size: 11.5px; color: var(--ink-3); display: flex; gap: 5px; align-items: center; }
.proj-n { font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--line-2); }
.dot.ok { background: var(--ok); }
.dot.warn { background: var(--warn); }
.dot.err { background: var(--err); }
.dot.hollow { background: transparent; border: 1.5px solid var(--ink-3); }
.tooldot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.t-claude { background: var(--c-claude); }
.t-codex { background: var(--c-codex); }
.t-antigravity { background: var(--c-antigravity); }
.t-cursor { background: var(--c-cursor); }
.t-kiro { background: var(--c-kiro); }

.main { display: flex; flex-direction: column; min-width: 0; }
.pane { display: none; flex: 1; min-height: 0; flex-direction: column; }
.pane.on { display: flex; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.pane-head { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line); min-height: 52px; }
.pane-title { font-weight: 600; font-size: 14px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pane-sub { font-size: 12px; color: var(--ink-3); }
.pane-actions { margin-left: auto; display: flex; gap: 6px; }
.mini-btn { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 7px; border: 1px solid var(--line-2); font-size: 12px; font-weight: 500; background: var(--surface); white-space: nowrap; }
.mini-btn.dark { background: var(--black); color: #fff; border-color: var(--black); }
.mini-btn .ico { width: 13px; height: 13px; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 500; border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; color: var(--ink-2); background: var(--surface); white-space: nowrap; }
.pane-body { flex: 1; overflow: hidden; padding: 16px 18px; position: relative; }
.pane-body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(transparent, var(--surface)); pointer-events: none; }

.msg { display: flex; gap: 11px; margin-bottom: 14px; font-size: 13px; line-height: 1.55; }
.avatar { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: 11px; font-weight: 600; flex: none; }
.avatar.you { background: var(--soft-2); color: var(--ink-2); }
.avatar.ai { background: var(--c-codex); color: #fff; }
.msg-who { font-size: 11.5px; color: var(--ink-3); margin-bottom: 2px; }
.msg-who b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.toolcall { display: flex; align-items: center; gap: 8px; margin: 6px 0; font: 12px/1.4 var(--mono); color: var(--ink-2); background: var(--soft); border: 1px solid var(--line); border-radius: 7px; padding: 6px 9px; }
.toolcall .ico { width: 13px; height: 13px; }
.toolcall .add { color: var(--ok); margin-left: auto; }
.toolcall .del { color: var(--err); }

.status { display: flex; align-items: center; gap: 16px; height: 28px; padding: 0 12px; border-top: 1px solid var(--line); background: #fbfbfa; font-size: 11.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.status span { display: inline-flex; align-items: center; gap: 6px; }
.status .ico { width: 12px; height: 12px; }
.status .push { margin-left: auto; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* dry-run list */
.dry { font: 12px/1.5 var(--mono); }
.dry-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.dry-row .n { color: var(--ink-3); width: 44px; flex: none; }
.dry-row .from { color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgba(214,69,69,.5); }
.dry-row .arrow { color: var(--ink-3); }
.dry-row .to { color: var(--ink); }
.dry-sum { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 6px; }
.dry-note { font-size: 12.5px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; margin-top: 12px; }

/* search pane */
.search-box { display: flex; align-items: center; gap: 8px; border: 1px solid var(--ink); border-radius: 9px; padding: 8px 11px; font-size: 13.5px; box-shadow: 0 0 0 3px rgba(33,32,28,.06); }
.search-box .ico { width: 15px; height: 15px; color: var(--ink-3); }
.caret { display: inline-block; width: 1px; height: 15px; background: var(--ink); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.search-meta { font-size: 12px; color: var(--ink-3); margin: 10px 0 6px; }
.hit { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.hit-top { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); margin-bottom: 3px; }
.hit-top b { color: var(--ink); font-weight: 600; }
mark { background: #fde9a6; color: inherit; border-radius: 3px; padding: 0 2px; }

/* usage pane (hero) */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tile { border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; }
.tile-k { font-size: 11.5px; color: var(--ink-3); }
.tile-v { font-size: 22px; font-weight: 600; letter-spacing: -.03em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.tile-d { font-size: 11px; color: var(--ok); margin-top: 1px; }
.chart { margin-top: 14px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 12px 8px; }
.chart-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ink-2); margin-bottom: 10px; }
.legend { display: flex; gap: 10px; font-size: 11px; color: var(--ink-3); }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 130px; }
.bar { flex: 1; display: flex; flex-direction: column-reverse; border-radius: 3px 3px 0 0; overflow: hidden; min-width: 0; }
.bar i { display: block; }

/* ---------- Strip under hero ---------- */
.resume { margin: 42px auto 0; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.cmd {
  display: inline-flex; align-items: center; gap: 9px; height: 36px; padding: 0 8px 0 12px;
  border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface);
  font: 13px var(--mono); color: var(--ink);
}
.cmd .p { color: var(--ink-3); }
.copy { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; color: var(--ink-3); }
.copy:hover { background: var(--soft); color: var(--ink); }
.copy .ico { width: 13px; height: 13px; }
.copy.done { color: var(--ok); }

/* ---------- Marquee ---------- */
.logos { padding: 72px 0 24px; }
.logos-label { text-align: center; font-size: 13.5px; color: var(--ink-3); margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.logo-chip { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); white-space: nowrap; }
.logo-chip b { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.logo-chip span { font-size: 12.5px; color: var(--ink-3); }
.logo-chip .tooldot { width: 9px; height: 9px; }

/* ---------- Feature sections ---------- */
.section { padding: 112px 0 0; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.feature-head { max-width: 720px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 16px; }
.eyebrow .ico { width: 15px; height: 15px; }
.h2 { margin: 0; font-size: clamp(32px, 4.3vw, 52px); line-height: 1.04; font-weight: 600; letter-spacing: -.04em; }
.h2 .serif { font-size: 1.07em; }
.lead { margin: 18px 0 0; font-size: 18px; color: var(--ink-2); max-width: 640px; line-height: 1.55; }
.lead a, .lead code { color: var(--ink); }
.lead a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
code.k { font-size: .86em; background: var(--soft); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; }

.panel { background: var(--soft); border: 1px solid var(--line); border-radius: 20px; padding: 14px; }
.panel-tabs { display: flex; gap: 4px; margin-bottom: 12px; }
.panel-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(33,32,28,.04); overflow: hidden; }
.card-head { display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.card-head .ico { width: 15px; height: 15px; color: var(--ink-2); }
.card-head .badge { margin-left: auto; font-weight: 500; }
.card-body { padding: 16px; }
.view { display: none; }
.view.on { display: block; animation: fade .3s ease; }

.learn { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; margin-top: 22px; font-size: 14px; }
.learn > span { color: var(--ink-3); }
.learn a { color: var(--ink-2); display: inline-flex; align-items: center; gap: 5px; }
.learn a:hover { color: var(--ink); }
.learn .ico { width: 13px; height: 13px; }

/* path rewrite visual */
.machines { display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center; gap: 8px; }
.machine { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--surface); }
.machine-top { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); margin-bottom: 10px; }
.machine-top .ico { width: 14px; height: 14px; }
.machine-name { font-weight: 600; color: var(--ink); font-size: 13px; }
.path { font: 12px/1.6 var(--mono); background: var(--soft); border-radius: 7px; padding: 6px 9px; word-break: break-all; }
.relay { display: grid; place-items: center; }
.relay span { width: 40px; height: 40px; border-radius: 12px; background: var(--black); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 16px -6px rgba(0,0,0,.45); }
.relay .ico { width: 18px; height: 18px; animation: spin 4s linear infinite; }
.steps-list { list-style: none; margin: 0; padding: 0; }
.steps-list li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.steps-list li:last-child { border-bottom: 0; }
.steps-list li b { color: var(--ink); font-weight: 600; }
.steps-list .num { width: 22px; height: 22px; border-radius: 7px; background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center; font-size: 11.5px; font-weight: 600; color: var(--ink); flex: none; margin-top: 1px; }

/* code / terminal */
.term { background: #161614; color: #e8e7e3; border-radius: var(--radius); overflow: hidden; border: 1px solid #2a2a28; }
.term-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #2a2a28; font-size: 12px; color: #9b9a95; }
.term-bar .win-dots i { background: #3a3a37; }
.term-tabs { display: flex; gap: 2px; margin-left: 8px; overflow-x: auto; scrollbar-width: none; }
.term-tabs .tab { height: 26px; font-size: 12px; color: #9b9a95; padding: 0 9px; border-radius: 6px; font-family: var(--mono); }
.term-tabs .tab:hover { color: #fff; }
.term-tabs .tab[aria-selected="true"] { background: #2a2a28; color: #fff; border-color: #34342f; box-shadow: none; }
.term pre { margin: 0; padding: 16px 18px 20px; font-size: 12.8px; line-height: 1.7; overflow-x: auto; white-space: pre; }
.term .c { color: #7d7c77; }
.term .g { color: #7ddc8f; }
.term .y { color: #f2c66d; }
.term .b { color: #8fb4ff; }
.term .w { color: #fff; font-weight: 600; }
.term .r { color: #ff8b8b; }

/* doc (handoff) */
.doc { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.doc h4 { margin: 14px 0 4px; color: var(--ink); font-size: 13.5px; font-weight: 600; }
.doc h4:first-child { margin-top: 0; }
.doc ul { margin: 0; padding-left: 18px; }
.doc .file { font: 12px var(--mono); color: var(--ink); }
.target { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; font-size: 13.5px; }
.target.on { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(33,32,28,.06); }
.target code { margin-left: auto; font-size: 12px; color: var(--ink-2); }
.radio { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; }
.target.on .radio { border: 4.5px solid var(--ink); }
.redact { font: 12px/1.6 var(--mono); background: var(--soft); border-radius: 8px; padding: 10px 12px; margin-top: 12px; color: var(--ink-2); }
.redact s { color: var(--ink-3); }
.redact em { font-style: normal; color: var(--ok); }

/* usage section */
.heat { display: grid; grid-template-columns: 30px repeat(24, 1fr); gap: 3px; font-size: 10.5px; color: var(--ink-3); align-items: center; }
.heat i { aspect-ratio: 1; border-radius: 3px; background: var(--soft-2); }
.heat-hours { display: grid; grid-template-columns: 30px repeat(24, 1fr); gap: 3px; font-size: 10px; color: var(--ink-3); margin-top: 5px; }
.models { width: 100%; border-collapse: collapse; font-size: 13px; }
.models th { text-align: left; font-weight: 500; color: var(--ink-3); font-size: 12px; padding: 0 0 8px; }
.models td { padding: 8px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.models td:not(:first-child), .models th:not(:first-child) { text-align: right; }
.models code { font-size: 12px; }
.streak { display: flex; gap: 10px; margin-top: 14px; }
.streak > div { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }

/* storage grid */
.grid-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.store { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; min-height: 128px; transition: border-color .15s, transform .15s; }
.store:hover { border-color: var(--line-2); transform: translateY(-1px); }
.store-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--soft); display: grid; place-items: center; }
.store-ico .ico { width: 17px; height: 17px; }
.store b { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.store span { font-size: 12.5px; color: var(--ink-3); line-height: 1.45; }
.store.wide { grid-column: span 2; background: var(--black); color: #fff; border-color: var(--black); }
.store.wide .store-ico { background: #2a2a28; }
.store.wide span { color: #a8a7a2; }

/* safety */
.handled { list-style: none; margin: 0; padding: 0; }
.handled li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.handled li:last-child { border-bottom: 0; }
.handled .what { flex: 1; min-width: 0; }
.handled .what small { display: block; font-size: 12px; color: var(--ink-3); }
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.st.ok { background: #e7f5ec; color: #1f7a3f; }
.st.info { background: #eef2fd; color: #2f55b8; }
.st.warn { background: #fdf3e1; color: #9a6400; }
.st.dark { background: var(--ink); color: #fff; }
.guards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.guard { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.guard b { display: block; color: var(--ink); font-size: 13.5px; font-weight: 600; margin-bottom: 2px; }
.guard .ico { width: 16px; height: 16px; color: var(--ink); margin-top: 2px; }

/* tools table */
.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow-x: auto; box-shadow: 0 1px 2px rgba(33,32,28,.04); }
.tools { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
.tools th { text-align: left; font-size: 12.5px; font-weight: 500; color: var(--ink-3); padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fbfbfa; }
.tools td { padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.tools tr:last-child td { border-bottom: 0; }
.tools td:first-child { color: var(--ink); }
.tools .tname { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.tools .tname .tooldot { width: 9px; height: 9px; }
.tools small { display: block; color: var(--ink-3); font-size: 12.5px; margin-top: 2px; }
.yes { color: var(--ok); font-weight: 600; }
.no { color: var(--ink-3); }
.ro { display: inline-block; font-size: 11.5px; color: var(--ink-2); background: var(--soft); border-radius: 5px; padding: 0 6px; margin-left: 4px; }
.table-note { font-size: 13.5px; color: var(--ink-3); margin-top: 14px; max-width: 760px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; min-height: 220px; }
.stat-v { font-size: clamp(44px, 5vw, 64px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.stat-v small { font-size: .45em; letter-spacing: -.02em; color: var(--ink-2); font-weight: 500; margin-left: 4px; }
.stat p { margin: 14px 0 0; color: var(--ink-2); font-size: 15px; }
.stat a { margin-top: auto; padding-top: 20px; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.stat a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* platforms */
.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.plat { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.plat-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; margin-bottom: 10px; }
.plat-ico .ico { width: 20px; height: 20px; }
.plat h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.plat p { margin: 0 0 14px; font-size: 14px; color: var(--ink-2); flex: 1; }
.plat .btn { align-self: flex-start; }
.plat code { font-size: 12px; color: var(--ink-3); word-break: break-all; }

/* steps */
.howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: s; }
.how { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.how-n { font: 500 12px var(--mono); color: var(--ink-3); }
.how h3 { margin: 10px 0 8px; font-size: 18px; letter-spacing: -.02em; font-weight: 600; }
.how p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* faq */
.faq { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: start; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 20px 0; font-size: 16.5px; font-weight: 500; cursor: pointer; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { margin-left: auto; width: 18px; height: 18px; color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { margin: -6px 0 20px; color: var(--ink-2); font-size: 15px; max-width: 680px; }

/* final cta */
.cta { margin: 128px 0 0; text-align: center; padding: 96px 24px; border-radius: 28px; background: var(--black); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 260px at 50% 0%, rgba(255,255,255,.12), transparent 70%); pointer-events: none; }
.cta img { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 26px; box-shadow: 0 0 0 1px #34342f, 0 16px 40px -10px rgba(0,0,0,.6); }
.cta h2 { margin: 0 auto; max-width: 760px; font-size: clamp(34px, 5vw, 60px); line-height: 1.03; font-weight: 600; letter-spacing: -.045em; }
.cta p { margin: 18px auto 0; max-width: 520px; color: #a8a7a2; font-size: 17px; }
.cta .hero-cta { position: relative; }
.cta .btn-dark { background: #fff; color: var(--ink); }
.cta .btn-dark:hover { background: #eeeeec; }
.cta .btn-light { background: transparent; color: #fff; border-color: #3a3a37; }
.cta .btn-light:hover { border-color: #6b6a65; }

/* ---------- Footer ---------- */
.footer { margin-top: 96px; border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-brand p { color: var(--ink-2); margin: 14px 0 18px; max-width: 280px; font-size: 14px; }
.socials { display: flex; gap: 6px; }
.socials a { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); background: var(--surface); }
.socials a:hover { color: var(--ink); border-color: var(--line-2); }
.socials svg { width: 15px; height: 15px; fill: currentColor; }
.footer h4 { margin: 2px 0 14px; font-size: 13px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer ul a { color: var(--ink-2); }
.footer ul a:hover { color: var(--ink); }
.footer-bottom { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
.footer-bottom a:hover { color: var(--ink); }
.footer-bottom .live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.footer-bottom .live .dot { box-shadow: 0 0 0 3px rgba(47,158,85,.18); }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .win-body { grid-template-columns: 48px 220px 1fr; }
  .grid-tiles { grid-template-columns: repeat(3, 1fr); }
  .platforms { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(4, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-links, .nav-gh, .nav-cta .btn-light { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-mobile.open { display: block; border-top: 1px solid var(--line); padding-top: 10px; padding-bottom: 18px; }
  .nav-mobile a { display: block; padding: 11px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-mobile a:last-child { border-bottom: 0; }
  .panel-inner { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; gap: 24px; }
  .stats, .howto { grid-template-columns: 1fr; }
  .stat { min-height: 0; }
  .win-body { grid-template-columns: 1fr; height: 470px; }
  .activity, .side { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 48px; }
  .section { padding-top: 84px; }
  .grid-tiles { grid-template-columns: 1fr 1fr; }
  .store.wide { grid-column: 1 / -1; }
  .platforms { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .guards { grid-template-columns: 1fr; }
  .machines { grid-template-columns: 1fr; }
  .relay span { transform: rotate(90deg); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom .live { margin-left: 0; }
  .cta { padding: 72px 20px; border-radius: 22px; margin-top: 96px; }
  .pane-head .pane-actions .mini-btn:not(.dark) { display: none; }
  .win-cmd { display: none; }
  .hero-cta .btn { flex: 1 1 100%; }
  .dry-row { flex-wrap: wrap; gap: 2px 8px; }
  .dry-row .from, .dry-row .to { word-break: break-all; }
  .status span:nth-child(n+3) { display: none; }
  .stage-tabs .tab { padding: 0 10px; }
}
/* =====================================================================
   Retro stripes, maroon footer, dotted canvas, serif headings
   ===================================================================== */
:root {
  --s: 22px;            /* width of one stripe */
  --r: 80px;            /* inner radius of the hero curves */
  --fr: 72px;           /* footer corner radius */
  --y: #ffb224;
  --o: #ff8a1f;
  --ro: #ff4f00;
  --m: #7d1b0c;
  --cream: #fdf0e6;
}

/* Hero: stripes come down the right edge, pass behind the app window, and turn down the left edge */
.hero { position: relative; padding-bottom: calc(var(--r) - 24px); }
.hero > .wrap { position: relative; z-index: 1; }
.hero-stripes { position: absolute; inset: 0; pointer-events: none; }
.hero-stripes i { position: absolute; display: block; }
.hs-v {
  right: 0; top: -64px; width: calc(4 * var(--s)); bottom: calc(2 * var(--r) + 4 * var(--s));
  background: linear-gradient(90deg, var(--y) 0 25%, var(--o) 0 50%, var(--ro) 0 75%, var(--m) 0);
}
.hs-c1, .hs-c2 { width: calc(var(--r) + 4 * var(--s)); height: calc(var(--r) + 4 * var(--s)); }
.hs-c1 {
  right: 0; bottom: var(--r);
  background: radial-gradient(circle at 0 0, transparent calc(var(--r) - .6px), var(--y) var(--r) calc(var(--r) + var(--s)), var(--o) 0 calc(var(--r) + 2 * var(--s)), var(--ro) 0 calc(var(--r) + 3 * var(--s)), var(--m) 0 calc(var(--r) + 4 * var(--s)), transparent calc(var(--r) + 4 * var(--s) + .6px));
}
.hs-h {
  left: calc(var(--r) + 4 * var(--s)); right: calc(var(--r) + 4 * var(--s)); bottom: var(--r); height: calc(4 * var(--s));
  background: linear-gradient(180deg, var(--y) 0 25%, var(--o) 0 50%, var(--ro) 0 75%, var(--m) 0);
}
.hs-c2 {
  left: 0; bottom: 0;
  background: radial-gradient(circle at 100% 100%, transparent calc(var(--r) - .6px), var(--m) var(--r) calc(var(--r) + var(--s)), var(--ro) 0 calc(var(--r) + 2 * var(--s)), var(--o) 0 calc(var(--r) + 3 * var(--s)), var(--y) 0 calc(var(--r) + 4 * var(--s)), transparent calc(var(--r) + 4 * var(--s) + .6px));
}

/* Left rail + footer: four nested blocks, each one stripe thick */
.r1, .r2, .r3 { padding: 0 0 var(--s) var(--s); }
.r1 { background: var(--y); }
.r2 { background: var(--o); border-bottom-left-radius: calc(var(--fr) + 2 * var(--s)); }
.r3 { background: var(--ro); border-bottom-left-radius: calc(var(--fr) + var(--s)); }
.r4 { background: var(--m); border-bottom-left-radius: var(--fr); }
.sheet { background: var(--bg); margin-left: var(--s); border-bottom-left-radius: 56px; padding-bottom: 128px; }
.sheet .resume { margin-top: 0; padding-top: 44px; }

/* Section ruler on the rail */
.ticks { position: fixed; left: calc(3 * var(--s)); top: 50%; width: var(--s); transform: translateY(-50%); display: grid; gap: 12px; justify-items: start; opacity: 0; transition: opacity .25s; pointer-events: none; z-index: 5; }
.ticks.on { opacity: 1; }
.ticks i { display: block; height: 2px; width: 8px; background: rgba(255, 255, 255, .55); border-radius: 1px; transition: width .2s, background .2s; }
.ticks i.on { width: 14px; background: #fff; }

/* Dotted canvas */
.pane-body, .panel {
  background-image: radial-gradient(var(--line-2) 1px, transparent 1.3px);
  background-size: 18px 18px;
}
.pane-body { background-color: var(--surface); }
.panel { background-color: #f6f5f4; }

/* Serif section headings */
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.1vw, 38px); line-height: 1.14; letter-spacing: -.02em; }
.h2 .serif { font-size: 1em; letter-spacing: -.02em; }
.lead { font-size: 17.5px; margin-top: 12px; max-width: 760px; }
.feature { gap: 30px; }
.eyebrow { margin-bottom: 12px; }
.stat-v, .how h3, .plat h3 { font-family: var(--serif); font-weight: 400; }
.stat-v { letter-spacing: -.03em; }
.stat-v small { font-family: var(--sans); }
.how h3, .plat h3 { font-size: 22px; letter-spacing: -.015em; }
.faq summary { font-family: var(--serif); font-size: 20px; font-weight: 400; }

/* Learn pills */
.learn { gap: 8px; margin-top: 18px; }
.learn > span { margin-right: 8px; font-size: 15px; }
.learn a { border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; background: var(--surface); color: var(--ink-2); transition: border-color .15s, color .15s; }
.learn a:hover { border-color: var(--ink-3); }
.learn a .ico { display: none; }

/* Protection card */
.health { padding: 26px 26px 18px; border-radius: 18px; }
.health-top { position: relative; height: 132px; margin-bottom: 24px; }
.health-word { position: relative; z-index: 1; font: 400 48px/1 var(--serif); letter-spacing: -.02em; padding-top: 4px; }
.health-chart { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.health-dot { position: absolute; right: -4px; top: calc(4.5% - 4px); width: 9px; height: 9px; border-radius: 50%; background: var(--ro); }
.health-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.health-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; font-weight: 500; margin-bottom: 4px; }
.health-h span { color: var(--ink-3); font-weight: 400; font-size: 13px; }
.health .handled li { border: 0; padding: 8px 0; font-size: 14.5px; font-weight: 500; }
.health .handled .ico { color: var(--ink-3); width: 16px; height: 16px; }
.health .handled em { font-style: normal; font-weight: 400; font-size: 13px; color: var(--ink-3); margin-left: auto; white-space: nowrap; }

/* Footer on maroon */
.footer { margin: 0; border: 0; padding: 104px 0 44px; color: var(--cream); font-size: 15px; }
.foot-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding-bottom: 84px; border-bottom: 1px solid rgba(253, 240, 230, .22); }
.foot-cta h2 { margin: 0; font: 400 clamp(34px, 4.2vw, 46px)/1.08 var(--serif); letter-spacing: -.025em; color: #fff; }
.foot-cta p { margin: 16px 0 0; font-size: 18px; color: rgba(253, 240, 230, .82); }
.foot-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 22px; border-radius: 999px; font-size: 16px; font-weight: 500; white-space: nowrap; transition: background .15s, border-color .15s; }
.pill-cream { background: var(--cream); color: var(--m); }
.pill-cream:hover { background: #fff; }
.pill-line { border: 1px solid rgba(253, 240, 230, .55); color: #fff; }
.pill-line:hover { border-color: #fff; }
.footer-top { grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 40px; padding-top: 56px; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 20px; }
.footer ul { gap: 18px; }
.footer ul a { color: rgba(253, 240, 230, .82); }
.footer ul a:hover { color: #fff; }
.footer-bottom { margin-top: 56px; border-top-color: rgba(253, 240, 230, .22); color: rgba(253, 240, 230, .82); font-size: 13.5px; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .live { color: var(--cream); font-size: 15px; }
.footer-bottom .live .dot { background: #4ade80; box-shadow: none; width: 6px; height: 6px; }
.footer :focus-visible { outline-color: #fff; }

/* Floating card */
.float { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 160px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s; }
.float.on { opacity: 1; transform: none; pointer-events: auto; }
.float-main { padding: 16px 16px 14px; }
.float-main .ico { width: 18px; height: 18px; margin-bottom: 12px; }
.float-t { font: 400 23px/1.05 var(--serif); letter-spacing: -.02em; }
.float-x { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 6px; color: var(--ink-2); font-size: 18px; line-height: 1; }
.float-x:hover { background: var(--soft); }
.float-a { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 13.5px; }
.float-a:hover { background: var(--soft); border-radius: 0 0 12px 12px; }
.float-a .ico { width: 13px; height: 13px; }

@media (max-width: 1280px) {
  :root { --s: 16px; --r: 64px; --fr: 56px; }
}
@media (max-width: 900px) {
  :root { --s: 7px; --r: 36px; --fr: 36px; }
  .panel-inner { grid-template-columns: minmax(0, 1fr); }
  .card-head { flex-wrap: wrap; }
  .hs-v, .hs-c1 { display: none; }
  .hs-h { right: 0; }
  .ticks { display: none; }
  .sheet { border-bottom-left-radius: 32px; padding-bottom: 88px; }
  .health-cols { grid-template-columns: 1fr; gap: 20px; }
  .footer { padding-top: 72px; }
  .foot-cta { padding-bottom: 56px; }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr 1fr; justify-content: stretch; }
  .grid-tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .store code { word-break: break-all; }
  .pane-head { flex-wrap: wrap; gap: 8px 10px; }
  .pane-head > div:first-child { flex: 1 1 100%; }
  .pane-actions { margin-left: 0; }
  .float { display: none; }
  .health { padding: 18px 18px 12px; }
  .health-word { font-size: 38px; }
  .pill { flex: 1 1 100%; justify-content: center; }
}

/* =====================================================================
   Hero window, live activity, pill buttons
   ===================================================================== */

/* Header sits between the stripes instead of over them */
.nav { margin-inline: calc(4 * var(--s)); }
.hs-v { z-index: 60; }

/* Buttons */
.btn { border-radius: 999px; height: 42px; padding: 0 18px; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s, filter .15s; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 999px; }
.btn-dark { background: linear-gradient(180deg, #3a3935, #151513); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .3), 0 8px 18px -8px rgba(0, 0, 0, .45); }
.btn-dark:hover { background: linear-gradient(180deg, #45443f, #1d1d1a); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 2px 4px rgba(0, 0, 0, .3), 0 12px 22px -8px rgba(0, 0, 0, .5); }
.btn-light { background: #fff; box-shadow: 0 1px 2px rgba(33, 32, 28, .06), inset 0 -1px 0 rgba(33, 32, 28, .04); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 4px 12px -4px rgba(33, 32, 28, .18); }
.btn:active { transform: translateY(0); }
.mini-btn { border-radius: 999px; }
.pill { transition: background .15s, border-color .15s, transform .15s; }
.pill:hover { transform: translateY(-1px); }

/* Hero dots */
.hero::before {
  content: ""; position: absolute; inset: -64px 0 0 0; pointer-events: none;
  background-image: radial-gradient(#c9c8c3 1px, transparent 1.4px); background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 34%, #000 25%, transparent 80%);
  mask-image: radial-gradient(ellipse 72% 62% at 50% 34%, #000 25%, transparent 80%);
}

/* Tool row */
.tool-row { display: flex; justify-content: center; align-items: center; gap: 12px 36px; flex-wrap: wrap; margin-top: 48px; font-size: 18px; font-weight: 600; letter-spacing: -.025em; }
.tool-row span { display: inline-flex; align-items: center; gap: 9px; }
.tool-row .tooldot { width: 10px; height: 10px; }
.tool-row .more { font-size: 14.5px; font-weight: 400; letter-spacing: 0; color: var(--ink-2); }
.tool-row .more:hover { color: var(--ink); }

/* App window */
.stage { max-width: none; width: min(1248px, calc(100vw - 8 * var(--s) - 64px)); margin: 30px 0 0; position: relative; left: 50%; transform: translateX(-50%); }
.frame { position: relative; text-align: left; background: #f3f2f0; border: 1px solid var(--line-2); border-radius: 22px; padding: 0 8px 8px; box-shadow: var(--shadow-lg); }
.frame-bar { display: flex; align-items: center; gap: 18px; height: 42px; padding: 0 10px; font-size: 13.5px; color: var(--ink-3); }
.crumb b { color: var(--ink); font-weight: 500; }
.crumb .nv { letter-spacing: 6px; margin-right: 10px; }
.frame-body { display: grid; grid-template-columns: 214px minmax(0, 1fr); height: 612px; background: var(--surface); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.fside { display: flex; flex-direction: column; gap: 2px; padding: 14px 10px; font-size: 14px; background: #fcfcfb; }
.fside-top { display: flex; align-items: center; gap: 9px; padding: 6px 9px 14px; font-weight: 600; font-size: 13.5px; }
.fside-top img { border-radius: 5px; }
.fside-top .ico { margin-left: auto; color: var(--ink-3); }
.fside > span { display: flex; align-items: center; gap: 11px; padding: 7px 9px; border-radius: 8px; font-weight: 500; }
.fside > span.on { background: var(--soft); }
.fside > span .ico { width: 15px; height: 15px; color: var(--ink-2); }
.fmain { border-left: 1px solid var(--line); min-width: 0; overflow: hidden; }
.fmain-head { display: flex; align-items: center; padding: 15px 24px; font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--line); }
.grp { padding: 6px 10px 0; }
.grp-h { display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: var(--soft); border-radius: 8px; font-size: 14.5px; font-weight: 500; }
.grp-r { margin-left: auto; display: flex; gap: 16px; color: var(--ink-2); }
.grp-r .ico { width: 14px; height: 14px; }
.chev { width: 6px; height: 6px; border: solid var(--ink-2); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-1px, -1px); margin-right: 4px; }
.cnt { font-size: 11.5px; line-height: 16px; padding: 0 6px; border-radius: 5px; background: var(--soft-2); border: 1px solid var(--line); color: var(--ink-2); }
.row { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 32px; font-size: 14px; font-weight: 500; border-radius: 8px; }
.row > .ico { width: 15px; height: 15px; color: var(--ink-3); }
.row-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row small { font-weight: 400; font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.rs { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-style: normal; font-weight: 400; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.rs.busy { color: var(--ro); }
.rs.busy::before { content: ""; width: 10px; height: 10px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.rs.done { color: var(--ok); }
.rs.done::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.row.flash { animation: flash 1.1s ease; }
@keyframes flash { 0%, 40% { background: var(--tint); } 100% { background: transparent; } }

/* Live activity window */
.assist { position: absolute; left: 24px; bottom: 24px; width: 322px; background: #f3f2f0; border: 1px solid var(--line-2); border-radius: 14px; padding: 0 5px 5px; box-shadow: 0 24px 56px -14px rgba(33, 32, 28, .38); }
.assist-bar { height: 24px; display: flex; align-items: center; padding-left: 8px; }
.assist-bar .win-dots i { width: 6px; height: 6px; }
.assist-bar .win-dots { gap: 4px; }
.assist-in { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.assist-head { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.assist-head em { margin-left: auto; font-style: normal; font-weight: 400; font-size: 13px; color: var(--ink-2); }
.assist-ico { width: 22px; height: 22px; border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; }
.assist-ico .ico { width: 12px; height: 12px; animation: spin 5s linear infinite; }
.assist-log { height: 152px; padding: 10px 14px 4px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; font-size: 13px; line-height: 1.38; overflow: hidden; }
.assist-log p { margin: 0; animation: fade .4s ease; }
.assist-log p:nth-last-child(n+3) { color: var(--ink-2); }
.assist-log p:nth-last-child(n+4) { color: var(--ink-3); }
.assist-now { display: flex; align-items: center; gap: 9px; min-height: 34px; padding: 4px 14px 10px; font-size: 13px; color: var(--ink-2); }
.assist-now:not(:empty)::before { content: ""; width: 11px; height: 11px; border: 1.5px solid var(--ink-3); border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; flex: none; }
.assist-foot { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 13px; border-top: 1px solid var(--line); font: 12.5px var(--mono); }
.assist-foot .p { color: var(--ink-3); }
.assist-foot .copy { margin-left: auto; }

/* Things that move in the sections */
.ln { opacity: 0; }
.in .ln, .in.term .ln { animation: lnin .35s ease forwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
@keyframes lnin { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.term pre::after { content: "▍"; color: #7ddc8f; animation: blink 1s steps(1) infinite; }
.dry-row { border-radius: 6px; padding-inline: 6px; transition: background .35s; }
.dry-row.hot { background: var(--tint); }
.dry-row.hot .n { color: var(--ro); }
.store { position: relative; transition: border-color .3s, box-shadow .3s, transform .15s; }
.store::after { content: "Synced"; position: absolute; top: 16px; right: 16px; font-size: 11.5px; font-weight: 500; color: var(--ok); opacity: 0; transform: translateY(3px); transition: opacity .3s, transform .3s; }
.store.hot { border-color: var(--ro); box-shadow: 0 0 0 3px rgba(var(--ro-rgb), .1); }
.store.hot::after { opacity: 1; transform: none; }
.store.wide.hot::after { color: #7ddc8f; }
.target { transition: border-color .3s, box-shadow .3s; }
.heat i.ping { animation: ping .9s ease; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(var(--ro-rgb), .55); } 40% { background: var(--ro); } 100% { box-shadow: 0 0 0 6px rgba(var(--ro-rgb), 0); } }
.livedot { width: 6px; height: 6px; border-radius: 50%; background: var(--ro); animation: pulse 1.6s ease infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--ro-rgb), .5); } 100% { box-shadow: 0 0 0 7px rgba(var(--ro-rgb), 0); } }
.health-chart { clip-path: inset(0 100% 0 0); }
.health.in .health-chart { animation: wipe 1.8s .25s ease-out forwards; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
.health-dot { opacity: 0; }
.health.in .health-dot { animation: lnin .3s 1.9s forwards, pulse 1.8s 2.2s ease infinite; }
.relay span { animation: pulse 2s ease infinite; }

/* Fonts: Geist for text, Instrument Serif for display, Geist Mono for code */
:root {
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
}
.serif { letter-spacing: -.01em; }
.hero h1 { letter-spacing: -.05em; }
.hero h1 .serif { font-size: 1.16em; letter-spacing: -.02em; }
.h2 { font-size: clamp(34px, 3.8vw, 46px); line-height: 1.08; letter-spacing: -.015em; }
.h2 .serif { letter-spacing: -.015em; }
.foot-cta h2 { font-size: clamp(40px, 5vw, 56px); letter-spacing: -.015em; }
.health-word { font-size: 58px; letter-spacing: -.01em; }
.float-t { font-size: 26px; letter-spacing: -.01em; }
.faq summary { font-size: 23px; }
.how h3, .plat h3 { font-size: 25px; letter-spacing: -.005em; }
.stat-v { letter-spacing: -.02em; }

/* Typewriter line in the hero heading */
.type-line { display: block; white-space: nowrap; min-height: 1.2em; }
.type-caret { display: inline-block; width: .055em; height: .82em; margin-left: .06em; vertical-align: -.06em; border-radius: 2px; background: var(--ro); animation: caret 1.1s ease-in-out infinite; }
.type-line.typing .type-caret { animation: none; opacity: 1; }
@keyframes caret { 0%, 45% { opacity: 1; } 60%, 90% { opacity: 0; } 100% { opacity: 1; } }

/* Stronger dots behind the hero */
.hero::before {
  background-image: radial-gradient(#b4b3ad 1.1px, transparent 1.5px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 38%, #000 35%, transparent 88%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 38%, #000 35%, transparent 88%);
}
.hero-sub, .hero-meta { position: relative; }

.tools td:nth-child(2), .tools td:nth-child(4), .tools th:nth-child(2), .tools th:nth-child(4) { text-align: center; }

/* Header scrolls away with the page */
.nav { position: relative; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 0; }

/* Smooth typewriter: the phrase is revealed by a moving edge, the caret rides on it */
.type-line { display: flex; justify-content: center; align-items: flex-end; }
.type-clip { display: block; overflow: hidden; white-space: nowrap; transition: width linear; padding: .12em 0 .2em; margin: -.12em 0 -.2em; will-change: width; }
#typed { display: inline-block; padding-right: .09em; }
.type-caret { flex: none; height: .8em; margin: 0 0 .14em .03em; vertical-align: baseline; }

/* Human typing: letters keep their place and fade in; the caret glides between them */
.type-line { position: relative; }
.type-clip { overflow: visible; width: auto !important; transition: none; }
#typed { white-space: pre; }
.type-line.live .ch { opacity: 0; transition: opacity .16s ease-out; }
.type-line.live .ch.on { opacity: 1; }
.type-line.live .type-caret { position: absolute; left: 0; bottom: 0; margin: 0 0 .14em .04em; transition: transform .11s cubic-bezier(.3, .7, .4, 1); will-change: transform; }

/* Tool row: official icons, always moving */
.ticon { display: inline-block; flex: none; object-fit: contain; }
.tool-row { display: block; overflow: hidden; max-width: 940px; margin: 48px auto 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.tool-track { display: flex; width: max-content; animation: scroll 46s linear infinite; }
.tool-row:hover .tool-track { animation-play-state: paused; }
.tool-track span { margin-right: 52px; gap: 11px; transition: opacity .2s; }
.tool-row:hover .tool-track span { opacity: .45; }
.tool-row .tool-track span:hover { opacity: 1; }
.grp-h .ticon + .ticon { margin-left: -4px; }
.tools .tname { gap: 10px; }

/* Protection card */
.health-top { height: 150px; }
.health-count { position: relative; z-index: 1; margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }
.health-count b { font: 500 15px var(--mono); color: var(--ro); margin-right: 2px; }
.health-dot { right: -4px; transition: top .1s linear; }
.pipe { display: flex; align-items: center; margin: 0 0 26px; }
.pipe span { flex: none; font-size: 12.5px; font-weight: 500; padding: 5px 13px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-3); transition: border-color .25s, color .25s, background .25s, box-shadow .25s; }
.pipe span.on { border-color: var(--ro); color: var(--ink); background: var(--tint); box-shadow: 0 0 0 3px rgba(var(--ro-rgb), .08); }
.pipe i { flex: 1; height: 2px; min-width: 10px; background: var(--line); transition: background .25s; }
.pipe i.on { background: var(--ro); }
.feed { height: 228px; overflow: hidden; }
.health .feed li { height: 38px; padding: 0; animation: feedin .5s cubic-bezier(.2, .7, .2, 1); }
@keyframes feedin { from { height: 0; opacity: 0; transform: translateY(-6px); } to { height: 38px; opacity: 1; transform: none; } }
.feed .what, .guards-list .what { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed li:nth-child(n+5) { opacity: .55; }
.feed li:nth-child(6) { opacity: .25; }
.chk { display: inline-flex; align-items: center; gap: 7px; }
.health .handled em.chk.busy { color: var(--ro); }
.chk.busy::before { content: ""; width: 10px; height: 10px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.health .handled em.chk.ok { color: var(--ink-2); }
.chk.ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.guards-list li { height: 38px; border-radius: 8px; transition: background .3s; }
.health .guards-list li { padding: 0 8px; margin: 0 -8px; }
.guards-list li .ico { transition: color .3s; }
.guards-list .tick { opacity: 0; transform: scale(.6); transition: opacity .3s, transform .3s; color: var(--ok); }
.health .guards-list .tick .ico { color: var(--ok); width: 15px; height: 15px; }
.guards-list li.hot { background: var(--tint); }
.health .guards-list li.hot > .ico { color: var(--ro); }
.guards-list li.hot .tick { opacity: 1; transform: none; }

/* Footer: wordmark and text running along the stripes */
.r1, .r2, .r3 { position: relative; }
.st { position: absolute; left: calc(var(--fr) + 4 * var(--s)); right: 0; bottom: 0; height: var(--s); overflow: hidden; display: flex; align-items: center; font: 500 10.5px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, transparent, #000 80px); mask-image: linear-gradient(90deg, transparent, #000 80px); }
.st span { display: inline-block; flex: none; animation: scroll 120s linear infinite; }
.st1 { color: var(--m); }
.st2 { color: var(--m); }
.st2 span { animation-direction: reverse; animation-duration: 150s; }
.st3 { color: var(--cream); }
.st3 span { animation-duration: 100s; }
.footer { padding-bottom: 0; overflow: hidden; }
.wordmark { margin-top: 36px; height: .66em; overflow: hidden; text-align: center; white-space: nowrap; font: italic 400 clamp(110px, 23vw, 380px)/.9 var(--serif); letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px rgba(253, 240, 230, .34); background: linear-gradient(180deg, rgba(253, 240, 230, .16), rgba(253, 240, 230, 0) 62%); -webkit-background-clip: text; background-clip: text; user-select: none; }

@media (max-width: 900px) {
  .st { display: none; }
  .pipe { flex-wrap: wrap; gap: 6px; }
  .pipe i { display: none; }
  .health-count { font-size: 12.5px; }
  .tool-track span { margin-right: 34px; }
}

@media (max-width: 900px) {
  .hero-stripes .hs-v, .hero-stripes .hs-c1 { display: none; }
  .hero-stripes .hs-h { right: 0; }
  .nav { margin-inline: calc(4 * var(--s)) 0; }
  .brand-tag { display: none; }
  .stage { width: 100%; left: 0; transform: none; }
  .frame-body { grid-template-columns: minmax(0, 1fr); height: auto; padding-bottom: 6px; }
  .fside { display: none; }
  .fmain { border-left: 0; }
  .assist { position: static; width: auto; margin-top: 8px; box-shadow: none; }
  .tool-row { font-size: 16px; gap: 10px 22px; margin-top: 36px; }
  .row small { display: none; }
  .row { padding-left: 16px; }
}
.resume .cmd { gap: 7px; }
.resume .cmd.open { padding-right: 12px; font-family: var(--sans); font-size: 13.5px; }
.resume .ticon + .ticon { margin-left: -3px; }
.target .ticon + .ticon { margin-left: -3px; }

@media (prefers-reduced-motion: reduce) {
  .ln, .health-dot { opacity: 1; }
  .health-chart { clip-path: none; }
}

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


/* =====================================================================
   Palettes. Four stripes from lightest (--y) to darkest (--m, also the footer).
   --ro is the accent used for carets, highlights and the chart.
   Preview another one with ?palette=forest|plum|mono|ocean
   ===================================================================== */
:root {
  --y: #ffb224; --o: #ff8a1f; --ro: #ff4f00; --m: #7d1b0c;
  --ro-rgb: 255, 79, 0; --tint: #fff1e6; --cream: #fdf0e6;
}
:root[data-palette="forest"] { --y: #c9f08f; --o: #6fd08c; --ro: #1b9a68; --m: #0d3a2d; --ro-rgb: 27, 154, 104; --tint: #e7f6ee; --cream: #eefaf2; }
:root[data-palette="plum"] { --y: #f9b7dc; --o: #d583f2; --ro: #8447ff; --m: #2a1250; --ro-rgb: 132, 71, 255; --tint: #f2ebff; --cream: #f6efff; }
:root[data-palette="mono"] { --y: #dcdbd7; --o: #a3a29d; --ro: #4a4944; --m: #141412; --ro-rgb: 74, 73, 68; --tint: #f1f0ef; --cream: #f4f3f1; }
:root[data-palette="ocean"] { --y: #9ad8ff; --o: #4da6ff; --ro: #2f6bff; --m: #101a4d; --ro-rgb: 47, 107, 255; --tint: #ebf1ff; --cream: #eef3ff; }
.health-chart { color: var(--ro); }
.footer { padding-bottom: 44px; }

/* Path rewrite: dots flowing from one PC to the other */
.machines { grid-template-columns: 1fr 64px 1fr; }
.relay .flow { width: 56px; height: 28px; border-radius: 999px; background: var(--tint); box-shadow: inset 0 0 0 1px rgba(var(--ro-rgb), .18); display: flex; align-items: center; justify-content: center; gap: 6px; animation: none; overflow: hidden; }
.relay .flow i { width: 6px; height: 6px; border-radius: 50%; background: var(--ro); animation: flow 1.4s cubic-bezier(.5, 0, .5, 1) infinite; }
.relay .flow i:nth-child(2) { animation-delay: .16s; }
.relay .flow i:nth-child(3) { animation-delay: .32s; }
.relay .flow i:nth-child(4) { animation-delay: .48s; }
@keyframes flow { 0% { transform: translateX(-16px) scale(.4); opacity: 0; } 35% { transform: translateX(0) scale(1); opacity: 1; } 65% { transform: translateX(0) scale(1); opacity: 1; } 100% { transform: translateX(16px) scale(.4); opacity: 0; } }

/* Protection card, second pass */
.health { padding: 30px 30px 26px; border-radius: 22px; background: linear-gradient(180deg, var(--tint) 0, var(--surface) 210px); box-shadow: 0 1px 2px rgba(33, 32, 28, .04), 0 24px 60px -30px rgba(var(--ro-rgb), .35); }
.health-count { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 4px 12px 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.health-count b { margin: 0; }
.health-count::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.pipe { margin: 4px 0 30px; }
.pipe span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 11px; font-size: 13px; box-shadow: 0 1px 2px rgba(33, 32, 28, .05); }
.pipe span .ico { width: 14px; height: 14px; }
.pipe span.on { background: var(--ro); border-color: var(--ro); color: #fff; box-shadow: 0 6px 16px -6px rgba(var(--ro-rgb), .7); }
.pipe i { position: relative; overflow: hidden; height: 2px; border-radius: 2px; }
.pipe i.on { background: var(--line); }
.pipe i::after { content: ""; position: absolute; inset: 0; background: var(--ro); transform: scaleX(0); transform-origin: left; transition: transform .12s linear; }
.pipe i.on::after { transform: scaleX(1); }
.health-cols { gap: 0 40px; grid-template-columns: 1.05fr 1fr; }
.health-h { margin-bottom: 10px; font-size: 15px; }
.feed { height: 264px; }
.health .feed li { height: 44px; border-bottom: 1px solid var(--line); }
@keyframes feedin { from { height: 0; opacity: 0; transform: translateY(-6px); } to { height: 44px; opacity: 1; transform: none; } }
.health .handled em.chk { padding: 3px 10px 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.health .handled em.chk.busy { background: var(--tint); color: var(--ro); }
.health .handled em.chk.ok { background: #e9f6ee; color: #1f7a3f; }
.guards-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.health .guards-list li { height: 81px; margin: 0; padding: 0 14px; gap: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .3s, background .3s, box-shadow .3s; }
.guards-list .what { white-space: normal; line-height: 1.3; }
.health .guards-list li > .ico { width: 34px; height: 34px; padding: 9px; border-radius: 10px; background: var(--soft); color: var(--ink); flex: none; transition: background .3s, color .3s; }
.health .guards-list li.hot { border-color: var(--ro); background: var(--tint); box-shadow: 0 0 0 3px rgba(var(--ro-rgb), .08); }
.health .guards-list li.hot > .ico { background: var(--ro); color: #fff; }
.guards-list .tick { margin-left: auto; }

/* Storage: GitHub card + folder tiles */
.bento { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 12px; }
.gh { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 20px; color: #fff; background: radial-gradient(420px 220px at 100% 0, rgba(var(--ro-rgb), .35), transparent 70%), #141412; box-shadow: var(--shadow); }
.gh-top { display: flex; align-items: center; gap: 12px; }
.gh-ico { width: 42px; height: 42px; border-radius: 12px; background: #262623; display: grid; place-items: center; flex: none; }
.gh-top b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.gh-top small { font: 12px var(--mono); color: #9b9a95; }
.gh p { margin: 0; font-size: 14px; line-height: 1.5; color: #b9b8b3; }
.gh-log { display: grid; gap: 2px; padding: 6px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); font: 12.5px var(--mono); }
.gh-log div { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; color: #9b9a95; transition: background .35s, color .35s; }
.gh-log b { font-weight: 500; color: var(--y); }
.gh-log span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gh-log em { margin-left: auto; font-style: normal; white-space: nowrap; color: #7d7c77; }
.gh-log div.hot { background: rgba(255, 255, 255, .09); color: #fff; }
.gh-foot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.gh-foot span { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 12.5px; color: #e8e7e3; }
.gh-foot .ico { width: 13px; height: 13px; }
.folders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.store { border-radius: 18px; padding: 18px; min-height: 0; gap: 8px; }
.store-ico { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 6px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(33, 32, 28, .05); }
.store code { display: inline-block; font-size: 11.5px; padding: 2px 7px; border-radius: 6px; background: var(--soft); color: var(--ink-2); word-break: break-all; }
.store::after { content: "● Synced"; top: 20px; right: 18px; }

@media (max-width: 900px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .health-cols { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .health { padding: 20px 18px; }
}
@media (max-width: 640px) {
  .folders { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guards-list { grid-template-columns: minmax(0, 1fr); }
  .health .guards-list li { height: 56px; }
  .gh-log em { display: none; }
  .machines { grid-template-columns: 1fr; }
  .relay .flow { transform: rotate(90deg); }
}

.livedot { display: inline-block; vertical-align: middle; margin-right: 6px; }
.health-count { box-shadow: 0 1px 2px rgba(33, 32, 28, .05); }
.gh { min-width: 0; }
.gh-log { grid-template-columns: minmax(0, 1fr); }
.gh-log span { min-width: 0; }

/* Auto-sync window on the right, so it never covers the tool groups */
@media (min-width: 901px) {
  .assist { left: auto; right: 24px; bottom: 24px; }
  .fmain { margin-right: 346px; }
}

/* Coloured hero text */
.hero-grad { background: linear-gradient(90deg, var(--m), var(--ro) 48%, var(--o) 78%, #e9a11a); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero-sub a.tn { font-weight: 500; text-decoration-color: currentColor; text-decoration-thickness: 1px; }
.hero-sub a.tn-claude { color: #b8532e; }
.hero-sub a.tn-codex { color: #2f6bff; }
.hero-sub a.tn-cursor { color: #21201c; }
.hero-sub a.tn-kiro { color: #7c3aed; }
.hero-sub a.tn-ag { color: #1e8e3e; }
