/* ------------------------------------------------------------------
   Tokens. One accent (brand green) for primary actions + status only.
   Severity colors are reserved for findings — one color, one meaning.
   Contrast (WCAG): text/surface ≥ 7:1, accent text ≥ 5.3:1, button 5.4:1.
------------------------------------------------------------------- */
:root {
  color-scheme: light dark;
  --surface:        #F5F7F4;
  --surface-raised: #FFFFFF;
  --surface-sunken: #E9EEE8;
  --content:        #0E1410;   /* 17.6:1 on surface */
  --content-muted:  #4A554D;   /* 7.2:1 on surface */
  --hairline:       rgba(14, 20, 16, .10);
  --accent:         #1F7A3A;   /* 5.4:1 white on accent; 5.0:1 as text */
  --accent-ink:     #FFFFFF;
  --accent-soft:    rgba(31, 122, 58, .10);
  --contour:        rgba(31, 122, 58, .16);
  --glass:          rgba(255, 255, 255, .66);
  --glass-edge:     rgba(255, 255, 255, .7);
  --shadow:         0 1px 2px rgba(14,20,16,.06), 0 12px 32px -8px rgba(14,20,16,.16);
  --shadow-deep:    0 2px 4px rgba(14,20,16,.06), 0 30px 60px -16px rgba(14,20,16,.30);
  --sev-critical:   #B42318;
  --sev-high:       #B54708;
  --sev-medium:     #8A6A00;
  --sev-low:        #175CD3;
  --radius-l: 28px;
  --radius-m: 18px;
  --radius-s: 12px;
  --font: system-ui, -apple-system, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, sans-serif;
  --font-display: system-ui, -apple-system, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface:        #0B0F0C;
    --surface-raised: #141A16;
    --surface-sunken: #070A08;
    --content:        #EEF2EE;   /* 17.4:1 */
    --content-muted:  #9AA59D;   /* 7.6:1 */
    --hairline:       rgba(238, 242, 238, .10);
    --accent:         #3FD27A;   /* 9.8:1 as text */
    --accent-ink:     #04210F;   /* 9.6:1 on accent */
    --accent-soft:    rgba(63, 210, 122, .12);
    --contour:        rgba(63, 210, 122, .10);
    --glass:          rgba(20, 26, 22, .62);
    --glass-edge:     rgba(255, 255, 255, .08);
    --shadow:         0 1px 2px rgba(0,0,0,.4), 0 12px 32px -8px rgba(0,0,0,.6);
    --shadow-deep:    0 2px 4px rgba(0,0,0,.4), 0 30px 60px -16px rgba(0,0,0,.8);
    --sev-critical:   #FF8A80;
    --sev-high:       #FFB36B;
    --sev-medium:     #F5D565;
    --sev-low:        #8AB8FF;
  }
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] {
  color-scheme: dark;
  --surface:#0B0F0C; --surface-raised:#141A16; --surface-sunken:#070A08; --content:#EEF2EE; --content-muted:#9AA59D;
  --hairline:rgba(238,242,238,.10); --accent:#3FD27A; --accent-ink:#04210F; --accent-soft:rgba(63,210,122,.12);
  --contour:rgba(63,210,122,.10); --glass:rgba(20,26,22,.62); --glass-edge:rgba(255,255,255,.08);
  --shadow:0 1px 2px rgba(0,0,0,.4),0 12px 32px -8px rgba(0,0,0,.6); --shadow-deep:0 2px 4px rgba(0,0,0,.4),0 30px 60px -16px rgba(0,0,0,.8);
  --sev-critical:#FF8A80; --sev-high:#FFB36B; --sev-medium:#F5D565; --sev-low:#8AB8FF;
}
@media (prefers-contrast: more) {
  :root { --hairline: currentColor; --content-muted: var(--content); --glass: var(--surface-raised); }
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--surface); color: var(--content);
  font: 100%/1.55 var(--font); letter-spacing: 0;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.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; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 16px; }

/* Size-specific tracking & leading (apple-motion §15) */
.display  { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 6.2vw, 4.75rem); line-height: 1.02; letter-spacing: -0.035em; margin: 0; }
.title-1  { font-family: var(--font-display); font-weight: 750; font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.08; letter-spacing: -0.025em; margin: 0; }
.title-3  { font-family: var(--font-display); font-weight: 650; font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.012em; margin: 0; }
.lede     { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.5; color: var(--content-muted); margin: 0; max-width: 38em; }
.eyebrow  { font-size: .8125rem; font-weight: 600; letter-spacing: .01em; color: var(--accent); margin: 0 0 12px; }
.mono     { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: 0; }

/* ------------------------------------------------------------------ buttons
   Feedback on press, instantly (apple-motion §1). 44px min hit target. */
.btn {
  --press: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 600 1rem/1 var(--font); letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
  transform: scale(var(--press)); transition: transform 160ms cubic-bezier(.2,.8,.2,1), background-color 160ms, box-shadow 160ms;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn:active { --press: .97; transition-duration: 80ms; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 16px -6px var(--accent); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-plain { background: transparent; color: var(--content); box-shadow: inset 0 0 0 1.5px var(--hairline); }
.btn-plain:hover { background: var(--accent-soft); }
.btn svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------------ floating glass nav
   Glass only on the floating functional layer, never on content. */
.nav {
  position: fixed; inset: 12px 0 auto; z-index: 50; pointer-events: none;
}
.nav-bar {
  pointer-events: auto;
  width: min(1160px, 100% - 24px); margin-inline: auto;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 16px; border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 1px 0 var(--glass-edge), var(--shadow);
  transform-origin: 50% 0;
}
.brand { flex-shrink: 0; display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; letter-spacing: -0.02em; font-size: 1.0625rem; margin-right: auto; }
.brand .mark { height: 30px; width: auto; }
.brand .word { height: 12px; width: auto; color: var(--content); }
.nav-links-wrap { position: relative; flex-shrink: 0; }
/* Apple-style bar type: small, regular weight, slightly tight; the hover is a quiet fill, not a colour jump */
.nav-links { position: relative; z-index: 1; display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .875rem; letter-spacing: -0.01em; color: var(--content-muted); transition: color 200ms, background-color 200ms; }
.nav-links a:hover { color: var(--content); background: color-mix(in srgb, var(--content) 6%, transparent); }
.nav-links a[aria-current="true"] { color: var(--content); background: transparent; }
/* One pill that glides between links as you scroll — where am I, at a glance */
.nav-pill { position: absolute; top: 0; left: 0; height: 38px; width: 0; border-radius: 999px; background: var(--accent-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent); opacity: 0; pointer-events: none; will-change: transform, width, opacity; }
/* On phones the links are in the menu, so the bar names the current section instead */
.here { display: none; position: relative; height: 1.4em; overflow: hidden; font-weight: 550; color: var(--content-muted); }
.here span { display: block; white-space: nowrap; will-change: transform, opacity; }
.here::before { content: "·"; position: absolute; left: -10px; }
.nav .btn { flex-shrink: 0; min-height: 38px; padding: 0 16px; font-size: .875rem; font-weight: 590; letter-spacing: -0.01em; white-space: nowrap; }
.menu-btn { display: none; }
.nav .menu-btn { width: 38px; padding: 0; box-shadow: none; }
/* Light / dark switch. The icon morphs (sun ⇄ moon) rather than swapping, and the whole
   button folds away as the bar shrinks on the way down (driven from script by --nc). */
.nav-theme { flex: none; display: flex; overflow: hidden; }
.theme-btn { position: relative; flex: none; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 999px;
  background: transparent; color: var(--content-muted); cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: color 200ms, background-color 200ms, scale 260ms cubic-bezier(.3, 1.5, .5, 1); will-change: transform, opacity; }
.theme-btn:hover { color: var(--content); background: color-mix(in srgb, var(--content) 6%, transparent); }
.theme-btn:active { scale: .9; transition-duration: 90ms; }
.theme-btn:focus-visible { outline-offset: -3px; }   /* inside: the folding slot clips anything outside */
.theme-btn svg { width: 19px; height: 19px; overflow: visible; }
.theme-btn .tm-core, .theme-btn .tm-cut, .theme-btn .tm-rays { transform-box: fill-box; transform-origin: center; transition: transform 560ms cubic-bezier(.34, 1.36, .5, 1), opacity 300ms; }
.theme-btn .tm-cut { transform: translate(7px, -7px); }
.theme-btn.is-dark .tm-core { transform: scale(1.7); }
.theme-btn.is-dark .tm-cut { transform: translate(0, 0); }
.theme-btn.is-dark .tm-rays { transform: rotate(-90deg) scale(.4); opacity: 0; }
/* the theme change itself: a soft crossfade of the whole page (View Transitions) */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 480ms; animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
@media (prefers-reduced-motion: reduce) { .theme-btn .tm-core, .theme-btn .tm-cut, .theme-btn .tm-rays { transition: opacity 200ms; } }
.menu-pop {
  position: absolute; right: 12px; top: 64px; width: min(280px, calc(100% - 24px));
  background: var(--glass); -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%);
  border-radius: 22px; padding: 8px; box-shadow: inset 0 1px 0 var(--glass-edge), var(--shadow-deep);
  transform-origin: calc(100% - 28px) -8px; /* anchored to its trigger (§7) */
  pointer-events: auto; display: none;
}
.menu-pop a { display: flex; min-height: 48px; align-items: center; padding: 0 14px; border-radius: 14px; text-decoration: none; font-weight: 600; }
.menu-pop a:hover { background: var(--accent-soft); }
@media (max-width: 820px) {
  .nav-links-wrap { display: none; }
  .menu-btn { display: inline-flex; }
  .here { display: block; margin-left: 4px; }
  .brand { margin-right: 0; }
  .here { margin-right: auto; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow-x: clip; overflow-y: visible; padding: 136px 0 120px; }   /* x-clip only: floating cards may hang below */
/* ------------------------------------------------------------------ parallax background
   Three depth layers fixed behind the page, each scrolling at its own speed:
   far contours (8%), mid contours + elevations (22%), near attack path (45%). */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; color: var(--contour); }
.bg-layer { position: absolute; left: 0; top: 0; max-width: none; will-change: transform; }
.bg .elev { font: 500 10px var(--font-mono); fill: var(--content-muted); fill-opacity: .4; letter-spacing: .04em; }
.bg .route-base { fill: none; stroke: var(--accent); stroke-opacity: .2; stroke-width: 1.5; stroke-dasharray: 2 8; stroke-linecap: round; }
.bg .route-live { fill: none; stroke: var(--accent); stroke-opacity: .5; stroke-width: 2; stroke-linecap: round; }
.bg .node .ring { fill: var(--surface); stroke: var(--accent); stroke-opacity: .28; stroke-width: 1.2; transition: stroke-opacity 400ms; }
.bg .node .dot  { fill: var(--accent); fill-opacity: .25; transition: fill-opacity 400ms; }
.bg .node text  { font: 500 10px var(--font-mono); fill: var(--accent); fill-opacity: .4; letter-spacing: .04em; transition: fill-opacity 400ms; }
.bg .node.on .ring { stroke-opacity: .7; }
.bg .node.on .dot  { fill-opacity: .9; }
.bg .node.on text  { fill-opacity: .75; }
.bg .head { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }
main, footer.site { position: relative; z-index: 1; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.hero .display .swap { color: var(--accent); }
/* Terminal caret: solid while typing, blinks when idle, fades out when done */
/* Terminal caret, smoothed: it glides to the end of the text on a spring instead of
   hopping glyph to glyph, and its idle blink is a soft fade rather than an on/off flash.
   The word and caret share a no-wrap box, so the line never reflows mid-word. */
.typed { position: relative; display: inline-block; white-space: nowrap; text-align: left; }
.typed .dot { display: inline-block; margin-left: .14em; will-change: transform; }
.typed.done .dot { margin-left: 0; }
/* An empty inline-block has no text baseline and drops down the line, taking the caret with it.
   A zero-width character keeps the box on the baseline even between words. */
.typed::before { content: "\200B"; }
.caret { position: absolute; left: 0; top: .1em; width: .08em; height: .8em; border-radius: 2px; background: var(--accent);
  will-change: transform, opacity; animation: caret-breathe 1.1s ease-in-out infinite; }
.caret.typing { animation: none; opacity: 1; }
.caret.done { animation: none; opacity: 0; transition: opacity 500ms; }
@keyframes caret-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }   /* never fades below 45%, so it can't get lost */

/* ------------------------------------------------------------------ floating stat cards
   Glass chips that drift at different depths around the findings stack
   (SentinelOne-style). Numbers come from the five sample findings. */
.chip-card {
  position: absolute; z-index: 300; pointer-events: none;
  padding: 12px 14px; border-radius: 16px; min-width: 150px;
  background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  box-shadow: inset 0 1px 0 var(--glass-edge), inset 0 0 0 1px var(--hairline), var(--shadow);
  font-size: .8125rem; color: var(--content-muted); will-change: transform, opacity, filter;
}
.chip-card b { display: block; color: var(--content); font-size: 1.125rem; font-weight: 750; letter-spacing: -0.01em; line-height: 1.2; }
.chip-card .lbl { font-size: .6875rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
/* placed in the empty space around the stack, never over a card's text */
.chip-sev { left: -150px; bottom: -84px; }
.chip-retest { right: -76px; bottom: -74px; display: flex; align-items: center; gap: 12px; }
.chip-cvss { right: -78px; top: -60px; min-width: 0; padding: 8px 12px; }
.chip-cvss b { display: inline; font-size: .9375rem; font-family: var(--font-mono); }
.sevbar { display: flex; gap: 3px; margin-top: 8px; height: 6px; width: 132px; }
.sevbar i { border-radius: 3px; flex: var(--n); }
.sevlegend { display: flex; gap: 8px; margin-top: 6px; font-size: .6875rem; font-family: var(--font-mono); }
.ring-prog { width: 38px; height: 38px; transform: rotate(-90deg); }
.ring-prog circle { fill: none; stroke-width: 4; }
@media (max-width: 1360px) { .chip-retest, .chip-cvss { right: -14px; } .chip-sev { left: -90px; } }
@media (max-width: 960px) { .chip-card { display: none; } }
html[data-motion]:not([data-motion~="chips"]) .chip-card { display: none; }

/* ------------------------------------------------------------------ recon flashlight
   The terrain brightens in a soft circle around the pointer, like
   scanning the attack surface. Pointer devices only. */
.bg-lit { position: absolute; inset: 0; color: var(--accent); opacity: 0;
  -webkit-mask-image: radial-gradient(circle 210px at var(--mx, -999px) var(--my, -999px), #000 0%, rgba(0,0,0,.55) 40%, transparent 100%);
          mask-image: radial-gradient(circle 210px at var(--mx, -999px) var(--my, -999px), #000 0%, rgba(0,0,0,.55) 40%, transparent 100%); }
.bg-lit .bg-layer { opacity: .7 !important; }
.bg-lit .elev { fill: var(--accent); fill-opacity: .9; }
.bg-glow { position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle 260px at var(--mx, -999px) var(--my, -999px), var(--accent-soft), transparent 70%); }
.hero .lede { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 36px 0 0; padding: 0; list-style: none; color: var(--content-muted); font-size: .9375rem; }
.proof li { display: flex; align-items: center; gap: 8px; }
.proof svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* ------------------------------------------------------------------ signature: findings deck */
.deck-wrap { position: relative; }
.deck-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 4px 14px; color: var(--content-muted); font-size: .875rem; }
.deck-caption strong { color: var(--content); font-weight: 650; }
.deck {
  position: relative; height: 430px; outline: none;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.deck:focus-visible { outline: 3px solid var(--accent); outline-offset: 8px; border-radius: var(--radius-l); }
.card {
  position: absolute; inset: 0 0 auto; height: 400px;
  background: var(--surface-raised); border-radius: var(--radius-l);
  box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow-deep);
  padding: 26px 26px 22px; display: flex; flex-direction: column;
  will-change: transform, opacity; cursor: grab; transform-origin: 50% 100%;
}
.card.dragging { cursor: grabbing; }
.card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sev { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .8125rem; letter-spacing: .01em; color: var(--sev); }
.sev::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.sev[data-s="Critical"] { --sev: var(--sev-critical); }
.sev[data-s="High"]     { --sev: var(--sev-high); }
.sev[data-s="Medium"]   { --sev: var(--sev-medium); }
.sev[data-s="Low"]      { --sev: var(--sev-low); }
.card .id { color: var(--content-muted); }
.card h3 { margin: 18px 0 6px; font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.018em; }
.card .where { color: var(--content-muted); font-size: .9375rem; margin: 0 0 16px; }
.card dl { margin: 0; display: grid; gap: 12px; }
.card dt { font-size: .75rem; font-weight: 650; letter-spacing: .02em; color: var(--content-muted); }
.card dd { margin: 2px 0 0; font-size: .9375rem; line-height: 1.45; }
.card footer { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; align-items: center; font-size: .875rem; }
.status { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 650; }
.status svg { width: 16px; height: 16px; }
.deck-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.round { width: 48px; height: 48px; padding: 0; }
.dots { display: flex; gap: 6px; }
.dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--hairline); transition: background-color 200ms, transform 200ms; }
.dots span.on { background: var(--accent); transform: scale(1.25); }
.hint { font-size: .8125rem; color: var(--content-muted); text-align: center; margin: 10px 0 0; }

/* ------------------------------------------------------------------ sections */
section { padding: 96px 0; }
.section-head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 760px; }
.band { background: color-mix(in srgb, var(--surface-sunken) 70%, transparent); }   /* lets the terrain show through */

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }
.svc {
  --lift: 0px;
  background: var(--surface-raised); border-radius: var(--radius-m); padding: 26px;
  box-shadow: inset 0 0 0 1px var(--hairline);
  display: flex; flex-direction: column; gap: 12px;
  translate: 0 var(--lift); transition: translate 380ms cubic-bezier(.2,.9,.25,1), box-shadow 380ms;   /* `translate`, not transform: the scroll reveal owns transform */
}
.svc:hover { --lift: -3px; box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow); }
.svc .q { font-size: .875rem; font-weight: 600; color: var(--accent); margin: 0; }
.svc ul { margin: 2px 0 6px; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--content-muted); font-size: .9688rem; }
.svc li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; line-height: 1.45; }
.svc li::before { content: ""; width: 6px; height: 6px; margin: .55em 0 0 4px; border-radius: 50%; background: var(--content-muted); opacity: .6; }
.svc .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 650; text-decoration: none; color: var(--accent); align-self: flex-start; }
.svc .more svg { width: 16px; height: 16px; transition: transform 200ms; }
.svc .more:hover svg { transform: translateX(3px); }
.group-label { grid-column: 1 / -1; margin: 18px 0 2px; font-size: .8125rem; font-weight: 650; color: var(--content-muted); display: flex; align-items: center; gap: 12px; }
.group-label::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }
.group-label:first-child { margin-top: 0; }

/* process — a real sequence, so numbering is honest */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; padding: 24px; border-radius: var(--radius-m); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--hairline); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 750; margin-bottom: 16px; transition: background-color 260ms, color 260ms, transform 420ms cubic-bezier(.3,1.4,.5,1); }
.steps li.reached::before { background: var(--accent); color: var(--accent-ink); transform: scale(1.1); }
.steps li { transition: box-shadow 300ms; }
.steps li.reached { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 45%, transparent); }
/* Scroll-linked progress: the line fills as you read down the process */
.track { height: 4px; border-radius: 4px; background: var(--hairline); margin: -20px 0 24px; overflow: hidden; }
.track span { display: block; height: 100%; width: 100%; background: var(--accent); border-radius: inherit; transform-origin: 0 50%; transform: scaleX(0); will-change: transform; }
.steps p { margin: 8px 0 0; color: var(--content-muted); font-size: .9688rem; }

/* industries + frameworks */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 10px 16px; border-radius: 999px; background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--hairline); font-weight: 550; font-size: .9688rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.frameworks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.fw { padding: 18px; border-radius: var(--radius-s); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--hairline); }
.fw b { display: block; font-size: 1.0625rem; letter-spacing: -0.01em; }
.fw span { color: var(--content-muted); font-size: .875rem; }

/* product: MUTE — matches the page's cards, type and spacing */
.mute { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding: 48px; border-radius: var(--radius-l); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow); }
@media (max-width: 900px) { .mute { grid-template-columns: 1fr; gap: 32px; padding: 28px; } }
.mute-lockup { display: inline-block; margin: 2px 0 20px; border-radius: 10px; }
.mute-logo { display: block; height: 76px; width: auto; margin-left: -2px; }
.mute .lede { margin-top: 16px; }
.mute .proof { margin-top: 24px; }
.mute .hero-actions { margin-top: 28px; }
.mute-visual { position: relative; height: 400px; display: grid; place-items: center; }
.mv-orbit { position: absolute; width: 400px; height: 400px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--hairline); }
.mv-orbit::before { content: ""; position: absolute; inset: 62px; border-radius: 50%; border: 1px dashed var(--hairline); }
.mv-orbit i { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #79EFC8; box-shadow: 0 0 0 6px color-mix(in srgb, #79EFC8 16%, transparent); }
.mv-orbit i:nth-child(1) { left: 367px; top: 94px; }      /* on the ring at -30deg, clear of the card */
.mv-orbit i:nth-child(2) { left: 21px; top: 294px; }      /* on the ring at 150deg */
.mv-card { position: relative; width: min(330px, 100%); padding: 22px 22px 18px; border-radius: 20px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow-deep); transform: rotate(-2.5deg); }
.mv-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mv-status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 999px; font: 650 .6875rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--content); background: color-mix(in srgb, #79EFC8 16%, transparent); transition: background-color 500ms; }
.mv-status i { width: 7px; height: 7px; border-radius: 50%; background: #79EFC8; transition: background-color 500ms; }
.mv-top .mono { color: var(--content-muted); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; }
.mv-label { margin: 22px 0 4px; color: var(--content-muted); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; }
.mv-link { position: relative; display: inline-block; margin: 0 0 18px; font: 500 1.875rem/1.2 var(--font-mono); letter-spacing: .02em; transition: color 500ms 250ms; }
.mv-link::after { content: ""; position: absolute; left: -3px; right: -3px; top: 52%; height: 2px; border-radius: 2px; background: var(--sev-critical);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 650ms cubic-bezier(.2,.8,.2,1); }
.mv-track { position: relative; height: 13px; margin: 0 4px; }
.mv-track::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 1.5px; background: color-mix(in srgb, #79EFC8 60%, transparent); }
.mv-track b { position: absolute; top: 0; width: 13px; height: 13px; border-radius: 50%; border: 2px solid #79EFC8; background: var(--surface); }
.mv-track b:first-child { left: 0; } .mv-track b:last-child { right: 0; }
.mv-meta { display: flex; justify-content: space-between; font-size: .75rem; color: var(--content-muted); margin-top: 6px; }
.mv-foot { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--hairline); font-size: .75rem; color: var(--content-muted); }
.mv-foot i { width: 7px; height: 7px; border-radius: 50%; background: var(--sev-critical); }
/* once the section is seen, the demo call ends: status flips and the single-use link is struck through */
.mute.burned .mv-status { background: color-mix(in srgb, var(--sev-critical) 14%, transparent); }
.mute.burned .mv-status i { background: var(--sev-critical); }
.mute.burned .mv-link { color: var(--content-muted); }
.mute.burned .mv-link::after { transform: scaleX(1); }
@media (max-width: 520px) { .mute-visual { height: 320px; } .mv-orbit { width: 300px; height: 300px; } .mv-orbit i { display: none; } .mv-link { font-size: 1.5rem; } }

/* contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.facts li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.facts svg { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.facts b { display: block; font-weight: 650; }
.facts span, .facts a { color: var(--content-muted); }
form { background: var(--surface-raised); border-radius: var(--radius-l); padding: 28px; box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow); display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
label, legend { font-weight: 600; font-size: .9375rem; }
.field { display: grid; gap: 6px; }
input, textarea {
  font: 1rem/1.4 var(--font); color: var(--content); background: var(--surface);
  border: 0; border-radius: var(--radius-s); padding: 13px 14px; min-height: 48px;
  box-shadow: inset 0 0 0 1.5px var(--hairline); transition: box-shadow 160ms;
}
input:focus, textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--sev-critical); }
.err { color: var(--sev-critical); font-size: .875rem; min-height: 1.2em; margin: 0; }
textarea { min-height: 110px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.picks input { position: absolute; opacity: 0; pointer-events: none; }
.picks label { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; font-weight: 550; font-size: .9063rem; box-shadow: inset 0 0 0 1.5px var(--hairline); cursor: pointer; transition: background-color 160ms, color 160ms, box-shadow 160ms, transform 120ms; }
.picks label:active { transform: scale(.97); }
.picks input:checked + label { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.picks input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.form-foot small { color: var(--content-muted); }
.sent { display: none; color: var(--accent); font-weight: 650; }

/* footer */
footer.site { padding: 40px 0 56px; border-top: 1px solid var(--hairline); color: var(--content-muted); font-size: .9375rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
footer.site nav { display: flex; gap: 20px; }
footer.site a { text-decoration: none; }
footer.site a:hover { color: var(--content); }
.concept { font-size: .8125rem; }

/* scroll reveal — critically damped, no overshoot; skipped under reduced motion */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 600ms cubic-bezier(.2,.8,.2,1), transform 700ms cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0ms); }
.svc.reveal.in { transition: opacity 600ms cubic-bezier(.2,.8,.2,1) var(--d, 0ms), transform 700ms cubic-bezier(.2,.8,.2,1) var(--d, 0ms), translate 380ms cubic-bezier(.2,.9,.25,1), box-shadow 380ms; }

/* ==================================================================
   VARIANTS — each one switches on via <html data-variant="…">.
   index.html has none; index-process / -rings / -map / -teal each
   turn on exactly one, so they can be compared side by side.
   ================================================================== */
.v-only { display: none; }

/* ---- 5 · process as an attack path (Wiz-style pipeline) ---------- */
html[data-variant~="process"] .v-process { display: block; }
html[data-variant~="process"] #steps, html[data-variant~="process"] #process .track { display: none; }
.pathway { position: relative; padding-top: 48px; }
.pw-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.pw-base { fill: none; stroke: var(--content-muted); stroke-opacity: .35; stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.pw-live { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 45%, transparent)); }
.pw-beam { position: absolute; left: 0; top: -36px; width: 220px; height: 170px; margin-left: -110px; z-index: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(to bottom, transparent 0%, color-mix(in srgb, var(--accent) 22%, transparent) 70%, transparent 100%);
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%); will-change: transform, opacity; }
.pw-steps { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pw-step { text-align: center; padding: 0 6px; }
.pw-node { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; color: var(--content-muted);
  background: var(--surface-raised); box-shadow: inset 0 0 0 1.5px var(--hairline), var(--shadow);
  transition: color 300ms, box-shadow 300ms, transform 450ms cubic-bezier(.3,1.4,.5,1); }
.pw-node svg { width: 28px; height: 28px; }
.pw-step.on .pw-node { color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 7px var(--accent-soft), var(--shadow); }
.pw-step.active .pw-node { transform: scale(1.12); }
.pw-tag { display: block; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--content-muted); margin-bottom: 6px; transition: color 300ms; }
.pw-step.on .pw-tag { color: var(--accent); }
.pw-step p { color: var(--content-muted); font-size: .9688rem; margin: 8px 0 0; }
@media (max-width: 760px) {
  .pathway { padding-top: 8px; }
  .pw-steps { grid-template-columns: 1fr; gap: 30px; }
  .pw-step { text-align: left; display: grid; grid-template-columns: 68px 1fr; column-gap: 18px; padding: 0; }
  .pw-node { margin: 0; grid-row: 1 / 4; }
  .pw-beam { display: none; }
}

/* ---- 6 · defense-in-depth rings (CrowdStrike-style) -------------- */
html[data-variant~="rings"] .v-rings { display: grid; }
html[data-variant~="rings"] #services .services { display: none; }
.rings { grid-template-columns: minmax(300px, 500px) 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .rings { grid-template-columns: 1fr; gap: 32px; } }
.rings-fig { position: relative; }
.rings-svg { width: 100%; height: auto; overflow: visible; }
.seg { cursor: pointer; outline: none; }
.seg-fill { stroke: var(--surface); stroke-width: 3; transition: fill 250ms; }
.tier-outer .seg-fill { fill: color-mix(in srgb, var(--accent) 7%, var(--surface-raised)); }
.tier-mid   .seg-fill { fill: color-mix(in srgb, var(--accent) 15%, var(--surface-raised)); }
.tier-core  .seg-fill { fill: color-mix(in srgb, var(--accent) 26%, var(--surface-raised)); }
.seg:hover .seg-fill, .seg:focus-visible .seg-fill { fill: color-mix(in srgb, var(--accent) 38%, var(--surface-raised)); }
.seg.sel .seg-fill { fill: var(--accent); }
.seg text { font: 700 12.5px var(--font); letter-spacing: .09em; fill: var(--content); pointer-events: none; transition: fill 250ms; }
.seg.sel text { fill: var(--accent-ink); }
.seg:focus-visible .seg-fill { stroke: var(--accent); stroke-width: 3; }
.seg .core-big { font-size: 22px; letter-spacing: .02em; }
.rings-legend { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; font-size: .875rem; color: var(--content-muted); }
.rings-legend li { display: flex; gap: 10px; align-items: center; }
.rings-legend i { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.ring-panel { background: var(--surface-raised); border-radius: var(--radius-l); padding: 32px; box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow); will-change: transform, opacity; }
.ring-panel .tier { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--content-muted); margin: 0 0 14px; }
.ring-panel .svc { box-shadow: none; padding: 0; background: none; transform: none !important; translate: none !important; }
.ring-panel .svc .title-3 { font-size: 1.75rem; letter-spacing: -0.02em; }

/* ---- 7 · pulse globe in Contact (Huntress-style) ------------------ */
html[data-variant~="map"] .v-map { display: block; }
.globe-card { margin-top: 32px; max-width: 420px; border-radius: var(--radius-l); padding: 18px 18px 14px; background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow); }
.globe-card canvas { display: block; width: 100%; aspect-ratio: 1; cursor: crosshair; }
.globe-cap { display: flex; justify-content: space-between; gap: 12px; margin: 10px 4px 0; color: var(--content-muted); }
.globe-cap b { color: var(--accent); font-weight: 650; }

/* ---- 8 · real brand teal (from the logo, #2BB998) ----------------- */
/* Light: deep teal for text/buttons (5.3:1 white-on-teal, 4.9:1 as text). Dark: the logo teal itself (7.8:1). */
:root[data-variant~="teal"] {
  --accent: #0E7A5F; --accent-ink: #FFFFFF; --accent-soft: rgba(43, 185, 152, .14); --contour: rgba(14, 122, 95, .16);
}
@media (prefers-color-scheme: dark) {
  :root[data-variant~="teal"]:not([data-theme="light"]) { --accent: #2BB998; --accent-ink: #062A20; --accent-soft: rgba(43, 185, 152, .13); --contour: rgba(43, 185, 152, .10); }
}
:root[data-variant~="teal"][data-theme="dark"] { --accent: #2BB998; --accent-ink: #062A20; --accent-soft: rgba(43, 185, 152, .13); --contour: rgba(43, 185, 152, .10); }

/* ==================================================================
   B-SIDE VARIANTS — a second, different take on each of the eight.
   Motion ones switch on via data-motion, section ones via data-variant.
   ================================================================== */

/* ---- 1b · decrypt: the word unscrambles from random glyphs ---------- */
.swap.scrambling { display: inline-block; white-space: nowrap; vertical-align: bottom; }
.swap .gl { color: color-mix(in srgb, var(--accent) 45%, var(--content-muted)); }

/* ---- 2b · odometer stats band (Wiz-style rolling numbers) ----------- */
.stats-band { display: none; position: relative; z-index: 1; margin-top: 64px; }
html[data-motion~="odometer"] .stats-band { display: block; }
.stats-band .grid { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius-l); overflow: hidden;
  background: var(--hairline); gap: 1px; box-shadow: inset 0 0 0 1px var(--hairline); }
@media (max-width: 760px) { .stats-band .grid { grid-template-columns: repeat(2, 1fr); } }
.stat { background: color-mix(in srgb, var(--surface-raised) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 22px 24px; }
.stat .num { display: flex; align-items: baseline; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat .num .sep { padding: 0 .04em; color: var(--content-muted); }
.stat .lbl { margin-top: 10px; font-size: .875rem; color: var(--content-muted); }
.stat.crit .num { color: var(--sev-critical); }
.stat.fix .num { color: var(--accent); }
.odo { display: inline-block; height: 1em; overflow: hidden; }
.odo span { display: block; will-change: transform; }
.odo span i { display: block; height: 1em; font-style: normal; }
.stats-note { margin: 10px 4px 0; font-size: .8125rem; color: var(--content-muted); }

/* ---- 3b · shrinking nav + reading progress (v2) ----------------------
   The bar closes in around its own contents — shield, TERRASAFE wordmark,
   links and button all stay — instead of folding the wordmark away. The
   width itself is set by script from measured content; CSS only handles
   the small refinements that ride along with --nc (0 = open, 1 = compact). */
html[data-motion~="shrinknav"] .nav-bar { position: relative; will-change: width;
  padding: calc(6px - var(--nc, 0) * 1px) calc(6px - var(--nc, 0) * 1px) calc(6px - var(--nc, 0) * 1px) calc(16px - var(--nc, 0) * 4px);
  box-shadow: inset 0 1px 0 var(--glass-edge), inset 0 0 0 1px color-mix(in srgb, var(--accent) calc(var(--nc, 0) * 18%), transparent), var(--shadow); }
html[data-motion~="shrinknav"] .brand .mark { height: calc(30px - var(--nc, 0) * 3px); }
html[data-motion~="shrinknav"] .brand .word { height: calc(12px - var(--nc, 0) * 1px); }
/* The logo's own tagline beside the wordmark, so the open bar reads like the full lockup.
   As the bar shrinks it backspaces away letter by letter (driven from script by --nc). */
.brand-tag { display: none; align-items: center; gap: 12px; overflow: hidden; white-space: nowrap; }
html[data-motion~="shrinknav"] .brand-tag { display: flex; }
.bt-div { display: block; flex: none; width: 1px; height: 18px; background: var(--content-muted); opacity: .35; will-change: transform, opacity; }
.bt-text { font: 650 10.5px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--content-muted); }
.bt-text i { display: inline-block; font-style: normal; will-change: transform, opacity, filter; }
@media (max-width: 820px) { html[data-motion~="shrinknav"] .brand-tag { display: none; } }
html[data-motion~="shrinknav"] .nav-bar.no-tag .brand-tag { display: none; }
html[data-motion~="shrinknav"] .nav-bar::after { content: ""; position: absolute; left: 26px; right: 26px; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--np, 0)); opacity: var(--nc, 0); }

/* ---- 4b · targeting reticle in the hero ---------------------------- */
.reticle { display: none; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; overflow: hidden; color: var(--accent); }
html[data-motion~="reticle"] .reticle { display: block; }
.reticle .rx, .reticle .ry { position: absolute; background: currentColor; opacity: .22; will-change: transform; }
.reticle .rx { left: 0; right: 0; top: 0; height: 1px; }
.reticle .ry { top: 0; bottom: 0; left: 0; width: 1px; }
.reticle .rbox { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; will-change: transform;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 9px 1.5px, linear-gradient(currentColor, currentColor) 0 0 / 1.5px 9px,
    linear-gradient(currentColor, currentColor) 100% 0 / 9px 1.5px, linear-gradient(currentColor, currentColor) 100% 0 / 1.5px 9px,
    linear-gradient(currentColor, currentColor) 0 100% / 9px 1.5px, linear-gradient(currentColor, currentColor) 0 100% / 1.5px 9px,
    linear-gradient(currentColor, currentColor) 100% 100% / 9px 1.5px, linear-gradient(currentColor, currentColor) 100% 100% / 1.5px 9px;
  background-repeat: no-repeat; }
.reticle .rlbl { position: absolute; left: 0; top: 0; font: 500 11px var(--font-mono); letter-spacing: .04em; color: var(--accent); white-space: nowrap; will-change: transform;
  padding: 3px 7px; border-radius: 6px; background: color-mix(in srgb, var(--surface) 80%, transparent); }

/* ---- 5b · sticky stepper ------------------------------------------- */
html[data-variant~="sticky"] .v-sticky { display: grid; }
html[data-variant~="sticky"] #steps, html[data-variant~="sticky"] #process .track { display: none; }
.stk { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.stk-pin { position: sticky; top: 120px; }
.stk-num { display: flex; align-items: baseline; gap: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 11vw, 9rem); line-height: .9; letter-spacing: -0.05em; color: var(--accent); }
.stk-num small { margin-left: 14px; font-size: 1.25rem; letter-spacing: 0; color: var(--content-muted); font-weight: 650; }
.stk-num .odo { height: .9em; }
.stk-num .odo span i { height: .9em; }
.stk-title { margin: 18px 0 0; font-family: var(--font-display); font-weight: 750; font-size: 2rem; letter-spacing: -0.02em; will-change: transform, opacity; }
.stk-bar { display: flex; gap: 6px; margin-top: 24px; }
.stk-bar i { height: 4px; flex: 1; border-radius: 4px; background: var(--hairline); transition: background-color 300ms; }
.stk-bar i.on { background: var(--accent); }
.stk-panels { display: grid; gap: 24px; padding-bottom: 12vh; }
.stk-panel { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; padding: 32px; border-radius: var(--radius-l);
  background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--hairline); opacity: .45; transform: scale(.97); transition: opacity 400ms, transform 500ms cubic-bezier(.2,.9,.25,1), box-shadow 400ms; }
.stk-panel.active { opacity: 1; transform: none; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 50%, transparent), var(--shadow); }
.stk-panel .mono { color: var(--accent); }
.stk-panel h3 { margin: 10px 0 8px; }
.stk-panel p { margin: 0; color: var(--content-muted); }
.stk-panel ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stk-panel li { padding: 7px 12px; border-radius: 999px; font-size: .875rem; font-weight: 550; background: var(--accent-soft); color: var(--content); }
@media (max-width: 860px) {
  .stk { grid-template-columns: 1fr; gap: 0; }
  .stk-pin { display: none; }
  .stk-panel { min-height: 0; opacity: 1; transform: none; }
  .stk-panels { padding-bottom: 0; }
}

/* ---- 6b · bento grid with border spotlight ------------------------- */
html[data-variant~="bento"] .v-bento { display: grid; }
html[data-variant~="bento"] #services .services { display: none; }
.bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, auto); gap: 14px; }
.bento .svc { position: relative; isolation: isolate; overflow: hidden; }
.bento .b-pentest { grid-column: 1 / 3; grid-row: 1 / 3; }
.bento .b-red     { grid-column: 3 / 5; }
.bento .b-soc     { grid-column: 3 / 4; }
.bento .b-assess  { grid-column: 4 / 5; }
.bento .b-audit   { grid-column: 1 / 3; }
.bento .b-consult { grid-column: 3 / 5; }
.bento .b-pentest .title-3 { font-size: 2rem; letter-spacing: -0.02em; }
.bento .b-pentest ul { font-size: 1.0625rem; gap: 12px; }
.sevchart { margin: 18px 0 8px; padding: 18px; border-radius: var(--radius-m); background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); display: grid; gap: 10px; }
.sevchart figcaption { font-size: .8125rem; color: var(--content-muted); margin-bottom: 4px; }
.sevchart .row { display: grid; grid-template-columns: 72px 1fr 20px; align-items: center; gap: 12px; font-size: .875rem; }
.sevchart .row i { height: 10px; border-radius: 5px; width: calc(var(--w) * 100%); transform-origin: 0 50%; }
.sevchart .row b { font-family: var(--font-mono); text-align: right; }
.bento .b-soc ul li:nth-child(n+3), .bento .b-assess ul li:nth-child(n+3) { display: none; }
.bento .svc::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 2; pointer-events: none;
  background: radial-gradient(240px circle at var(--sx, -999px) var(--sy, -999px), var(--accent), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 300ms; }
.bento .svc::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 300ms;
  background: radial-gradient(380px circle at var(--sx, -999px) var(--sy, -999px), var(--accent-soft), transparent 70%); }
.bento:hover .svc::before, .bento:hover .svc::after { opacity: 1; }
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .svc { grid-column: auto !important; grid-row: auto !important; }
  .bento .b-pentest { grid-column: 1 / 3 !important; }
}
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .bento .b-pentest { grid-column: auto !important; } }

/* ---- 7b · live Yerevan clock --------------------------------------- */
html[data-variant~="clock"] .v-clock { display: flex; }
.clock-card { margin-top: 32px; max-width: 460px; gap: 22px; align-items: center; padding: 22px; border-radius: var(--radius-l);
  background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow); }
.clock-face { width: 128px; height: 128px; flex: none; }
.clock-face .tick { stroke: var(--content-muted); stroke-opacity: .5; stroke-width: 1.5; stroke-linecap: round; }
.clock-face .tick.major { stroke: var(--content); stroke-opacity: .8; stroke-width: 2.5; }
.clock-face .hh, .clock-face .mh { stroke: var(--content); stroke-linecap: round; }
.clock-face .sh { stroke: var(--accent); stroke-linecap: round; }
.clock-info .t { font-family: var(--font-display); font-weight: 750; font-size: 2rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.clock-info .z { color: var(--content-muted); font-size: .875rem; margin-top: 2px; }
.badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 650; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge.open { color: var(--accent); background: var(--accent-soft); }
.badge.closed { color: var(--content-muted); background: var(--hairline); }
.clock-info .yours { margin-top: 8px; font-size: .8125rem; color: var(--content-muted); }

/* ---- 8b · graphite + teal (from the logo's shield) ----------------- */
/* Neutral graphite surfaces instead of green-black; graphite buttons in light mode (12.4:1); teal kept for accents. */
:root[data-variant~="graphite"] {
  --surface: #F6F6F4; --surface-raised: #FFFFFF; --surface-sunken: #ECEBE8; --content: #1C1B1B; --content-muted: #55524F;
  --hairline: rgba(28, 27, 27, .10); --accent: #0E7A5F; --accent-ink: #FFFFFF; --accent-soft: rgba(43, 185, 152, .13);
  --contour: rgba(55, 52, 53, .13); --glass: rgba(255, 255, 255, .7);
}
@media (prefers-color-scheme: dark) {
  :root[data-variant~="graphite"]:not([data-theme="light"]) {
    --surface: #141313; --surface-raised: #1E1D1D; --surface-sunken: #0E0D0D; --content: #EDEBEA; --content-muted: #A3A09E;
    --hairline: rgba(237, 235, 234, .10); --accent: #2BB998; --accent-ink: #062A20; --accent-soft: rgba(43, 185, 152, .13);
    --contour: rgba(237, 235, 234, .07); --glass: rgba(30, 29, 29, .66);
  }
}
:root[data-variant~="graphite"][data-theme="dark"] {
  --surface: #141313; --surface-raised: #1E1D1D; --surface-sunken: #0E0D0D; --content: #EDEBEA; --content-muted: #A3A09E;
  --hairline: rgba(237, 235, 234, .10); --accent: #2BB998; --accent-ink: #062A20; --accent-soft: rgba(43, 185, 152, .13);
  --contour: rgba(237, 235, 234, .07); --glass: rgba(30, 29, 29, .66);
}
@media (prefers-color-scheme: light) {
  :root[data-variant~="graphite"]:not([data-theme="dark"]) .btn-primary { background: #373435; color: #FFFFFF; box-shadow: 0 6px 16px -6px rgba(55, 52, 53, .6); }
}
:root[data-variant~="graphite"][data-theme="light"] .btn-primary { background: #373435; color: #FFFFFF; box-shadow: 0 6px 16px -6px rgba(55, 52, 53, .6); }
:root[data-variant~="graphite"] .btn-primary:hover { filter: none; background: var(--accent); color: var(--accent-ink); }

/* ==================================================================
   LIQUID GLASS — functional layer only (HIG: never on content).
   Applied to: the top bar, the phone menu, the findings deck's ◀ ▶
   buttons. One tinted primary action ("Get a quote" in the bar).
   Recipe per element: translucent fill + backdrop blur & saturation,
   SVG refraction at the rim (Chromium; frosted fallback elsewhere),
   a specular rim (bright top-left, soft bottom-right), a sheen that
   follows the pointer, and a gentle swell on press.
   ================================================================== */
:root {
  --lg-fill: rgba(255, 255, 255, .62);
  --lg-fill-hi: rgba(255, 255, 255, .72);         /* the active-section droplet */
  --lg-rim: rgba(255, 255, 255, .62);
  --lg-spec: rgba(255, 255, 255, .95);
  --lg-spec-low: rgba(255, 255, 255, .45);
  --lg-shade: rgba(14, 20, 16, .10);
  --lg-float: 0 10px 30px -10px rgba(14, 20, 16, .28), 0 2px 6px rgba(14, 20, 16, .06);
  --lg-sheen: rgba(255, 255, 255, .55);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --lg-fill: rgba(24, 31, 27, .64); --lg-fill-hi: rgba(255, 255, 255, .14);
    --lg-rim: rgba(255, 255, 255, .13); --lg-spec: rgba(255, 255, 255, .42); --lg-spec-low: rgba(255, 255, 255, .10);
    --lg-shade: rgba(0, 0, 0, .35); --lg-float: 0 12px 34px -10px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .35); --lg-sheen: rgba(255, 255, 255, .16);
  }
}
:root[data-theme="dark"] {
  --lg-fill: rgba(24, 31, 27, .64); --lg-fill-hi: rgba(255, 255, 255, .14);
  --lg-rim: rgba(255, 255, 255, .13); --lg-spec: rgba(255, 255, 255, .42); --lg-spec-low: rgba(255, 255, 255, .10);
  --lg-shade: rgba(0, 0, 0, .35); --lg-float: 0 12px 34px -10px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .35); --lg-sheen: rgba(255, 255, 255, .16);
}

.glass {
  background: var(--lg-fill) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.7) brightness(1.04);
          backdrop-filter: blur(22px) saturate(1.7) brightness(1.04);
  box-shadow:
    inset 0 0 0 1px var(--lg-rim),                       /* hairline rim */
    inset 1.5px 1.5px 0 -0.5px var(--lg-spec),           /* light catching the top-left edge */
    inset -1px -1.5px 0 -0.5px var(--lg-spec-low),       /* softer return on the bottom-right */
    inset 0 -10px 18px -14px var(--lg-shade),            /* a little body at the bottom of the lens */
    var(--lg-float) !important;
  isolation: isolate;
}
/* refraction: Chromium can run an SVG filter on the backdrop; set from script per element */
.glass.lg-refract { -webkit-backdrop-filter: var(--lg-filter); backdrop-filter: var(--lg-filter); }
/* pointer sheen: a soft light that drifts with the cursor across the glass */
.glass .lg-sheen { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; opacity: var(--go, 0);
  background: radial-gradient(160px circle at var(--gx, 50%) var(--gy, 0%), var(--lg-sheen), transparent 70%);
  mix-blend-mode: soft-light; transition: opacity 400ms; }
.glass > :not(.lg-sheen) { position: relative; z-index: 1; }
.nav-bar.glass > .nav-links-wrap { position: relative; }
/* buttons swell a little when pressed, like Liquid Glass controls */
.glass-press { transition: transform 260ms cubic-bezier(.3, 1.5, .5, 1), box-shadow 260ms; }
.glass-press:active { transform: scale(1.06); }
/* the deck's ◀ ▶ buttons */
.round.glass { color: var(--content); }
.round.glass:hover { background: var(--lg-fill-hi) !important; }
/* the one tinted primary action: colour lives in the glass, the label stays legible */
.btn-primary.glass-tint {
  background: color-mix(in srgb, var(--accent) 96%, transparent) !important;
  -webkit-backdrop-filter: blur(8px) saturate(1.6); backdrop-filter: blur(8px) saturate(1.6);
  box-shadow: inset 1.5px 1.5px 0 -0.5px rgba(255, 255, 255, .55), inset -1px -1.5px 0 -0.5px rgba(255, 255, 255, .18),
    inset 0 -8px 14px -10px rgba(0, 0, 0, .25), 0 6px 18px -6px color-mix(in srgb, var(--accent) 70%, transparent) !important;
}
/* the active-section indicator becomes a glass droplet (stretches as it slides; see drawPill) */
.nav-pill { background: var(--lg-fill-hi) !important; transform-origin: 50% 50%;
  box-shadow: inset 0 0 0 1px var(--lg-rim), inset 1px 1.5px 0 -0.5px var(--lg-spec), inset -1px -1px 0 -0.5px var(--lg-spec-low), 0 2px 8px -2px var(--lg-shade) !important; }
/* the bar's own accent ring while compact, kept on top of the glass edges */
html[data-motion~="shrinknav"] .nav-bar.glass { box-shadow:
    inset 0 0 0 1px var(--lg-rim), inset 0 0 0 1px color-mix(in srgb, var(--accent) calc(var(--nc, 0) * 22%), transparent),
    inset 1.5px 1.5px 0 -0.5px var(--lg-spec), inset -1px -1.5px 0 -0.5px var(--lg-spec-low), inset 0 -10px 18px -14px var(--lg-shade), var(--lg-float) !important; }
/* scroll edge effect: content softly blurs and fades as it passes under the floating bar */
.edge-fade { position: fixed; left: 0; right: 0; top: 0; height: 104px; z-index: 49; pointer-events: none; opacity: 0; transition: opacity 300ms;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, color-mix(in srgb, var(--surface) 92%, transparent) 20%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent); mask-image: linear-gradient(to bottom, #000 45%, transparent); }
.edge-fade.on { opacity: 1; }
@media (prefers-reduced-transparency: reduce) {
  .glass, .btn-primary.glass-tint { background: var(--surface-raised) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .btn-primary.glass-tint { background: var(--accent) !important; }
  .glass .lg-sheen, .edge-fade { display: none; }
}
@media (prefers-contrast: more) {
  .glass { box-shadow: inset 0 0 0 1.5px var(--content), var(--lg-float) !important; background: var(--surface-raised) !important; }
}
@media (prefers-reduced-motion: reduce) {
  .glass-press:active { transform: none; }
  .glass .lg-sheen { display: none; }
}

/* ==================================================================
   Attack surface: the hero signature. A calm product-style panel (not glass:
   it's content), with the systems placed around the client's core. A scan
   sweep drives the story; every state change is a class, so CSS does the motion.
   ================================================================== */
.deck-wrap.is-off { display: none; }
.sf-wrap { margin: 0; position: relative; }
.sf { position: relative; border-radius: var(--radius-l); background: var(--surface-raised); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow-deep); }
.sf-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px 0; }
.sf-title { font-family: var(--font-display); font-weight: 650; font-size: .9375rem; letter-spacing: -0.01em; }
.sf-target { color: var(--content-muted); font-size: .75rem; }
.sf-phase { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 999px;
  background: var(--surface-sunken); font-size: .75rem; font-weight: 600; color: var(--content-muted); transition: color 300ms, background-color 300ms; }
.sf-phase i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sf[data-phase="test"] .sf-phase { color: var(--sev-critical); }
.sf[data-phase="report"] .sf-phase { color: var(--content); }
.sf[data-phase="retest"] .sf-phase, .sf[data-phase="done"] .sf-phase { color: var(--accent); background: var(--accent-soft); }
.sf[data-phase="recon"] .sf-phase i, .sf[data-phase="test"] .sf-phase i, .sf[data-phase="retest"] .sf-phase i { animation: sf-blink 1s ease-in-out infinite; }
@keyframes sf-blink { 50% { opacity: .3; } }

.sf-stage { position: relative; height: 380px; margin: 6px 0 0;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--content) 9%, transparent) 1px, transparent 1.5px) 0 0 / 18px 18px; }
.sf-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;   /* dot grid fades toward the edges */
  background: radial-gradient(closest-side, transparent 55%, var(--surface-raised) 100%); }
.sf-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sf-lines .orbit { fill: none; stroke: var(--hairline); stroke-width: 1; }
.sf-lines .spoke { fill: none; stroke: var(--content-muted); stroke-opacity: .28; stroke-width: 1; stroke-dasharray: 2 4;
  stroke-dashoffset: 0; opacity: 0; transition: opacity 500ms, stroke 400ms, stroke-opacity 400ms; }
.sf-lines .spoke.on { opacity: 1; }
.sf-lines .spoke.hit { stroke: var(--sev-c, var(--sev-high)); stroke-opacity: .7; stroke-dasharray: none; }
.sf-lines .spoke.fixed { stroke: var(--accent); stroke-opacity: .55; stroke-dasharray: none; }
/* the sweep: a soft wedge whose leading edge is the brightest; colour follows the phase */
.sf-sweep { position: absolute; left: 50%; top: 50%; width: 760px; height: 760px; margin: -380px 0 0 -380px; border-radius: 50%; pointer-events: none;
  color: var(--content-muted); opacity: 0; transition: opacity 600ms, color 600ms; will-change: transform;
  background: conic-gradient(from 0deg, transparent 0deg 290deg, color-mix(in srgb, currentColor 22%, transparent) 356deg, color-mix(in srgb, currentColor 55%, transparent) 359.5deg, transparent 360deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 62%); mask-image: radial-gradient(closest-side, #000 30%, transparent 62%); }
.sf[data-phase="recon"] .sf-sweep, .sf[data-phase="test"] .sf-sweep, .sf[data-phase="retest"] .sf-sweep { opacity: .9; }
.sf[data-phase="test"] .sf-sweep { color: var(--sev-critical); }
.sf[data-phase="retest"] .sf-sweep { color: var(--accent); }
.sf-core { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; z-index: 2;
  background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--hairline), 0 6px 20px -8px rgba(0,0,0,.35); }
.sf-core img { width: 28px; height: auto; }
.sf-core::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid var(--accent); opacity: 0; }
.sf[data-phase="done"] .sf-core::before { animation: sf-ping 1.6s cubic-bezier(.2,.8,.2,1) 2; }
@keyframes sf-ping { 0% { transform: scale(.85); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

/* systems: quiet pills that light up as the sweep finds them */
.sf-node { position: absolute; left: 0; top: 0; z-index: 3; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px 0 9px;
  border: 0; border-radius: 999px; background: var(--surface-raised); color: var(--content); cursor: pointer; white-space: nowrap;
  font: 600 .78125rem/1 var(--font); letter-spacing: -0.005em; -webkit-tap-highlight-color: transparent;
  box-shadow: inset 0 0 0 1px var(--hairline), 0 4px 14px -8px rgba(0,0,0,.35);
  translate: var(--x) var(--y); opacity: .32; scale: .94; filter: saturate(0);
  transition: opacity 420ms, scale 520ms cubic-bezier(.34,1.5,.5,1), filter 420ms, box-shadow 420ms, background-color 300ms; }
.sf-node svg { width: 15px; height: 15px; flex: none; color: var(--content-muted); }
.sf-node .st { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--content-muted); opacity: .45; flex: none; transition: background-color 300ms, opacity 300ms; }
.sf-node.seen { opacity: 1; scale: 1; filter: none; }
.sf-node.seen .st { opacity: .8; }
.sf-node.hit { box-shadow: inset 0 0 0 1.5px var(--sev-c), 0 6px 18px -8px var(--sev-c); }
.sf-node.hit .st { background: var(--sev-c); opacity: 1; }
.sf-node.hit .st::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--sev-c); animation: sf-ping 1.4s ease-out 2; }
.sf-node.fixed { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 60%, transparent), 0 4px 14px -8px rgba(0,0,0,.35); }
.sf-node.fixed .st { background: var(--accent); opacity: 1; }
.sf-node.fixed .st::after { animation: none; border: 0; }
.sf-node.clean.done .st { background: var(--accent); opacity: .55; }
.sf-node:hover, .sf-node:focus-visible, .sf-node.peek { background: var(--surface-sunken); }
.sf-node:focus-visible { outline-offset: 2px; }
.sf-node[data-sev="Critical"] { --sev-c: var(--sev-critical); }
.sf-node[data-sev="High"]     { --sev-c: var(--sev-high); }
.sf-node[data-sev="Medium"]   { --sev-c: var(--sev-medium); }
.sf-node[data-sev="Low"]      { --sev-c: var(--sev-low); }

/* detail card: what we found on that system */
.sf-detail { position: absolute; left: 0; top: 0; z-index: 4; width: min(270px, calc(100% - 24px)); padding: 13px 14px 12px; border-radius: 16px; pointer-events: none;
  background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow-deep);
  opacity: 0; scale: .96; transform-origin: var(--ox, 50%) var(--oy, 0%); transition: opacity 180ms, scale 260ms cubic-bezier(.3,1.4,.5,1); }
.sf-detail.on { opacity: 1; scale: 1; }
.sf-detail .k { display: flex; align-items: center; gap: 8px; font-size: .6875rem; font-weight: 650; color: var(--content-muted); }
.sf-detail .sev { color: var(--sev-c, var(--accent)); display: inline-flex; align-items: center; gap: 5px; }
.sf-detail .sev::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sf-detail .k .mono { margin-left: auto; font-size: .6875rem; }
.sf-detail b { display: block; margin: 7px 0 3px; font-size: .9063rem; line-height: 1.3; letter-spacing: -0.01em; }
.sf-detail p { margin: 0; font-size: .75rem; color: var(--content-muted); line-height: 1.4; }
.sf-detail .ok { margin-top: 8px; display: flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; color: var(--accent); }

/* footer: four steps that fill as the engagement runs, plus a one-line log */
.sf-foot { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: center; padding: 14px 18px 16px; border-top: 1px solid var(--hairline); }
.sf-steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; list-style: none; margin: 0; padding: 0; }
.sf-steps li { display: grid; gap: 6px; font-size: .6875rem; font-weight: 600; color: var(--content-muted); transition: color 300ms; }
.sf-steps i { position: relative; display: block; height: 3px; border-radius: 3px; background: var(--surface-sunken); overflow: hidden; }
.sf-steps i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.sf-steps li.now { color: var(--content); }
.sf-log { margin: 0; height: 1.4em; overflow: hidden; font-size: .75rem; color: var(--content-muted); }
.sf-log span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; will-change: transform, opacity; }
.sf-replay { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 10px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--surface-sunken); color: var(--content); font: 600 .75rem/1 var(--font); opacity: 0; pointer-events: none; transition: opacity 300ms, scale 200ms; }
.sf-replay svg { width: 15px; height: 15px; }
.sf-replay:active { scale: .95; }
.sf[data-phase="done"] .sf-replay { opacity: 1; pointer-events: auto; }
@media (max-width: 520px) {
  .sf-stage { height: 340px; }
  .sf-node { height: 28px; padding: 0 10px 0 8px; font-size: .71875rem; gap: 6px; }
  .sf-node svg { display: none; }
  .sf-target { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sf-node, .sf-detail, .sf-sweep { transition: none; }
  .sf-node.hit .st::after, .sf[data-phase="done"] .sf-core::before, .sf-phase i { animation: none !important; }
}

/* ==================================================================
   Glass pointer (iPadOS-style). A small Liquid Glass disc replaces the arrow
   on desktop; over links and buttons it morphs into their shape and the
   element drifts a few px toward you; over text it becomes an I-beam.
   ================================================================== */
.gp { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; width: 20px; height: 20px; border-radius: 10px; opacity: 0;
  background: color-mix(in srgb, var(--content) 16%, transparent);
  -webkit-backdrop-filter: blur(2px) saturate(1.8) brightness(1.06); backdrop-filter: blur(2px) saturate(1.8) brightness(1.06);
  box-shadow: inset 0 0 0 1px var(--lg-rim), inset 1px 1.5px 0 -0.5px var(--lg-spec), inset -1px -1px 0 -0.5px var(--lg-spec-low), 0 3px 10px -3px rgba(0,0,0,.28);
  transition: opacity 200ms, background-color 220ms; will-change: transform, width, height; }
.gp.on { opacity: 1; }
.gp.morph { background: color-mix(in srgb, var(--content) 7%, transparent); -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 0 0 1px var(--lg-rim), inset 1px 1.5px 0 -0.5px var(--lg-spec-low), 0 6px 18px -8px rgba(0,0,0,.3); }
.gp.beam { background: color-mix(in srgb, var(--content) 70%, transparent); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.gp.down { background: color-mix(in srgb, var(--content) 26%, transparent); }
html.gp-on, html.gp-on * { cursor: none !important; }
/* the glass pointer is the hover highlight now; don't double it with the elements' own fills */
html.gp-on .nav-links a:hover, html.gp-on .theme-btn:hover { background: transparent; }
html.gp-on input, html.gp-on textarea, html.gp-on select, html.gp-on [contenteditable] { cursor: auto !important; }

/* ------------------------------------------------------------------ accessibility preferences (§14) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .btn, .svc, .picks label { transition: background-color 150ms, color 150ms; }
  .btn:active, .picks label:active { --press: 1; transform: none; }
  .svc:hover { --lift: 0px; }
  .steps li.reached::before { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav-bar, .menu-pop { background: var(--surface-raised); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
