/* Self-hosted fonts (SIL Open Font License): no render-blocking request and no visitor data sent to Google */
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/hanken-grotesk-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/hanken-grotesk-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/jetbrains-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Buguardian website — light theme
   Brand: near-black ink + Buguardian lime (from the logo), Hanken Grotesk + JetBrains Mono.
   Lime is a fill colour only (buttons, highlights, bars, rings) — never text on a light background. */

:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --surface-2: #f0f1ec;
  --surface-3: #e8eae3;
  --ink: #131516;
  --ink-2: #353a3d;
  --muted: #5c6266;
  --line: #e2e3dd;
  --line-strong: #cdd0c8;

  --lime: #c9ff00;
  --lime-2: #b5e600;
  --lime-soft: #f2ffc9;
  --lime-ink: #3d4f00;

  --panel: #0f1412;
  --panel-2: #1a201d;
  --panel-line: #2a312d;
  --on-panel: #f3f5f1;
  --on-panel-muted: #a6ada9;

  --crit: #c8341f;
  --crit-soft: #fdebe7;
  --warn: #8f5300;
  --warn-soft: #fff2da;
  --info: #1d65a6;
  --info-soft: #e5effa;
  --ok: #2b7a2f;
  --ok-soft: #e6f4e3;

  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow-float: 0 30px 70px -30px rgba(15, 20, 18, .28), 0 8px 20px -12px rgba(15, 20, 18, .12);
  --container: 1240px;
  --gutter: 20px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 900px) {
  :root { --gutter: 32px; --header-h: 76px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.12; }
h1 { font-size: clamp(2.35rem, 5.4vw, 4.35rem); letter-spacing: -.035em; line-height: 1.03; font-weight: 750; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.85rem); letter-spacing: -.03em; line-height: 1.08; }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.01em; }
h4 { font-size: 1rem; letter-spacing: -.005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
strong { color: var(--ink); font-weight: 650; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lime); color: var(--ink); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-sm { width: 16px; height: 16px; }
.ic-lg { width: 24px; height: 24px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 8px; background: var(--lime); border-radius: 2px; flex: none; }
.eyebrow--plain::before { display: none; }
.on-dark .eyebrow, .eyebrow--dark { color: var(--on-panel-muted); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.mark { background: linear-gradient(transparent 15%, var(--lime) 15%, var(--lime) 96%, transparent 96%); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.small { font-size: .9rem; }
.tiny { font-size: .8rem; }
.balance { text-wrap: balance; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1.5px solid transparent;
  font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn-primary:hover { background: var(--lime-2); border-color: var(--lime-2); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #2a2e30; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.on-dark .btn-outline { color: var(--on-panel); border-color: #59605c; }
.on-dark .btn-outline:hover { background: var(--on-panel); color: var(--ink); border-color: var(--on-panel); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn .ic { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink);
  text-decoration: none; border-bottom: 1.5px solid var(--line-strong); padding-bottom: 2px;
  transition: border-color .18s var(--ease), gap .18s var(--ease);
}
.link-arrow:hover { border-color: var(--ink); gap: 12px; }
.link-arrow .ic { width: 16px; height: 16px; }
.on-dark .link-arrow { color: var(--on-panel); border-color: #4a514d; }
.on-dark .link-arrow:hover { border-color: var(--lime); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 247, 244, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .92); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 148px; height: auto; }
.main-nav { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.header-actions .btn { display: none; }
.lang { display: none; font: 500 12px/1 var(--mono); letter-spacing: .08em; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; }
.lang a, .lang span { display: inline-block; padding: 8px 9px; text-decoration: none; color: var(--muted); }
.lang [aria-current] { background: var(--ink); color: #fff; }
.lang a:hover { color: var(--ink); background: var(--surface-2); }
.link-login { display: none; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; }
.link-login:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-toggle {
  width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer;
}
.nav-toggle .ic { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

/* Mobile drawer */
.nav-open .main-nav {
  display: block; position: fixed; inset: var(--header-h) 0 0 0; background: var(--surface);
  overflow-y: auto; padding: 12px var(--gutter) 40px; border-top: 1px solid var(--line);
}
.nav-open { overflow: hidden; }
/* backdrop-filter would make the header the containing block of the fixed drawer */
.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--surface); border-bottom-color: var(--line); }
.nav-list { list-style: none; }
.nav-item { border-bottom: 1px solid var(--line); }
.nav-trigger, .nav-link {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 6px;
  min-height: 56px; padding: 0; background: none; border: 0; cursor: pointer;
  font: 600 18px/1.2 var(--font); color: var(--ink); text-decoration: none; text-align: left;
}
.nav-trigger .ic { transition: transform .2s var(--ease); }
.nav-trigger[aria-expanded="true"] .ic { transform: rotate(180deg); }
.mega { display: none; padding: 4px 0 18px; }
.nav-item.is-open .mega { display: block; }
.mega-label { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 14px 0 8px; }
.mega-link { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; text-decoration: none; color: var(--ink); border-radius: 10px; }
.mega-link strong { display: block; font-weight: 600; font-size: 15.5px; }
.mega-link small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; margin-top: 2px; }
.mega-ic { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); flex: none; }
.mega-ic .ic { width: 18px; height: 18px; }
.mega-link[aria-current] .mega-ic { background: var(--lime); }
.mega-feature { display: none; }
.nav-mobile-actions { display: grid; gap: 10px; margin-top: 24px; }

@media (min-width: 1100px) {
  .nav-toggle, .nav-mobile-actions { display: none; }
  .header-actions .btn, .link-login, .lang { display: inline-flex; }
  .main-nav, .nav-open .main-nav { display: block; position: static; padding: 0; border: 0; background: none; overflow: visible; }
  .nav-open { overflow: auto; }
  .nav-list { display: flex; align-items: center; gap: 4px; }
  .nav-item { border: 0; position: relative; }
  .nav-trigger, .nav-link {
    width: auto; min-height: 40px; padding: 0 12px; border-radius: 9px; font-size: 15.5px; font-weight: 550; gap: 4px;
  }
  .nav-trigger:hover, .nav-link:hover, .nav-item.is-open .nav-trigger { background: rgba(19, 21, 22, .05); }
  .nav-link[aria-current], .nav-item.is-active > .nav-trigger { box-shadow: inset 0 -2px 0 var(--lime-2); border-radius: 9px 9px 0 0; }
  .mega {
    position: absolute; top: calc(100% + 10px); left: -12px; width: max-content; max-width: min(920px, calc(100vw - 48px));
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px;
    box-shadow: var(--shadow-float);
  }
  .mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .mega-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 280px); gap: 8px 22px; }
  .mega-label { margin-top: 0; margin-bottom: 10px; padding-left: 10px; }
  .mega-link { padding: 10px; }
  .mega-link:hover { background: var(--surface-2); }
  .mega-link:hover .mega-ic { background: var(--lime); }
  .mega-feature {
    display: flex; flex-direction: column; justify-content: space-between; gap: 14px; width: 250px;
    background: var(--panel); color: var(--on-panel); border-radius: var(--r); padding: 18px; text-decoration: none;
  }
  .mega-feature strong { color: #fff; font-size: 16px; line-height: 1.3; }
  .mega-feature span { color: var(--on-panel-muted); font-size: 13.5px; line-height: 1.45; }
  .mega-feature img { border-radius: 8px; border: 1px solid var(--panel-line); }
  .mega-feature em { font-style: normal; color: var(--lime); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(44px, 5vw, 64px); }
.section--tight { padding-block: clamp(24px, 3vw, 40px); }
/* Sections on the same background sit closer together */
.hero + .section--tight { padding-top: 0; }
.section--tight + .section { padding-top: clamp(28px, 3.5vw, 44px); }
.section--white { background: var(--surface); }
.section--alt { background: var(--surface-2); }
.section--line { border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.section-head p:not(.eyebrow) { margin-top: 18px; color: var(--ink-2); font-size: 1.1rem; max-width: 64ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: grid; gap: 18px; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 48px; }
  .section-head--split p:not(.eyebrow) { margin-top: 0; }
}

.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) { .grid-6 { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 640px) { .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .grid-5 { grid-template-columns: repeat(5, 1fr); } }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--wide-left { grid-template-columns: 1.15fr .85fr; }
  .split--wide-right { grid-template-columns: .85fr 1.15fr; }
  .split--top { align-items: start; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(32px, 5vw, 64px) clamp(32px, 4vw, 48px); position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.02fr .98fr; gap: 56px; } }
.hero h1 { max-width: 15ch; }
.hero .lead { margin-top: 24px; }
.hero .btn-row { margin-top: 32px; }
.hero-note { margin-top: 18px; font: 500 12.5px/1.5 var(--mono); color: var(--muted); letter-spacing: .02em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 13px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink);
}
.chip .ic { width: 15px; height: 15px; }
.chip--lime { background: var(--lime-soft); border-color: #dcf28f; color: var(--lime-ink); }
.chip--dark { background: var(--panel-2); border-color: var(--panel-line); color: var(--on-panel); }

.page-hero { padding-block: clamp(32px, 5vw, 64px) clamp(36px, 4.5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-top: 22px; }
.page-hero .btn-row { margin-top: 30px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { opacity: .5; }

/* Hero visual: console card + Watcher call */
.hero-grid, .split, .module, .docs, .explorer, .grid { grid-auto-columns: minmax(0, 1fr); }
.hero-grid > *, .split > *, .module > *, .docs > *, .explorer > * { min-width: 0; }
.hero-visual { position: relative; }
@media (min-width: 640px) {
  .hero-visual { padding-bottom: 108px; }
  .hero-visual .console-card { margin-right: 28px; }
}
.console-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px;
  box-shadow: var(--shadow-float);
}
.console-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.console-head h3, .console-title { font-size: 16px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.console-head .tiny { font-family: var(--mono); color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 380px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpi { background: var(--surface-2); border-radius: 12px; padding: 12px; }
.kpi b { display: block; font-size: clamp(1.15rem, 2.2vw, 1.55rem); color: var(--ink); letter-spacing: -.02em; line-height: 1.1; font-weight: 750; }
.kpi span { font-size: 12px; color: var(--muted); }
.renewals { margin-top: 18px; }
.renewals p.mono { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.renewal { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.renewal:last-child { border-bottom: 0; }
.renewal strong { display: block; font-size: 14.5px; }
.renewal small { color: var(--muted); font-size: 12.5px; }
.renewal .due { font: 600 13px/1 var(--mono); color: var(--crit); white-space: nowrap; }
.renewal .due--warn { color: var(--warn); }

.call-card {
  position: relative; margin: -24px 0 0 auto; width: calc(100% - 20px);
  background: var(--panel); color: var(--on-panel); border-radius: var(--r-lg); padding: 18px 20px;
  box-shadow: 0 30px 60px -24px rgba(15, 20, 18, .55);
}
.call-top { display: flex; align-items: center; gap: 12px; }
.call-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; flex: none; position: relative; }
.call-icon::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--lime); opacity: .5; animation: ring 2s var(--ease) infinite; }
.call-top strong { color: #fff; display: block; font-size: 15.5px; }
.call-top small { color: var(--on-panel-muted); font-size: 12.5px; }
.call-time { margin-left: auto; font: 600 12.5px/1 var(--mono); color: var(--lime); }
.call-quote { margin-top: 14px; font-size: 14.5px; line-height: 1.5; color: #dfe4e0; }
@media (min-width: 640px) {
  .call-card { position: absolute; right: -6px; bottom: 0; margin: 0; width: min(390px, 92%); }
}

/* Call card inside a dark panel (Watcher page): the panel supplies the background */
.call-card.call-card--inline, .call-card.call-card--inline:hover {
  position: relative; right: auto; bottom: auto; width: auto; margin: -10px; padding: 10px;
  background: transparent; box-shadow: none; border-radius: 14px; transform: none;
}
.js .call-card.call-card--inline[data-call]:hover { background: rgba(255, 255, 255, .05); transform: none; box-shadow: none; }
.call-card--inline .call-hint { top: -26px; right: 0; }

/* Answerable call (JS adds role=button; without JS the card stays a static note) */
.call-icon .i-hang, .call-wave, .call-hint { display: none; }
.js .call-card[data-call] { cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.js .call-card[data-call]:hover { transform: translateY(-3px); box-shadow: 0 36px 70px -24px rgba(15, 20, 18, .6); }
.js .call-card[data-call]:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.js .call-card[data-call] .call-hint {
  display: inline-flex; align-items: center; gap: 6px; position: absolute; top: -15px; right: 18px;
  background: var(--lime); color: var(--ink); font: 600 12px/1 var(--mono); letter-spacing: .02em;
  padding: 8px 11px; border-radius: 999px; opacity: 0; transform: translateY(4px);
  transition: opacity .2s var(--ease), transform .2s var(--ease); pointer-events: none;
}
.js .call-card[data-call]:hover .call-hint, .js .call-card[data-call]:focus-visible .call-hint,
.js .call-card[data-call].is-live .call-hint, .js .call-card[data-call].is-ended .call-hint { opacity: 1; transform: none; }
@media (hover: none) { .js .call-card[data-call] .call-hint { opacity: 1; transform: none; } }
.call-card:hover .call-icon::after { animation-duration: 1s; }
.call-card.is-live .call-icon { background: var(--crit); color: #fff; }
.call-card.is-live .call-icon::after { border-color: var(--crit); }
.call-card.is-live .call-icon .i-ring { display: none; }
.call-card.is-live .call-icon .i-hang { display: block; }
.call-card.is-ringing .call-icon { animation: shake .5s var(--ease) infinite; }
.call-card.is-live .call-wave { display: inline-flex; align-items: center; gap: 3px; height: 18px; margin-left: auto; }
.call-card.is-live .call-time { margin-left: 10px; }
.call-wave i { width: 3px; height: 6px; border-radius: 2px; background: var(--lime); animation: wave .9s ease-in-out infinite; }
.call-wave i:nth-child(2) { animation-delay: .15s; } .call-wave i:nth-child(3) { animation-delay: .3s; }
.call-wave i:nth-child(4) { animation-delay: .45s; } .call-wave i:nth-child(5) { animation-delay: .6s; }
.call-card.is-ringing .call-wave i { animation-play-state: paused; opacity: .4; }
.call-card.is-ended .call-icon::after { animation: none; opacity: 0; }
.call-quote .word { border-radius: 3px; transition: background-color .12s, color .12s; }
.call-quote.is-reading .word { color: #8f9894; }
.call-quote.is-reading .word.is-said { color: #dfe4e0; }
.call-quote .word.is-current { background: var(--lime); color: var(--ink); box-shadow: 0 0 0 2px var(--lime); }
@keyframes wave { 0%, 100% { height: 5px; } 50% { height: 17px; } }
@keyframes shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
@keyframes ring { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.card h3 { font-size: 1.12rem; }
.card p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.card--link { text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.card--link:hover { border-color: var(--ink); }
.card--link:hover .card-ic { background: var(--lime); }
.card--flat { background: var(--surface-2); border-color: transparent; }
.card-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); color: var(--ink); display: grid; place-items: center; transition: background-color .2s var(--ease); }
.card--flat .card-ic { background: var(--surface); }
.card-ic .ic { width: 21px; height: 21px; }
.card-ic--lime { background: var(--lime); }
.card-sub { font: 500 12px/1.3 var(--mono); letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.card-foot { margin-top: auto; padding-top: 6px; }
.card-head { display: flex; gap: 14px; align-items: flex-start; }
.card-head h3 { margin-top: 2px; }

.checks { list-style: none; display: grid; gap: 9px; }
.checks li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23131516' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.checks--x li::before {
  background: var(--crit-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8341f' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.on-dark .checks li { color: #d9dfdb; }
.dash-list { list-style: none; display: grid; gap: 8px; }
.dash-list li { padding-left: 18px; position: relative; font-size: 15.5px; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 2px; background: var(--ink); }

.with-watcher {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 4px; padding: 14px 16px; border-radius: 12px;
  background: var(--lime-soft); color: var(--lime-ink); font-size: 14.5px; line-height: 1.5;
}
.with-watcher strong { color: var(--lime-ink); }
.with-watcher .ic { margin-top: 2px; color: var(--lime-ink); }

/* Three alert levels */
.levels { display: grid; gap: 14px; }
@media (min-width: 900px) { .levels { grid-template-columns: repeat(3, 1fr); } }
.level { border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 10px; border: 1px solid transparent; }
.level-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.level h3 { font-size: 1.35rem; }
.level .pill { font: 600 12px/1 var(--mono); background: var(--surface); padding: 7px 10px; border-radius: 999px; color: var(--ink); letter-spacing: .02em; }
.level p { font-size: 15.5px; color: var(--ink-2); }
.level .via { margin-top: auto; padding-top: 10px; font-size: 14px; color: var(--ink-2); border-top: 1px dashed rgba(19, 21, 22, .15); }
.level .via b { color: var(--ink); }
.level--alarm { background: var(--crit-soft); }
.level--alarm h3 { color: var(--crit); }
.level--warn { background: var(--warn-soft); }
.level--warn h3 { color: var(--warn); }
.level--advice { background: var(--info-soft); }
.level--advice h3 { color: var(--info); }

/* Steps */
.steps { display: grid; gap: 12px; counter-reset: step; list-style: none; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } .steps--4 { grid-template-columns: repeat(4, 1fr); } .steps--5 { grid-template-columns: repeat(5, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; position: relative; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); color: var(--ink); display: grid; place-items: center; font: 600 13px/1 var(--mono); margin-bottom: 16px; }
.step.is-key .step-num { background: var(--lime); }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.step small { display: block; font: 500 11.5px/1.3 var(--mono); letter-spacing: .1em; color: var(--muted); text-transform: uppercase; margin-bottom: 6px; }
.section--white .step { background: var(--bg); }

/* Cycle ring */
.cycle { display: grid; gap: 10px; list-style: none; }
@media (min-width: 800px) { .cycle { grid-template-columns: repeat(5, 1fr); position: relative; } }
.cycle li { text-align: center; padding: 8px; position: relative; }
.cycle .dot { width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 12px; border: 2px solid var(--ink); display: grid; place-items: center; font: 600 15px/1 var(--mono); background: var(--surface); color: var(--ink); position: relative; z-index: 1; }
.cycle li:last-child .dot { background: var(--lime); border-color: var(--lime); }
.cycle strong { display: block; font-size: 1.05rem; }
.cycle span { color: var(--muted); font-size: 14px; }
@media (min-width: 800px) {
  .cycle::before { content: ""; position: absolute; top: 39px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 14px); }
}

/* Source tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 550; color: var(--ink); }
.tag--soft { background: var(--lime-soft); border-color: #dcf28f; color: var(--lime-ink); }
.tags-label { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }

/* Correlation demo */
.correlation { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
.corr-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; align-items: baseline; margin-bottom: 18px; }
.corr-head h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
.corr-signals { display: grid; gap: 12px; }
@media (min-width: 800px) { .corr-signals { grid-template-columns: repeat(3, 1fr); } }
.signal { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--bg); position: relative; }
.signal-src { display: flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink); font-size: 14.5px; margin-bottom: 6px; }
.signal-src .ic { width: 16px; height: 16px; }
.signal p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.corr-link { display: flex; justify-content: center; padding: 12px 0; color: var(--muted); }
.corr-link svg { width: 100%; max-width: 720px; height: 34px; }
.alarm {
  background: var(--panel); color: var(--on-panel); border-radius: 14px; padding: 20px 22px;
  display: grid; gap: 10px; grid-template-columns: auto 1fr; align-items: start;
}
.alarm-badge { font: 700 11.5px/1 var(--mono); letter-spacing: .1em; background: var(--crit); color: #fff; padding: 7px 10px; border-radius: 6px; margin-top: 3px; }
.alarm strong { color: #fff; font-size: 1.08rem; display: block; margin-bottom: 4px; }
.alarm p { font-size: 15px; color: #cfd6d2; line-height: 1.55; }
.alarm .mono { color: var(--lime); font-size: 13px; }
.js .correlation .signal, .js .correlation .alarm { opacity: .25; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .correlation.in .signal, .js .correlation.in .alarm { opacity: 1; transform: none; }
.js .correlation.in .signal:nth-child(2) { transition-delay: .35s; }
.js .correlation.in .signal:nth-child(3) { transition-delay: .7s; }
.js .correlation.in .alarm { transition-delay: 1.15s; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.table th, .table td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table thead th { font: 500 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
.table tbody th { color: var(--ink); font-weight: 650; }
.table td small, .table th small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; margin-top: 2px; }
.table .hl { background: var(--lime-soft); color: var(--ink); font-weight: 600; }
.table thead .hl { background: var(--lime); color: var(--ink); }
.table .num { text-align: right; font-family: var(--mono); font-weight: 600; color: var(--ink); white-space: nowrap; }
/* Two-column question/answer table (company page): no forced width, rows stack on phones */
.table--facts { min-width: 0; }
.table--facts tbody th { width: 28%; }
@media (max-width: 560px) {
  .table--facts thead { display: none; }
  .table--facts tr, .table--facts th, .table--facts td { display: block; }
  .table--facts tbody th { width: auto; padding-bottom: 4px; border-bottom: 0; }
  .table--facts tbody td { padding-top: 0; }
}
.table-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.ctrl { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 4px 8px; border-radius: 6px; margin: 0 4px 6px 0; line-height: 1.3; }
.ctrl--iso { background: var(--info-soft); color: #174f82; }
.ctrl--nist { background: var(--surface-2); color: var(--ink); }
.ctrl--eu { background: #efe9fb; color: #4d3594; }
.ctrl--kvkk { background: var(--ok-soft); color: #22612a; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(var(--cols, 5), 1fr); } }
@media (max-width: 899px) { .stats > .stat:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.stat { background: var(--surface); padding: 24px 22px; }
.stat b { display: block; font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1; letter-spacing: -.035em; color: var(--ink); font-weight: 750; }
.stat span { display: block; margin-top: 10px; font: 500 12px/1.35 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stat b i { font-style: normal; color: var(--muted); font-weight: 600; }
.stat::before { content: ""; display: block; width: 18px; height: 4px; border-radius: 2px; background: var(--lime-2); margin-bottom: 16px; }

/* Score visuals */
.score-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 30px); }
.score-top { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.ring { width: 132px; height: 132px; position: relative; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .track { stroke: var(--surface-3); }
.ring .val { stroke: var(--lime-2); stroke-linecap: round; transition: stroke-dashoffset 1.4s var(--ease); }
.ring .num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 42px; font-weight: 800; color: var(--ink); letter-spacing: -.04em; }
.score-top h3 { font-size: 1.3rem; }
.score-top p { font-size: 14.5px; color: var(--muted); max-width: 40ch; margin-top: 4px; }
.bars { display: grid; gap: 12px; }
.bars-head, .bar { display: grid; grid-template-columns: minmax(118px, 1.25fr) 36px 2.2fr 34px; gap: 12px; align-items: center; }
.bars-head { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bars-head span:nth-child(2), .bars-head span:last-child { text-align: right; }
.bar-name { font-size: 14.5px; color: var(--ink); font-weight: 550; }
.bar-w { font: 500 13px/1 var(--mono); color: var(--muted); text-align: right; }
.bar-track { height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 99px; background: var(--lime-2); width: var(--v, 0%); transition: width 1.2s var(--ease); }
.js .bars:not(.in) .bar-fill { width: 0; }
.bar-val { font: 700 14px/1 var(--mono); color: var(--ink); text-align: right; }
.bar.is-gap .bar-track { background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 11px); }
.bar.is-gap .bar-val { color: var(--muted); }
.bands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.band { border-radius: 10px; padding: 12px 14px; }
.band b { display: block; font-size: 1.05rem; color: var(--ink); }
.band span { font: 500 12px/1 var(--mono); color: var(--ink-2); }
.band--good { background: var(--lime-soft); }
.band--mid { background: var(--warn-soft); }
.band--crit { background: var(--crit-soft); }

.delta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.delta div { background: var(--surface-2); border-radius: 12px; padding: 16px; text-align: center; }
.delta b { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.03em; line-height: 1; }
.delta span { font-size: 13px; color: var(--muted); }
.delta .new b { color: var(--crit); }
.delta .closed b { color: var(--ok); }
.delta .open b { color: var(--warn); }

/* Dark panel */
.panel { background: var(--panel); color: var(--on-panel); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); }
.panel h2, .panel h3, .panel strong { color: #fff; }
.panel p { color: #cfd6d2; }
.panel .muted { color: var(--on-panel-muted); }
.panel-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .panel-grid { grid-template-columns: repeat(2, 1fr); } }
.panel-stat { background: var(--panel-2); border: 1px solid var(--panel-line); border-radius: 12px; padding: 16px 18px; }
.panel-stat b { display: block; color: var(--lime); font-size: 1.8rem; letter-spacing: -.03em; line-height: 1.1; }
.panel-stat span { font-size: 14px; color: var(--on-panel-muted); }
.panel-rows { display: grid; }
.panel-rows > div { padding: 14px 0; border-top: 1px solid var(--panel-line); }
.panel-rows strong { display: block; font-size: 1.02rem; }
.panel-rows span { font-size: 14px; color: var(--on-panel-muted); }

/* Product screenshot frame */
.shot { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px; box-shadow: var(--shadow-float); }
.shot img { border-radius: 14px; width: 100%; }
.shot--flat { box-shadow: none; }
.shot figcaption { font: 500 12px/1.4 var(--mono); color: var(--muted); padding: 12px 6px 4px; letter-spacing: .02em; }
.shot-tall { max-width: 420px; margin-inline: auto; }

/* Feature blocks (module) */
.module { display: grid; gap: 28px; padding-block: clamp(32px, 4vw, 52px); border-top: 1px solid var(--line); }
.module:first-of-type { border-top: 0; }
@media (min-width: 960px) { .module { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.module-head .card-sub { margin-bottom: 10px; display: block; }
.module-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); }
.module-head p { margin-top: 14px; color: var(--ink-2); }
.module-head .chips { margin-top: 18px; }
.module-body { display: grid; gap: 14px; align-content: start; }
.outcome { font-size: 15px; color: var(--ink-2); padding-left: 14px; border-left: 3px solid var(--lime-2); }
.outcome b { color: var(--ink); }

/* Docs layout with side index */
.docs { display: grid; gap: 32px; }
@media (min-width: 1100px) { .docs { grid-template-columns: 240px 1fr; gap: 56px; } }
.toc { display: none; }
@media (min-width: 1100px) {
  .toc { display: block; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
  .toc p { font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
  .toc ol { list-style: none; border-left: 1px solid var(--line); }
  .toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); font-size: 14.5px; line-height: 1.35; }
  .toc a:hover { color: var(--ink); }
  .toc a.is-active { color: var(--ink); border-left-color: var(--lime-2); font-weight: 600; }
}
.toc-mobile { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; scrollbar-width: thin; }
.toc-mobile a { flex: none; text-decoration: none; }
@media (min-width: 1100px) { .toc-mobile { display: none; } }

/* Callout / note */
.note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r); background: var(--warn-soft); color: #5c3b00; font-size: 15px; line-height: 1.55; }
.note .ic { color: var(--warn); margin-top: 2px; }
.note strong { color: #4a2f00; }
.note--info { background: var(--info-soft); color: #173f63; }
.note--info .ic { color: var(--info); }
.note--lime { background: var(--lime-soft); color: var(--lime-ink); }
.note--lime .ic { color: var(--lime-ink); }
.note--lime strong { color: var(--lime-ink); }
.strip { display: flex; gap: 16px; align-items: center; padding: 22px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.strip .card-ic { flex: none; }
.strip p { color: var(--ink-2); }

/* Compare */
.compare { display: grid; gap: 14px; }
@media (min-width: 900px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare > div { border-radius: var(--r); padding: 26px; }
.compare-old { background: var(--surface); border: 1px solid var(--line); }
.compare-new { background: var(--lime-soft); border: 1px solid #dcf28f; }
.compare h3 { font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.compare-new h3 { color: var(--lime-ink); }

/* Timeline weeks */
.weeks { display: grid; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
@media (min-width: 800px) { .weeks { grid-template-columns: repeat(4, 1fr); } }
.weeks > div { padding: 20px 22px; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .weeks > div { border-bottom: 0; border-right: 1px solid var(--line); } .weeks > div:last-child { border-right: 0; } }
.weeks small { font: 600 12px/1 var(--mono); letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.weeks strong { display: block; font-size: 1.1rem; margin: 8px 0 4px; }
.weeks span { font-size: 14.5px; color: var(--ink-2); }

/* Licence plans */
.plans { display: grid; gap: 14px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.plan small { font: 600 12px/1 var(--mono); letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.plan h3 { font-size: 1.6rem; }
.plan .term { font: 700 13px/1 var(--mono); color: var(--ink); background: var(--surface-2); padding: 6px 9px; border-radius: 6px; align-self: flex-start; }
.plan p { font-size: 15.5px; }
.plan--feature { border: 2px solid var(--ink); }
.plan--feature .term { background: var(--lime); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 650; color: var(--ink); font-size: 1.05rem; position: relative; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23131516' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--lime); }
.faq summary:hover { background: var(--surface-2); border-radius: var(--r); }
.faq details[open] summary:hover { border-radius: var(--r) var(--r) 0 0; }
.faq .answer { padding: 0 22px 22px; color: var(--ink-2); font-size: 16px; max-width: 78ch; }
.faq .answer p + p { margin-top: 10px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > h2 { font-size: 1.5rem; margin-bottom: 18px; }

/* Forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-weight: 600; color: var(--ink); font-size: 15px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line-strong);
  background: var(--surface); font: 400 16px/1.4 var(--font); color: var(--ink); transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(201, 255, 0, .55); }
.field .err { display: none; color: var(--crit); font-size: 14px; }
.field.has-error input, .field.has-error select { border-color: var(--crit); }
.field.has-error .err { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radios { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio span { display: flex; align-items: center; min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--line-strong); background: var(--surface); font-size: 15px; font-weight: 550; color: var(--ink); cursor: pointer; }
.radio input:checked + span { border-color: var(--ink); background: var(--lime-soft); }
.radio input:focus-visible + span { box-shadow: 0 0 0 4px rgba(201, 255, 0, .7); }
.consent { font-size: 13.5px; color: var(--muted); }
.form-success { display: none; padding: 28px; border-radius: var(--r); background: var(--lime-soft); color: var(--lime-ink); }
.form-success strong { color: var(--lime-ink); font-size: 1.2rem; display: block; margin-bottom: 6px; }
.form.is-sent, .form.is-fallback { display: none; }
.form.is-sent + .form-success { display: block; }
.form-fallback { display: none; padding: 28px; border-radius: var(--r); background: var(--surface-2); }
.form-fallback strong { font-size: 1.2rem; display: block; margin-bottom: 6px; }
.form-fallback .btn { margin: 16px 0 12px; }
.form.is-fallback ~ .form-fallback { display: block; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Score explorer */
.explorer { display: grid; gap: 20px; }
@media (min-width: 960px) { .explorer { grid-template-columns: 1.3fr .7fr; align-items: start; } }
.ex-row { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ex-row:last-child { border-bottom: 0; }
.ex-row label { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: 15px; cursor: pointer; }
.ex-row input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--ink); cursor: pointer; }
.ex-meta { justify-self: end; font: 500 13px/1 var(--mono); color: var(--muted); white-space: nowrap; }
.ex-meta b { color: var(--ink); }
.ex-row input[type="range"] { grid-column: 1 / -1; width: 100%; accent-color: #8fb500; height: 28px; cursor: pointer; }
.ex-row.is-off { opacity: .55; }
.ex-row.is-off input[type="range"] { pointer-events: none; }
@media (max-width: 420px) { .ex-row { grid-template-columns: minmax(0, 1fr); } .ex-meta { justify-self: start; } }
.ex-result { position: sticky; top: calc(var(--header-h) + 20px); }
.ex-score { font-size: 72px; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--ink); }
.ex-band { display: inline-block; margin-top: 10px; font: 700 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 6px; }
.ex-band[data-band="good"] { background: var(--lime); color: var(--ink); }
.ex-band[data-band="mid"] { background: var(--warn-soft); color: var(--warn); }
.ex-band[data-band="crit"] { background: var(--crit-soft); color: var(--crit); }
.ex-coverage { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); }

/* CTA band */
.cta-band { padding-block: clamp(40px, 5vw, 64px); }
.section:not(.section--white):not(.section--alt) + .cta-band { padding-top: 0; }
.cta-box { background: var(--panel); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 64px); display: grid; gap: 28px; align-items: center; position: relative; overflow: hidden; }
@media (min-width: 960px) { .cta-box { grid-template-columns: 1.3fr .7fr; } }
.cta-box h2 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 3rem); }
.cta-box h2 em { font-style: normal; color: var(--lime); }
.cta-box p { color: #cfd6d2; margin-top: 16px; max-width: 58ch; }
.cta-box .hero-note { color: var(--on-panel-muted); }
.cta-actions { display: grid; gap: 12px; }
.cta-actions .btn { width: 100%; }
.cta-contact { display: grid; gap: 8px; margin-top: 6px; }
.cta-contact a { display: inline-flex; gap: 10px; align-items: center; color: var(--on-panel); text-decoration: none; font-size: 15px; }
.cta-contact a:hover { color: var(--lime); }
.cta-box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(201, 255, 0, .08); pointer-events: none; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 64px 32px; font-size: 15px; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; } }
.footer-brand img { width: 150px; }
.footer-brand p { margin-top: 16px; color: var(--muted); max-width: 34ch; }
.footer-contact { margin-top: 18px; display: grid; gap: 8px; }
.footer-contact a { display: inline-flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; font-weight: 550; }
.footer-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-col h3 { font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--ink-2); text-decoration: none; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (min-width: 900px) { .footer-cols { display: contents; } }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--muted); font-size: 14px; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }

/* Misc */
.audience { display: grid; gap: 14px; }
@media (min-width: 900px) { .audience { grid-template-columns: repeat(3, 1fr); } }
.kicker-num { font: 600 13px/1 var(--mono); color: var(--muted); }
.divider { height: 1px; background: var(--line); margin-block: 40px; }
.center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.stack-16 > * + * { margin-top: 16px; }
.roadmap { list-style: none; display: grid; }
.roadmap li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 550; color: var(--ink); font-size: 15px; }
.roadmap li:last-child { border-bottom: 0; }
.status { font: 600 11.5px/1 var(--mono); padding: 6px 9px; border-radius: 6px; letter-spacing: .04em; white-space: nowrap; }
.status--live { background: var(--ok-soft); color: var(--ok); }
.status--plan { background: var(--info-soft); color: var(--info); }
.status--eval { background: #efe9fb; color: #5a3fa3; }
.sev { font: 700 11px/1 var(--mono); padding: 5px 8px; border-radius: 5px; letter-spacing: .06em; }
.sev--crit { background: var(--crit-soft); color: var(--crit); }
.sev--high { background: var(--warn-soft); color: var(--warn); }
.sev--ok { background: var(--ok-soft); color: var(--ok); }
.sev--mid { background: var(--info-soft); color: var(--info); }
.flow { display: grid; gap: 12px; align-items: center; }
@media (min-width: 900px) { .flow { grid-template-columns: 1fr auto 1fr auto 1fr; } }
.flow-step { display: flex; gap: 14px; align-items: flex-start; }
.flow-arrow { color: var(--muted); justify-self: center; transform: rotate(90deg); }
@media (min-width: 900px) { .flow-arrow { transform: none; } }
.dlp-mini { display: grid; gap: 10px; }
.dlp-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .dlp-kpis { grid-template-columns: repeat(5, 1fr); } }
.hbar { display: grid; grid-template-columns: 120px 1fr 44px; gap: 12px; align-items: center; font-size: 14.5px; }
.hbar .bar-track { height: 10px; }
.hbar .bar-fill { background: var(--ink); }
.hbar b { font-family: var(--mono); font-size: 13.5px; text-align: right; color: var(--ink); }

/* White-label preview (Partners hero) */
.wl { --b: #c9ff00; --bi: #131516; --bs: #f2ffc9; --sweep: var(--b); --dur: 4s; container-type: inline-size; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.wl-label { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wl-live { flex: none; display: inline-flex; align-items: center; gap: 7px; font: 600 12px/1 var(--mono); padding: 7px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); }
.wl-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--b); box-shadow: 0 0 0 2px var(--bs); transition: background-color .4s; }
.wl-status { min-width: 0; font: 500 12.5px/1 var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Browser on top, report and alert cards side by side underneath, lifted slightly over its bottom padding */
.wl-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 12px; }
.wl-browser { grid-column: 1 / -1; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-float); }
.wl-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.wl-dots { display: inline-flex; gap: 6px; flex: none; }
.wl-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.wl-url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font: 500 12.5px/1.2 var(--mono); color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.wl-url > span { overflow: hidden; text-overflow: clip; }
.wl-url .ic { color: var(--muted); flex: none; }
.wl-caret { width: 1.5px; height: 14px; background: var(--ink); animation: wlcaret 1s steps(1) infinite; flex: none; }
.wl-app { display: grid; grid-template-columns: 148px minmax(0, 1fr); }
.wl-side { display: flex; flex-direction: column; gap: 12px; padding: 14px 12px 44px; background: var(--bs); border-right: 1px solid var(--line); transition: background-color .5s var(--ease); min-width: 0; }
.wl-brand { display: flex; align-items: center; gap: 8px; min-width: 0; height: 28px; }
.wl-mark { width: 28px; height: 28px; border-radius: 8px; flex: none; display: grid; place-items: center; overflow: hidden; background: var(--b); color: var(--bi); font-weight: 800; font-size: 15px; transition: background-color .5s var(--ease), color .5s var(--ease); }
.wl-mark img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.wl.is-default .wl-mark { background: transparent; }
.wl-name { font-weight: 750; font-size: 15px; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-nav { list-style: none; display: grid; gap: 2px; }
.wl-nav li { font-size: 13px; line-height: 1.2; padding: 7px 9px; border-radius: 7px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-nav li.is-on { background: var(--b); color: var(--bi); font-weight: 600; transition: background-color .5s var(--ease), color .5s var(--ease); }
.wl-lang { display: inline-flex; align-items: center; gap: 6px; font: 600 11.5px/1 var(--mono); color: var(--ink-2); }
.wl-main { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 44px; min-width: 0; }
.wl-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; min-width: 0; }
.wl-top strong { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-top span { flex: none; font: 500 11.5px/1 var(--mono); color: var(--muted); white-space: nowrap; }
.wl-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wl-kpi { background: var(--surface-2); border-radius: 10px; padding: 10px; min-width: 0; }
.wl-kpi span { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-kpi b { display: block; font-size: 22px; font-weight: 750; letter-spacing: -.03em; color: var(--ink); line-height: 1.2; }
.wl-kpi--score i { display: block; height: 5px; border-radius: 3px; margin-top: 4px; background: var(--surface-3); position: relative; overflow: hidden; }
.wl-kpi--score i::after { content: ""; position: absolute; inset: 0 34% 0 0; background: var(--b); border-radius: 3px; transition: background-color .5s var(--ease); }
.wl-alerts { list-style: none; }
.wl-alerts li { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.3; color: var(--ink-2); min-width: 0; }
.wl-alerts li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-sev { flex: none; min-width: 86px; text-align: center; font: 700 10px/1 var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .04em; padding: 4px 6px; border-radius: 4px; }
.wl-sev--crit { background: var(--crit-soft); color: var(--crit); }
.wl-sev--warn { background: var(--warn-soft); color: var(--warn); }
.wl-sev--adv { background: var(--info-soft); color: var(--info); }
.wl-sweep { position: absolute; inset: 0; background: var(--sweep); opacity: .96; transform: translateX(-102%); pointer-events: none; }
.wl.is-switching .wl-sweep { animation: wlsweep .7s var(--ease) forwards; }
.wl-report, .wl-toast { position: relative; z-index: 2; margin-top: -30px; min-width: 0; border-radius: 14px; box-shadow: 0 24px 50px -26px rgba(15, 20, 18, .5); }
.wl-report { margin-left: 14px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.wl-toast { margin-right: 14px; align-self: start; display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; background: var(--panel); }
.wl-report-head { display: flex; align-items: center; gap: 8px; padding: 9px 11px; background: var(--b); color: var(--bi); font-size: 12px; font-weight: 650; transition: background-color .5s var(--ease), color .5s var(--ease); }
.wl-report-head > span:last-child, .wl-report-body span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.wl-report-head .wl-mark { width: 22px; height: 22px; font-size: 12px; background: var(--bi); color: var(--b); border-radius: 6px; }
.wl.is-default .wl-report-head .wl-mark { background: transparent; }
.wl-report-body { display: grid; gap: 5px; padding: 10px 12px 12px; }
.wl-report-body b { font-size: 28px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.wl-report-body span { font-size: 11.5px; color: var(--muted); }
.wl-report-body i { display: block; height: 5px; border-radius: 3px; background: var(--surface-2); }
.wl-report-body i:nth-of-type(1) { width: 92%; } .wl-report-body i:nth-of-type(2) { width: 74%; } .wl-report-body i:nth-of-type(3) { width: 84%; }
.wl-toast .wl-mark { width: 26px; height: 26px; font-size: 13px; }
.wl-toast > div { min-width: 0; }
.wl-toast strong { display: block; color: #fff; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-toast span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; color: var(--on-panel-muted); font-size: 12px; line-height: 1.4; margin-top: 2px; }
.wl.is-switching .wl-report { animation: wlpop .95s var(--ease) both; }
.wl.is-switching .wl-toast { animation: wlpop .95s var(--ease) .08s both; }

.wl-checks { display: flex; flex-wrap: wrap; gap: 5px; }
.wl-checks span {
  display: inline-flex; align-items: center; gap: 5px; font: 600 11px/1 var(--mono); padding: 5px 8px 5px 5px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted); transition: background-color .25s, border-color .25s, color .25s;
}
.wl-checks span::before { content: ""; width: 13px; height: 13px; border-radius: 50%; background: var(--surface-3); transition: background-color .25s; }
.wl-checks span.is-done { border-color: var(--b); background: var(--bs); color: var(--ink); }
.wl-checks span.is-done::before {
  background: var(--b) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23131516' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat;
}

/* Slider tabs: five equal columns that always fit, each with a progress line for the autoplay timer */
.wl-tabs { display: flex; gap: 6px; align-items: stretch; }
.wl-picker { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.wl-picker button {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; overflow: hidden; padding: 9px 9px 12px;
  border-radius: 10px; cursor: pointer; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  font: 650 12.5px/1.15 var(--font); text-align: left; transition: border-color .2s, background-color .2s;
}
.wl-picker button:hover { border-color: var(--line-strong); }
.wl-picker button[aria-pressed="true"] { border-color: var(--ink); background: var(--surface-2); }
.wl-swatch { width: 16px; height: 16px; border-radius: 5px; background: var(--c); flex: none; box-shadow: inset 0 0 0 1px rgba(19, 21, 22, .12); }
.wl-tab-text { min-width: 0; display: flex; flex-direction: column; }
.wl-tab-text > span, .wl-tab-text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-tab-text small { font: 500 10.5px/1.2 var(--mono); color: var(--muted); margin-top: 2px; }
.wl-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--surface-3); opacity: 0; }
.wl-progress::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; background: var(--c); filter: saturate(1.1) brightness(.92); }
.wl-picker button[aria-pressed="true"] .wl-progress { opacity: 1; }
.wl.is-running .wl-picker button[aria-pressed="true"] .wl-progress::after { animation: wlprogress var(--dur) linear forwards; }
.wl.is-paused .wl-picker button[aria-pressed="true"] .wl-progress::after { width: 100%; }
.wl-pause { flex: none; width: 40px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.wl-pause:hover { border-color: var(--line-strong); }
.wl-pause .i-play, .wl.is-paused .wl-pause .i-pause { display: none; }
.wl.is-paused .wl-pause .i-play { display: block; }

/* All captions share one grid cell, so the block keeps the height of the longest one */
.wl-caption { display: grid; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.wl-caption p { grid-area: 1 / 1; opacity: 0; transition: opacity .35s var(--ease); }
.wl-caption p.is-on { opacity: 1; }
.wl-note { font: 500 11.5px/1 var(--mono); color: var(--muted); }

@media (max-width: 640px) {
  .wl-app { grid-template-columns: 108px minmax(0, 1fr); }
  .wl-side { padding: 12px 8px 40px; }
  .wl-nav li { font-size: 12px; padding: 6px 7px; }
  .wl-name { font-size: 13px; }
  .wl-main { padding: 12px 12px 40px; }
  .wl-kpi { padding: 8px; }
  .wl-kpi b { font-size: 18px; }
  .wl-sev { min-width: 0; }
  .wl-report { margin-left: 8px; }
  .wl-toast { margin-right: 8px; }
  .wl-report-body b { font-size: 22px; }
}
/* Narrow column: tabs show only the colour and the region */
@container (max-width: 480px) {
  .wl-picker button { align-items: center; padding: 8px 4px 11px; text-align: center; }
  .wl-tab-text > span { display: none; }
  .wl-tab-text small { margin: 0; }
  .wl-pause { width: 36px; }
}
@keyframes wlsweep { 0% { transform: translateX(-102%); } 45%, 55% { transform: translateX(0); } 100% { transform: translateX(102%); } }
@keyframes wlpop { 0% { opacity: 1; transform: none; } 30%, 55% { opacity: 0; transform: translateY(10px) scale(.98); } 100% { opacity: 1; transform: none; } }
@keyframes wlcaret { 50% { opacity: 0; } }
@keyframes wlprogress { from { width: 0; } to { width: 100%; } }

/* Watcher pipeline (home) */
.pipeline { margin-left: 0; margin-right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px 16px; }
.pl-head { display: grid; gap: 4px 24px; grid-template-columns: 1fr; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .pl-head { grid-template-columns: 1fr auto; } .pl-clock { grid-row: 1; grid-column: 2; align-self: center; } }
.pl-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.pl-title-row h3 { font-size: 1.25rem; margin-right: 6px; }
.pl-chip { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--mono); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-2); }
.pl-chip--live { border-color: #cfe98a; background: var(--lime-soft); color: var(--lime-ink); }
.pl-chip--live i { width: 7px; height: 7px; border-radius: 50%; background: #5a8f00; animation: pllive 1.6s ease-in-out infinite; }
.pl-sub, .pl-clock { font: 500 12.5px/1.4 var(--mono); color: var(--muted); }
.pl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -22px; padding: 0 22px; scrollbar-width: thin; }
.pl-cols, .pl-stage { position: relative; min-width: 1040px; }
.pl-cols { height: 40px; }
.pl-cols span {
  position: absolute; top: 16px; left: calc(var(--x) / 1200 * 100%); transform: translateX(-50%); white-space: nowrap;
  font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.pl-stage { aspect-ratio: 1200 / 620; }
.pl-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pl-ribbon { fill: none; stroke-linecap: round; opacity: .3; transition: stroke-dashoffset 1.1s var(--ease); }
.pl-halo { fill: rgba(201, 255, 0, .2); }
.pl-dot { opacity: .9; }
.pl-src {
  position: absolute; left: 0; top: calc(var(--y) / 620 * 100%); width: calc(290 / 1200 * 100%); height: calc(120 / 620 * 100%);
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto 1fr; align-content: start; gap: 2px 10px;
  padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
}
.pl-src strong { align-self: center; font-size: 14.5px; font-weight: 600; }
.pl-src b { grid-column: 1 / -1; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 750; letter-spacing: -.03em; color: var(--ink); line-height: 1.15; margin-top: 4px; }
.pl-src > span:last-child { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.pl-src-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); color: #55616d; }
.pl-src-ic .ic { width: 16px; height: 16px; }
.pl-src-ic--blue { background: var(--info-soft); color: var(--info); }
.pl-src-ic--amber { background: var(--warn-soft); color: var(--warn); }
.pl-src-ic--green { background: var(--ok-soft); color: var(--ok); }
.pl-node {
  position: absolute; left: calc(var(--x) / 1200 * 100%); top: calc(var(--y) / 620 * 100%); transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; text-align: center; width: 170px; pointer-events: none;
}
.pl-node > span { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pl-node b { font-size: clamp(1.6rem, 2.7vw, 2.2rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.1; color: var(--ink); }
.pl-node small { font-size: 13px; color: var(--muted); }
.pl-node em {
  margin-top: 6px; font-style: normal; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  font: 600 11.5px/1 var(--mono); padding: 6px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink-2);
}
.pl-node--watcher b { color: #4d6a00; }
.pl-node--watcher > span .ic { color: #6f9a00; }
.pl-node--alarm b { color: var(--crit); }
.pl-node--alarm em { border-color: #f1b8ad; color: var(--crit); background: var(--crit-soft); }
.pl-node--warn b { color: var(--warn); }
.pl-node--advice b { color: var(--info); }
.pl-node--logged b { color: #6b7570; }
.pl-node--ok b { color: var(--ok); }
.pl-node--score b { color: var(--ink); }
.pl-node--score b::after { content: ""; display: block; height: 4px; border-radius: 2px; background: var(--lime-2); margin-top: 2px; }
.pl-node b.is-bump, .pl-src b.is-bump { animation: plbump .7s var(--ease); }
.pl-node--alarm.is-ringing b { animation: plalarm 1s ease-in-out 3; }
.pl-call {
  position: absolute; left: calc(1000 / 1200 * 100%); top: calc(18 / 620 * 100%); transform: translate(-50%, 6px);
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; background: var(--panel); color: #fff;
  font: 600 12.5px/1 var(--font); opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease); pointer-events: none; white-space: nowrap;
  box-shadow: 0 14px 30px -14px rgba(15, 20, 18, .6);
}
.pl-call .ic { color: var(--lime); }
.pl-call.is-on { opacity: 1; transform: translate(-50%, 0); }
.pl-hint { display: none; margin-top: 8px; font: 500 12px/1 var(--mono); color: var(--muted); align-items: center; gap: 6px; }
@media (max-width: 1119px) { .pl-hint { display: inline-flex; } }
.pl-foot { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); font: 500 12px/1.4 var(--mono); color: var(--muted); }
@keyframes pllive { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes plbump { 0% { color: #6f9a00; transform: translateY(-2px); } 100% { transform: none; } }
@keyframes plalarm { 0%, 100% { text-shadow: none; } 50% { text-shadow: 0 0 18px rgba(214, 69, 47, .55); } }

/* Threat pulse cards */
.pulse-grid { display: grid; gap: 16px; grid-auto-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .pulse-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .pulse-grid { grid-template-columns: repeat(3, 1fr); } }
.pulse-card {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.section--white .pulse-card { background: var(--bg); }
.pulse-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.pulse-card[hidden] { display: none; }
.pulse-cover {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  min-height: 150px; padding: 18px 20px; background: var(--panel); color: var(--on-panel);
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 22px 22px;
}
.pulse-cat {
  position: absolute; top: 16px; left: 18px; font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 9px; border-radius: 6px; border: 1px solid rgba(201, 255, 0, .45); color: var(--lime);
}
.pulse-flag { position: absolute; top: 16px; right: 18px; font: 700 11px/1 var(--mono); letter-spacing: .06em; padding: 6px 9px; border-radius: 6px; background: var(--crit); color: #fff; }
.pulse-big { font: 700 clamp(1.2rem, 2vw, 1.5rem)/1.15 var(--mono); color: var(--lime); letter-spacing: -.01em; overflow-wrap: anywhere; }
.pulse-small { font: 500 13px/1.3 var(--mono); color: var(--on-panel-muted); }
.pulse-cover--advisory { background-color: var(--info-soft); color: #173f63; background-image: linear-gradient(rgba(29, 101, 166, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(29, 101, 166, .08) 1px, transparent 1px); }
.pulse-cover--advisory .pulse-cat { border-color: rgba(29, 101, 166, .4); color: var(--info); }
.pulse-cover--advisory .pulse-big { color: #12406b; }
.pulse-cover--advisory .pulse-small { color: #3d6488; }
.pulse-cover--article { background-color: var(--lime); color: var(--ink); background-image: linear-gradient(rgba(19, 21, 22, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(19, 21, 22, .07) 1px, transparent 1px); }
.pulse-cover--article .pulse-cat { border-color: rgba(19, 21, 22, .35); color: var(--ink); }
.pulse-cover--article .pulse-big { color: var(--ink); font-family: var(--font); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.03em; }
.pulse-cover--article .pulse-small { color: #3a4a00; }
.pulse-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.pulse-date { font: 500 12px/1.3 var(--mono); letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.pulse-body h3 { font-size: 1.08rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pulse-body h3 a { text-decoration: none; color: var(--ink); }
.pulse-body h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pulse-body h3 a:focus-visible { outline: none; }
.pulse-card:focus-within { outline: 2px solid var(--ink); outline-offset: 3px; }
.pulse-summary { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pulse-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--lime-ink); background: var(--lime-soft); padding: 9px 11px; border-radius: 9px; }
.pulse-note .ic { margin-top: 1px; }
.pulse-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.pulse-card:hover .pulse-more { text-decoration: underline; text-underline-offset: 4px; }
.pulse-meta-line { margin-top: 16px; font: 500 12.5px/1.5 var(--mono); color: var(--muted); }
.pulse-meta-line a { color: var(--muted); }
.pulse-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.pulse-filters .chip { cursor: pointer; font-family: var(--font); }
.pulse-filters .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pulse-card.is-skeleton:hover { transform: none; border-color: var(--line); }
.pulse-card.is-skeleton .pulse-cover { background: var(--surface-3); background-image: none; }
.pulse-card.is-skeleton .pulse-body span { display: block; height: 12px; border-radius: 6px; background: var(--surface-3); }
.pulse-card.is-skeleton .pulse-body span:nth-child(1) { width: 40%; }
.pulse-card.is-skeleton .pulse-body span:nth-child(2) { width: 90%; height: 18px; }
.pulse-card.is-skeleton .pulse-body span:nth-child(3) { width: 75%; }
.pulse-card.is-skeleton .pulse-cover, .pulse-card.is-skeleton .pulse-body span { animation: pulse-shimmer 1.4s ease-in-out infinite; }
@keyframes pulse-shimmer { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* Article pages */
.prose-wrap { max-width: 780px; }
.article-title { max-width: 22ch; }
.prose { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-top: 44px; }
.prose h3 { font-size: 1.2rem; margin-top: 32px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--ink); text-decoration-color: var(--lime-2); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose blockquote { margin: 24px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--lime-2); color: var(--ink); }
.prose code { font: 500 .88em var(--mono); background: var(--surface-2); padding: 2px 6px; border-radius: 5px; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 36px 0; }
.prose .table-wrap { margin-top: 24px; }
.prose .table { min-width: 520px; font-size: 15px; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .correlation .signal, .js .correlation .alarm { opacity: 1; transform: none; }
  .js .bars:not(.in) .bar-fill { width: var(--v, 0%); }
  .pulse-card.is-skeleton .pulse-cover, .pulse-card.is-skeleton .pulse-body span { animation: none; }
}
