/* HushSentry landing page (also styles /privacy and /terms). Dark by default: brand black, one lime.
   Light mode applies only when the visitor picks it (data-theme="light", set by theme.js from the shared hs_theme choice). */
:root {
  --bg: #08090a;
  --bg-2: #0c0d0f;
  --card: #101114;
  --line: rgb(255 255 255 / .08);
  --line-2: rgb(255 255 255 / .13);
  --text: #f1f2f4;
  --text-2: #a3a8b0;
  --text-3: #6c727b;
  --lime: #bbf523;
  --lime-2: #d4ff5c;
  --lime-text: #bbf523;
  --lime-mark: #bbf523;
  --lime-soft: rgb(187 245 35 / .1);
  --lime-line: rgb(187 245 35 / .3);
  --lime-grad: linear-gradient(100deg, #bbf523 20%, #e9ffa6 50%, #bbf523 80%);
  --glow: rgb(187 245 35 / .14);
  --glow-2: rgb(187 245 35 / .06);
  --red-soft: rgb(240 86 92 / .16);
  --red-line: rgb(240 86 92 / .35);
  --red-text: #ffc2c4;
  --ghost: rgb(255 255 255 / .04);
  --ghost-hover: rgb(255 255 255 / .08);
  --nav-bg: rgb(8 9 10 / .7);
  --frame: #0d0e10;
  --frame-bar: #121316;
  --stage: #0d0e11;
  --input: #0b0c0e;
  --placeholder: #50555d;
  --form-bg: linear-gradient(180deg, #131518, #0e1013);
  --shadow-frame: 0 0 0 1px rgb(255 255 255 / .04), 0 1px 0 rgb(255 255 255 / .08) inset, 0 50px 120px -20px rgb(0 0 0 / .8);
  --mark-glow: drop-shadow(0 0 10px rgb(187 245 35 / .35));
  --btn-glow: 0 8px 30px rgb(187 245 35 / .22);
  --grain-op: .045;
  --wrap: 1180px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #ffffff;
  --bg-2: #f6f7f9;
  --card: #ffffff;
  --line: rgb(14 17 22 / .08);
  --line-2: rgb(14 17 22 / .14);
  --text: #0c0f14;
  --text-2: #4a505a;
  --text-3: #7d838d;
  --lime-text: #4b7300;
  --lime-mark: #86b800;
  --lime-soft: rgb(120 175 0 / .1);
  --lime-line: rgb(100 150 0 / .3);
  --lime-grad: linear-gradient(100deg, #4f7a00 20%, #8fc400 50%, #4f7a00 80%);
  --glow: rgb(150 210 0 / .2);
  --glow-2: rgb(150 210 0 / .1);
  --red-soft: rgb(200 50 58 / .1);
  --red-line: rgb(200 50 58 / .3);
  --red-text: #a3262d;
  --ghost: rgb(14 17 22 / .03);
  --ghost-hover: rgb(14 17 22 / .06);
  --nav-bg: rgb(255 255 255 / .78);
  --frame: #0d0e10;
  --frame-bar: #1a1b1f;
  --stage: #f3f4f6;
  --input: #ffffff;
  --placeholder: #a2a7af;
  --form-bg: #ffffff;
  --shadow-frame: 0 0 0 1px rgb(14 17 22 / .06), 0 30px 70px -24px rgb(16 24 40 / .28);
  --mark-glow: none;
  --btn-glow: 0 6px 18px rgb(110 160 0 / .18);
  --grain-op: .025;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; overflow-x: hidden; }
/* Film grain over everything (tiny inline SVG noise; CSP allows data: images). */
body::after { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: var(--grain-op);
  background: 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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
h1, h2, h3 { font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif; letter-spacing: -.035em; margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
code { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: .86em; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
::selection { background: var(--lime); color: #0a0b0d; }
:focus-visible { outline: 2px solid var(--lime-text); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.lime { color: var(--lime-text); }
.kicker { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--lime-text); letter-spacing: .01em; margin: 0 0 16px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 10px;
  font-weight: 600; font-size: 14px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap; font-family: inherit; }
.btn svg { font-size: 16px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-lime { background: var(--lime); color: #0a0b0d; box-shadow: 0 0 0 1px rgb(140 190 0 / .45), var(--btn-glow); }
.btn-lime:hover { background: var(--lime-2); box-shadow: 0 0 0 1px rgb(187 245 35 / .6), 0 10px 40px rgb(187 245 35 / .35); transform: translateY(-1px); }
.btn-ghost { background: var(--ghost); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: var(--ghost-hover); }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, border-color .25s, backdrop-filter .25s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: var(--nav-bg); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo svg { width: 24px; height: 26px; color: var(--lime-mark); fill: currentColor; stroke: none; filter: var(--mark-glow); }
.logo b { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.nav-links { display: flex; gap: 28px; margin-left: 18px; }
.nav-links a, .nav-cta .link { font-size: 14px; color: var(--text-2); font-weight: 500; transition: color .15s; }
.nav-links a:hover, .nav-cta .link:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.theme-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); background: var(--ghost);
  color: var(--text-2); cursor: pointer; font-size: 17px; transition: color .15s, background .15s; }
.theme-btn:hover { color: var(--text); background: var(--ghost-hover); }
.theme-btn .moon { display: none; }
:root[data-theme="light"] .theme-btn .sun { display: none; }
:root[data-theme="light"] .theme-btn .moon { display: block; }
.lbl-short { display: none; }

/* hero */
.hero { position: relative; padding: 140px 0 32px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 50% 62%, var(--glow), transparent 70%),
    radial-gradient(600px 300px at 50% 0%, var(--glow-2), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 72px 72px;
  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%); opacity: .9; }
.hero-copy { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; min-height: 32px; padding: 4px 12px 4px 10px; border-radius: 99px; font-size: 13px; color: var(--text-2);
  background: var(--ghost); border: 1px solid var(--line-2); margin-bottom: 30px; transition: border-color .2s, color .2s; backdrop-filter: blur(8px); }
.eyebrow:hover { border-color: var(--lime-line); color: var(--text); }
.eyebrow b { color: var(--lime-text); font-weight: 600; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime-mark); box-shadow: 0 0 0 4px var(--lime-soft); flex: none; }
.eyebrow svg { font-size: 14px; }
.eb-short { display: none; }
.hero h1 { font-size: clamp(50px, 8vw, 100px); line-height: .94; font-weight: 800; letter-spacing: -.055em; }
.hero h1 .lime { background: var(--lime-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s ease-in-out infinite; padding-bottom: .06em; }
@keyframes shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.lede { font-size: 19px; line-height: 1.55; color: var(--text-2); margin: 28px auto 36px; max-width: 560px; text-wrap: balance; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.hero-stage { position: relative; margin-top: 68px; padding-bottom: 48px; }
.hero-stage::before { content: ""; position: absolute; inset: -6% 8% 30%; background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(40px); pointer-events: none; }
/* ---- live demo: an AI chat, a pasted key, and the real HushSentry dialog rebuilt in HTML ----
   The scene is laid out on a fixed virtual canvas (wide 1180x640, narrow 480x720) and scaled to fit, so the
   composition is identical at every width. Colours and sizes of .dlg follow the Mac app's PromptView. */
.demo { position: relative; margin: 0; }
.demo-canvas { position: relative; width: 1180px; height: 640px; transform-origin: 0 0; border-radius: 26px; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 60% at 50% 0%, rgb(187 245 35 / .10), transparent 70%), radial-gradient(50% 50% at 85% 90%, rgb(240 86 92 / .07), transparent 70%), #0b0c0e;
  border: 1px solid rgb(255 255 255 / .09); box-shadow: 0 1px 0 rgb(255 255 255 / .06) inset, 0 60px 140px -30px rgb(0 0 0 / .8);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif; color: #f5f5f2; text-align: left; }
.demo-canvas::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px) 0 0 / 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); }
:root[data-theme="light"] .demo-canvas { box-shadow: 0 40px 100px -30px rgb(16 24 40 / .45); }
.demo[data-layout="narrow"] .demo-canvas { width: 480px; height: 600px; }

/* menu bar with the HushSentry status item */
.mb { position: absolute; inset: 0 0 auto; height: 30px; display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding: 0 18px;
  background: rgb(255 255 255 / .04); border-bottom: 1px solid rgb(255 255 255 / .05); font-size: 12.5px; color: #c9cac6; }
.mb-mark { width: 14px; height: 15px; color: #bbf523; fill: currentColor; stroke: none; transition: transform .3s; }
.demo.alert .mb-mark { color: #f25454; animation: mbPulse 1s ease-in-out 2; }
@keyframes mbPulse { 50% { transform: scale(1.35); } }

/* chat window */
.cw { position: absolute; left: 150px; top: 62px; width: 820px; height: 548px; border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 38px 1fr;
  background: var(--cw-bg); border: 1px solid rgb(255 255 255 / .1); box-shadow: 0 40px 90px rgb(0 0 0 / .55), 0 0 0 .5px rgb(0 0 0 / .8);
  transition: filter .45s, opacity .45s; --cw-bg: #212121; --cw-bar: #1b1b1b; --cw-text: #ececec; --cw-muted: #9b9b9b; --cw-bubble: #303030; --cw-field: #303030; --cw-send: #ececec; --cw-send-fg: #0d0d0d; }
.demo[data-layout="narrow"] .cw { left: 0; top: 30px; width: 480px; height: 570px; border-radius: 0; border-width: 1px 0 0; }
.cw.dim { filter: brightness(.55) saturate(.8); }
.cw-bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--cw-bar); border-bottom: 1px solid rgb(255 255 255 / .06); }
.cw-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.cw-bar i:nth-child(2) { background: #febc2e; } .cw-bar i:nth-child(3) { background: #28c840; }
.cw-title { flex: 1; text-align: center; margin-right: 52px; font-size: 13px; font-weight: 600; color: var(--cw-muted); }
.cw-side { width: 0; background: rgb(0 0 0 / .18); }
.cw-main { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.cw-head { display: none; }
.cw-msgs { flex: 1; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; padding: 24px 56px 8px; font-size: 15px; line-height: 1.55; color: var(--cw-text); }
.demo[data-layout="narrow"] .cw-msgs { padding: 20px 22px 8px; }
.cw-empty { position: absolute; left: 0; right: 0; top: 38%; text-align: center; font-size: 26px; font-weight: 600; letter-spacing: -.02em; color: var(--cw-text); transition: opacity .3s; }
.cw-empty.gone { opacity: 0; }
.m { max-width: 82%; white-space: pre-wrap; word-break: break-word; animation: msgIn .4s cubic-bezier(.2, .8, .2, 1); }
.m.me { align-self: flex-end; background: var(--cw-bubble); padding: 10px 16px; border-radius: 20px; }
.m.ai { align-self: flex-start; }
.m.typing::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cw-text); margin-left: 4px; animation: blink 1s infinite; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes blink { 50% { opacity: .2; } }
.mask { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: .82em; color: #d4ff5c; background: rgb(187 245 35 / .12); border: 1px solid rgb(187 245 35 / .35);
  padding: 1px 6px; border-radius: 6px; white-space: nowrap; }
.cw-composer { position: relative; margin: 10px 56px 26px; display: flex; align-items: flex-end; gap: 10px; min-height: 56px; padding: 14px 12px 12px 20px; border-radius: 28px;
  background: var(--cw-field); border: 1px solid rgb(255 255 255 / .06); transition: box-shadow .3s, border-color .3s; }
.demo[data-layout="narrow"] .cw-composer { margin: 10px 16px 18px; }
.cw-input { flex: 1; min-height: 24px; font-size: 15px; line-height: 1.55; color: var(--cw-text); white-space: pre-wrap; word-break: break-all; }
.cw-input .ph { color: var(--cw-muted); }
.caret { display: inline-block; width: 1.5px; height: 1.15em; vertical-align: -.2em; background: var(--cw-text); margin-left: 1px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.sec { border-radius: 4px; transition: background .35s, box-shadow .35s; }
.sec.paste { background: rgb(120 160 255 / .28); }
.sec.hit { background: rgb(242 84 84 / .2); box-shadow: 0 0 0 1px rgb(242 84 84 / .55); text-decoration: underline wavy #f25454; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.cw-composer.hit { border-color: rgb(242 84 84 / .5); box-shadow: 0 0 0 4px rgb(242 84 84 / .12); }
.cw-send { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--cw-send); color: var(--cw-send-fg); font-size: 18px; transition: transform .15s; }
.cw-send svg { stroke-width: 2.4; }
.cw-send.press { transform: scale(.82); }

/* Claude */
.cw[data-app="claude"] { --cw-bg: #262624; --cw-bar: #1f1e1d; --cw-text: #f0eee6; --cw-muted: #a6a39a; --cw-bubble: #141413; --cw-field: #30302e; --cw-send: #c96442; --cw-send-fg: #fff; }
.cw[data-app="claude"] .cw-empty { font-family: ui-serif, Georgia, "Times New Roman", serif; font-weight: 400; font-size: 30px; }
.cw[data-app="claude"] .m.ai { font-family: ui-serif, Georgia, serif; font-size: 15.5px; }
.cw[data-app="claude"] .m.me { border-radius: 12px; }
.cw[data-app="claude"] .cw-composer { border-radius: 18px; border-color: rgb(255 255 255 / .1); }
.cw[data-app="claude"] .cw-send { border-radius: 9px; }

/* Slack */
.cw[data-app="slack"] { --cw-bg: #1a1d21; --cw-bar: #121016; --cw-text: #d1d2d3; --cw-muted: #8b8d90; --cw-field: #222529; --cw-send: #007a5a; --cw-send-fg: #fff; }
.cw[data-app="slack"] .cw-side { width: 190px; background: #19171d; border-right: 1px solid rgb(255 255 255 / .06); padding: 14px 10px; font-size: 14px; color: #b9babd; }
.demo[data-layout="narrow"] .cw[data-app="slack"] .cw-side { display: none; }
.cw-side b { display: block; color: #fff; font-size: 15px; margin: 0 6px 14px; }
.cw-side span { display: block; padding: 4px 8px; border-radius: 6px; }
.cw-side span.on { background: #1164a3; color: #fff; }
.cw[data-app="slack"] .cw-head { display: flex; align-items: center; height: 46px; padding: 0 20px; border-bottom: 1px solid rgb(255 255 255 / .07); font-weight: 700; font-size: 15px; color: #fff; }
.cw[data-app="slack"] .cw-msgs { padding: 16px 20px 6px; gap: 14px; }
.cw[data-app="slack"] .m { max-width: none; align-self: stretch; background: none; padding: 0 0 0 48px; border-radius: 0; position: relative; }
.cw[data-app="slack"] .m::before { content: attr(data-initials); position: absolute; left: 0; top: 2px; width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #fff; background: var(--av, #5b6be0); }
.cw[data-app="slack"] .m .who { display: block; font-weight: 800; color: #fff; font-size: 15px; }
.cw[data-app="slack"] .m .who small { font-weight: 400; color: var(--cw-muted); font-size: 12px; margin-left: 6px; }
.cw[data-app="slack"] .cw-composer { margin: 8px 20px 20px; border-radius: 10px; border: 1px solid rgb(255 255 255 / .16); }
.cw[data-app="slack"] .cw-send { border-radius: 6px; width: 34px; height: 30px; }
.cw[data-app="slack"] .cw-empty { display: none; }

/* the HushSentry dialog (PromptView): 460pt, glass, red glow for Block */
.dlg { position: absolute; left: 640px; top: 96px; width: 460px; border-radius: 18px; overflow: hidden; z-index: 3; color: #f5f5f2;
  background: radial-gradient(120% 70% at 50% -10%, rgb(242 84 84 / .22), transparent 60%), rgb(14 14 14 / .96);
  border: 1px solid rgb(255 255 255 / .12); box-shadow: 0 30px 80px rgb(0 0 0 / .65), 0 0 0 .5px rgb(0 0 0 / .9), 0 0 60px rgb(242 84 84 / .14);
  opacity: 0; transform: scale(.96) translateY(6px); transform-origin: 50% 60%; pointer-events: none;
  transition: opacity .28s cubic-bezier(.2, .8, .2, 1), transform .32s cubic-bezier(.2, 1.3, .4, 1); }
.demo[data-layout="narrow"] .dlg { left: 10px; top: 92px; }
.dlg.show { opacity: 1; transform: none; }
.dlg-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid rgb(255 255 255 / .09); }
.dlg-brand { display: flex; align-items: center; gap: 7px; font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.dlg-brand svg { width: 15px; height: 16px; color: #bbf523; fill: currentColor; stroke: none; }
.dlg-tag { font-size: 11px; font-weight: 500; color: #b5b5ad; }
.dlg-body { padding: 20px; display: grid; gap: 16px; }
.dlg-top { display: flex; gap: 14px; align-items: flex-start; }
.dlg-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgb(242 84 84 / .16); color: #f25454; font-size: 20px; }
.dlg-top b { display: block; font-size: 17px; font-weight: 700; margin-bottom: 4px; letter-spacing: -.01em; }
.dlg-top p { margin: 0; font-size: 12.5px; line-height: 1.4; color: #b5b5ad; }
.dlg-find { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .09); }
.dlg-find i { width: 8px; height: 8px; border-radius: 50%; background: #f25454; flex: none; }
.dlg-find div { flex: 1; min-width: 0; }
.dlg-find b { display: block; font-size: 13px; font-weight: 600; }
.dlg-find small { display: block; font-size: 11px; color: #b5b5ad; }
.dlg-find code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11.5px; padding: 4px 8px; border-radius: 6px; background: rgb(255 255 255 / .06); color: #f5f5f2; }
.dlg-policy { margin: 0; font-size: 12px; line-height: 1.45; color: #b5b5ad; }
.dlg-why span { display: block; font-size: 11px; font-weight: 600; color: #b5b5ad; margin-bottom: 6px; }
.dlg-why div { height: 32px; display: flex; align-items: center; padding: 0 10px; border-radius: 8px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .09);
  font-size: 12.5px; color: rgb(181 181 173 / .5); }
.dlg-btns { display: flex; align-items: center; gap: 8px; }
.dlg-btns span { height: 30px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 8px; font-size: 13px; font-weight: 600; transition: transform .12s, filter .12s; }
.dlg-q { color: #b5b5ad; opacity: .55; padding: 0 6px !important; margin-right: auto; }
.dlg-s { background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .12); }
.dlg-p { background: #bbf523; color: #0a0a0a; box-shadow: 0 0 18px rgb(187 245 35 / .35); }
.dlg-p.hover { filter: brightness(1.08); }
.dlg-p.press { transform: scale(.95); filter: brightness(.92); }
.dlg-foot { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; background: rgb(255 255 255 / .03); font-size: 10.5px; color: rgb(181 181 173 / .8); }
.dlg-foot svg { font-size: 10px; }

/* pointer and toast */
.demo-cursor { position: absolute; left: 0; top: 0; z-index: 5; width: 26px; height: 26px; fill: #fff; stroke: #000; stroke-width: 1.2; opacity: 0;
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / .5)); transform: translate(1080px, 600px); transition: transform .9s cubic-bezier(.45, .05, .25, 1), opacity .3s; }
.demo-cursor.show { opacity: 1; }
.demo-cursor.click { animation: click .25s; }
@keyframes click { 50% { scale: .85; } }
.demo-toast { position: absolute; right: 36px; top: 52px; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 14px; border-radius: 14px;
  background: rgb(20 21 23 / .92); border: 1px solid rgb(187 245 35 / .3); box-shadow: 0 20px 50px rgb(0 0 0 / .5), 0 0 30px rgb(187 245 35 / .1);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transform: translateY(-10px); transition: opacity .35s, transform .45s cubic-bezier(.2, 1.2, .4, 1); }
.demo[data-layout="narrow"] .demo-toast { right: 16px; left: 16px; top: 48px; }
.demo-toast.show { opacity: 1; transform: none; }
.demo-toast b { display: block; font-size: 13.5px; }
.demo-toast small { display: block; font-size: 12px; color: #a3a8b0; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #bbf523; box-shadow: 0 0 0 0 rgb(187 245 35 / .6); animation: pulse 1.6s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgb(187 245 35 / 0); } 100% { box-shadow: 0 0 0 0 rgb(187 245 35 / 0); } }

/* scenario switcher */
.scenes { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.scenes button { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 99px; cursor: pointer;
  font: 500 13px/1 "Inter", system-ui, sans-serif; color: var(--text-2); background: var(--ghost); border: 1px solid var(--line-2); transition: color .2s, border-color .2s, transform .15s; }
.scenes button span { color: var(--text-3); }
.scenes button i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); transition: background .2s; }
.scenes button:hover { color: var(--text); transform: translateY(-1px); }
.scenes button[aria-selected="true"] { color: var(--text); border-color: var(--lime-line); }
.scenes button[aria-selected="true"] i { background: var(--lime-mark); box-shadow: 0 0 8px var(--lime); }
/* progress of the current scene */
.scenes button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--lime-mark); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; opacity: .7; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* browser frame for dashboard shots (the shots themselves are always dark) */
.browser { margin: 0; border-radius: 14px; overflow: hidden; background: var(--frame); box-shadow: var(--shadow-frame); border: 1px solid rgb(255 255 255 / .1); }
.browser-bar { position: relative; display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: var(--frame-bar); border-bottom: 1px solid rgb(255 255 255 / .06); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a2c31; }
.browser-bar span { position: absolute; left: 50%; transform: translateX(-50%); font-size: 11.5px; color: #8b9098; background: rgb(255 255 255 / .05); padding: 2px 14px; border-radius: 6px; letter-spacing: .01em; }

/* where it works */
.logos { padding: 24px 0 8px; }
.logos-kicker { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin: 0 auto 22px; }
.logo-row { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 42px; }
.logo-row li { font-family: "Plus Jakarta Sans", sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--text-3);
  transition: color .2s, opacity .9s cubic-bezier(.2, .8, .2, 1) calc(var(--i, 0) * 50ms), transform .9s cubic-bezier(.2, .8, .2, 1) calc(var(--i, 0) * 50ms); }
.logo-row li:hover { color: var(--text); }

/* sections */
.section { position: relative; padding: 88px 0; }
.section-head { max-width: 920px; margin: 0 auto 44px; text-align: center; }
.section-head .kicker { justify-content: center; }
.section-head.left { text-align: left; margin: 0; }
.section-head.left .kicker { justify-content: flex-start; }
.section h2 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.04; font-weight: 800; }
.section-lede { font-size: 17px; color: var(--text-2); margin: 18px 0 0; }

/* features */
.features { padding-top: 80px; }
.feature { display: grid; grid-template-columns: .78fr 1.22fr; gap: 72px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature h2 { font-size: clamp(34px, 4vw, 50px); }
.feature.wide { grid-template-columns: 1fr; gap: 48px; }
.feature.wide .feature-copy { text-align: center; }
.feature.wide .feature-copy .kicker { justify-content: center; }
.feature.wide .feature-copy p:not(.kicker) { margin-inline: auto; max-width: 520px; }
.feature-copy p:not(.kicker) { font-size: 18px; line-height: 1.6; color: var(--text-2); margin: 20px 0 0; max-width: 400px; }
.hr-mark { width: 16px; height: 16px; }
.stage { position: relative; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--stage); isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 60% at 70% 75%, var(--glow), transparent 70%), linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px;
  mask-image: radial-gradient(ellipse at 60% 60%, #000 20%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse at 60% 60%, #000 20%, transparent 80%); }
.stage > img { position: absolute; }
.stage-red::before { background: radial-gradient(50% 50% at 62% 62%, rgb(240 86 92 / .18), transparent 70%), radial-gradient(50% 50% at 30% 20%, var(--glow-2), transparent 70%),
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px; }
.shot-warn { width: 54%; left: 6%; top: 8%; opacity: .5; transform: rotate(-4deg) scale(.94); filter: saturate(.8); }
.shot-block { width: 62%; right: 6%; bottom: 5%; filter: drop-shadow(0 30px 50px rgb(0 0 0 / .5)); }
.alert-bg { inset: 0; width: 140%; max-width: none; left: -6%; top: 6%; opacity: .28; filter: blur(1.5px); border-radius: 12px; }
.alert-card { width: 76%; left: 12%; top: 11%; border-radius: 14px; border: 1px solid rgb(255 255 255 / .12); box-shadow: 0 40px 80px rgb(0 0 0 / .55), 0 0 0 6px rgb(255 255 255 / .03); }
:root[data-theme="light"] .alert-bg { opacity: .14; }

/* dashboard showcase */
.showcase::before { content: ""; position: absolute; inset: 10% 0 auto; height: 70%; background: radial-gradient(50% 50% at 50% 50%, var(--glow-2), transparent 70%); pointer-events: none; }
.showcase-shot { position: relative; }
.captions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 28px; }
.captions button { position: relative; text-align: left; font: inherit; color: inherit; background: none; border: 0; padding: 18px 0 0; cursor: pointer; border-top: 1px solid var(--line-2); }
.captions button::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--lime-mark); box-shadow: 0 0 12px var(--lime);
  transform: scaleX(0); transform-origin: 0 50%; }
.captions button[aria-selected="true"]::before { transform: scaleX(var(--p, 1)); }
.captions b { display: block; font-size: 15px; font-weight: 600; color: var(--text-3); transition: color .2s; }
.captions span { display: block; font-size: 14px; color: var(--text-3); margin-top: 3px; }
.captions button[aria-selected="true"] b, .captions button:hover b { color: var(--text); }
.captions button[aria-selected="true"] span { color: var(--text-2); }

/* privacy */
.privacy { padding: 40px 0 72px; }
.privacy-kicker { justify-content: center; margin-bottom: 24px; }
.points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 20px; background: var(--card); overflow: hidden; }
.points li { padding: 28px 28px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-content: start; }
.points li + li { border-left: 1px solid var(--line); }
.points svg { width: 38px; height: 38px; padding: 9px; border-radius: 10px; color: var(--lime-text); background: var(--lime-soft); border: 1px solid var(--lime-line); grid-row: span 2; }
.points b { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-size: 18px; letter-spacing: -.02em; margin-bottom: 4px; }
.points span { color: var(--text-2); font-size: 15px; }

/* deploy */
.deploy-inner { margin: 28px auto 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 14px; padding: 14px 22px; border-radius: 99px; border: 1px solid var(--line); background: var(--ghost); width: fit-content; max-width: 100%; }
.plat { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 99px; background: var(--ghost-hover); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; }
.plat svg { font-size: 15px; }
.deploy-inner p { margin: 0 0 0 6px; color: var(--text-2); font-size: 15px; text-align: center; }
.deploy-inner i { font-style: normal; color: var(--text-3); margin: 0 2px; }
.deploy-inner p span { white-space: nowrap; }

/* faq */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 16.5px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { font-size: 18px; color: var(--text-3); transition: transform .25s, color .2s; }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--lime-text); }
.faq summary:hover svg { color: var(--text); }
.faq p { margin: 0 0 22px; color: var(--text-2); font-size: 15px; max-width: 640px; }
.faq p code { color: var(--text); }

/* demo form */
.demo-section { padding-bottom: 104px; }
.demo-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 420px at 75% 50%, var(--glow-2), transparent 70%); pointer-events: none; }
.demo-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.form { position: relative; padding: 30px; border-radius: 20px; background: var(--form-bg); border: 1px solid var(--line-2); box-shadow: var(--shadow-frame), 0 0 0 1px var(--lime-soft); }
.form label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 16px; }
.form label em { font-style: normal; font-weight: 400; color: var(--text-3); margin-left: 3px; }
.form label > input, .form label > select, .form label > textarea { display: block; margin-top: 7px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input, .form select, .form textarea { font: 400 14.5px/1.4 inherit; font-family: inherit; color: var(--text); background: var(--input); border: 1px solid var(--line-2); border-radius: 10px;
  height: 44px; padding: 0 13px; transition: border-color .15s, box-shadow .15s; width: 100%; }
.form textarea { height: auto; padding: 11px 13px; resize: vertical; min-height: 88px; }
.form select { appearance: none; cursor: pointer; padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 17px) 52%, calc(100% - 12px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.form select:invalid { color: var(--text-3); }
.form input::placeholder, .form textarea::placeholder { color: var(--placeholder); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--lime-line); box-shadow: 0 0 0 4px var(--lime-soft); }
.form .invalid { border-color: var(--red-line); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { font-size: 13.5px; color: var(--red-text); background: var(--red-soft); border: 1px solid var(--red-line); padding: 10px 12px; border-radius: 10px; margin-bottom: 14px; }
.form-fine { text-align: center; font-size: 12.5px; color: var(--text-3); margin: 14px 0 0; }
.form-done { text-align: center; padding: 40px 10px; }
.done-mark { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: var(--lime); color: #0a0b0d; font-size: 30px;
  box-shadow: 0 0 0 10px var(--lime-soft), 0 20px 50px var(--glow); }
.done-mark svg { stroke-width: 3; }
.form-done h3 { font-size: 26px; margin-bottom: 8px; }
.form-done p { color: var(--text-2); margin: 0 auto; max-width: 360px; }
a.mail { color: var(--lime-text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--lime-line); text-underline-offset: 3px; }
a.mail:hover { text-decoration-color: currentColor; }
.demo-mail { margin: 26px 0 0; color: var(--text-2); font-size: 15px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 50px; }
.foot-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 24px; align-items: center; }
.foot-inner p { margin: 0; color: var(--text-3); font-size: 14px; }
.foot-inner nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--text-2); }
.foot-inner nav a:hover { color: var(--text); }
.foot-inner small { grid-column: 1 / -1; color: var(--text-3); margin-top: 18px; }

/* privacy and terms pages */
.legal { max-width: 760px; padding: 128px 0 96px; }
.legal h1 { font: 800 clamp(34px, 5vw, 46px)/1.08 "Plus Jakarta Sans", sans-serif; letter-spacing: -.03em; margin: 8px 0 6px; }
.legal .updated { color: var(--text-3); font-size: 14px; margin: 0 0 32px; }
.legal h2 { font: 700 21px/1.3 "Plus Jakarta Sans", sans-serif; margin: 40px 0 10px; }
.legal h3 { font-size: 15.5px; font-weight: 600; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--text-2); font-size: 15.5px; line-height: 1.7; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--lime-text); text-decoration: underline; text-underline-offset: 3px; }
.legal code { font-size: 13.5px; }

/* scroll reveal: whole blocks, or the children of [data-stagger] one after another */
.reveal, [data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
[data-stagger] > * { transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in, [data-stagger].in > * { opacity: 1; transform: none; }

/* hover: lift and glow (transform and opacity only) */
.stage, .showcase-shot { transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1), translate .5s cubic-bezier(.2, .8, .2, 1);
  transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s; }
.stage::after, .showcase-shot::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s;
  box-shadow: inset 0 0 0 1px var(--lime-line), inset 0 0 90px var(--glow-2); z-index: 3; }
.stage:hover, .showcase-shot:hover { translate: 0 -4px; }
.stage:hover::after, .showcase-shot:hover::after { opacity: 1; }
.spot { position: absolute; left: 0; top: 0; width: 440px; height: 440px; border-radius: 50%; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(closest-side, rgb(187 245 35 / .16), transparent); will-change: transform; }
.stage:hover .spot { opacity: 1; }
.stage > img { z-index: 1; }

/* buttons: sheen, press */
.btn-lime { position: relative; overflow: hidden; isolation: isolate; }
.btn-lime::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 35%, rgb(255 255 255 / .55) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.btn-lime:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.97); }

/* nav underline */
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; border-radius: 2px; background: var(--lime-mark);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.nav-links a:hover::after { transform: scaleX(1); }

/* FAQ answers slide in and out */
.faq details[open] p { animation: faqIn .4s cubic-bezier(.2, .8, .2, 1); }
.faq details p.closing { animation: faqOut .22s ease-in forwards; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }
@keyframes faqOut { to { opacity: 0; transform: translateY(-6px); } }

/* responsive */
.feature > *, .row2 > *, .faq-grid > *, .demo-grid > *, .points > * { min-width: 0; }
@media (max-width: 1060px) {
  .feature { grid-template-columns: 1fr; gap: 40px; }
      .feature + .feature { margin-top: 110px; }
  .feature-copy { text-align: center; }
  .feature-copy .kicker { justify-content: center; }
  .feature-copy p:not(.kicker) { margin-inline: auto; max-width: 520px; }
  .stage { max-width: 760px; width: 100%; margin-inline: auto; }
  .faq-grid, .demo-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
}
@media (max-width: 760px) {
  .nav-inner { gap: 12px; }
  .nav-cta { gap: 12px; }
  .nav-cta .link { font-size: 13.5px; color: var(--text); white-space: nowrap; }
  .nav-cta .btn { height: 36px; padding: 0 12px; font-size: 13px; }
  .lbl-long { display: none; } .lbl-short { display: inline; }
  .hero { padding-top: 120px; }
  .lede { font-size: 17px; }
  .eb-long { display: none; } .eb-short { display: inline; }
  .hero-cta { width: 100%; max-width: 340px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-stage { margin-top: 52px; padding-bottom: 56px; }
  .browser { border-radius: 10px; }
  .browser-bar { height: 24px; padding: 0 10px; gap: 5px; }
  .browser-bar i { width: 7px; height: 7px; }
  .browser-bar span { font-size: 9.5px; padding: 1px 8px; }
  .scenes { gap: 6px; }
  .scenes button { height: 32px; padding: 0 11px; font-size: 12.5px; }
  .scenes button span { display: none; }
  .logo-row { gap: 10px 26px; }
  .logo-row li { font-size: 16px; }
  .section { padding: 88px 0; }
  .features { padding-top: 80px; }
  .feature + .feature { margin-top: 88px; }
  .feature-copy p:not(.kicker) { font-size: 16.5px; }
  .stage { border-radius: 18px; aspect-ratio: 1 / 1; }
  .shot-warn { width: 70%; left: 4%; top: 5%; }
  .shot-block { width: 78%; right: 4%; }
  .alert-card { width: 90%; left: 5%; top: 7%; }
  .captions { grid-template-columns: 1fr; gap: 0; }
  .captions button { padding: 14px 0; }
  .points { grid-template-columns: 1fr; }
  .points li + li { border-left: 0; border-top: 1px solid var(--line); }
  .points li { padding: 22px; }
  .deploy-inner { border-radius: 20px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 22px; }
  .form input, .form select, .form textarea { font-size: 16px; }   /* below 16px iOS zooms the page on focus */
  .foot-inner { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .logo b { font-size: 15.5px; }
  .nav-cta { gap: 10px; }
  .theme-btn { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, [data-stagger] > * { opacity: 1; transform: none; }
  .stage:hover, .showcase-shot:hover { translate: none; }
}

/* ================= live scenes: fixed virtual canvas scaled to fit (see liveScene in landing.js) ================= */
.stage-live { aspect-ratio: auto; margin: 0 auto; width: 100%; }   /* its canvas is absolutely positioned: without a width it shrinks to 0 */
.feature.wide .stage { max-width: none; }
.live-canvas { position: absolute; left: 0; top: 0; transform-origin: 0 0; text-align: left; }
.ai-ico { width: 22px; height: 22px; border-radius: 6px; flex: none; display: block; }
.ai-ico.lg { width: 44px; height: 44px; border-radius: 11px; }
.hr-ico { width: 18px; height: 18px; flex: none; }
.hr-ico.big { width: 30px; height: 30px; padding: 5px; border-radius: 8px; background: #11140c; }
.hr-ico.tile { width: 48px; height: 48px; padding: 9px; border-radius: 12px; background: #0b0d08; border: 1px solid rgb(255 255 255 / .08); }
.hs-ico { width: 16px; height: 17px; color: #bbf523; fill: currentColor; stroke: none; flex: none; }
.tick { animation: tick .6s ease-out; }
@keyframes tick { 0% { color: #d4ff5c; } 100% { color: inherit; } }

/* mirrored traffic chart */
.tc { position: relative; overflow: hidden; }
.tc-track { position: absolute; inset: 0; display: flex; transition: transform 1s linear; will-change: transform; }
.tc-track > i { flex: none; position: relative; height: 100%; width: var(--pitch); }
.tc-track b { position: absolute; left: 18%; right: 18%; border-radius: 2px; transition: transform .4s; }
.tc-track b.u { height: var(--uh); bottom: 50%; margin-bottom: 1px; background: #9c88f2; transform-origin: 50% 100%; }
.tc-track b.d { height: var(--dh); top: 50%; margin-top: 1px; background: #4fb0e8; transform-origin: 50% 0; }
.tc-lab { position: absolute; left: 0; top: 50%; z-index: 1; font: 600 11px/1 -apple-system, "Inter", sans-serif; padding: 4px 7px; border-radius: 6px; white-space: nowrap;
  transition: transform .9s cubic-bezier(.4, 0, .2, 1); }
.tc-lab.up { color: #c4b6ff; background: rgb(110 90 220 / .3); }
.tc-lab.down { color: #a8dcff; background: rgb(40 130 190 / .3); }

/* ---- HushRadar scene (always dark: the Mac app is) ---- */
.rl-canvas { font-family: -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif; color: #f2f2ef; }
.stage-live::before { background: radial-gradient(50% 60% at 75% 30%, rgb(187 245 35 / .1), transparent 70%), radial-gradient(40% 50% at 20% 90%, rgb(110 90 220 / .12), transparent 70%),
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 48px; }
.rl-win { position: absolute; left: 24px; top: 56px; width: 820px; height: 660px; display: grid; grid-template-columns: 236px 1fr; border-radius: 14px; overflow: hidden;
  background: #171717; border: 1px solid rgb(255 255 255 / .12); box-shadow: 0 40px 100px rgb(0 0 0 / .6), 0 0 0 .5px #000; }
.rl-side { position: relative; padding: 12px 10px; background: radial-gradient(120% 40% at 0% 0%, rgb(187 245 35 / .1), transparent 70%), #1d1e1b; border-right: 1px solid rgb(255 255 255 / .07); overflow: hidden; }
.rl-tl { display: flex; gap: 7px; padding: 2px 4px 14px; }
.rl-tl i { width: 11px; height: 11px; border-radius: 50%; background: #3c3c3c; }
.rl-brand { display: flex; align-items: center; gap: 8px; padding: 0 6px 12px; }
.rl-brand .hr-ico { width: 24px; height: 24px; }
.rl-brand b { font: 800 18px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: -.02em; }
.rl-filters { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 2px 10px; }
.rl-filters span { font-size: 11px; color: #a9aaa4; background: rgb(255 255 255 / .06); padding: 3px 8px; border-radius: 99px; }
.rl-filters .on { background: #bbf523; color: #10130a; font-weight: 600; }
.rl-sec { display: flex; justify-content: space-between; font-size: 11px; color: #8d8e88; padding: 10px 8px 4px; }
.rl-sec em { font-style: normal; }
.rl-app { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 8px; }
.rl-app.all { background: rgb(187 245 35 / .1); border: 1px solid rgb(187 245 35 / .25); }
.rl-app > div { flex: 1; min-width: 0; }
.rl-app > div b { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rl-app em.sp { font-style: normal; color: #9c88f2; font-size: 10px; }
.rl-app svg { display: block; width: 74px; height: 14px; margin-top: 3px; stroke-width: 1.4; fill: none; overflow: visible; }
.rl-app .sp-u { stroke: #9c88f2; } .rl-app .sp-d { stroke: #4fb0e8; }
.rl-app > span { text-align: right; font-size: 12.5px; }
.rl-app > span b { display: block; font-weight: 500; font-variant-numeric: tabular-nums; }
.rl-blk { display: inline-block; font-style: normal; font-size: 10px; color: #ff8a7a; background: rgb(240 86 92 / .16); padding: 1px 5px; border-radius: 5px; margin-top: 2px; }
.rl-blk::before { content: "✋ "; font-size: 8px; }
.rl-main { display: flex; flex-direction: column; padding: 12px 64px 0 16px; min-width: 0; background: radial-gradient(80% 40% at 60% 0%, rgb(255 255 255 / .03), transparent); }
.rl-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.rl-tabs, .rl-range { display: flex; gap: 2px; padding: 3px; border-radius: 99px; background: rgb(255 255 255 / .06); font-size: 12.5px; }
.rl-tabs span, .rl-range span { padding: 5px 12px; border-radius: 99px; color: #c8c9c3; display: flex; align-items: center; gap: 5px; }
.rl-tabs .on, .rl-range .on { background: rgb(255 255 255 / .1); color: #fff; }
.rl-range .live i { width: 6px; height: 6px; border-radius: 50%; background: #bbf523; animation: livePulse 1.6s infinite; }
@keyframes livePulse { 50% { opacity: .3; } }
.rl-card { padding: 14px 16px 10px; border-radius: 12px; background: rgb(255 255 255 / .045); border: 1px solid rgb(255 255 255 / .07); }
.rl-ch { display: flex; gap: 12px; align-items: center; }
.rl-ch b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.rl-ch small { color: #9a9b95; font-size: 12px; }
.rl-chart-row { display: flex; gap: 22px; align-items: center; margin-top: 8px; }
.rl-wchart { flex: none; width: 300px; height: 130px; }
.rl-legend { list-style: none; margin: 0; padding: 0; flex: 1; display: grid; gap: 9px; font-size: 12.5px; color: #c8c9c3; }
.rl-legend li { display: flex; align-items: center; gap: 7px; }
.rl-legend li i { width: 8px; height: 8px; border-radius: 50%; }
.rl-legend .c { background: #bbf523; } .rl-legend .s { background: #9c88f2; } .rl-legend .r { background: #4fb0e8; } .rl-legend .x { background: #f25454; }
.rl-legend b { margin-left: auto; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.rl-axis { display: flex; justify-content: space-between; font-size: 10.5px; color: #8d8e88; margin-top: 4px; }
.rl-table { margin-top: 12px; border-radius: 12px; background: rgb(255 255 255 / .03); border: 1px solid rgb(255 255 255 / .07); flex: 1; min-height: 0; overflow: hidden; }
.rl-th, .rl-dr { display: grid; grid-template-columns: 1fr 62px 50px 60px 86px; align-items: center; gap: 6px; padding: 0 14px; }
.rl-th { height: 32px; font-size: 11.5px; color: #8d8e88; border-bottom: 1px solid rgb(255 255 255 / .06); }
.rl-th span:not(:first-child), .rl-dr > span { text-align: right; }
.rl-dr { position: relative; height: 50px; font-size: 12.5px; border-bottom: 1px solid rgb(255 255 255 / .05); grid-template-columns: 22px 1fr 62px 50px 60px 86px; }
.rl-th { grid-template-columns: 1fr 62px 50px 60px 86px; padding-left: 42px; }
.rl-seen { display: none; }
.rl-dn { min-width: 0; white-space: nowrap; overflow: hidden; }
.rl-dn b { font-size: 13.5px; font-weight: 600; margin-right: 6px; }
.rl-dn small { display: block; color: #8d8e88; font-size: 11px; }
.rl-dr .rl-num { font-variant-numeric: tabular-nums; font-weight: 500; }
.rl-seen { color: #8d8e88; }
.rl-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 99px; vertical-align: 1px; }
.rl-chip em { font-style: normal; font-size: 9px; }
.c-other { color: #c8c9c3; background: rgb(255 255 255 / .08); }
.c-ai { color: #a99bff; background: rgb(130 110 240 / .16); }
.c-dev { color: #7fd38a; background: rgb(90 195 107 / .14); }
.c-msg { color: #6fd4bd; background: rgb(76 195 165 / .14); }
.rl-new { font-size: 10px; font-weight: 700; color: #10130a; background: #bbf523; padding: 1px 6px; border-radius: 5px; margin-left: 4px; }
.rl-rule { display: inline-flex; padding: 2px; border-radius: 7px; background: rgb(255 255 255 / .06); font-size: 11.5px; justify-self: end; }
.rl-rule i { font-style: normal; padding: 3px 8px; border-radius: 5px; color: #8d8e88; }
.rl-rule i.on { background: rgb(255 255 255 / .1); color: #bbf523; font-weight: 600; }
.rl-rule i.on.deny { color: #ff6b6b; }
.rl-dr.fresh { animation: rowIn .7s cubic-bezier(.2, .8, .2, 1); }
.rl-dr.fresh::after { content: ""; position: absolute; inset: 0; background: rgb(187 245 35 / .12); animation: fadeOut 2.4s .4s forwards; pointer-events: none; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-14px); } }
@keyframes fadeOut { to { opacity: 0; } }
.rl-foot { display: flex; justify-content: space-between; gap: 10px; font-size: 10.5px; color: #8d8e88; padding: 9px 2px; }
.rl-foot span { color: #bbf523; white-space: nowrap; }

.rl-pop { position: absolute; left: 790px; top: 26px; width: 340px; padding: 14px 12px 10px; border-radius: 18px; z-index: 2;
  background: rgb(30 30 30 / .94); border: 1px solid rgb(255 255 255 / .13); box-shadow: 0 40px 90px rgb(0 0 0 / .65), 0 0 0 .5px #000;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.rp-head { display: flex; align-items: center; gap: 7px; padding: 0 4px 10px; }
.rp-head b { font: 800 15px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: -.01em; }
.rp-online { margin-left: auto; font-size: 12px; color: #c8c9c3; display: flex; align-items: center; gap: 5px; }
.rp-online i { width: 7px; height: 7px; border-radius: 50%; background: #4cd964; }
.rp-card { padding: 11px 12px; border-radius: 13px; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .07); margin-bottom: 8px; }
.rp-prot { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid rgb(255 255 255 / .07); }
.rp-shield { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgb(187 245 35 / .1); }
.rp-shield svg { width: 18px; height: 18px; }
.rp-prot b { display: block; font-size: 14px; }
.rp-prot small, .rp-today small { font-size: 11px; color: #a9aaa4; }
.rp-today { margin-left: auto; text-align: right; }
.rp-today b { display: block; font-size: 17px; }
.rp-radar { display: flex; align-items: center; gap: 7px; padding-top: 10px; }
.rp-radar b { font: 800 13px/1 "Plus Jakarta Sans", sans-serif; }
.rp-enf { font-size: 11px; font-weight: 600; color: #bbf523; background: rgb(187 245 35 / .14); padding: 3px 8px; border-radius: 99px; }
.rp-btn { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .08); font-size: 10px; color: #c8c9c3; }
.rp-btn + .rp-btn { margin-left: 4px; }
.rp-th { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.rp-th b { margin-right: auto; font-size: 13px; }
.rp-th .up { color: #b3a4ff; font-weight: 600; } .rp-th .down { color: #7cc6f2; font-weight: 600; }
.rp-chart { height: 128px; margin-top: 4px; }
.rp-sec { display: block; font-size: 11px; color: #8d8e88; padding: 4px 6px; }
.rp-ar { display: flex; align-items: center; gap: 9px; padding: 5px 6px; font-size: 12.5px; }
.rp-ar b { flex: 1; font-weight: 500; }
.rp-bar { width: 70px; height: 4px; border-radius: 4px; background: rgb(255 255 255 / .08); overflow: hidden; }
.rp-bar i { display: block; height: 100%; background: #5ab8f0; border-radius: 4px; transform-origin: 0 50%; transition: transform .9s cubic-bezier(.4, 0, .2, 1); }
.rp-ar em { font-style: normal; width: 64px; text-align: right; color: #a9aaa4; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.rp-alert, .rp-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; font-size: 13px; margin-top: 4px; }
.rp-alert { background: #3b2419; color: #f39a5a; }
.rp-alert b, .rp-row b { flex: 1; font-weight: 600; }
.rp-row b { font-weight: 500; }
.rp-alert em, .rp-row em { font-style: normal; color: #a9aaa4; }
.rp-alert.flash { animation: alertFlash 1.6s ease-out; }
@keyframes alertFlash { 0%, 40% { background: #6a2420; color: #ffb3a8; box-shadow: 0 0 0 2px rgb(242 84 84 / .6), 0 0 26px rgb(242 84 84 / .45); } 100% { box-shadow: 0 0 0 0 rgb(242 84 84 / 0); } }
.rp-menu { font-size: 13px; padding: 9px 10px 6px; margin-top: 6px; border-top: 1px solid rgb(255 255 255 / .08); }
.rp-foot { display: flex; justify-content: space-between; font-size: 11px; color: #8d8e88; padding: 4px 10px 0; }

.rl-notice { position: absolute; left: 400px; top: 470px; width: 400px; z-index: 3; padding: 14px 16px 12px; border-radius: 18px; color: #f2f2ef;
  background: radial-gradient(90% 70% at 20% 0%, rgb(187 245 35 / .12), transparent 70%), rgb(22 24 20 / .96); border: 1px solid rgb(255 255 255 / .14);
  box-shadow: 0 30px 70px rgb(0 0 0 / .6); opacity: 0; transform: translateX(30px) scale(.97); pointer-events: none;
  transition: opacity .35s, transform .5s cubic-bezier(.2, 1.2, .4, 1); }
.rl-notice.show { opacity: 1; transform: none; }
.rn-head { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.rn-head b { font: 800 14px/1 "Plus Jakarta Sans", sans-serif; }
.rn-head span { margin-left: auto; color: #c8c9c3; font-weight: 600; }
.rn-body { display: flex; gap: 14px; margin: 12px 0; }
.rn-body small { display: block; font-size: 12.5px; color: #c8c9c3; }
.rn-body b { font-size: 19px; font-weight: 700; margin-right: 8px; }
.rn-body small + b { display: inline-block; margin-top: 3px; }
.rn-body small:last-child { color: #8d8e88; font-size: 11.5px; margin-top: 3px; }
.rn-foot { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.rn-check { margin-right: auto; display: flex; align-items: center; gap: 7px; color: #c8c9c3; }
.rn-check i { width: 17px; height: 17px; border-radius: 5px; display: grid; place-items: center; background: rgb(255 255 255 / .14); font-style: normal; font-size: 11px; }
.rn-block, .rn-allow { padding: 7px 13px; border-radius: 9px; font-weight: 600; transition: transform .12s, background .2s; }
.rn-block { color: #ff6b6b; background: rgb(240 86 92 / .14); border: 1px solid rgb(240 86 92 / .35); }
.rn-allow { background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .16); }
.rn-allow.press { transform: scale(.94); background: rgb(187 245 35 / .3); }
.rn-bar { height: 3px; border-radius: 3px; background: rgb(255 255 255 / .06); margin-top: 12px; overflow: hidden; }
.rn-bar i { display: block; height: 100%; background: #9ccf2a; transform-origin: 0 50%; }
.rl-notice.show .rn-bar i { animation: drain 6s linear forwards; }
@keyframes drain { to { transform: scaleX(0); } }
.rl-cursor { z-index: 5; }

/* phones: the popover is the hero, the window sits behind it */
.rl-canvas.narrow .rl-win { left: -300px; top: 30px; opacity: .55; filter: blur(.5px); }
.rl-canvas.narrow .rl-pop { left: 60px; top: 14px; }
.rl-canvas.narrow .rl-notice { left: 30px; top: 560px; }

/* ---- dashboard scene: the console's own tokens (app.css), following the page theme ---- */
.dsh-host { position: relative; overflow: hidden; }
.dsh { --bg: #0a0b0d; --side: #0c0d10; --surface: #111316; --surface-2: #171a1e; --surface-3: #20242a; --border: #1f2227; --border-strong: #2b2f36;
  --text: #eceef1; --text-2: #a3a8b1; --text-3: #6c727c; --accent-text: #c6f25a; --accent-soft: rgb(187 245 35 / .08); --accent-line: rgb(187 245 35 / .26);
  --critical: #de3e47; --high: #f0913f; --medium: #f8dc7a; --low: #626974; --warn-text: #f3c969; --good-text: #b5e35a; --bad-text: #ff7d79; --grid: #1b1e22;
  display: grid; grid-template-columns: 230px 1fr; background: var(--bg); color: var(--text); font: 13.5px/1.45 "Inter", -apple-system, system-ui, sans-serif; letter-spacing: -.003em; }
:root[data-theme="light"] .dsh { --bg: #f6f7f9; --side: #fbfbfc; --surface: #ffffff; --surface-2: #f4f5f7; --surface-3: #e9ebee; --border: #e5e7eb; --border-strong: #d4d7dc;
  --text: #0e1116; --text-2: #4a505a; --text-3: #7d838d; --accent-text: #4b7300; --accent-soft: rgb(120 175 0 / .09); --accent-line: rgb(100 150 0 / .32);
  --critical: #b42b33; --high: #e5762f; --medium: #e8b83a; --low: #a0a6ae; --warn-text: #8a5a00; --good-text: #3f6400; --bad-text: #b42b33; --grid: #eef0f2; }
:root[data-theme="light"] .showcase-shot { background: #fff; }
.d-side { background: var(--side); border-right: 1px solid var(--border); padding: 16px 12px; display: flex; flex-direction: column; gap: 1px; }
.d-brand { display: flex; align-items: center; gap: 9px; padding: 2px 6px 16px; }
.d-brand .hs-ico { width: 24px; height: 26px; }
.d-brand b { display: block; font: 800 15px/1.1 "Plus Jakarta Sans", sans-serif; }
.d-brand small { font-size: 11px; color: var(--text-3); }
.d-grp { margin: 12px 8px 4px; font-size: 11px; color: var(--text-3); font-weight: 500; }
.d-nav { position: relative; display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 10px; border-radius: 8px; color: var(--text-2); font-size: 13.5px; transition: background .4s, color .4s; }
.d-nav em { font-style: normal; width: 16px; text-align: center; color: var(--text-3); font-size: 12px; }
.d-nav i { margin-left: auto; font-style: normal; font-size: 10.5px; padding: 1px 6px; border-radius: 6px; background: var(--surface-3); color: var(--text-2); }
.d-nav i.bad { background: rgb(222 62 71 / .2); color: var(--bad-text); }
.d-nav.on { background: var(--surface-2); color: var(--text); }
.d-nav.on::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: #bbf523; }
.d-pol { margin-top: auto; display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-2); padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.d-pol i { width: 6px; height: 6px; border-radius: 50%; background: #bbf523; }
.d-pol b { color: var(--text); }
.d-me { display: flex; gap: 9px; align-items: center; padding: 12px 6px 0; border-top: 1px solid var(--border); margin-top: 10px; }
.d-me > span { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 11px; font-weight: 600; background: var(--surface-3); }
.d-me b { display: block; font-size: 13px; } .d-me small { font-size: 11px; color: var(--text-3); }
.d-main { position: relative; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
.d-top { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 28px; border-bottom: 1px solid var(--border); flex: none; }
.d-top small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text-3); }
.d-org { font-size: 8.5px; font-weight: 700; padding: 1px 3px; border-radius: 4px; background: var(--surface-3); color: var(--text-2); }
.d-top b { font-size: 17px; font-weight: 650; letter-spacing: -.015em; }
.d-range { display: flex; padding: 2px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); font-size: 12px; }
.d-range i { font-style: normal; padding: 4px 10px; border-radius: 6px; color: var(--text-2); }
.d-range i.on { background: var(--surface-3); color: var(--text); font-weight: 600; }
.d-views { position: relative; flex: 1; }
.d-view { position: absolute; inset: 0; padding: 20px 28px; display: flex; flex-direction: column; gap: 14px; opacity: 0; transform: translateY(10px) scale(.99);
  transition: opacity .55s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }
.d-view.in { opacity: 1; transform: none; }
.d-view.out { opacity: 0; transform: translateY(-8px) scale(.99); transition-duration: .4s; }
.d-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
:root[data-theme="light"] .d-card { box-shadow: 0 1px 2px rgb(16 24 40 / .04); }
.d-card > small, .d-ch small { display: block; font-size: 12px; color: var(--text-3); }
.d-ch { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.d-ch b { font-size: 14px; font-weight: 600; }
.d-hero { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 12px; border: 1px solid var(--border);
  background: radial-gradient(600px 220px at 15% -40%, rgb(187 245 35 / .16), transparent 70%), var(--surface); }
.d-hero .hs-ico { width: 34px; height: 37px; }
.d-hero b { display: block; font: 700 19px/1.25 "Plus Jakarta Sans", sans-serif; letter-spacing: -.02em; }
.d-hero b em { font-style: normal; color: var(--accent-text); }
.d-hero small { font-size: 12.5px; color: var(--text-2); }
.d-pill { font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 5px; }
.d-pill.bad { color: var(--bad-text); background: rgb(222 62 71 / .14); }
.d-pill.warn { color: var(--warn-text); background: rgb(240 145 63 / .14); }
.d-strip { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 12px; border: 1px solid rgb(222 62 71 / .35); background: rgb(222 62 71 / .06); }
.d-strip > span { color: var(--bad-text); }
.d-strip b { display: block; font-size: 13px; } .d-strip small { font-size: 11.5px; color: var(--text-3); }
.d-strip em { margin-left: auto; font-style: normal; color: var(--accent-text); font-weight: 600; font-size: 12.5px; }
.d-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.d-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.d-grid6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.d-kpi small { font-size: 12px; color: var(--text-2); }
.d-kpi > div { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 2px; }
.d-kpi .dn { font-size: 26px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.d-kpi .dn.warn { color: var(--warn-text); }
.d-unit { color: var(--text-3); font-size: 13px; } .d-unit.big { font-size: 22px; color: var(--text); font-weight: 600; }
.d-kpi p { margin: 0; font-size: 11.5px; color: var(--text-3); }
.d-delta { font-size: 11px; font-weight: 600; padding: 1px 5px; border-radius: 5px; }
.d-delta.bad { color: var(--bad-text); background: rgb(222 62 71 / .14); }
.d-delta.good { color: var(--good-text); background: rgb(160 220 60 / .12); }
.d-row2 { display: grid; grid-template-columns: 1.7fr 1fr; gap: 12px; flex: 1; min-height: 0; }
.d-row2.t { grid-template-columns: 1fr 1.15fr; }
.d-leg { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text-2); }
.d-leg i { width: 8px; height: 8px; border-radius: 2px; margin-left: 6px; }
.s-c { background: var(--critical); } .s-h { background: var(--high); } .s-m { background: var(--medium); }
.s-a { background: #3b82f6; } .s-b { background: #e0457b; } .s-g { background: #16a34a; } .s-o { background: #f59e0b; } .s-p { background: #a78bfa; } .s-x { background: #5d6470; }
.d-plot { position: relative; height: 150px; margin-top: 12px; display: flex; align-items: flex-end; justify-content: space-around; gap: 6%; padding: 0 2%; }
.d-plot.tall { height: 170px; }
.d-gridlines { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.d-gridlines i { border-top: 1px solid var(--grid); }
.d-col { position: relative; flex: 1; max-width: 44px; height: 100%; display: flex; flex-direction: column-reverse; transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(.15s + var(--i) * 70ms); }
.d-col i { display: block; border-top: 1px solid var(--surface); }
.d-col i:last-child { border-radius: 3px 3px 0 0; }
.go .d-col { transform: none; }
.d-axis { display: flex; justify-content: space-around; font-size: 11px; color: var(--text-3); margin-top: 6px; }
.d-next b { font-size: 14px; font-weight: 600; }
.d-hb { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; margin-top: 12px; font-size: 13px; }
.d-hb .dn { font-weight: 600; }
.d-hb > i { grid-column: 1 / -1; height: 5px; border-radius: 5px; background: var(--surface-3); overflow: hidden; }
.d-hb > i b { display: block; height: 100%; border-radius: 5px; background: #a3d93a; transform-origin: 0 50%; }
.d-hb > i b:not([class]) { background: #a3d93a; }
.d-view:not(.go) .d-hb > i b { transform: scaleX(0) !important; }
.d-hb > i b { transition: transform 1s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(.3s + var(--i) * 90ms); }
.d-cats .d-hb { grid-template-columns: 130px 1fr 40px 44px; margin-top: 7px; font-size: 12px; }
.d-cats .d-hb > i { grid-column: auto; }
.d-cats .d-hb span { display: flex; align-items: center; gap: 6px; color: var(--text-2); }
.d-cats .d-hb span i { width: 8px; height: 8px; border-radius: 2px; }
.d-cats em { font-style: normal; text-align: right; color: var(--text-2); }
.d-rtabs { display: flex; align-items: center; gap: 22px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-2); }
.d-rtabs > span:not(.d-status) { padding: 6px 2px 10px; }
.d-rtabs .on { color: var(--text); font-weight: 600; box-shadow: inset 0 -2px #bbf523; }
.d-rtabs em { font-style: normal; font-size: 11px; color: var(--bad-text); background: rgb(222 62 71 / .16); padding: 0 5px; border-radius: 99px; }
.d-status { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 12px; padding: 5px 12px; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 8px; }
.d-status i { width: 6px; height: 6px; border-radius: 50%; background: #bbf523; }
.d-count { font-size: 11px; font-weight: 600; color: var(--warn-text); border: 1px solid rgb(240 145 63 / .4); border-radius: 99px; padding: 0 7px; }
.d-sub { margin: 10px 0 2px; font-size: 12px; color: var(--text-2); font-weight: 500; }
.d-sub em { font-style: normal; color: var(--text-3); font-weight: 400; }
.d-arow { display: flex; align-items: center; gap: 10px; padding: 7px 0; opacity: 0; transform: translateX(-10px);
  transition: opacity .5s, transform .6s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(.35s + var(--i) * 140ms); }
.go .d-arow { opacity: 1; transform: none; }
.d-arow > div { flex: 1; min-width: 0; }
.d-arow b { display: block; font-size: 13px; font-weight: 600; } .d-arow small { font-size: 11.5px; color: var(--text-3); }
.d-aic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; background: rgb(59 130 246 / .12); color: #60a5fa; border: 1px solid rgb(59 130 246 / .25); flex: none; }
.d-aic.up { background: rgb(222 62 71 / .1); color: var(--bad-text); border-color: rgb(222 62 71 / .3); }
.d-btn { font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 6px; border: 1px solid var(--border-strong); }
.d-btn.bad { color: var(--bad-text); border-color: rgb(222 62 71 / .35); }
.d-size { font-size: 13px; font-weight: 600; }
.d-seg { display: flex; padding: 2px; border-radius: 7px; background: var(--surface-2); font-size: 11.5px; }
.d-seg i, .d-seg2 i { font-style: normal; padding: 3px 9px; border-radius: 5px; color: var(--text-2); }
.d-seg i.on, .d-seg2 i.on { background: var(--surface-3); color: var(--text); font-weight: 600; }
.d-sev { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: end; border-left: 3px solid var(--low); }
.d-sev.critical { border-left-color: var(--critical); } .d-sev.high { border-left-color: var(--high); } .d-sev.medium { border-left-color: var(--medium); }
.d-sev small { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); }
.d-sev small i { width: 7px; height: 7px; border-radius: 50%; background: var(--low); }
.d-sev.critical small i { background: var(--critical); } .d-sev.high small i { background: var(--high); } .d-sev.medium small i { background: var(--medium); }
.d-sev .dn { font-size: 28px; font-weight: 600; }
.d-sev em { font-style: normal; font-size: 12px; color: var(--text-3); }
.d-sev.flash { animation: sevFlash 1.4s ease-out; }
@keyframes sevFlash { 0%, 30% { box-shadow: inset 0 0 0 1px rgb(222 62 71 / .7), 0 0 30px rgb(222 62 71 / .3); } }
.d-seg2 { display: inline-flex; padding: 2px; border-radius: 8px; background: var(--surface-2); font-size: 12.5px; }
.d-seg2 em { font-style: normal; color: var(--text-3); margin-left: 3px; }
.d-alerts { flex: 1; min-height: 0; overflow: hidden; }
.d-alert { position: relative; display: grid; grid-template-columns: 3px 1fr auto 70px; gap: 12px; align-items: center; padding: 10px 6px; border-bottom: 1px solid var(--border); }
.d-sbar { align-self: stretch; border-radius: 3px; background: var(--low); }
.d-alert.critical .d-sbar { background: var(--critical); } .d-alert.high .d-sbar { background: var(--high); }
.d-alert b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-alert > div { min-width: 0; }
.d-alert small { display: block; font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-alert .sv { font-style: normal; font-weight: 600; color: var(--text); }
.d-alert.critical .sv { color: var(--bad-text); }
.d-alert code, .d-host { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11.5px; }
.d-host { text-align: right; color: var(--text); }
.d-host small { font-family: "Inter", sans-serif; font-size: 11px; }
.d-time { text-align: right; font-size: 12.5px; color: var(--text-2); }
.d-tag { font-size: 10.5px; font-weight: 600; padding: 1px 6px; border-radius: 5px; background: var(--surface-3); color: var(--text-2); }
.d-alert:not(.fresh) { opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .6s cubic-bezier(.2, .8, .2, 1); }
.go .d-alert:not(.fresh) { opacity: 1; transform: none; }
.go .d-alert:nth-child(2) { transition-delay: .1s; } .go .d-alert:nth-child(3) { transition-delay: .2s; }
.d-alert.fresh { animation: alertIn .8s cubic-bezier(.2, .8, .2, 1); }
.d-alert.fresh::after { content: ""; position: absolute; inset: 0; border-radius: 8px; background: rgb(222 62 71 / .12); animation: fadeOut 2.6s .5s forwards; pointer-events: none; }
@keyframes alertIn { from { opacity: 0; transform: translateY(-16px); max-height: 0; } to { max-height: 80px; } }
.d-policy { flex: none; }
.d-saved { font-size: 12px; color: var(--text-3); transition: color .3s; }
.d-saved.ok { color: var(--good-text); }
.d-pcols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 6px; }
.d-prow { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--border); opacity: 0; transform: translateY(6px);
  transition: opacity .5s, transform .6s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(.2s + var(--i) * 80ms); }
.go .d-prow { opacity: 1; transform: none; }
.d-prow:last-child { border-bottom: 0; }
.d-prow b { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; } .d-prow small { font-size: 12px; color: var(--text-3); }
.d-sega { position: relative; flex: none; display: grid; grid-template-columns: repeat(var(--n), 58px); padding: 2px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface-2); font-size: 12px; }
.d-sega > i { position: relative; z-index: 1; font-style: normal; text-align: center; padding: 4px 0; color: var(--text-2); }
.d-sega > i.d-segi { position: absolute; z-index: 0; top: 2px; bottom: 2px; left: 2px; width: 58px; padding: 0; border-radius: 6px; background: var(--surface-3);
  box-shadow: 0 1px 2px rgb(0 0 0 / .25); transform: translateX(calc(var(--on) * 58px)); transition: transform .45s cubic-bezier(.3, 1.3, .5, 1); }
.d-tog { flex: none; width: 36px; height: 20px; border-radius: 99px; background: var(--surface-3); position: relative; transition: background .3s; margin-left: 10px; }
.d-tog::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .35s cubic-bezier(.3, 1.3, .5, 1); }
.d-tog.on { background: #bbf523; } .d-tog.on::after { transform: translateX(16px); }
.d-prow > span:last-child:not(.d-sega) { margin-left: 0; }
.d-prow > div { min-width: 0; }
.d-acc { display: flex; align-items: center; gap: 14px; padding: 12px 16px; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .6s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(.6s + var(--i) * 90ms); }
.go .d-acc { opacity: 1; transform: none; }
.d-acc .d-aic { background: var(--surface-2); color: var(--text-2); border-color: var(--border); }
.d-acc div { flex: 1; } .d-acc b { display: block; font-size: 14px; font-weight: 600; } .d-acc small { font-size: 12px; color: var(--text-3); }
.d-acc em { font-style: normal; color: var(--text-3); }
.d-kpi, .d-card.d-chart, .d-card.d-next, .d-card.d-attn, .d-sev, .d-hero, .d-strip { opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .6s cubic-bezier(.2, .8, .2, 1); }
.go .d-kpi, .go .d-card.d-chart, .go .d-card.d-next, .go .d-card.d-attn, .go .d-sev, .go .d-hero, .go .d-strip { opacity: 1; transform: none; }
.go .d-grid3 > :nth-child(2), .go .d-grid6 > :nth-child(2), .go .d-grid4 > :nth-child(2) { transition-delay: .05s; }
.go .d-grid3 > :nth-child(3), .go .d-grid6 > :nth-child(3), .go .d-grid4 > :nth-child(3) { transition-delay: .1s; }
.go .d-grid3 > :nth-child(4), .go .d-grid6 > :nth-child(4), .go .d-grid4 > :nth-child(4) { transition-delay: .15s; }
.go .d-grid3 > :nth-child(5), .go .d-grid6 > :nth-child(5) { transition-delay: .2s; }
.go .d-grid3 > :nth-child(6), .go .d-grid6 > :nth-child(6) { transition-delay: .25s; }
.go .d-sev.flash { transition-delay: 0s; }

/* phones: no sidebar, panels reflow into one readable column */
.dsh.narrow { grid-template-columns: 1fr; }
.dsh.narrow .d-side { display: none; }
.dsh.narrow .d-top { padding: 0 18px; height: 56px; }
.dsh.narrow .d-range i:first-child, .dsh.narrow .d-range i:last-child { display: none; }
.dsh.narrow .d-view { padding: 14px 16px; gap: 10px; }
.dsh.narrow .d-hero b { font-size: 16px; } .dsh.narrow .d-hero .hs-ico { display: none; }
.dsh.narrow .d-grid3, .dsh.narrow .d-grid6, .dsh.narrow .d-grid4 { grid-template-columns: 1fr 1fr; gap: 8px; }
.dsh.narrow .d-grid6 > :nth-child(n+5) { display: none; }
.dsh.narrow .d-grid3 > :nth-child(n+5) { display: none; }
.dsh.narrow .d-kpi { padding: 10px 12px; }
.dsh.narrow .d-kpi .dn { font-size: 22px; }
.dsh.narrow .d-row2, .dsh.narrow .d-row2.t { grid-template-columns: 1fr; }
.dsh.narrow .d-next, .dsh.narrow .d-row2.t .d-chart { display: none; }
.dsh.narrow .d-rtabs { gap: 14px; font-size: 13px; } .dsh.narrow .d-status { display: none; }
.dsh.narrow .d-alert { grid-template-columns: 3px 1fr; }
.dsh.narrow .d-alert .d-host, .dsh.narrow .d-alert .d-time { display: none; }
.dsh.narrow .d-alert b { white-space: normal; }
.dsh.narrow .d-pcols { grid-template-columns: 1fr; }
.dsh.narrow .d-pcols > div:last-child .d-prow:nth-child(n+3) { display: none; }
.dsh.narrow .d-prow small { display: none; }
.dsh.narrow .d-arow .d-btn:not(.bad) { display: none; }
.dsh.narrow .d-strip small { display: none; }

/* ================= touch-friendly motion: entrances, press states, CTA shimmer, hero glow drift ================= */
.stage, .demo, .showcase-shot { will-change: auto; }
[data-stagger] > .stage, .showcase-shot.reveal { transform: translateY(28px) scale(.965); }
[data-stagger].in > .stage, .showcase-shot.reveal.in { transform: none; }
.btn:active, .scenes button:active, .faq summary:active, .theme-btn:active { transform: scale(.96); transition-duration: .08s; }
.captions button:active { opacity: .7; }
.stage:active, .showcase-shot:active { scale: .992; transition: scale .15s; }
.hero .btn-lime::after { animation: sheen 4.8s 1.6s cubic-bezier(.2, .8, .2, 1) infinite; }
@keyframes sheen { 0% { transform: translateX(-120%); } 22%, 100% { transform: translateX(120%); } }
.hero-bg::after { content: ""; position: absolute; left: 50%; top: 18%; width: 720px; height: 520px; margin-left: -360px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(187 245 35 / .16), transparent); filter: blur(30px); animation: drift 16s ease-in-out infinite alternate; }
:root[data-theme="light"] .hero-bg::after { background: radial-gradient(closest-side, rgb(150 210 0 / .2), transparent); }
@keyframes drift { 0% { transform: translate(-22%, -6%) scale(1); } 50% { transform: translate(18%, 8%) scale(1.15); } 100% { transform: translate(-6%, 14%) scale(.95); } }
.section h2, .section-head h2 { transition: opacity .9s, transform .9s cubic-bezier(.2, .8, .2, 1), letter-spacing 1.2s cubic-bezier(.2, .8, .2, 1); }
.reveal:not(.in) h2, [data-stagger]:not(.in) h2 { letter-spacing: -.01em; }
@media (prefers-reduced-motion: reduce) {
  .hero .btn-lime::after, .hero-bg::after { animation: none; }
  [data-stagger] > .stage, .showcase-shot.reveal { transform: none; }
}

/* The notice's "Only this site" link (matches the app: no checkbox) */
.rn-check.rn-only { color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(255 255 255 / .25); }
.rn-check.rn-only i { display: none; }

/* living background (built by JS): three slow glow blobs and a dust canvas, fixed behind all content */
.amb { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.amb i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; opacity: .05;
  background: radial-gradient(closest-side, rgb(187 245 35), transparent); will-change: transform; }
.amb i:nth-child(1) { left: -20vmax; top: -25vmax; animation: amb1 52s ease-in-out infinite alternate; }
.amb i:nth-child(2) { right: -25vmax; top: 20vh; opacity: .04; background: radial-gradient(closest-side, rgb(120 210 90), transparent); animation: amb2 44s ease-in-out infinite alternate; }
.amb i:nth-child(3) { left: 20vw; bottom: -35vmax; opacity: .035; animation: amb3 60s ease-in-out infinite alternate; }
:root[data-theme="light"] .amb i { opacity: .035; background: radial-gradient(closest-side, rgb(150 210 0), transparent); }
@keyframes amb1 { to { transform: translate(18vw, 22vh) scale(1.15); } }
@keyframes amb2 { to { transform: translate(-22vw, 18vh) scale(.9); } }
@keyframes amb3 { to { transform: translate(-14vw, -20vh) scale(1.1); } }
.amb.still i { animation: none; }
.amb canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) { .amb i { animation: none; } }
