/* ==========================================================================
   Imprint — landing page
   Modern CSS: oklch colors, @property hue animation, scroll-driven
   animations, view transitions, container queries, interpolate-size.
   ========================================================================== */

@property --h {
  syntax: "<number>";
  inherits: true;
  initial-value: 128;
}

:root {
  --h: 128;                                   /* accent hue — changes per audience */
  --accent: oklch(0.88 0.19 var(--h));
  --accent-2: oklch(0.72 0.2 calc(var(--h) + 40));
  --accent-soft: oklch(0.88 0.19 var(--h) / 0.12);
  --accent-line: oklch(0.88 0.19 var(--h) / 0.35);
  --accent-ink: #0a0b0d;

  --bg: #08090b;
  --bg-2: #0c0d10;
  --surface: #111317;
  --surface-2: #16181d;
  --surface-3: #1c1f25;
  --line: rgb(255 255 255 / 0.07);
  --line-2: rgb(255 255 255 / 0.12);
  --text: #ededf0;
  --muted: #9095a0;
  --dim: #5f646e;
  --ok: oklch(0.82 0.17 150);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
  transition: --h 0.7s var(--ease);
  interpolate-size: allow-keywords;
}

html[data-aud="personal"] { --h: 128; }
html[data-aud="business"] { --h: 245; }
html[data-aud="privacy"]  { --h: 295; }
html[data-aud="gaming"]   { --h: 38; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* film grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

[hidden] { display: none !important; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
code { font-family: var(--mono); font-size: 0.9em; background: var(--surface-3); padding: 0.1em 0.4em; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.ic { width: 18px; height: 18px; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ───────── Buttons ───────── */
.btn {
  --b: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--b);
  font-weight: 550; font-size: 14.5px; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.3s;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; transform: none; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn--lg { height: 50px; padding: 0 24px; font-size: 15.5px; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--accent); color: var(--accent-ink); border-color: transparent;
  box-shadow: 0 0 0 1px oklch(1 0 0 / 0.15) inset, 0 8px 30px -8px oklch(0.88 0.19 var(--h) / 0.55);
}
.btn--primary:hover { box-shadow: 0 0 0 1px oklch(1 0 0 / 0.25) inset, 0 10px 40px -6px oklch(0.88 0.19 var(--h) / 0.75); transform: translateY(-1px); }
.btn--ghost { background: rgb(255 255 255 / 0.03); color: var(--text); }
.btn--ghost:hover { background: rgb(255 255 255 / 0.07); --b: rgb(255 255 255 / 0.2); }

/* ───────── Nav ───────── */
.nav {
  position: fixed; top: 12px; left: 0; right: 0; z-index: 50;
  display: grid; justify-items: center;
  padding-inline: 16px;
}
.nav__inner {
  width: min(100%, 1080px);
  display: flex; align-items: center; gap: 24px;
  height: 58px; padding: 0 10px 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.nav.is-scrolled .nav__inner {
  background: rgb(14 15 18 / 0.7);
  border-color: var(--line-2);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 10px 40px -12px rgb(0 0 0 / 0.6);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 17px; letter-spacing: -0.02em; white-space: nowrap; }
.brand__mark { width: 26px; height: 26px; color: var(--text); }
.nav__links { display: flex; gap: 4px; margin-inline: auto; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color 0.2s, background 0.2s; }
.nav__links a:hover { color: var(--text); background: rgb(255 255 255 / 0.05); }
.nav__cta { display: flex; align-items: center; gap: 8px; }
.nav__burger { display: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; place-items: center; }
.nav__mobile {
  width: min(100%, 1080px); margin-top: 8px; padding: 10px;
  border-radius: 20px; border: 1px solid var(--line-2);
  background: rgb(14 15 18 / 0.92); backdrop-filter: blur(16px);
  display: grid;
}
.nav__mobile[hidden] { display: none; }
.nav__mobile a { padding: 12px 14px; border-radius: 12px; color: var(--muted); }
.nav__mobile a:hover { background: rgb(255 255 255 / 0.05); color: var(--text); }

/* ───────── Hero ───────── */
.hero { position: relative; padding: 150px 0 80px; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__grid {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%);
}
.hero__glow {
  position: absolute; left: 50%; top: -260px; translate: -50% 0;
  width: 1100px; height: 700px;
  background:
    radial-gradient(closest-side, oklch(0.88 0.19 var(--h) / 0.32), transparent),
    radial-gradient(closest-side at 70% 60%, oklch(0.72 0.2 calc(var(--h) + 60) / 0.22), transparent);
  filter: blur(40px);
  animation: breathe 9s ease-in-out infinite alternate;
}
@keyframes breathe { to { transform: scale(1.12) translateY(30px); opacity: 0.8; } }

.hero__copy { display: grid; justify-items: center; text-align: center; }
.pill-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 5px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgb(255 255 255 / 0.03);
  font-size: 13.5px; color: var(--muted);
  transition: border-color 0.3s, color 0.3s;
}
.pill-link:hover { border-color: var(--accent-line); color: var(--text); }
.pill-link .ic { width: 14px; height: 14px; transition: translate 0.3s var(--ease); }
.pill-link:hover .ic { translate: 3px 0; }
.pill-link__tag { background: var(--accent-soft); color: var(--accent); padding: 2px 10px; border-radius: 999px; font-weight: 600; font-size: 12px; }

.hero__title {
  margin: 28px 0 0;
  font-size: clamp(44px, 7.6vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 620;
  text-wrap: balance;
  background: linear-gradient(180deg, #fff 30%, #b5b8c0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  padding-right: 0.06em;
}
.hero__sub {
  margin: 24px 0 0; max-width: 600px;
  font-size: clamp(16.5px, 1.6vw, 19px); color: var(--muted);
  text-wrap: pretty; min-height: 3.2em;
  view-transition-name: hero-sub;
}

/* audience switch */
.aud {
  position: relative; margin-top: 30px;
  display: inline-flex; padding: 4px; gap: 2px;
  border-radius: 999px; border: 1px solid var(--line-2);
  background: rgb(255 255 255 / 0.03);
}
.aud__btn {
  position: relative; z-index: 1;
  border: 0; background: none; padding: 9px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 550; color: var(--muted);
  transition: color 0.3s;
}
.aud__btn[aria-selected="true"] { color: var(--accent-ink); }
.aud__btn:not([aria-selected="true"]):hover { color: var(--text); }
.aud__indicator {
  position: absolute; top: 4px; bottom: 4px; left: 0;
  width: var(--w, 90px); translate: var(--x, 4px) 0;
  border-radius: 999px; background: var(--accent);
  box-shadow: 0 6px 24px -6px oklch(0.88 0.19 var(--h) / 0.7);
  transition: translate 0.5s var(--ease), width 0.5s var(--ease);
}

.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero__meta { margin: 16px 0 0; font-size: 13px; color: var(--dim); }

/* ───────── Demo window ───────── */
.demo {
  margin-top: 70px;
  perspective: 1800px;
  view-transition-name: demo;
}
.win {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgb(24 26 31 / 0.92), rgb(14 15 18 / 0.96));
  backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.5),
    0 50px 120px -30px rgb(0 0 0 / 0.9),
    0 30px 80px -40px oklch(0.88 0.19 var(--h) / 0.35);
  overflow: hidden;
  transform-origin: 50% 0;
}
.win::before { /* top edge highlight */
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, oklch(0.88 0.19 var(--h) / 0.6), transparent);
}
.win__bar { display: flex; align-items: center; justify-content: space-between; height: 40px; padding-left: 16px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.win__title { display: flex; align-items: center; gap: 8px; }
.win__logo { width: 15px; height: 15px; color: var(--text); }
.win__controls { display: flex; height: 100%; }
.win__controls span { width: 46px; display: grid; place-items: center; font-size: 11px; color: var(--dim); }
.win__body { display: grid; grid-template-columns: 210px 1fr; height: 520px; }

.win__side { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-right: 1px solid var(--line); background: rgb(0 0 0 / 0.15); }
.side__item {
  display: flex; align-items: center; gap: 10px;
  border: 0; background: none; text-align: left;
  padding: 9px 12px; border-radius: 10px;
  font-size: 13.5px; color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
.side__item .ic { width: 16px; height: 16px; }
.side__item:hover { background: rgb(255 255 255 / 0.04); color: var(--text); }
.side__item[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); }
.side__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.side__sys { display: flex; gap: 10px; align-items: center; padding: 6px; font-size: 12px; }
.side__sys b { display: block; font-weight: 550; font-size: 12px; }
.side__sys small { color: var(--dim); font-size: 11.5px; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--ok { background: var(--ok); box-shadow: 0 0 10px var(--ok); }

.win__main { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.panel {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: 20px 22px; view-transition-name: panel;
  scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent;
}
.win__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 12px 22px; border-top: 1px solid var(--line); background: rgb(0 0 0 / 0.2); }
.win__hint { font-size: 12.5px; color: var(--dim); }

.p-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.p-head h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.p-head p { margin: 2px 0 0; font-size: 12.5px; color: var(--dim); }
.p-search { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgb(0 0 0 / 0.25); color: var(--dim); font-size: 12.5px; min-width: 200px; }
.p-search .ic { width: 14px; height: 14px; }

.chips { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.chip { padding: 4px 11px; border-radius: 999px; font-size: 12px; border: 1px solid var(--line-2); color: var(--muted); background: none; }
.chip.is-on { background: var(--text); color: var(--bg); border-color: transparent; }

.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.app {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 12px;
  border: 1px solid var(--line); background: rgb(255 255 255 / 0.02);
  text-align: left; font-size: 13px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}
.app:hover { border-color: var(--line-2); transform: translateY(-1px); }
.app.is-on { border-color: var(--accent-line); background: var(--accent-soft); }
.app__ic {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  font-weight: 700; font-size: 13px; color: #fff; flex: none;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12), inset 0 1px 0 rgb(255 255 255 / 0.18), 0 2px 6px -2px rgb(0 0 0 / 0.6);
}
.app__ic svg { width: 58%; height: 58%; }
.app__ic--dark { background: linear-gradient(180deg, #2a2d34, #1a1c21); }
.app__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app__box { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--dim); display: grid; place-items: center; flex: none; transition: all 0.2s; }
.app__box svg { width: 11px; height: 11px; opacity: 0; color: var(--accent-ink); }
.app.is-on .app__box { background: var(--accent); border-color: var(--accent); }
.app.is-on .app__box svg { opacity: 1; }

.rows { display: grid; gap: 6px; }
.row {
  display: flex; align-items: center; gap: 14px;
  width: 100%; text-align: left;
  padding: 11px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: rgb(255 255 255 / 0.02);
  transition: border-color 0.2s, background 0.2s;
}
.row:hover { border-color: var(--line-2); }
.row__t { flex: 1; min-width: 0; }
.row__t b { display: block; font-size: 13.5px; font-weight: 550; }
.row__t small { display: block; font-size: 12px; color: var(--dim); }
.tag { display: inline-block; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.5; white-space: nowrap; }
.tag--rec { background: var(--accent-soft); color: var(--accent); }
.tag--safe { background: oklch(0.82 0.17 150 / 0.14); color: oklch(0.85 0.15 150); }
.tag--moderate { background: oklch(0.85 0.15 75 / 0.14); color: oklch(0.87 0.14 80); }
.tag--caution { background: oklch(0.7 0.18 25 / 0.16); color: oklch(0.78 0.15 25); }
.tag--neutral { background: rgb(255 255 255 / 0.06); color: var(--muted); }
.row__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; }

.side__count { margin-left: auto; min-width: 20px; padding: 0 6px; border-radius: 99px; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; background: rgb(255 255 255 / 0.06); color: var(--muted); }
.side__count:empty { display: none; }
.side__item[aria-selected="true"] .side__count { background: var(--accent); color: var(--accent-ink); }

.win__foot-left { min-width: 0; }
.mini-switch { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0; font-size: 12.5px; color: var(--muted); }
.mini-switch .sw { transform: scale(0.85); }

.live { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 550; color: var(--ok); background: oklch(0.82 0.17 150 / 0.1); border: 1px solid oklch(0.82 0.17 150 / 0.25); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 oklch(0.82 0.17 150 / 0.6); } 100% { box-shadow: 0 0 0 7px oklch(0.82 0.17 150 / 0); } }

/* demo: dashboard */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kpi { position: relative; display: grid; padding: 12px 12px 0; border-radius: 12px; border: 1px solid var(--line); background: rgb(255 255 255 / 0.02); overflow: hidden; }
.kpi small { font-size: 11.5px; color: var(--dim); }
.kpi b { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.3; }
.kpi span { font-size: 11px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi svg { width: calc(100% + 24px); height: 40px; margin: 6px -12px 0; }
.kpi__line { fill: none; stroke: var(--accent); stroke-width: 1.8; vector-effect: non-scaling-stroke; stroke-linejoin: round; filter: drop-shadow(0 0 4px oklch(0.88 0.19 var(--h) / 0.6)); transition: d 0.6s var(--ease); }
.kpi__area { fill: oklch(0.88 0.19 var(--h) / 0.1); transition: d 0.6s var(--ease); }
.dash-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.dcard { padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: rgb(255 255 255 / 0.02); display: grid; gap: 12px; align-content: start; }
.dcard h4 { margin: 0; font-size: 13px; font-weight: 600; }
.dmeter > div { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; margin-bottom: 6px; }
.dmeter small { color: var(--dim); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.dmeter i { display: block; height: 6px; border-radius: 99px; background: var(--surface-3); position: relative; overflow: hidden; }
.dmeter i::after { content: ""; position: absolute; inset: 0; width: calc(var(--v) * 100%); border-radius: inherit; background: var(--accent); }
.dmeter.is-warn i::after { background: var(--warn); }
.dbench { display: grid; gap: 8px; }
.dbench div { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; }

/* delta chips */
.delta { display: inline-block; font-style: normal; font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 6px; vertical-align: middle; font-variant-numeric: tabular-nums; }
.delta--up { color: var(--ok); background: oklch(0.82 0.17 150 / 0.12); }
.delta--down { color: oklch(0.78 0.15 25); background: oklch(0.7 0.18 25 / 0.14); }
.delta--noise { color: var(--muted); background: rgb(255 255 255 / 0.06); }

/* demo: benchmark */
.bench { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bcard { display: grid; gap: 4px; padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: rgb(255 255 255 / 0.02); }
.bcard:first-child { border-color: var(--accent-line); }
.bcard__top { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); }
.bcard b { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-top: 6px; }
.bcard b small { font-size: 12px; color: var(--dim); font-weight: 500; letter-spacing: 0; }
.bcard__before { font-size: 12px; color: var(--dim); }
.bcard__bars { display: grid; gap: 5px; margin-top: 14px; }
.bcard__bars i { display: block; height: 6px; width: calc(var(--v) * 100%); border-radius: 99px; background: var(--dim); }
.bcard__bars i.is-after { background: var(--accent); box-shadow: 0 0 10px oklch(0.88 0.19 var(--h) / 0.5); }
.bench__legend { display: flex; gap: 16px; margin-top: 12px; font-size: 12px; color: var(--dim); }
.bench__legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 14px; height: 3px; border-radius: 2px; }
.lg--tuned { background: var(--accent); }
.lg--stock { background: var(--dim); }

.sw {
  position: relative; width: 36px; height: 21px; border-radius: 999px; flex: none;
  background: var(--surface-3); border: 1px solid var(--line-2);
  transition: background 0.3s, border-color 0.3s;
}
.sw::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 15px; height: 15px; border-radius: 50%; background: #9aa0aa;
  transition: translate 0.35s var(--ease), background 0.3s;
}
.is-on > .sw, .sw.is-on { background: var(--accent); border-color: transparent; }
.is-on > .sw::after, .sw.is-on::after { translate: 15px 0; background: var(--accent-ink); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.mstat { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgb(255 255 255 / 0.02); }
.mstat small { display: block; font-size: 11.5px; color: var(--dim); }
.mstat b { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mstat b span { font-size: 12px; color: var(--accent); margin-left: 4px; font-weight: 550; }


/* apply overlay */
.run {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column;
  padding: 24px;
  background: rgb(12 13 16 / 0.97);
  backdrop-filter: blur(6px);
}
.run[hidden] { display: none; }
@starting-style { .run { opacity: 0; translate: 0 8px; } }
.run { transition: opacity 0.35s, translate 0.35s var(--ease); }
.run__head { display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; }
.run__pct { font-family: var(--mono); color: var(--accent); font-variant-numeric: tabular-nums; }
.run__bar { height: 6px; border-radius: 99px; background: var(--surface-3); margin: 14px 0 18px; overflow: hidden; }
.run__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent-2), var(--accent)); border-radius: inherit; transition: width 0.3s var(--ease); box-shadow: 0 0 16px var(--accent); }
.run__log { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 12.5px; display: grid; gap: 7px; overflow: auto; flex: 1; align-content: start; }
.run__log li { display: flex; gap: 10px; color: var(--muted); animation: logIn 0.35s var(--ease) both; }
.run__log li .st { width: 16px; flex: none; text-align: center; color: var(--dim); display: grid; place-items: center; }
.run__log li:not(.done):not(.final) .st::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--accent); border-right-color: transparent; animation: spin 0.7s linear infinite; }
.run__log li.done .st { color: var(--accent); }
.run__log li.final { color: var(--text); font-weight: 600; margin-top: 6px; }
@keyframes logIn { from { opacity: 0; translate: -6px 0; } }
.run__back { align-self: flex-start; margin-top: 14px; }

/* ───────── Strip ───────── */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.stat span { font-size: 14px; color: var(--muted); }

/* ───────── Sections ───────── */
.section { padding: 130px 0; position: relative; }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 16px; font-family: var(--mono); font-size: 12.5px;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.h2 {
  margin: 0; font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.04; letter-spacing: -0.035em; font-weight: 600;
  text-wrap: balance;
}
.h2--xl { font-size: clamp(40px, 6.4vw, 80px); }
.lead { margin: 20px 0 0; font-size: 18px; color: var(--muted); text-wrap: pretty; max-width: 620px; }
.fineprint { margin-top: 14px; font-size: 12.5px; color: var(--dim); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative; padding: 28px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-2));
}
.step__num { position: absolute; top: 24px; right: 26px; font-family: var(--mono); font-size: 13px; color: var(--dim); }
.step__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); margin-bottom: 22px; }
.step__icon .ic { width: 22px; height: 22px; }
.step h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.steps__track { height: 2px; margin-top: 28px; border-radius: 2px; background: var(--line); overflow: hidden; }
.steps__track i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--accent-2), var(--accent)); transform-origin: left; transform: scaleX(0.15); }

/* ───────── Bento ───────── */
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(300px, auto);
}
.card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 20px;
  padding: 28px; border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  container-type: inline-size;
  isolation: isolate;
}
.card::before { /* cursor spotlight */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(500px circle at var(--mx) var(--my), oklch(0.88 0.19 var(--h) / 0.09), transparent 40%);
  opacity: 0; transition: opacity 0.4s;
}
.card::after { /* spotlight border */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx) var(--my), oklch(0.88 0.19 var(--h) / 0.55), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s;
}
.card:hover::before, .card:hover::after { opacity: 1; }
.card__icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-3); border: 1px solid var(--line-2); color: var(--accent); margin-bottom: 16px; }
.card h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 420px; }

.card--apps { grid-column: span 4; }
.card--privacy { grid-column: span 2; }
.card--bench, .card--debloat, .card--undo { grid-column: span 2; }
.card--dash, .card--risk { grid-column: span 3; }

/* marquee */
.marquee { margin: auto -28px -6px; display: grid; gap: 10px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__row { display: flex; gap: 10px; width: max-content; animation: marq 40s linear infinite; }
.marquee__row--rev { animation-direction: reverse; animation-duration: 46s; }
.marquee:hover .marquee__row { animation-play-state: paused; }
@keyframes marq { to { translate: -50% 0; } }
.mq { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); font-size: 13.5px; white-space: nowrap; }
.mq .app__ic { width: 30px; height: 30px; }

/* toggles */
.toggles { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 8px; }
.toggles li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 11px; background: rgb(255 255 255 / 0.025); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.toggles .sw { background: var(--accent); border-color: transparent; }
.toggles .sw::after { background: var(--accent-ink); translate: 15px 0; }
.toggles li.is-off .sw { background: var(--surface-3); border-color: var(--line-2); }
.toggles li.is-off .sw::after { background: #9aa0aa; translate: 0 0; }

/* benchmark bars card */
.bbars { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 14px; }
.bbars li { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.bbars i { position: relative; height: 18px; display: grid; gap: 4px; align-content: center; }
.bbars i::before, .bbars i::after { content: ""; display: block; height: 5px; border-radius: 99px; transform-origin: left; transition: transform 1.1s var(--ease); transform: scaleX(0); }
.bbars i::before { width: calc(var(--b) * 100%); background: var(--dim); }
.bbars i::after { width: calc(var(--a) * 100%); background: var(--accent); box-shadow: 0 0 10px oklch(0.88 0.19 var(--h) / 0.5); transition-delay: 0.25s; }
.card--bench.in .bbars i::before, .card--bench.in .bbars i::after,
.card--bench:hover .bbars i::before, .card--bench:hover .bbars i::after { transform: scaleX(1); }

/* mini dashboard card */
.minikpis { margin-top: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.minikpis > div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; padding: 12px 12px 0; border-radius: 12px; border: 1px solid var(--line); background: rgb(255 255 255 / 0.025); overflow: hidden; }
.minikpis small { font-size: 12px; color: var(--dim); }
.minikpis b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.minikpis svg { grid-column: 1 / -1; width: calc(100% + 24px); height: 34px; margin: 4px -12px 0; overflow: visible; }
.minikpis path { fill: none; stroke: var(--accent); stroke-width: 1.8; vector-effect: non-scaling-stroke; stroke-linejoin: round; filter: drop-shadow(0 0 4px oklch(0.88 0.19 var(--h) / 0.6)); stroke-dasharray: 300; stroke-dashoffset: 300; }
.card--dash.in .minikpis path, .card--dash:hover .minikpis path { animation: draw 1.8s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* risk legend card */
.risk { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 8px; }
.risk li { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 12px; border-radius: 11px; border: 1px solid var(--line); background: rgb(255 255 255 / 0.025); font-size: 13px; color: var(--muted); }
.risk .tag { min-width: 72px; text-align: center; }
.risk li:last-child .tag { min-width: 0; }

/* strike list */
.strike { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; }
.strike li { position: relative; width: fit-content; color: var(--muted); padding: 2px 0; }
.strike li::after {
  content: ""; position: absolute; left: -2px; right: -2px; top: 52%; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card--debloat.in .strike li::after, .card--debloat:hover .strike li::after { transform: scaleX(1); }
.card--debloat.in .strike li, .card--debloat:hover .strike li { color: var(--dim); }
.strike li:nth-child(2)::after { transition-delay: 0.12s; }
.strike li:nth-child(3)::after { transition-delay: 0.24s; }
.strike li:nth-child(4)::after { transition-delay: 0.36s; }
.strike li:nth-child(5)::after { transition-delay: 0.48s; }

/* timeline */
.timeline { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; display: flex; align-items: baseline; gap: 12px; padding: 8px 0 8px 22px; font-size: 13.5px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 0; bottom: 0; width: 1.5px; background: var(--line-2); }
.timeline li:first-child::before { top: 50%; }
.timeline li:last-child::before { bottom: 50%; }
.timeline i { position: absolute; left: 0; top: 50%; translate: 0 -50%; width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); border: 1.5px solid var(--dim); }
.timeline li:first-child i { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 10px var(--accent); }
.timeline span { flex: 1; }
.timeline small { color: var(--dim); font-size: 12px; }
.timeline .is-restore span { color: var(--accent); }


/* ───────── Teams ───────── */
.section--teams { background: radial-gradient(ellipse 60% 50% at 80% 50%, oklch(0.88 0.19 var(--h) / 0.07), transparent 70%); border-block: 1px solid var(--line); }
.teams { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.checks { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.checks .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); margin-top: 2px; }
.checks--sm { margin: 24px 0 0; gap: 10px; }
.checks--sm li { font-size: 14.5px; color: var(--muted); }

.fleet__tag { position: absolute; top: -11px; right: 20px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; padding: 3px 10px; border-radius: 99px; background: var(--surface-3); border: 1px solid var(--line-2); color: var(--muted); }
.fleet {
  position: relative; padding: 24px; border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: 0 40px 100px -40px rgb(0 0 0 / 0.8);
}
.fleet__profile { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--accent-line); }
.fleet__profile > div:nth-child(2) { flex: 1; }
.fleet__profile b { display: block; font-size: 15px; }
.fleet__profile small { color: var(--dim); font-size: 12.5px; }
.fleet__file { width: 42px; height: 42px; border-radius: 11px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.fleet__beam { height: 36px; display: grid; place-items: center; }
.fleet__beam i { width: 2px; height: 100%; background: linear-gradient(var(--accent), transparent); position: relative; overflow: hidden; }
.fleet.is-running .fleet__beam i::after { content: ""; position: absolute; left: -2px; width: 6px; height: 12px; border-radius: 4px; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: drop 0.8s linear infinite; }
@keyframes drop { from { top: -12px; } to { top: 100%; } }
.fleet__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pc {
  position: relative; padding: 12px 10px 10px; border-radius: 12px;
  border: 1px solid var(--line); background: rgb(255 255 255 / 0.02);
  display: grid; justify-items: center; gap: 6px; font-size: 11.5px; color: var(--dim);
  transition: border-color 0.4s, background 0.4s, color 0.4s;
}
.pc .ic { width: 22px; height: 22px; color: var(--dim); transition: color 0.4s; }
.pc__name { font-family: var(--mono); font-size: 10.5px; }
.pc__st { font-size: 10.5px; height: 14px; display: flex; align-items: center; gap: 4px; }
.pc.is-busy { border-color: var(--line-2); color: var(--muted); }
.pc.is-busy .pc__st::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--accent); border-right-color: transparent; animation: spin 0.7s linear infinite; }
.pc.is-done { border-color: var(--accent-line); background: var(--accent-soft); color: var(--text); }
.pc.is-done .ic { color: var(--accent); }
.pc.is-done .pc__st { color: var(--accent); }
@keyframes spin { to { rotate: 360deg; } }
.fleet__status { margin-top: 16px; text-align: center; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ───────── Compare ───────── */
.compare {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line-2);
  display: grid; user-select: none;
  touch-action: pan-y;
}
.compare__side { grid-area: 1 / 1; padding: 48px clamp(20px, 5vw, 64px) 52px; }
.compare__side--before { background: linear-gradient(180deg, #121316, #0c0d0f); }
.compare__side--after {
  background: radial-gradient(ellipse at 70% 0%, oklch(0.88 0.19 var(--h) / 0.14), transparent 60%), linear-gradient(180deg, #121316, #0c0d0f);
  clip-path: inset(0 0 0 var(--pos));
}
.compare__tag { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; border: 1px solid var(--line-2); color: var(--muted); margin-bottom: 30px; }
.compare__tag--after { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.compare__side--after .compare__tag { margin-left: auto; display: block; width: fit-content; }
.meters { display: grid; grid-template-columns: 1fr; gap: 26px; }
.meter { display: grid; grid-template-columns: 190px 160px 1fr 64px; grid-template-areas: "l v bar d"; gap: 24px; align-items: center; }
.meter span { grid-area: l; font-size: 14px; color: var(--muted); }
.meter b { grid-area: v; white-space: nowrap; }
.meter i { grid-area: bar; }
.meter em { grid-area: d; justify-self: end; }
.meter b { font-size: clamp(22px, 3vw, 32px); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.meter i { height: 6px; border-radius: 99px; background: var(--surface-3); position: relative; overflow: hidden; }
.meter i::after { content: ""; position: absolute; inset: 0; width: calc(var(--v) * 100%); border-radius: inherit; background: #4a4f58; }
.compare__side--after .meter i::after { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.compare__side--after .meter b { color: var(--accent); }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; translate: -1px 0;
  background: var(--accent); box-shadow: 0 0 20px var(--accent); pointer-events: none;
}
.compare__handle span {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 18px;
  box-shadow: 0 0 0 6px oklch(0.88 0.19 var(--h) / 0.2), 0 8px 30px rgb(0 0 0 / 0.5);
}
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare__range:focus-visible ~ .compare__handle span, .compare:has(.compare__range:focus-visible) .compare__handle span { outline: 2px solid #fff; outline-offset: 3px; }

/* ───────── Pricing ───────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; padding: 30px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.plan h3 { margin: 0; font-size: 18px; font-weight: 600; }
.plan__desc { margin: 4px 0 22px; color: var(--muted); font-size: 14.5px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 22px; }
.plan__price b { font-size: 48px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.plan__price span { color: var(--dim); font-size: 14px; }
.plan--featured {
  border-color: var(--accent-line);
  background: radial-gradient(ellipse at 50% 0%, oklch(0.88 0.19 var(--h) / 0.12), transparent 70%), linear-gradient(180deg, var(--surface-2), var(--bg-2));
  box-shadow: 0 30px 80px -30px oklch(0.88 0.19 var(--h) / 0.35);
}
.plan__badge { position: absolute; top: 26px; right: 26px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.plan__badge--soon { background: var(--surface-3); color: var(--muted); border: 1px solid var(--line-2); }
.plans--two { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin-inline: auto; }
.plan--soon .plan__price b { color: var(--dim); }

/* ───────── FAQ ───────── */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq .section__head { position: sticky; top: 120px; }
.faq__list { display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color 0.3s, background 0.3s; }
details[open] { border-color: var(--line-2); background: var(--surface-2); }
summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; font-weight: 550; font-size: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; width: 12px; height: 12px; flex: none;
  background: linear-gradient(currentColor 0 0) center / 12px 1.6px no-repeat, linear-gradient(currentColor 0 0) center / 1.6px 12px no-repeat;
  color: var(--muted); transition: rotate 0.35s var(--ease);
}
details[open] summary::after { rotate: 135deg; color: var(--accent); }
details::details-content { block-size: 0; overflow: clip; transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete; }
details[open]::details-content { block-size: auto; }
.faq__a { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }
.faq__a p { margin: 0; }

/* ───────── CTA ───────── */
.cta { position: relative; padding: 140px 0; text-align: center; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.cta::before {
  content: ""; position: absolute; left: 50%; bottom: -380px; translate: -50% 0; z-index: -1;
  width: 1200px; height: 700px; border-radius: 50%;
  background: radial-gradient(closest-side, oklch(0.88 0.19 var(--h) / 0.28), transparent);
  filter: blur(30px);
}
.cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(to right, rgb(255 255 255 / 0.04) 1px, transparent 1px), linear-gradient(to bottom, rgb(255 255 255 / 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000 20%, transparent 70%);
}
.cta__inner { display: grid; justify-items: center; }
.cta__inner .lead { margin-inline: auto; }
.cta__mark { width: 64px; height: 64px; color: var(--text); margin-bottom: 30px; filter: drop-shadow(0 0 30px oklch(0.88 0.19 var(--h) / 0.6)); }

/* ───────── Footer ───────── */
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; background: var(--bg-2); }
.footer__inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__brand p { color: var(--dim); font-size: 14px; margin: 14px 0 0; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 48px; }
.footer__cols h4 { margin: 0 0 14px; font-size: 13px; font-weight: 600; }
.footer__cols a { display: block; padding: 4px 0; font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer__cols a:hover { color: var(--text); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

.footer__legal { margin-top: 20px; display: grid; gap: 8px; }
.footer__legal p { margin: 0; max-width: 860px; font-size: 12px; line-height: 1.6; color: var(--dim); text-wrap: pretty; }
.footer__legal a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 2px; transition: color 0.2s; }
.footer__legal a:hover { color: var(--text); }

/* ───────── Reveal on scroll ─────────
   Native scroll-driven animations where supported, IntersectionObserver fallback otherwise. */
@keyframes rise { from { opacity: 0; transform: translateY(28px) scale(0.985); filter: blur(4px); } }

@supports (animation-timeline: view()) {
  .reveal {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 22%;
  }
  .steps__track i {
    animation: grow linear both;
    animation-timeline: view();
    animation-range: cover 10% cover 55%;
  }
  @keyframes grow { from { transform: scaleX(0.05); } to { transform: scaleX(1); } }

  /* hero window tilts flat as you scroll */
  .win {
    animation: tilt linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 45%;
  }
  @keyframes tilt { from { transform: rotateX(16deg) scale(0.94); opacity: 0.6; } }
}
@supports not (animation-timeline: view()) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .steps__track i { transition: transform 1.4s var(--ease); }
  .steps.in + .steps__track i { transform: scaleX(1); }
}

/* hero entrance */
.hero__copy > * { animation: heroIn 1s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: 0.08s; }
.hero__copy > :nth-child(3) { animation-delay: 0.16s; }
.hero__copy > :nth-child(4) { animation-delay: 0.24s; }
.hero__copy > :nth-child(5) { animation-delay: 0.32s; }
.hero__copy > :nth-child(6) { animation-delay: 0.4s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } }

/* view transitions (audience switch) */
::view-transition-old(hero-sub), ::view-transition-old(panel) { animation: vtOut 0.25s var(--ease) both; }
::view-transition-new(hero-sub), ::view-transition-new(panel) { animation: vtIn 0.45s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-6px); filter: blur(4px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }

/* ───────── Responsive ───────── */
@media (max-width: 1020px) {
  .nav__links { display: none; }
  .nav__burger { display: grid; }
  .nav__cta { margin-left: auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--apps { grid-column: span 2; }
  .card--privacy, .card--bench, .card--debloat, .card--undo { grid-column: span 1; }
  .card--dash, .card--risk { grid-column: span 2; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .teams, .faq { grid-template-columns: 1fr; gap: 48px; }
  .faq .section__head { position: static; }
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .hide-sm { display: none; }
  .hero { padding: 120px 0 56px; }
  .aud { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .aud__btn { padding: 8px 13px; font-size: 13px; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .demo { margin-top: 48px; }
  .win__body { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: 600px; }
  .win__side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px; scrollbar-width: none; }
  .side__item { flex: none; }
  .side__foot { display: none; }
  .win__controls span { width: 36px; }
  .panel { padding: 16px; }
  .p-search { display: none; }
  .apps { grid-template-columns: repeat(2, 1fr); }
  .win__hint { display: none; }
  .win__footer { padding-left: 16px; }
  .dash-row, .bench, .plans--two { grid-template-columns: 1fr; }
  .bcard__bars { margin-top: 8px; }
  .side__count { margin-left: 2px; }
  .section { padding: 90px 0; }
  .steps, .plans { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento > .card { grid-column: auto; }
  .card { padding: 22px; }
  .marquee { margin-inline: -22px; }
  .meters { gap: 20px; }
  .meter { grid-template-columns: 1fr auto; grid-template-areas: "l l" "v d" "bar bar"; gap: 8px; }
  .meter em { justify-self: start; }
  .fleet { padding: 16px; }
  .fleet__grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .strip__inner { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 16px; }
  .stat b { font-size: 18px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

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