/* VibeVac — landing page. No framework, no external font: system fonts look native on a Mac. */

:root {
  --ink: #0E1020;
  --ink-2: #2B2F45;
  --muted: #5D6178;
  --faint: #9497AB;
  --bg: #FBFAFF;
  --bg-2: #F3F1FB;
  --card: #FFFFFF;
  --line: rgba(14, 16, 32, .09);
  --line-2: rgba(14, 16, 32, .14);
  --shadow: 0 1px 2px rgba(20, 16, 60, .06), 0 12px 40px -12px rgba(40, 20, 100, .22);
  --shadow-big: 0 2px 4px rgba(20, 16, 60, .05), 0 40px 90px -30px rgba(60, 20, 140, .38);

  --violet: #7C3AED;
  --fuchsia: #D946EF;
  --pink: #EC4899;
  --orange: #F97316;
  --amber: #F59E0B;
  --teal: #14B8A6;
  --sky: #0EA5E9;
  --blue: #2563EB;
  --green: #16A34A;

  --safe: #16A34A;
  --review: #E07A10;
  --keep: #2563EB;

  /* explorer categories (same as the app) */
  --k-media: #F59E0B;
  --k-code: #8B5CF6;
  --k-sdk: #3B82F6;
  --k-ai: #EC4899;
  --k-pkg: #6366F1;
  --k-cont: #14B8A6;
  --k-other: #94A3B8;

  --accent: #6D4AFF;
  --accent-ink: #5532F0;
  --accent-soft: rgba(109, 74, 255, .1);
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, system-ui, sans-serif;
  --r: 18px;

  /* logo */
  --vv-ink: #1A1830;
  --c1: #7C3AED; --c2: #EC4899; --c3: #F97316; --c4: #14B8A6;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #F4F2FF; --ink-2: #D9D6EE; --muted: #A6A3BF; --faint: #6F6C88;
    --bg: #0B0A14; --bg-2: #121022; --card: #17152A;
    --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 40px -12px rgba(0, 0, 0, .7);
    --shadow-big: 0 2px 4px rgba(0, 0, 0, .4), 0 40px 90px -30px rgba(124, 58, 237, .45);
    --vv-ink: #EDEAFF; --accent: #8F7BFF; --accent-ink: #A796FF; --accent-soft: rgba(143, 123, 255, .14);
    --safe: #22C55E; --review: #F59E0B; --keep: #60A5FA;
    --apple-icon-filter: invert(1);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #F4F2FF; --ink-2: #D9D6EE; --muted: #A6A3BF; --faint: #6F6C88;
  --bg: #0B0A14; --bg-2: #121022; --card: #17152A;
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 40px -12px rgba(0, 0, 0, .7);
  --shadow-big: 0 2px 4px rgba(0, 0, 0, .4), 0 40px 90px -30px rgba(124, 58, 237, .45);
  --vv-ink: #EDEAFF; --accent: #8F7BFF; --accent-ink: #A796FF; --accent-soft: rgba(143, 123, 255, .14);
  --safe: #22C55E; --review: #F59E0B; --keep: #60A5FA;
  --apple-icon-filter: invert(1);
  color-scheme: dark;
}

*, *::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: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; line-height: 1.08; margin: 0; overflow-wrap: anywhere; }
[dir="rtl"] :is(h1, h2, h3) { line-height: 1.25; }
p { margin: 0; }
code { font-family: var(--mono); direction: ltr; unicode-bidi: isolate; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.accent, .grad { color: var(--accent); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  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: 8px; font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.brand-mark { display: block; width: 30px; height: 30px; }
.wordmark span { color: var(--accent); }
.nav-links { display: flex; gap: 24px; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-right { margin-inline-start: auto; display: flex; align-items: center; gap: 14px; }
.lang { position: relative; padding: 0; border-radius: 10px; flex: none; background: var(--bg-2); border: 1px solid var(--line); }
.lang > summary {
  min-height: 44px; align-items: center; padding-block: 6px; padding-inline: 12px 16px;
  border-radius: 9px; gap: 12px; font-size: 14px;
}
.lang > summary::after {
  content: ""; width: 7px; height: 7px; flex: none; border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); color: var(--muted);
}
.lang[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.lang-list {
  position: absolute; inset-inline-end: 0; inset-block-start: calc(100% + 8px); z-index: 2;
  width: min(224px, 100vw - 32px); max-height: min(340px, 55vh); max-height: min(340px, 55dvh);
  overflow-y: auto; overscroll-behavior: contain; list-style: none; margin: 0; padding: 6px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow-big);
}
.lang-list :is(a, button) { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 6px 12px; border-radius: 7px; color: var(--ink); }
.lang-list button { width: 100%; border: 0; background: transparent; cursor: pointer; font: inherit; text-align: start; }
.lang-list :is(a, button):hover, .lang-list :is([aria-current], [aria-pressed="true"]) { background: var(--accent-soft); }
.lang-list :is([aria-current], [aria-pressed="true"]) { font-weight: 700; }
.lang-list :is([aria-current], [aria-pressed="true"])::after {
  content: ""; width: 6px; height: 10px; flex: none; transform: translateY(-1px) rotate(45deg);
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; color: var(--accent);
}
.lang summary:focus-visible, .lang-list :is(a, button):focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.footer { border-top: 1px solid var(--line); padding: 34px 0 40px; }
details { border-bottom: 1px solid var(--line-2); padding: 18px 4px; }
summary { cursor: pointer; font-weight: 650; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--violet); transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin-top: 10px; font-size: 16px; }
/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 14px;
  font-weight: 650; font-size: 16px; letter-spacing: -.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s;
}
.btn svg { width: 18px; height: 18px; flex: none; fill: currentColor; margin-top: -2px; }
.btn-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 22px -10px rgba(85, 50, 240, .8), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.btn-primary:hover { transform: translateY(-1px); background: var(--accent-ink); }
.btn-ghost { background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.btn-ghost:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-small { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn-big { padding: 17px 30px; font-size: 18px; border-radius: 16px; }

/* ---------- logo: a funnel-shaped V that swallows bits ---------- */
.vv-logo { display: block; width: 100%; height: 100%; }
.vv-tile { fill: url(#vvTile); }
.vv-tile-edge { fill: none; stroke: #fff; stroke-opacity: .09; }
.vv-v { fill: none; stroke: #fff; stroke-width: 7.5; stroke-linecap: round; stroke-linejoin: round; }
.vv-bits { clip-path: url(#vvTileClip); }
/* the bits fall inside the V, which is drawn on top */
.vv-bits text {
  font: 800 11px var(--mono); fill: #A898FF; text-anchor: middle;
  transform-box: fill-box; transform-origin: center;
  animation: swallow 2.25s cubic-bezier(.5, 0, .9, .4) infinite; animation-delay: var(--d);
}
.vv-bits text:nth-child(2n) { fill: #D6CEFF; }
@keyframes swallow {
  0% { transform: translate(0, -6px) scale(1.1); opacity: 0; }
  15% { opacity: 1; }
  75% { opacity: 1; }
  100% { transform: translate(var(--dx), 27px) scale(.2); opacity: 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 64px 0 48px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  overflow: clip;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 13%, transparent) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-bg::after { content: ""; position: absolute; left: 50%; top: 78%; width: 900px; height: 420px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--accent-soft), transparent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 24px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }

/* ---------- hero vortex: the V swallows icons, media, build folders and bits ---------- */
.vortex { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; justify-self: end; --cx: 50%; --cy: 54%; }
.vx-glow { position: absolute; left: var(--cx); top: var(--cy); width: 78%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(109, 74, 255, .16), rgba(109, 74, 255, .05) 60%, transparent); }
.vx-rings i { position: absolute; left: var(--cx); top: var(--cy); border-radius: 50%; transform: translate(-50%, -50%);
  border: 1.5px dashed color-mix(in srgb, var(--accent) 22%, transparent); animation: ring 26s linear infinite; }
.vx-rings i:nth-child(1) { width: 46%; aspect-ratio: 1; animation-duration: 14s; border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.vx-rings i:nth-child(2) { width: 70%; aspect-ratio: 1; animation-direction: reverse; animation-duration: 22s; }
.vx-rings i:nth-child(3) { width: 94%; aspect-ratio: 1; border-style: dotted; animation-duration: 40s; }
@keyframes ring { to { transform: translate(-50%, -50%) rotate(360deg); } }
.vx-field { position: absolute; inset: 0; }
.vx-p {
  position: absolute; left: 0; top: 0; will-change: transform, opacity; pointer-events: none;
  transform: translate(-50%, -50%);
}
.vx-p.icon { width: 58px; height: 58px; filter: drop-shadow(0 6px 10px rgba(30, 20, 80, .22)); }
.vx-p.icon img { width: 100%; height: 100%; display: block; }
.vx-p.bit { font: 800 20px var(--mono); color: var(--accent); }
.vx-p.bit.light { color: #A898FF; }
.vx-p.file {
  display: flex; align-items: center; gap: 7px; padding: 5px 9px 5px 5px; border-radius: 10px; white-space: nowrap;
  background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 8px 18px -8px rgba(30, 20, 80, .3);
  font: 600 11.5px var(--mono); color: var(--ink-2);
}
.vx-p.file .th { width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; flex: none; }
.vx-p.file .th svg { width: 14px; height: 14px; fill: #fff; }
.vx-p.file .th.img { background: linear-gradient(160deg, #60A5FA, #A78BFA 55%, #F472B6); }
.vx-p.file .th.vid { background: linear-gradient(160deg, #1F2937, #4B5563); }
.vx-p.file .th.dir { background: color-mix(in srgb, #3B82F6 18%, var(--card)); }
.vx-p.file .th.dir svg { fill: #3B82F6; }
.vx-p.file .th.bin { background: color-mix(in srgb, #F59E0B 20%, var(--card)); }
.vx-p.file .th.bin svg { fill: #D97706; }
.vx-core {
  position: absolute; left: var(--cx); top: var(--cy); width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 2;
  filter: drop-shadow(0 22px 34px rgba(40, 20, 120, .38));
  transition: transform .16s cubic-bezier(.3, 1.8, .5, 1);
}
.vx-core.gulp { transform: translate(-50%, -50%) scale(1.06, .95); }
.vx-core .vv-logo { width: 100%; height: 100%; }
.vx-meter {
  position: absolute; left: var(--cx); top: calc(var(--cy) + 22%); transform: translateX(-50%); z-index: 2;
  display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 14px; border-radius: 99px; white-space: nowrap;
  background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 13px; color: var(--muted);
}
.vx-meter b { font: 800 17px var(--mono); color: var(--safe); letter-spacing: -.03em; }
.vx-meter .vx-unit { font: 700 13px var(--mono); color: var(--safe); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 99px;
  background: var(--card); border: 1px solid var(--line-2);
  font-size: 13.5px; font-weight: 600; color: var(--muted);
}
.hero h1 { text-wrap: balance; font-size: clamp(40px, 5vw, 64px); font-weight: 820; letter-spacing: -.04em; margin: 18px 0 20px; }
.hero h1 .accent { display: block; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 640px; }
.lead b { color: var(--ink); font-weight: 650; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 14px; }
.fine { font-size: 13.5px; color: var(--faint); }

/* ---------- mock app windows ---------- */
.window {
  position: relative;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-big);
  overflow: hidden;
  font-size: 13px;
  text-align: left;
}
.titlebar { display: flex; align-items: center; gap: 14px; height: 50px; padding: 0 16px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg-2) 60%, var(--card)); }
.lights { display: flex; gap: 7px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; }
.lights i:nth-child(2) { background: #FEBC2E; } .lights i:nth-child(3) { background: #28C840; }
.tb-title { display: flex; flex-direction: column; line-height: 1.2; }
.tb-title b { font-size: 13.5px; }
.tb-title small { color: var(--muted); font-size: 11.5px; }

.tb-spin { margin-left: auto; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--violet); animation: spin .8s linear infinite; }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; min-width: 0; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.panel-head b { font-size: 15px; }
.panel-head small { color: var(--muted); }
.seg { display: inline-flex; background: var(--bg-2); border-radius: 8px; padding: 2px; font-size: 12px; }
.seg i { font-style: normal; padding: 3px 9px; border-radius: 6px; color: var(--muted); }
.seg i.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }

/* treemap */
.treemap { display: grid; gap: 4px; }
.tile {
  grid-area: var(--a);
  --k: var(--k-other);
  position: relative; border-radius: 7px; padding: 7px 8px; min-width: 0; overflow: hidden;
  background: color-mix(in srgb, var(--k) 16%, var(--card));
  border: 1px solid color-mix(in srgb, var(--k) 38%, transparent);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: opacity .5s, transform .5s cubic-bezier(.3, 1.4, .5, 1), filter .4s, background .4s;
}
.tile b { font-size: 11.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile span { font: 650 11.5px var(--mono); color: color-mix(in srgb, var(--k) 70%, var(--ink)); }
.k-media { --k: var(--k-media); } .k-code { --k: var(--k-code); } .k-sdk { --k: var(--k-sdk); }
.k-ai { --k: var(--k-ai); } .k-pkg { --k: var(--k-pkg); } .k-cont { --k: var(--k-cont); }
.tile.s::after, .sub-tiles i.s::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--safe) 30%, transparent) 0 2px, transparent 2px 8px);
  opacity: 0; transition: opacity .5s;
}

/* recommendations list */
.ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 16px; background: color-mix(in srgb, var(--ib, var(--bg-2)) 16%, var(--card)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ib, var(--ink)) 18%, transparent); }
.tx { display: flex; flex-direction: column; min-width: 0; }
.tx b { font-size: 12.5px; font-weight: 620; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx small { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sz { font: 650 12px var(--mono); white-space: nowrap; }
.chev { color: var(--faint); font-size: 18px; text-align: center; }
.cb { width: 17px; height: 17px; border-radius: 5px; border: 1.5px solid var(--line-2); position: relative; transition: background .2s, border-color .2s; }
.cb.on { background: var(--ink); border-color: var(--ink); }
.cb.on::after { content: ""; position: absolute; left: 5px; top: 1.5px; width: 4px; height: 8px; border: solid var(--bg); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px var(--accent-soft); } }
.toast {
  position: absolute; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0;
  background: var(--ink); color: var(--bg); padding: 11px 20px; border-radius: 99px; font-weight: 600; font-size: 14px;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .4); transition: all .5s cubic-bezier(.3, 1.4, .5, 1);
}
.toast b { font-family: var(--mono); }

/* ---------- hero preview: mirrors the real app window ---------- */
.ha { margin-top: 56px; --win: #F2F2F5; }
.ha .titlebar { height: 52px; }
.ha .tb-title small .t-scanned { display: none; }
.ha:not([data-state="idle"]):not([data-state="scanning"]) .t-scanning { display: none; }
.ha:not([data-state="idle"]):not([data-state="scanning"]) .t-scanned { display: inline; }
.ha-rescan { margin-left: auto; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ha[data-state="scanning"] .ha-rescan { animation: spin .9s linear infinite; }
.ha-body { padding: 16px; background: color-mix(in srgb, var(--win) 100%, transparent); display: flex; flex-direction: column; gap: 14px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ha { --win: #141320; } }
:root[data-theme="dark"] .ha { --win: #141320; }
/* summary: one card, four cells, one bar */
.ha-summary { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border-radius: 14px; padding: 14px 0 22px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.ha-cell { padding: 0 18px; border-left: 1px solid var(--line); min-width: 0; }
.ha-cell:first-child { border-left: 0; }
.ha-cell small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.ha-cell .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--safe); }
.ha-cell .dot.rv { background: var(--review); }
.ha-cell b { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; font: 700 27px var(--mono); letter-spacing: -.04em; white-space: nowrap; }
.ha-cell b em { font-style: normal; }
.ha-cell b i { font: 500 11.5px var(--mono); font-style: normal; color: var(--muted); letter-spacing: 0; }
.ha-cell b i.ha-plus { color: var(--safe); }
.ha-bar { position: absolute; left: 18px; right: 18px; bottom: 9px; height: 4px; border-radius: 2px; background: var(--line); display: flex; overflow: hidden; }
.ha-bar i { display: block; height: 100%; transition: width 1.2s cubic-bezier(.2, .8, .2, 1); width: 0; }
.ha-bar .u { background: #C7C7CF; } .ha-bar .r { background: #A99BF5; } .ha-bar .sf { background: var(--safe); }
.ha:not([data-state="idle"]) .ha-bar .u { width: 29%; }
.ha:not([data-state="idle"]):not([data-state="scanning"]) .ha-bar .r { width: 52%; }
.ha:not([data-state="idle"]):not([data-state="scanning"]) .ha-bar .sf { width: 3%; }
.ha[data-state="done"] .ha-bar .sf, .ha[data-state="cleaning"] .ha-bar .sf { width: 0; }
/* main: explorer + recommendations, fixed height so the page never moves */
.ha-main { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 14px; height: 560px; }
.ha-card { background: var(--card); border-radius: 14px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.ha-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
.ha-head b { display: block; font-size: 16px; }
.ha-head small { color: var(--muted); font-size: 12px; }
.ha-seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 7px; overflow: hidden; font-size: 12px; flex: none; }
.ha-seg i { font-style: normal; padding: 3px 10px; color: var(--ink-2); }
.ha-seg i.on { background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: 6px; }
.ha-crumb { display: flex; justify-content: space-between; padding: 8px 16px; color: var(--muted); font-size: 12.5px; }
.ha-crumb span:last-child { font-family: var(--mono); }
/* treemap */
.ha-tm { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1.15fr; gap: 6px; padding: 0 12px; }
.ha-right { display: grid; grid-template-rows: 1.35fr 1fr; gap: 6px; min-height: 0; }
.ha-bottom { display: grid; grid-template-columns: 1.25fr 1fr .8fr; gap: 6px; min-height: 0; }
.ha-col { display: grid; grid-template-rows: 1fr 1fr; gap: 5px; min-height: 0; }
.ha-box, .ha-leaf { --k: #9CA3AF; position: relative; border-radius: 8px; min-width: 0; min-height: 0; overflow: hidden;
  background: color-mix(in srgb, var(--k) 13%, var(--card)); border: 1px solid color-mix(in srgb, var(--k) 38%, transparent);
  transition: opacity .45s, filter .45s, transform .5s cubic-bezier(.4, 0, .2, 1), border-color .3s; }
.ha-box { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto minmax(0, 1fr); padding: 6px 7px 7px; gap: 4px 8px; }
.ha-box > b { font-size: 12px; font-weight: 650; display: flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ha-box > span { font: 500 11px var(--mono); color: var(--muted); }
.ha-box > .ha-box, .ha-box > .ha-grid { grid-column: 1 / -1; }
.ha-grid { display: grid; gap: 4px; min-height: 0; grid-template-columns: 1fr; }
.ha-leaf { display: flex; flex-direction: column; justify-content: space-between; padding: 5px 7px; }
.ha-leaf b { font-size: 11.5px; font-weight: 550; display: flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ha-leaf span { font: 700 12.5px var(--mono); }
.ha-box img, .ha-leaf img { width: 14px; height: 14px; flex: none; }
.ha .c-code { --k: #8B7CF6; } .ha .c-media { --k: #F59E0B; } .ha .c-sdk { --k: #60A5FA; } .ha .c-lib { --k: #A1A1AA; } .ha .c-ai { --k: #EC4899; }
.ha-leaf.o { border-style: solid; }
.ha-docs { grid-template-rows: auto minmax(0, 1fr); }
.ha-devgrid { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(5, 1fr);
  grid-template-areas: "a a b c" "a a b c" "d e f g" "d h o o" "d h o o"; }
.ha-libgrid { grid-template-columns: 1fr 1fr .62fr; grid-template-rows: 1fr 1fr; grid-template-areas: "as dv dv" "as an pc"; }
.ha-asgrid { grid-template-rows: 2.2fr 1fr; }
.ha-cxgrid { grid-template-columns: 1.4fr 1fr; grid-template-rows: 1.4fr 1fr; }
.ha-cxgrid .ha-leaf:first-child { grid-column: 1 / -1; }
/* hatched = safe to remove, as in the app's cleanup view */
.ha-leaf.h::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-45deg, rgba(202, 138, 4, .38) 0 1.5px, transparent 1.5px 7px); }
.ha-leaf.h { --k: #D6B98C; }
.ha-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; padding: 10px 14px 12px; color: var(--muted); font-size: 11.5px; }
.ha-legend i { width: 9px; height: 9px; border-radius: 2px; background: var(--k); margin-right: -9px; }
/* scanning: tiles appear one by one */
.ha[data-state="idle"] .ha-leaf, .ha[data-state="scanning"] .ha-leaf:not(.shown) { opacity: 0; transform: scale(.94); }
/* hovering "Safe to remove": everything else dims */
.ha[data-state="hover"] .ha-leaf:not(.h) { opacity: .35; filter: saturate(.2); }
.ha[data-state="hover"] .ha-leaf.h { border-color: var(--safe); box-shadow: inset 0 0 0 1px var(--safe); }
.ha[data-state="hover"] .ha-safe { background: color-mix(in srgb, var(--safe) 7%, transparent); }
/* cleaning: the hatched tiles are swept away (their slot stays: the layout never moves) */
.ha[data-state="cleaning"] .ha-leaf.h, .ha[data-state="done"] .ha-leaf.h { opacity: 0; transform: scale(.6); }
/* recommendations */
.ha-list { flex: 1; min-height: 0; overflow: hidden; }
.ha-sec { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; font: 500 12px var(--mono); color: var(--muted); border-bottom: 1px solid var(--line); }
.pill-safe, .pill-review { font: 600 11.5px var(--sans); padding: 2px 9px; border-radius: 99px; }
.pill-safe { color: var(--safe); background: color-mix(in srgb, var(--safe) 13%, transparent); }
.pill-review { color: var(--review); background: color-mix(in srgb, var(--review) 13%, transparent); }
.ha-list ul { list-style: none; margin: 0; padding: 0 12px 0 16px; }
.ha-list li { display: grid; grid-template-columns: 17px 26px minmax(0, 1fr) auto 10px; gap: 10px; align-items: center; height: 47px; border-bottom: 1px solid var(--line);
  transition: opacity .35s, transform .35s; }
.ha-list li img { width: 26px; height: 26px; }
.ha-cb { width: 17px; height: 17px; border-radius: 5px; border: 1.5px solid var(--line-2); position: relative; }
.ha-cb.on { background: var(--ink); border-color: var(--ink); }
.ha-cb.on::after { content: ""; position: absolute; left: 5px; top: 1.5px; width: 4px; height: 8px; border: solid var(--card); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ha-tx { display: flex; flex-direction: column; min-width: 0; }
.ha-tx b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ha-tx small { font: 11px var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ha-sz { font: 700 12.5px var(--mono); white-space: nowrap; }
.ha-chev { color: var(--faint); }
.ha[data-state="idle"] .ha-list li, .ha[data-state="scanning"] .ha-list li { opacity: 0; transform: translateX(12px); }
.ha[data-state="cleaning"] .ha-list li.s.gone, .ha[data-state="done"] .ha-list li.s { opacity: 0; transform: translateX(-16px); }
.ha-foot { padding: 12px 16px 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); display: flex; flex-direction: column; gap: 10px; }
.ha-foot b { font-family: var(--mono); color: var(--ink); }
.ha-actions { display: flex; align-items: center; gap: 8px; }
.ha-btn { border: 1px solid var(--line-2); border-radius: 8px; padding: 5px 12px; color: var(--ink); font-weight: 550; }
.ha-more { margin-left: auto; color: var(--ink); letter-spacing: 1px; }
.ha-clean { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: var(--card); border-radius: 9px; padding: 7px 14px; font-weight: 650; transition: transform .12s; }
.ha-clean svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ha-clean.press { transform: scale(.93); }
.ha[data-state="done"] .toast { opacity: 1; transform: translate(-50%, 0); }
.ha .fake-cursor { z-index: 6; }

/* ---------- tools marquee ---------- */
.tools { padding: 72px 0 40px; }
.tools-title { text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 30px; width: max-content; animation: marquee 80s linear infinite; }
.track span {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px;
  background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 14px; white-space: nowrap;
}
.track span::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--c); box-shadow: 0 0 0 1px var(--line-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { position: relative; }
.section-head { max-width: 760px; margin: 0 auto 64px; }
.section-head h2, .safety h2, .rules h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; }
.kicker { font-weight: 700; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 12px; color: var(--accent); display: inline-block; }
.sub { color: var(--muted); font-size: 18px; margin-top: 16px; }

.problem { padding: 30px 0 60px; }
.problem-kicker { display: block; text-align: center; margin-bottom: 18px; }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pain { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.pain-n { display: block; font: 800 34px var(--mono); letter-spacing: -.05em; color: var(--accent); margin-bottom: 6px; }
.pain b { display: block; font-size: 16px; margin-bottom: 6px; }
.pain p { color: var(--muted); font-size: 14.5px; }

/* features */
.features { padding: 140px 0 40px; }
.feature { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; margin-bottom: 170px; }
.feature.flip .f-copy { order: 2; }
.f-tag { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 13px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); padding: 5px 11px; border-radius: 99px; margin-bottom: 16px; }
.f-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.f-copy h3 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; margin-bottom: 16px; }
.f-copy p { color: var(--muted); font-size: 17px; }
.f-copy p b { color: var(--ink); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 550; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: var(--accent); }
.note { margin-top: 16px; font-size: 14.5px !important; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.f-visual { position: relative; }
.f-visual::before { content: ""; position: absolute; inset: 10% 0 -8% 10%; background: radial-gradient(closest-side, var(--accent-soft), transparent); z-index: -1; }
.shot { font-size: 13px; }
.shot-body { position: relative; padding: 16px; min-height: 340px; }

/* fake cursor */
.fake-cursor {
  position: absolute; left: 0; top: 0; width: 20px; height: 22px; z-index: 5; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22'%3E%3Cpath d='M2 1l15 11-7 1.2L13.6 20l-3 1.4-3.6-7L2 18z' fill='%23111' stroke='%23fff' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat;
  transform: translate(var(--cx, 90%), var(--cy, 90%));
  transition: transform 1s cubic-bezier(.5, 0, .2, 1);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25));
}
.fake-cursor.click::after { content: ""; position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--violet); animation: ripple .5s ease-out; }
@keyframes ripple { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* F1 explorer */
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.mini-card { border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; display: flex; justify-content: space-between; align-items: baseline; transition: box-shadow .3s, border-color .3s; }
.mini-card small { color: var(--muted); }
.mini-card b { font: 700 16px var(--mono); }
.safe-card b { color: var(--safe); }
[data-anim="explorer"].hover .safe-card { border-color: var(--safe); box-shadow: 0 0 0 3px color-mix(in srgb, var(--safe) 18%, transparent); }
.tm-explorer {
  grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(3, 70px);
  grid-template-areas: "a a a b b c" "a a a b b c" "d e e f f c";
}
.sub-tiles { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; }
.sub-tiles i { position: relative; font: 600 10px var(--mono); font-style: normal; padding: 3px 5px; border-radius: 4px; background: color-mix(in srgb, var(--k) 14%, var(--card)); border: 1px solid color-mix(in srgb, var(--k) 25%, transparent); overflow: hidden; white-space: nowrap; }
[data-anim="explorer"].hover .tile:not(.s) > b, [data-anim="explorer"].hover .tile:not(.s) > span, [data-anim="explorer"].hover .sub-tiles i:not(.s) { opacity: .4; } [data-anim="explorer"].hover .tile:not(.s) { filter: saturate(.25); }
[data-anim="explorer"].hover .tile.s::after, [data-anim="explorer"].hover .sub-tiles i.s::after { opacity: 1; }
[data-anim="explorer"].hover .tile.s, [data-anim="explorer"].hover .sub-tiles i.s { border-color: var(--safe); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; margin-top: 12px; color: var(--muted); font-size: 11.5px; }
.legend i { width: 9px; height: 9px; border-radius: 3px; background: var(--k); margin-right: -8px; }
.popover {
  position: absolute; left: 28%; top: 62px; width: 260px; z-index: 4;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px;
  box-shadow: 0 20px 50px -14px rgba(0, 0, 0, .35); font-size: 12px;
  opacity: 0; transform: translateY(-6px) scale(.97); transition: all .35s cubic-bezier(.3, 1.3, .5, 1); pointer-events: none;
}
.popover b { display: block; margin-bottom: 6px; color: var(--safe); }
.popover div { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; }
.popover em { font-style: normal; font-weight: 700; }
[data-anim="explorer"].pop .popover { opacity: 1; transform: none; }

/* F2 verdicts */
.sheet-head { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.big-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; background: color-mix(in srgb, #16A34A 14%, var(--card)); box-shadow: inset 0 0 0 1px var(--line); }
.sheet-head b { font-size: 16px; }
.sheet-head small { display: flex; gap: 6px; margin-top: 4px; }
.sheet-head strong { font: 800 22px var(--mono); letter-spacing: -.04em; }
.pill { font-size: 11px; font-weight: 650; padding: 2px 8px; border-radius: 99px; }
.p-review { color: var(--review); background: color-mix(in srgb, var(--review) 13%, transparent); }
.p-cat { color: var(--k-sdk); background: color-mix(in srgb, var(--k-sdk) 13%, transparent); }
.summary { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--safe) 7%, transparent); border: 1px solid color-mix(in srgb, var(--safe) 22%, transparent); margin-bottom: 12px; font-size: 12px; color: var(--muted); }
.summary b { font-family: var(--mono); color: var(--ink); }
.sel-safe { margin-left: auto; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); padding: 5px 10px; border-radius: 8px; font-weight: 600; transition: transform .15s; }
.sel-safe.press { transform: scale(.93); }
.v-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.v-dot.safe { background: var(--safe); } .v-dot.review { background: var(--review); } .v-dot.keep { background: var(--keep); }
.entries { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.e { display: grid; grid-template-columns: 17px 1fr auto 62px; gap: 12px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line); transition: background .3s; }
.e:last-child { border-bottom: 0; }
.e .tx small { white-space: normal; }
.e.safe .tx small { color: var(--ink-2); }
.e.review .tx small { color: var(--review); }
.e .sz { text-align: right; }
.e.picked { background: color-mix(in srgb, #EF4444 7%, transparent); }
.age { font-size: 11px; color: var(--muted); white-space: nowrap; }
.age.old { color: #E5484D; }
.sheet-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.btn-o { border: 1px solid var(--line-2); padding: 7px 14px; border-radius: 9px; font-weight: 600; }
.btn-d { background: #F2A0A0; color: #fff; padding: 7px 14px; border-radius: 9px; font-weight: 650; transition: background .3s; }
.btn-d .on { display: none; }
[data-anim="verdicts"].picked .btn-d { background: #E5484D; }
[data-anim="verdicts"].picked .btn-d .on { display: inline; } [data-anim="verdicts"].picked .btn-d .off { display: none; }
.verdict-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.verdict-legend span { font-weight: 650; font-size: 14px; padding: 7px 12px; border-radius: 10px; }
.v-safe { color: var(--safe); background: color-mix(in srgb, var(--safe) 12%, transparent); }
.v-review { color: var(--review); background: color-mix(in srgb, var(--review) 12%, transparent); }
.v-keep { color: var(--keep); background: color-mix(in srgb, var(--keep) 12%, transparent); }

/* F3 projects */
.chips { display: flex; gap: 8px; margin-bottom: 12px; }
.chip { padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line-2); font-weight: 600; font-size: 12px; transition: all .3s; }
[data-anim="projects"]:not(.filtered) .chip:first-child, [data-anim="projects"].filtered .chip-f { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.projects { list-style: none; margin: 0; padding: 0; }
.pj { display: grid; grid-template-columns: 34px 1fr auto 20px; gap: 12px; align-items: center; padding: 9px 6px; border-bottom: 1px solid var(--line); max-height: 64px; transition: all .5s cubic-bezier(.3, .9, .4, 1); }
.pj .ico { width: 34px; height: 34px; font-size: 18px; background: var(--ib); box-shadow: none; }
.pj .tx small { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; white-space: normal; }
.pj em { font-style: normal; font-weight: 650; font-size: 10.5px; padding: 1px 7px; border-radius: 99px; }
.ai.claude { color: #C2410C; background: #FFEDD5; } .ai.cursor { color: #111827; background: #E5E7EB; }
.ai.codex { color: #047857; background: #D1FAE5; } .ai.antigravity { color: #1D4ED8; background: #DBEAFE; }
.tag-proto { color: #A21CAF; background: #FAE8FF; }
.tag-yours { color: #1D4ED8; background: #DBEAFE; }
.tag-warn { color: #B45309; background: #FEF3C7; }
.tag-safe { color: var(--safe); background: color-mix(in srgb, var(--safe) 13%, transparent); }
.tag-run { color: var(--keep); background: color-mix(in srgb, var(--keep) 13%, transparent); }
.lock { text-align: center; font-size: 13px; }
[data-anim="projects"].filtered .pj:not(.match) { opacity: 0; max-height: 0; padding-block: 0; border-width: 0; transform: translateX(-20px); }
.pj.picked { background: color-mix(in srgb, #EF4444 7%, transparent); }

/* F4 devices */
.tabs { display: flex; gap: 4px; background: var(--bg-2); padding: 3px; border-radius: 10px; margin-left: 6px; font-size: 12px; font-weight: 600; }
.tabs span { padding: 5px 11px; border-radius: 7px; color: var(--muted); transition: all .3s; white-space: nowrap; }
[data-tab="0"] .tabs span:nth-child(1), [data-tab="1"] .tabs span:nth-child(2), [data-tab="2"] .tabs span:nth-child(3) { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
[data-anim="devices"] .shot-body { display: grid; }
.pane { grid-area: 1 / 1; align-self: start; visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s, visibility 0s .45s; }
[data-tab="0"] .pane[data-pane="0"], [data-tab="1"] .pane[data-pane="1"], [data-tab="2"] .pane[data-pane="2"] { visibility: visible; opacity: 1; transform: none; transition: opacity .45s .1s, transform .45s .1s; }
@keyframes paneIn { from { opacity: 0; transform: translateY(8px); } }
[data-anim="devices"] .shot-body { min-height: 290px; }

/* F5 git */
.checks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 9px; }
.checks li { position: relative; padding-left: 28px; font-weight: 550; color: var(--faint); transition: color .3s; }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); transition: all .3s; }
.checks li.ok { color: var(--ink); }
.checks li.ok::before { background: var(--safe); border-color: var(--safe); }
.checks li.ok::after { content: ""; position: absolute; left: 6px; top: 5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.gitbar { height: 22px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.gitfill { height: 100%; width: 100%; background: repeating-linear-gradient(-45deg, #F97316 0 8px, #FB923C 8px 16px); border-radius: 7px; transition: width 1.6s cubic-bezier(.6, 0, .2, 1); }
[data-anim="git"].shrunk .gitfill { width: 1.2%; }
.gitnums { display: flex; align-items: center; gap: 16px; margin: 14px 0; }
.gitnums span { display: flex; flex-direction: column; }
.gitnums small { color: var(--muted); font-size: 11.5px; }
.gitnums b { font: 800 24px var(--mono); letter-spacing: -.04em; }
.gitnums .arrow { font-size: 22px; color: var(--faint); }
.git-after { color: var(--safe); }
.cmd { display: block; padding: 10px 12px; border-radius: 9px; background: #12102A; color: #E9E5FF; font-size: 12px; }
.cmd span { color: #8E89B5; margin-left: 8px; font-family: var(--sans); }

/* F6 cleanup */
.tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tasks li { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 10px; transition: background .3s; }
.tasks li.run { background: color-mix(in srgb, var(--violet) 8%, transparent); }
.tasks code { font-size: 11px; color: var(--muted); }
.st { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); position: relative; }
.run .st { border-color: var(--line-2); border-top-color: var(--violet); animation: spin .7s linear infinite; }
.ok .st { background: var(--safe); border-color: var(--safe); }
.ok .st::after { content: ""; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ok .sz { color: var(--safe); }
.progress { height: 6px; border-radius: 3px; background: var(--bg-2); margin: 14px 0; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .6s; }
.result { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); }
.result span { color: var(--muted); }
.result b { font: 800 18px var(--mono); letter-spacing: -.03em; }

/* stats */
.stats { padding: 40px 0 150px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 30px; border-radius: 26px; background: var(--ink); color: var(--bg); position: relative; overflow: hidden; }
.stats-grid::before { content: ""; position: absolute; right: -10%; top: -80%; width: 60%; height: 260%; background: radial-gradient(closest-side, rgba(109, 74, 255, .45), transparent); }
.stats-grid div { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 6px 10px; }
.stats-grid b { font: 800 clamp(30px, 3.4vw, 44px) var(--mono); letter-spacing: -.05em; }
.stats-grid div > span { opacity: .75; font-size: 14.5px; }

/* how */
.how { padding: 40px 0 150px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); position: relative; }
.step-n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 16px; }
.steps b { font-size: 19px; display: block; margin-bottom: 6px; }
.steps p { color: var(--muted); }

/* coverage */
.coverage { padding: 40px 0 150px; }
.cov-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cov { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden; }
.cov::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c); }
.cov:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cov span { font-size: 26px; }
.cov b { display: block; margin: 8px 0 6px; font-size: 16px; }
.cov p { color: var(--muted); font-size: 13.5px; }

/* safety */
.safety { padding: 140px 0; background: #0E0C1D; color: #F4F2FF; overflow: hidden; }
.safety::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -200px; background: radial-gradient(circle, rgba(124, 58, 237, .35), transparent 60%); }
.safety-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; position: relative; }
.kicker.light { color: #B4A6FF; }
.safety-copy p { color: #B9B5D6; font-size: 18px; margin-top: 18px; }
.safety-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.safety-cards div { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r); padding: 22px; }
.safety-cards span { font-size: 24px; }
.safety-cards b { display: block; margin: 8px 0 6px; font-size: 16.5px; }
.safety-cards p { color: #B9B5D6; font-size: 14px; }

/* rules */
.rules { padding: 150px 0; }
.rules-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.rules p { color: var(--muted); font-size: 17px; margin-top: 16px; }
.rules-feed { position: relative; height: 230px; overflow: hidden; mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); }
.feed-item { position: absolute; left: 0; right: 0; padding: 12px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font: 12.5px var(--mono); box-shadow: var(--shadow); animation: feed 10s linear infinite; opacity: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-item b { font-family: var(--sans); }
.feed-item em { font: 700 10.5px var(--sans); font-style: normal; padding: 2px 7px; border-radius: 99px; background: color-mix(in srgb, var(--safe) 14%, transparent); color: var(--safe); text-transform: uppercase; margin-right: 6px; }
.feed-item:nth-child(2) { animation-delay: -2s; } .feed-item:nth-child(3) { animation-delay: -4s; }
.feed-item:nth-child(4) { animation-delay: -6s; } .feed-item:nth-child(5) { animation-delay: -8s; }
@keyframes feed { 0% { transform: translateY(240px); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-50px); opacity: 0; } }

/* faq */
.faq { padding: 40px 0 150px; }

/* download */
.download { padding: 110px 0 120px; overflow: hidden; scroll-margin-top: 56px; }
.dl-logo { width: 72px; height: 72px; margin: 0 auto 24px; filter: drop-shadow(0 12px 22px rgba(40, 20, 120, .25)); }
.download h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 820; margin-bottom: 16px; }
.download .lead { margin: 0 auto 30px; }
.download .fine { margin-top: 16px; }
.download .dl-buy { margin-top: 16px; }
.download-picker { width: min(224px, 100%); margin: 0 auto 16px; }
.download-picker .lang-list { width: 100%; text-align: start; }
.platform-name { display: inline-flex; align-items: center; gap: 10px; }
.platform-name img { flex: none; object-fit: contain; }
.platform-name img[src*="/macos.png"] { filter: var(--apple-icon-filter, none); }

/* footer */
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; color: var(--muted); font-size: 14px; }
.foot-inner .legal { width: 100%; font-size: 12.5px; color: var(--faint); }
.foot-inner .lang { margin-inline-start: auto; }
.footer .lang-list { inset-block-start: auto; inset-block-end: calc(100% + 8px); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { align-items: center; text-align: center; }
  .hero-ctas { justify-content: center; }
  .vortex { justify-self: center; max-width: 440px; order: -1; margin: -20px 0 -30px; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 32px; margin-bottom: 90px; }
  .feature.flip .f-copy { order: 0; }
  .pain-grid, .cov-grid { grid-template-columns: 1fr 1fr; }
  .safety-grid, .rules-inner { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 720px) {
  .ha-summary { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .ha-cell:nth-child(3) { border-left: 0; }
  .ha-cell b { font-size: 21px; }
  .ha-main { grid-template-columns: 1fr; grid-template-rows: 380px 430px; height: auto; }
  .ha-head small { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .app-split { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .e { grid-template-columns: 17px 1fr 56px; }
  .e .age { display: none; }
  .summary .sel-safe { margin-left: 0; }
  .popover { left: 8%; }
}
@media (max-width: 520px) {
  .vx-p.icon { width: 44px; height: 44px; }
  .track span { font-size: 16px; padding: 9px 18px 9px 9px; }
  .track img { width: 36px; height: 36px; }
  .vx-p.file { font-size: 10.5px; }
  .pain-grid, .cov-grid, .safety-cards { grid-template-columns: 1fr; }
  .nav-right .btn { display: none; }
  .tabs span { padding: 5px 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .vv-bits text { opacity: .9; transform: translate(0, 8px); }
  .reveal { opacity: 1; transform: none; }
}


/* ---------- real app icons (exported from the app) ---------- */
img.ico { width: 30px; height: 30px; background: none; box-shadow: none; border-radius: 0; display: block; }
img.ico.sm { width: 24px; height: 24px; }
.pj img.ico { width: 34px; height: 34px; }
img.big-ico { width: 46px; height: 46px; background: none; box-shadow: none; }
.tasks li { grid-template-columns: 22px 24px 1fr auto; }
.tabs span { display: inline-flex; align-items: center; gap: 6px; }
.tabs img { width: 16px; height: 16px; }
.track span { gap: 14px; padding: 8px 22px 8px 0; font-size: 19px; font-weight: 650; background: none; border: 0; box-shadow: none; }
.track span::before { content: none; }
.track img { width: 46px; height: 46px; }
.cov img { display: block; width: 40px; height: 40px; }
.cov::before { height: 2px; opacity: .8; }
.sicon { width: 26px; height: 26px; fill: none; stroke: #B4A6FF; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lk { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; vertical-align: -1px; margin-right: 4px; }
.lock { display: grid; place-items: center; color: var(--faint); }
.verdict-legend span { display: inline-flex; align-items: center; }
.verdict-legend .lk { width: 13px; height: 13px; }

/* ---------- pricing ---------- */
.pricing { padding: 40px 0 150px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 20px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.plan-main {
  position: relative; overflow: hidden; color: #fff; border: 0;
  background: radial-gradient(120% 90% at 100% 0%, #8B6DFF 0%, transparent 55%), linear-gradient(160deg, #6D4AFF, #4B2BE0);
  box-shadow: 0 30px 60px -24px rgba(85, 50, 240, .55);
}
.plan-main::before { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .18); animation: spin 30s linear infinite; }
.plan-main .plan-name, .plan-main .plan-note { color: rgba(255, 255, 255, .78); }
.plan-main .plan-price b { color: #fff; }
.plan-main .plan-price span { color: rgba(255, 255, 255, .75); }
.plan-main .pc-ck { stroke: #fff; }
/* the white button wants to be clicked: a little hop, a shine passing through, a soft halo */
.btn-white {
  position: relative; overflow: hidden; justify-content: center;
  background: #fff; color: #4B2BE0; font-weight: 750;
  box-shadow: 0 10px 24px -8px rgba(20, 8, 80, .55);
  animation: hop 2.8s cubic-bezier(.3, 1.6, .5, 1) infinite, halo 2.8s ease-out infinite;
}
.btn-white span { position: relative; z-index: 1; }
.btn-white::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(109, 74, 255, .22), transparent);
  transform: skewX(-20deg); animation: shine 2.8s ease-in-out infinite;
}
.btn-white:hover { animation: none; transform: translateY(-2px) scale(1.03); box-shadow: 0 16px 34px -10px rgba(20, 8, 80, .6), 0 0 0 6px rgba(255, 255, 255, .22); }
.btn-white:hover::after { animation-duration: 1s; }
@keyframes hop { 0%, 62%, 100% { transform: none; } 70% { transform: translateY(-4px) scale(1.035); } 78% { transform: translateY(0) scale(.99); } 86% { transform: translateY(-1.5px); } }
@keyframes halo { 0%, 62% { box-shadow: 0 10px 24px -8px rgba(20, 8, 80, .55), 0 0 0 0 rgba(255, 255, 255, .5); } 100% { box-shadow: 0 10px 24px -8px rgba(20, 8, 80, .55), 0 0 0 14px rgba(255, 255, 255, 0); } }
@keyframes shine { 0%, 55% { left: -60%; } 85%, 100% { left: 120%; } }
.plan-name { font-weight: 700; font-size: 15px; color: var(--muted); }
.plan-price b { font: 800 30px var(--display); letter-spacing: -.03em; color: var(--ink); }
.plan-price span { color: var(--muted); font-size: 14px; margin-left: 4px; }
.plan ul, .co-list { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 10px; }
.plan li, .co-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.pc-ck { width: 18px; height: 18px; flex: none; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.plan .btn { justify-content: center; margin-top: auto; }
.plan-note { font-size: 13px; color: var(--muted); text-align: center; }
.dl-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }

/* ---------- buy & thanks pages ---------- */
.page { position: relative; padding: 70px 0 120px; min-height: 70vh; }
.checkout { max-width: 560px; display: flex; flex-direction: column; gap: 18px; }
.co-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow-big); display: flex; flex-direction: column; gap: 18px; }
.co-head { display: flex; align-items: center; gap: 16px; }
.co-icon { width: 64px; height: 64px; flex: none; }
.co-head h1 { font-size: 26px; font-weight: 800; }
.co-head p { color: var(--muted); }
.co-price { margin-inline-start: auto; text-align: end; display: flex; flex-direction: column; }
.co-price b { font: 800 26px var(--display); color: var(--ink); letter-spacing: -.03em; }
.co-price span { font-size: 12.5px; }
.co-pay { justify-content: center; }
.co-pay svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.co-secure { font-size: 12.5px; color: var(--muted); text-align: center; }
.co-trial { border: 1px dashed var(--line-2); border-radius: 16px; padding: 18px 20px; display: grid; gap: 8px; justify-items: start; }
.co-trial p { color: var(--muted); font-size: 14.5px; }
.co-faq details { padding: 14px 4px; }
.co-faq summary { font-size: 16px; }
.lic-box { border-radius: 14px; background: var(--bg-2); padding: 16px; display: grid; gap: 8px; }
.lic-label { font-size: 12.5px; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.lic-key { display: flex; gap: 10px; align-items: center; }
.lic-key code { flex: 1; min-width: 0; font-size: 12px; word-break: break-all; line-height: 1.5; user-select: all; }
.lic-email { font-size: 13px; color: var(--muted); }
.lic-error { font-size: 14px; color: #DC2626; }
.lic-steps { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; font-size: 14.5px; }
.lic-steps b { color: var(--ink); }
.lic-steps a { color: var(--accent); text-decoration: underline; }
[hidden] { display: none !important; }

/* ---------- "Sound familiar?": the disk fills up while you watch ---------- */
.diskfill { max-width: 760px; margin: 0 auto 36px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px 14px; box-shadow: var(--shadow); }
.df-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 14px; }
.df-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; }
.df-name svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 1.7; }
.df-free { color: var(--muted); }
.df-free b { font-family: var(--mono); color: var(--ink); transition: color .3s; }
.df-bar { display: flex; height: 16px; border-radius: 6px; overflow: hidden; background: var(--line); gap: 2px; }
.df-bar i { display: block; width: 0; height: 100%; transition: width 1.1s cubic-bezier(.3, .8, .3, 1); }
.df-sys { background: #A1A1AA; } .df-nm { background: #8B5CF6; } .df-sim { background: #2563EB; } .df-dk { background: #0EA5E9; } .df-ai { background: #EC4899; }
.play .df-sys { width: 22%; }
.play .df-nm { width: 18%; transition-delay: .5s; }
.play .df-sim { width: 20%; transition-delay: 1s; }
.play .df-dk { width: 24%; transition-delay: 1.5s; }
.play .df-ai { width: 15.5%; transition-delay: 2s; }
.df-warn { display: flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 13.5px; font-weight: 600; color: #DC2626; opacity: 0; transform: translateY(-4px); transition: opacity .4s 3.1s, transform .4s 3.1s; }
.df-warn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.play .df-warn { opacity: 1; transform: none; }
.diskfill.full .df-free b { color: #DC2626; animation: blink 1s ease-in-out infinite; }
.diskfill.full { animation: shake .5s cubic-bezier(.36, .07, .19, .97); }
@keyframes shake { 20%, 80% { transform: translateX(-2px); } 40%, 60% { transform: translateX(3px); } }

/* cards: a mini scene each, and a 3D tilt under the pointer */
.pain { position: relative; overflow: hidden; transform-style: preserve-3d; transition: transform .25s ease, box-shadow .25s; will-change: transform; }
.pain::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--pc) 14%, transparent), transparent 60%); }
.pain:hover::after { opacity: 1; }
.pain .pain-n { color: var(--pc); }
.viz { position: relative; height: 92px; margin: -4px -4px 16px; border-radius: 12px; overflow: hidden; background: color-mix(in srgb, var(--pc) 7%, var(--bg-2)); }

/* 1. node_modules folders fall and pile up */
.viz-pile { display: grid; grid-template-columns: repeat(13, 1fr); gap: 3px; align-content: end; padding: 8px 9px; }
.viz-pile i { height: 11px; border-radius: 2.5px; background: var(--c); position: relative; opacity: 0; }
.viz-pile i::before { content: ""; position: absolute; left: 1px; top: -2px; width: 45%; height: 3px; border-radius: 1.5px 1.5px 0 0; background: var(--c); }
.play .viz-pile i { animation: drop .55s cubic-bezier(.3, 1.5, .55, 1) both; animation-delay: var(--d); }
@keyframes drop { 0% { opacity: 0; transform: translateY(-110px) rotate(var(--r)); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.viz-pile.wobble { animation: wobble .6s ease; }
@keyframes wobble { 30% { transform: scaleY(.92) scaleX(1.03); } 60% { transform: scaleY(1.04); } }

/* 2. simulators boot… or don't */
.viz-sims { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px 8px; padding: 10px 14px; place-items: center; }
.viz-sims i { width: 18px; height: 30px; border: 2px solid #3B82F6; border-radius: 5px; position: relative; opacity: 0; background: color-mix(in srgb, #3B82F6 12%, var(--card)); }
.viz-sims i::before { content: ""; position: absolute; left: 50%; top: 2px; width: 5px; height: 1.5px; border-radius: 1px; background: currentColor; color: #3B82F6; transform: translateX(-50%); }
.play .viz-sims i { animation: popin .4s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: var(--d); }
.play .viz-sims i.dead { animation: popin .4s cubic-bezier(.3, 1.6, .5, 1) both, die .5s steps(2) both; animation-delay: var(--d), calc(var(--d) + 1.3s); }
.viz-sims i.dead::after { content: "×"; position: absolute; inset: 0; display: grid; place-items: center; font: 800 15px var(--sans); color: #DC2626; opacity: 0; }
.play .viz-sims i.dead::after { animation: fadein .2s both; animation-delay: calc(var(--d) + 1.6s); }
@keyframes popin { from { opacity: 0; transform: scale(.3) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes die { 0% { transform: translateX(-2px); } 50% { transform: translateX(2px); } 100% { opacity: 1; border-color: #DC2626; background: color-mix(in srgb, #DC2626 10%, var(--card)); filter: grayscale(.2); } }
@keyframes fadein { to { opacity: 1; } }

/* 3. Docker's disk fills up, the whale rides the water */
.viz-tank .water { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: linear-gradient(180deg, #38BDF8, #0284C7); transition: height 2.2s cubic-bezier(.3, .7, .3, 1) .3s; }
.play .viz-tank .water { height: 74%; }
.viz-tank .water i { position: absolute; left: 0; top: -9px; width: 200%; height: 12px;
  background: radial-gradient(ellipse 14px 7px at 14px 9px, #38BDF8 98%, transparent) repeat-x; background-size: 28px 12px; animation: wave 1.6s linear infinite; }
@keyframes wave { to { transform: translateX(-28px); } }
.viz-tank .whale { position: absolute; left: 50%; width: 38px; height: 38px; bottom: 4%; transform: translateX(-50%); transition: bottom 2.2s cubic-bezier(.3, .7, .3, 1) .3s; filter: drop-shadow(0 4px 6px rgba(0, 60, 120, .3)); }
.play .viz-tank .whale { bottom: calc(74% - 14px); animation: bob 2s ease-in-out 2.5s infinite; }
@keyframes bob { 50% { transform: translateX(-50%) translateY(-4px) rotate(-4deg); } }
.tank-label { position: absolute; left: 10px; top: 8px; font: 600 11px var(--mono); color: var(--muted); z-index: 1; }

/* 4. agent session files stream by */
.viz-log { mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); }
.log-roll { position: absolute; left: 10px; right: 10px; top: 0; display: flex; flex-direction: column; gap: 3px; }
.play .log-roll { animation: roll 7s linear infinite; }
.log-roll div { display: flex; align-items: center; gap: 6px; font: 500 10.5px var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; height: 15px; }
.log-roll img { width: 13px; height: 13px; flex: none; }
.log-roll .f { font-weight: 600; color: var(--ink-2); }
@keyframes roll { to { transform: translateY(-50%); } }

@media (prefers-reduced-motion: reduce) { .pain { transform: none !important; } }
.pain.reveal.in { transition: transform .25s ease, box-shadow .25s, opacity .8s; }

.how-app { margin-top: 64px; }
.how-app .ha { margin-top: 0; }
.btn-dark:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(14, 16, 32, .6); }
/* Free trial button: white, clearly outlined, lifted */
.plan .btn-ghost { border: 1.5px solid color-mix(in srgb, var(--ink) 30%, transparent); box-shadow: 0 14px 28px -10px rgba(20, 16, 60, .35), 0 3px 6px rgba(20, 16, 60, .08); }
.plan .btn-ghost:hover { border-color: color-mix(in srgb, var(--ink) 45%, transparent); box-shadow: 0 18px 34px -10px rgba(20, 16, 60, .42), 0 3px 6px rgba(20, 16, 60, .1); }

/* "Your disk is almost full." blinks like a system warning */
.diskfill.full .df-warn { animation: warnblink 1s steps(2, jump-none) infinite; }
.diskfill.full .df-warn svg { animation: warnpulse 1s ease-in-out infinite; transform-origin: center; }
@keyframes warnblink { 0% { opacity: 1; } 50% { opacity: .25; } }
@keyframes warnpulse { 50% { transform: scale(1.25); } }

/* "Sound familiar?": whispered small (light grey) → a glitchy middle step (mid grey) → slammed big (darker grey),
   then it keeps glitching now and then. Greys only: the glitch layers are a lighter and a darker grey. */
.problem-kicker {
  display: table; margin: 0 auto 30px; position: relative; transform-origin: 50% 60%;
  font: 850 clamp(32px, 3.8vw, 48px) var(--display); letter-spacing: -.035em; text-transform: none;
  --k1: #D9D9DF; --k2: #B3B3BD; --k3: #8A8A96; --g1: #C9C9D1; --g2: #6F6F7B;
  color: var(--k3);
}
.problem-kicker::before, .problem-kicker::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.problem-kicker::before { color: var(--g1); }
.problem-kicker::after { color: var(--g2); }
.problem-kicker.whisper { transform: scale(.38); color: var(--k1); }
.problem-kicker.mid { transform: scale(.68) skewX(-6deg); color: var(--k2); transition: transform .12s steps(2), color .12s; }
.problem-kicker.mid::before { animation: glitchA .3s steps(3) both; }
.problem-kicker.mid::after { animation: glitchB .3s steps(3) both; }
.problem-kicker.slam { animation: slam .6s cubic-bezier(.2, 1.8, .4, 1) both; }
.problem-kicker.slam::before { animation: glitchA .45s steps(4) both, glitchLoopA 3.2s steps(1) 1.2s infinite; }
.problem-kicker.slam::after { animation: glitchB .45s steps(4) both, glitchLoopB 3.2s steps(1) 1.2s infinite; }
@keyframes slam {
  0% { transform: scale(.68) skewX(-6deg); color: var(--k2); }
  30% { transform: scale(1.18) skewX(8deg) translateX(-6px); color: var(--k3); }
  45% { transform: scale(1.06) skewX(-4deg) translateX(5px); }
  60% { transform: scale(1.02) translateX(-2px); }
  100% { transform: none; color: var(--k3); }
}
/* slices of the word jump left and right (RGB-split, in greys) */
@keyframes glitchA {
  0% { opacity: 1; clip-path: inset(10% 0 70% 0); transform: translate(-8px, -2px); }
  33% { opacity: 1; clip-path: inset(55% 0 20% 0); transform: translate(7px, 1px); }
  66% { opacity: 1; clip-path: inset(30% 0 45% 0); transform: translate(-4px, 0); }
  100% { opacity: 0; clip-path: inset(0); transform: none; }
}
@keyframes glitchB {
  0% { opacity: 1; clip-path: inset(65% 0 5% 0); transform: translate(8px, 2px); }
  33% { opacity: 1; clip-path: inset(15% 0 60% 0); transform: translate(-6px, -1px); }
  66% { opacity: 1; clip-path: inset(40% 0 35% 0); transform: translate(5px, 0); }
  100% { opacity: 0; clip-path: inset(0); transform: none; }
}
@keyframes glitchLoopA {
  0%, 86% { opacity: 0; }
  88% { opacity: 1; clip-path: inset(20% 0 55% 0); transform: translate(-6px, 0); }
  91% { opacity: 1; clip-path: inset(60% 0 15% 0); transform: translate(5px, 0); }
  94% { opacity: 0; }
}
@keyframes glitchLoopB {
  0%, 87% { opacity: 0; }
  89% { opacity: 1; clip-path: inset(50% 0 25% 0); transform: translate(6px, 0); }
  92% { opacity: 1; clip-path: inset(10% 0 70% 0); transform: translate(-5px, 0); }
  95% { opacity: 0; }
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .problem-kicker { --k1: #45454F; --k2: #6E6E7A; --k3: #A5A5B0; --g1: #5A5A65; --g2: #C9C9D2; } }
:root[data-theme="dark"] .problem-kicker { --k1: #45454F; --k2: #6E6E7A; --k3: #A5A5B0; --g1: #5A5A65; --g2: #C9C9D2; }
@media (prefers-reduced-motion: reduce) { .problem-kicker, .problem-kicker::before, .problem-kicker::after { animation: none !important; transform: none !important; } .problem-kicker { color: var(--k3) !important; } }
