/*
  Opportunity Tracker AI — marketing site styles.
  Tokens mirror apps/web/src/index.css :root (one product-level system); the
  marketing accent is the logo blue.
  The file name carries a version (site-v3.css) because assets/** is served
  "immutable": change the content → bump the name and the <link> in every page.

  Motion rules (no JavaScript is allowed by the CSP, so all of this is CSS):
  - Every animated element's un-animated style is its FINAL state. All
    animation lives inside @media (prefers-reduced-motion: no-preference),
    so reduced-motion users and old browsers get a complete static page.
  - Scroll reveals use animation-timeline: view() behind @supports; without
    support the content is simply visible.
  - One decelerating curve (--ease, the product's), no bounce, no parallax.
  - Scenes that tell a story share one clock (--loop) and one duration, so
    their keyframe percentages line up.
*/
:root {
  --bg: #f8fafc;
  --bg-raised: #ffffff;
  --bg-sunk: #f1f5f9;
  --bg-hover: #e2e8f0;
  --ink: #1f2937;
  --ink-2: #374151;
  --ink-3: #6b7280;
  --ink-4: #9ca3af;
  --line: #e5e7eb;
  --line-2: #d1d5db;
  --brand: #1e6cb8;
  --brand-ink: #ffffff;
  --brand-soft: #e0edf9;
  --pos: #16a34a;
  --pos-soft: #dcfce7;
  --neg: #dc2626;
  --neg-soft: #fee2e2;
  --avatar: #e2e8f0;

  --stage-prospecting: #475569; --stage-prospecting-bg: #f1f5f9;
  --stage-qualifying:  #0369a1; --stage-qualifying-bg:  #e0f2fe;
  --stage-proposal:    #1d4ed8; --stage-proposal-bg:    #dbeafe;
  --stage-won:         #15803d; --stage-won-bg:         #dcfce7;
  --stage-lost:        #b91c1c; --stage-lost-bg:        #fee2e2;
  --stage-hold:        #52525b; --stage-hold-bg:        #f4f4f5;
  --stage-cancelled:   #b45309; --stage-cancelled-bg:   #fef3c7;

  --radar-line: rgba(30, 108, 184, .16);
  --radar-sweep: rgba(30, 108, 184, .1);
  --dot: rgba(107, 114, 128, .28);
  --scrim: rgba(15, 23, 42, .16);
  --code-bg: #0f172a;
  --code-line: #1e293b;

  --font-sans: 'Nunito Sans', 'Avenir', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-display: 'Barlow Condensed', 'Nunito Sans', sans-serif;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-2: 0 4px 14px rgba(16,24,40,.06), 0 1px 2px rgba(16,24,40,.04);
  --shadow-pop: 0 18px 50px -12px rgba(16,24,40,.2), 0 4px 10px rgba(16,24,40,.06);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --max: 1160px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --bg-raised: #111a2e;
    --bg-sunk: #0e1627;
    --bg-hover: #1e293b;
    --ink: #e5e7eb;
    --ink-2: #cbd5e1;
    --ink-3: #94a3b8;
    --ink-4: #64748b;
    --line: #1e293b;
    --line-2: #334155;
    --brand: #4c9be0;
    --brand-ink: #0b1220;
    --brand-soft: #13284a;
    --pos: #4ade80;
    --pos-soft: #0f2e1c;
    --neg: #f87171;
    --neg-soft: #3b1515;
    --avatar: #1e293b;
    --stage-prospecting: #cbd5e1; --stage-prospecting-bg: #1e293b;
    --stage-qualifying:  #7dd3fc; --stage-qualifying-bg:  #0c2a3f;
    --stage-proposal:    #93c5fd; --stage-proposal-bg:    #172554;
    --stage-won:         #86efac; --stage-won-bg:         #0f2e1c;
    --stage-lost:        #fca5a5; --stage-lost-bg:        #3b1515;
    --stage-hold:        #d4d4d8; --stage-hold-bg:        #27272a;
    --stage-cancelled:   #fcd34d; --stage-cancelled-bg:   #3a2a0a;
    --radar-line: rgba(76, 155, 224, .16);
    --radar-sweep: rgba(76, 155, 224, .09);
    --dot: rgba(148, 163, 184, .16);
    --scrim: rgba(0, 0, 0, .4);
    --code-bg: #070d18;
    --shadow-2: 0 1px 2px rgba(0,0,0,.4);
    --shadow-pop: 0 18px 50px -12px rgba(0,0,0,.6), 0 0 0 1px rgba(148,163,184,.06);
  }
  .logo { background: #fff; border-radius: 6px; padding: 4px 6px; }
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 900; letter-spacing: -.025em; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -.015em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-2); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
/* Inline SVG icons: single stroke, round caps, inherit text color (brand guide §06). */
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--bg-raised); padding: 8px 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { height: 40px; width: auto; }
.nav { display: none; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--brand); }
.site-header .motion-toggle { margin-left: auto; }
.site-header .btn { margin-left: 0; }
.site-header .wrap { gap: 12px; }
@media (min-width: 900px) {
  .site-header .wrap { gap: 24px; }
  .nav { display: flex; }
  .site-header .motion-toggle { margin-left: 0; }
}

.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; }

/* Pause control (WCAG 2.2.2). A checkbox outside any form, so the CSP's
   form-action 'none' does not apply; :has() switches every animation off and
   the page falls back to its static final state. Hidden when the visitor
   already asked for reduced motion, since nothing moves then. */
.motion-toggle { position: relative; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius); border: 1px solid var(--line-2); color: var(--ink-3); cursor: pointer; }
.motion-toggle:hover { color: var(--brand); border-color: var(--brand); }
.motion-toggle:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 3px; }
.motion-toggle input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.motion-toggle svg { width: 16px; height: 16px; stroke-width: 2; pointer-events: none; }
.motion-toggle .ico-play { display: none; }
.motion-toggle input:checked ~ .ico-pause { display: none; }
.motion-toggle input:checked ~ .ico-play { display: block; }
@media (prefers-reduced-motion: reduce) { .motion-toggle { display: none; } }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius);
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s, transform .12s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn-primary:hover { background: color-mix(in srgb, var(--brand) 86%, #000); }
.btn-ghost { background: var(--bg-raised); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 8px 14px; font-size: 14px; box-shadow: none; }
.btn-light { background: #fff; color: #0f2a4a; }
.btn-light:hover { background: #e0edf9; }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ----------------------------------------------------------- shared bits */
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fine { font-size: 14px; color: var(--ink-3); margin-top: 18px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 999px; padding: 1px 8px; margin-left: 6px; vertical-align: 2px; }

.chip {
  --c: var(--stage-prospecting); --cb: var(--stage-prospecting-bg);
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px;
  border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1; white-space: nowrap;
  color: var(--c); background: var(--cb);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.st-prp { --c: var(--stage-proposal); --cb: var(--stage-proposal-bg); }
.st-won { --c: var(--stage-won); --cb: var(--stage-won-bg); }
.st-lost { --c: var(--stage-lost); --cb: var(--stage-lost-bg); }
.st-hold { --c: var(--stage-hold); --cb: var(--stage-hold-bg); }
.st-cancel { --c: var(--stage-cancelled); --cb: var(--stage-cancelled-bg); }

.icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center;
}
.icon svg { width: 22px; height: 22px; }
.ok { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--pos-soft); color: var(--pos); display: grid; place-items: center; }
.ok svg { width: 16px; height: 16px; stroke-width: 2.4; }

/* Two values stacked in one grid cell; the un-animated state shows .now. */
.swap { display: inline-grid; overflow: hidden; vertical-align: bottom; }
.swap > span { grid-area: 1 / 1; }
.swap > .was { opacity: 0; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero > .wrap { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) {
  .hero { padding: 88px 0 104px; }
  .hero > .wrap { grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr); gap: 56px; }
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.6px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 65% 70% at 70% 45%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 65% 70% at 70% 45%, #000 15%, transparent 72%);
}
.radar { position: absolute; width: 640px; aspect-ratio: 1; left: 50%; top: 72%; transform: translate(-50%, -50%); }
@media (min-width: 1000px) { .radar { width: 920px; left: 74%; top: 48%; } }
.radar .ring, .cta-radar .ring { position: absolute; border-radius: 50%; border: 1px solid var(--radar-line); }
.ring.r1 { inset: 0; }
.ring.r2 { inset: 12.5%; }
.ring.r3 { inset: 25%; }
.ring.r4 { inset: 37.5%; border-style: dashed; }
.radar .cross::before, .radar .cross::after { content: ""; position: absolute; background: var(--radar-line); }
.radar .cross::before { left: 0; right: 0; top: 50%; height: 1px; }
.radar .cross::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.radar .cross { position: absolute; inset: 0; }
.sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg 290deg, var(--radar-sweep) 360deg); opacity: 0; }
.blip { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--brand); opacity: .35; }
.blip::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--brand); opacity: 0; }
/* Each blip sits at (angle, radius) from the center; its delay is angle/360 of
   the 12 s sweep, so it lights as the beam passes over it. */
.blip.b1 { left: 73%;   top: 30.7%; } /*  50°, r 30% */
.blip.b2 { left: 75.7%; top: 80.6%; } /* 140°, r 40% */
.blip.b3 { left: 33.1%; top: 64.1%; } /* 230°, r 22% */
.blip.b4 { left: 25.3%; top: 25.3%; } /* 315°, r 35% */

.hero-copy { position: relative; z-index: 1; }
.hl { position: relative; color: var(--brand); white-space: nowrap; }
.swash { position: absolute; left: -2%; bottom: -.2em; width: 104%; height: .42em; stroke: var(--brand); stroke-width: 3; opacity: .45; overflow: visible; }
.swash path { vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }

/* The product mock */
.scene { position: relative; z-index: 1; padding: 0 0 88px; }
.mock {
  position: relative; container-type: inline-size;
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop); overflow: hidden; font-size: 12px; line-height: 1.35;
}
.mock h4 { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 10px; }
.mock-bar { position: relative; display: flex; align-items: center; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--bg-sunk); }
.lights { display: flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.url {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px; max-width: 60%;
  padding: 3px 12px; border-radius: 999px; background: var(--bg-raised); border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden;
}
.url svg { width: 11px; height: 11px; flex: none; }
.mock-body { position: relative; overflow: hidden; }
.mock-nav { display: flex; align-items: center; gap: 4px; padding: 8px 14px; border-bottom: 1px solid var(--line); }
.mock-nav .mark { width: 20px; height: 20px; color: var(--brand); stroke-width: 1.8; margin-right: 8px; }
.mock-nav .mark .fill { fill: currentColor; }
.tab { padding: 4px 8px; border-radius: 6px; color: var(--ink-3); font-weight: 600; font-size: 11px; }
.tab.on { color: var(--ink); background: var(--bg-sunk); }
.search { margin-left: auto; width: 26%; height: 22px; border-radius: 7px; background: var(--bg-sunk); border: 1px solid var(--line); }
@container (max-width: 420px) { .tab:nth-of-type(n+3) { display: none; } }

.dash { padding: 14px; display: grid; gap: 12px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; background: var(--bg-raised); }
.kpi small { display: block; color: var(--ink-3); font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--ink); line-height: 1.15; }
@container (max-width: 420px) { .kpi b { font-size: 20px; } .kpi small { font-size: 8.5px; letter-spacing: .03em; } .activity .verb { display: none; } }
.dash-grid { display: grid; gap: 12px; }
@container (min-width: 440px) { .dash-grid { grid-template-columns: 1fr 1fr; } }
.mcard { border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px 12px; min-width: 0; }

.activity .act { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 8px; align-items: center; height: 28px; font-size: 11px; color: var(--ink-3); overflow: hidden; }
.activity .act + .act { border-top: 1px solid var(--line); }
.activity .act > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.activity b { color: var(--ink); font-weight: 700; }
.activity .chip { height: 17px; padding: 0 6px; font-size: 10px; gap: 4px; vertical-align: 1px; }
.activity .chip::before { width: 5px; height: 5px; }
.activity small { font-size: 10px; }
.av-s { width: 20px; height: 20px; border-radius: 50%; background: var(--avatar); color: var(--ink-2); font-style: normal; font-weight: 800; font-size: 8px; display: grid; place-items: center; }
.hbar { display: grid; grid-template-columns: 64px 1fr 40px; gap: 8px; align-items: center; margin-top: 9px; font-size: 10.5px; color: var(--ink-3); }
.hbar .track { height: 8px; background: var(--bg-sunk); border-radius: 4px; overflow: hidden; }
.hbar .track i { display: block; height: 100%; border-radius: 4px; transform-origin: left; }
.hbar b { font-family: var(--font-mono); font-weight: 500; color: var(--ink-2); justify-self: end; font-size: 10.5px; }
.h-pro i { width: 20%; background: var(--stage-prospecting); }
.h-qua i { width: 36%; background: var(--stage-qualifying); }
.h-prp i { width: 66%; background: var(--stage-proposal); }

.mini-fc { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; height: 104px; align-items: end; }
.mc { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
.mc b { font-family: var(--font-mono); font-weight: 500; font-size: 9px; color: var(--ink-3); margin-bottom: 3px; white-space: nowrap; }
.mc .st { display: flex; flex-direction: column; gap: 1px; width: 18px; border-radius: 3px 3px 1px 1px; overflow: hidden; }
.mc .st i { display: block; }
.mc small { font-size: 9px; color: var(--ink-3); margin-top: 4px; }
.st .sp { background: var(--stage-prospecting); }
.st .sq { background: var(--stage-qualifying); }
.st .sr { background: var(--stage-proposal); }
.st .sw { background: var(--stage-won); }
/* Heights at 13 px per $1M of won + weighted open (min 2 px). */
.m1 .sp { height: 2px; } .m1 .sq { height: 4px; } .m1 .sr { height: 10px; } .m1 .sw { height: 52px; }
.m2 .sp { height: 2px; } .m2 .sq { height: 4px; } .m2 .sr { height: 4px; }
.m3 .sp { height: 4px; } .m3 .sq { height: 9px; } .m3 .sr { height: 18px; }
.m4 .sp { height: 4px; } .m4 .sq { height: 9px; } .m4 .sr { height: 12px; }
.m5 .sp { height: 5px; } .m5 .sq { height: 7px; } .m5 .sr { height: 5px; }

/* The opportunity editor: a centered modal on a blurred scrim, like the app's
   ModalShell. Hidden in its un-animated state. */
.scrim { position: absolute; inset: 0; background: var(--scrim); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; }
.modal {
  position: absolute; left: 50%; top: 50%; width: min(82%, 300px);
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-pop);
  opacity: 0; transform: translate(-50%, -50%) scale(.96);
}
.md-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.md-head b { font-size: 13px; font-weight: 800; color: var(--ink); }
.md-head .mono { font-size: 10px; color: var(--ink-3); }
.md-body { padding: 2px 14px 4px; }
.md-field { display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: center; gap: 8px; padding: 8px 0; }
.md-field + .md-field { border-top: 1px solid var(--line); }
.md-field > .lbl { color: var(--ink-3); font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.md-field > b { font-weight: 600; font-size: 11.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md-field > b.mono { font-weight: 500; }
.md-foot { display: flex; justify-content: flex-end; gap: 6px; padding: 9px 14px; border-top: 1px solid var(--line); background: var(--bg-sunk); border-radius: 0 0 12px 12px; }
.mbtn { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--bg-raised); color: var(--ink-2); font-size: 11px; font-weight: 700; }
.mbtn.primary { border-color: transparent; background: var(--brand); color: var(--brand-ink); }
.select { position: relative; display: inline-flex; align-items: center; gap: 4px; justify-self: start; padding: 3px 5px 3px 3px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg); }
.select > svg { width: 13px; height: 13px; color: var(--ink-3); }
.select .chip { height: 20px; font-size: 11px; padding: 0 8px; justify-self: start; }
.menu {
  position: absolute; z-index: 2; top: calc(100% + 4px); left: 0; width: 136px; padding: 4px;
  display: grid; background: var(--bg-raised); border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow-pop);
  opacity: 0; pointer-events: none;
}
.menu > span { position: relative; z-index: 1; height: 22px; line-height: 22px; padding: 0 8px; font-size: 11px; color: var(--ink-2); white-space: nowrap; }
.hilite { position: absolute; left: 4px; right: 4px; top: 4px; height: 22px; border-radius: 6px; background: var(--brand-soft); transform: translateY(66px); }

.float { position: absolute; z-index: 3; background: var(--bg-raised); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-pop); }
.ask { left: 12px; right: 12px; bottom: 0; padding: 12px; font-size: 13px; line-height: 1.45; }
@media (min-width: 560px) { .ask { right: auto; width: 320px; left: -20px; } }
.ask p { margin: 0; }
.ask .q { margin: 0 0 8px auto; width: fit-content; max-width: 88%; padding: 7px 12px; border-radius: 12px 12px 4px 12px; background: var(--brand); color: var(--brand-ink); font-weight: 700; }
.ask .a { padding: 8px 12px; border-radius: 12px 12px 12px 4px; background: var(--bg-sunk); color: var(--ink-2); }
.ask .a b { color: var(--ink); }
.dots3 { display: inline-flex; gap: 4px; padding: 10px 12px; border-radius: 12px 12px 12px 4px; background: var(--bg-sunk); opacity: 0; }
.dots3 i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }
.ask .dots3 { position: absolute; left: 12px; bottom: 12px; }

/* --------------------------------------------------------------- sections */
section { padding: 88px 0; scroll-margin-top: 68px; }
.alt { background: var(--bg-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p:last-child { margin-bottom: 0; }
.feature { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; } }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 32px; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-soft);
}
.checks li::after {
  content: ""; position: absolute; left: 6px; top: calc(.3em + 6px); width: 8px; height: 4px;
  border: solid var(--brand); border-width: 0 0 2px 2px; transform: rotate(-45deg);
}
.checks b { color: var(--ink); }
.grid-3 { display: grid; gap: 20px; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.tile { min-width: 0; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-2); transition: transform .18s, box-shadow .18s, border-color .18s; }
.tile:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: var(--shadow-pop); }
.alt .tile { background: var(--bg); }
.tile .icon { margin-bottom: 16px; }
.tile p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------ stage flow */
.flow-band { padding: 80px 0 88px; border-top: 1px solid var(--line); }
.flow { position: relative; max-width: 980px; margin: 0 auto; --dot: 30px; }
.flow::before {
  content: ""; position: absolute; top: calc(var(--dot) / 2 - 2px); left: 12.5%; right: 12.5%; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--stage-prospecting), var(--stage-qualifying), var(--stage-proposal), var(--stage-won));
  opacity: .4;
}
.flow-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.node { --nc: var(--stage-prospecting); position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 6px; }
.n-qua { --nc: var(--stage-qualifying); }
.n-prp { --nc: var(--stage-proposal); }
.n-won { --nc: var(--stage-won); }
.node-dot { width: var(--dot); height: var(--dot); border-radius: 50%; background: var(--bg); border: 3px solid var(--nc); box-shadow: 0 0 0 7px color-mix(in srgb, var(--nc) 14%, transparent); margin-bottom: 8px; }
.node-name { font-weight: 800; color: var(--ink); line-height: 1.25; }
.node-pct { font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1; color: var(--nc); }
.pip { display: none; position: absolute; z-index: 2; top: calc(var(--dot) / 2 - 6px); left: 12.5%; width: 75%; height: 12px; color: var(--stage-prospecting); pointer-events: none; }
.pip::before { content: ""; position: absolute; left: -6px; top: 0; width: 12px; height: 12px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 25%, transparent), 0 0 16px currentColor; }
@media (max-width: 719px) {
  .flow { max-width: 360px; }
  .flow::before { top: 32px; bottom: 32px; left: calc(var(--dot) / 2 - 2px); right: auto; width: 4px; height: auto; background: linear-gradient(180deg, var(--stage-prospecting), var(--stage-qualifying), var(--stage-proposal), var(--stage-won)); }
  .flow-track { grid-template-columns: 1fr; }
  .node { grid-template-columns: var(--dot) 1fr auto; justify-items: start; text-align: left; align-items: center; column-gap: 16px; height: 64px; }
  .node-dot { margin: 0; }
  .node-pct { font-size: 28px; justify-self: end; }
  .pip { top: 32px; left: calc(var(--dot) / 2 - 6px); width: 12px; height: calc(100% - 64px); }
  .pip::before { left: 0; top: -6px; }
}
.outcomes { margin: 48px auto 0; max-width: 860px; text-align: center; }
.outcomes-label { display: block; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.outcomes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .outcomes ul { grid-template-columns: repeat(3, 1fr); } }
.outcomes li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: 12px; font-size: 14px; color: var(--ink-2); text-align: left; }
.outcomes li .mono { font-weight: 600; color: var(--ink); white-space: nowrap; overflow-wrap: normal; }
.outcomes li > span:last-child { flex: 1; min-width: 0; }

/* ------------------------------------------------------ pipeline visuals */
.viz-stack { display: grid; gap: 18px; min-width: 0; }
.viz { min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; box-shadow: var(--shadow-2); }
.viz h4 { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin: 0; }
.viz-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-bottom: 18px; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 12px; color: var(--ink-3); }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.lg-won { background: var(--stage-won); } .lg-prp { background: var(--stage-proposal); } .lg-qua { background: var(--stage-qualifying); } .lg-pro { background: var(--stage-prospecting); }
.chart { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; height: 230px; }
.gridlines { position: absolute; inset: 18px 0 26px; display: grid; grid-template-rows: repeat(4, 1fr); pointer-events: none; }
.gridlines i { border-top: 1px dashed var(--line-2); opacity: .7; }
.bar { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
.bar b { font-family: var(--font-mono); font-weight: 500; font-size: 11px; color: var(--ink-2); margin-bottom: 6px; white-space: nowrap; }
.bar .stack { display: flex; flex-direction: column; gap: 2px; width: 100%; max-width: 46px; height: var(--h); border-radius: 6px 6px 2px 2px; overflow: hidden; transform-origin: bottom; }
.bar .stack i { flex: var(--f) 1 0; min-height: 0; }
.bar small { font-size: 12px; color: var(--ink-3); margin-top: 8px; }
.sg-won { --f: var(--won); background: var(--stage-won); }
.sg-prp { --f: var(--prp); background: var(--stage-proposal); }
.sg-qua { --f: var(--qua); background: var(--stage-qualifying); }
.sg-pro { --f: var(--pro); background: var(--stage-prospecting); }
/* Bar height: 17% per $1M. Segment weights follow the stage mix of each month:
   Won only where an award date has passed, early stages further out. */
.b1 { --h: 41%; --won: 7;  --prp: 1;   --qua: 0;   --pro: 0; }
.b2 { --h: 53%; --won: 4;  --prp: 4;   --qua: 1;   --pro: 0; }
.b3 { --h: 72%; --won: 0;  --prp: 5;   --qua: 3;   --pro: 1.5; }
.b4 { --h: 62%; --won: 0;  --prp: 3;   --qua: 3.5; --pro: 2; }
.b5 { --h: 48%; --won: 0;  --prp: 1.5; --qua: 3;   --pro: 3; }
.b6 { --h: 33%; --won: 0;  --prp: .5;  --qua: 2;   --pro: 3.5; }

.winrate .eq { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 18px 0 16px; color: var(--ink-3); }
.winrate .eq .chip { height: 30px; padding: 0 13px; font-size: 14px; }
.frac { display: inline-grid; justify-items: center; }
.frac .num { padding-bottom: 8px; }
.frac .den { display: flex; align-items: center; gap: 8px; padding-top: 8px; border-top: 2px solid var(--ink-3); }
.winrate .op { font-size: 22px; line-height: 1; }
.eq-label { font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.eq-note { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-size: 15px; color: var(--ink-2); }
.eq-note .chip { flex: none; margin-top: 1px; }
.struck { position: relative; }
.struck::after { content: ""; position: absolute; left: 20px; right: 8px; top: 50%; height: 2px; background: currentColor; transform-origin: left; }

/* -------------------------------------------------------------------- AI */
.ai-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .ai-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 56px; } }
.chat { min-width: 0; display: flex; flex-direction: column; background: var(--bg-raised); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-pop); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg-sunk); font-size: 15px; }
.chat-ico { width: 30px; height: 30px; border-radius: 9px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; }
.chat-ico svg { width: 17px; height: 17px; stroke-width: 1.8; }
.chat-scope { margin-left: auto; font-size: 12px; color: var(--ink-3); background: var(--bg-raised); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.chat-body { display: grid; gap: 14px; align-content: start; padding: 22px 18px; min-height: 340px; }
.msg p { margin: 0; }
.msg.me p { margin-left: auto; width: fit-content; max-width: 84%; padding: 10px 15px; border-radius: 16px 16px 4px 16px; background: var(--brand); color: var(--brand-ink); font-weight: 700; font-size: 15px; line-height: 1.45; }
.msg.bot { position: relative; }
.msg.bot .dots3 { position: absolute; left: 0; top: 0; }
.answer { max-width: 94%; padding: 13px 15px; border-radius: 16px 16px 16px 4px; background: var(--bg-sunk); border: 1px solid var(--line); }
.answer p { margin-bottom: 11px; font-size: 15px; color: var(--ink); line-height: 1.45; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rows li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 11px; background: var(--bg-raised); border: 1px solid var(--line); border-left: 3px solid var(--stage-proposal); border-radius: 9px; font-size: 13.5px; }
.rows .id, .rows .d { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.rows .nm { font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows .v { font-family: var(--font-mono); font-weight: 600; color: var(--ink); }
@media (max-width: 520px) { .rows li { grid-template-columns: minmax(0, 1fr) auto; } .rows .id, .rows .d { display: none; } }
.chat-input { display: flex; align-items: center; gap: 2px; margin: 0 18px 18px; padding: 9px 9px 9px 14px; border: 1px solid var(--line-2); border-radius: 12px; color: var(--ink-3); font-size: 14px; }
.caret { width: 2px; height: 17px; margin-left: 3px; background: var(--brand); }
.send { margin-left: auto; width: 30px; height: 30px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.send svg { width: 16px; height: 16px; stroke-width: 2; }

.channels { min-width: 0; }
.hub { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--bg-raised); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-2); }
.hub-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; }
.hub-ico svg { width: 22px; height: 22px; stroke-width: 1.8; }
.hub b { display: block; font-size: 16px; }
.hub small { display: block; color: var(--ink-3); font-size: 14px; }
.spokes { position: relative; list-style: none; margin: 0; padding: 0; }
/* Each item is its own stacking context while its reveal animation holds, so
   it is lifted above the pulses explicitly (z-index 1 over 0). */
.spokes > li:not(.pulse) { position: relative; z-index: 1; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px 0 0 16px; }
/* The connector: each item draws the line from its top to its icon, and from
   its icon down to the next item; the last item stops at its icon. */
.spokes > li:not(.pulse)::before, .spokes > li:not(.pulse)::after { content: ""; position: absolute; left: 37px; width: 2px; background: color-mix(in srgb, var(--brand) 40%, transparent); }
.spokes > li:not(.pulse)::before { top: 0; height: 22px; }
.spokes > li:not(.pulse)::after { top: 44px; bottom: 0; }
.spokes > li:nth-child(3)::after { display: none; }
.sp-ico { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-raised); border: 1px solid var(--line); color: var(--brand); display: grid; place-items: center; box-shadow: var(--shadow-2); }
.sp-ico svg { width: 21px; height: 21px; }
.spokes h3 { margin: 2px 0 4px; font-size: 1.08rem; }
.spokes p { margin: 0; font-size: 15.5px; }
.pulse { display: none; position: absolute; z-index: 0; left: 33px; top: 0; width: 10px; height: calc(100% - 60px); pointer-events: none; }
.pulse::before { content: ""; position: absolute; left: 0; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 12px var(--brand); }
.code {
  margin: 26px 0 0; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--code-line);
  background: var(--code-bg); color: #cbd5e1; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7;
  white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: var(--shadow-2);
}
.c-k { color: #7dd3fc; font-weight: 600; }
.c-h { color: #94a3b8; }
.c-s { color: #93c5fd; }
.c-v { color: #86efac; }
.c-n { color: #fcd34d; }

/* ---------------------------------------------------- events & contacts */
.event-scene { position: relative; min-width: 0; display: grid; gap: 14px; padding-bottom: 44px; }
.ev-card, .reg-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.ev-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; }
.ev-date { width: 54px; overflow: hidden; text-align: center; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-raised); }
.ev-date b { display: block; padding: 2px 0; background: var(--brand); color: var(--brand-ink); font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.ev-date span { display: block; padding: 2px 0 4px; font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 1.1; color: var(--ink); }
.ev-info { min-width: 0; }
.ev-info > b { display: block; font-size: 16px; line-height: 1.3; }
.ev-info > small { display: block; color: var(--ink-3); font-size: 13px; }
.ev-meta { display: flex; flex-wrap: wrap; gap: 2px 16px; margin-top: 4px; font-size: 13px; color: var(--ink-3); }
.ev-meta b { color: var(--ink); font-weight: 600; }
.avatars { display: flex; padding-left: 8px; }
.avatars i { width: 30px; height: 30px; margin-left: -8px; border-radius: 50%; border: 2px solid var(--bg); background: var(--avatar); color: var(--ink-2); font-style: normal; font-weight: 800; font-size: 10.5px; display: grid; place-items: center; }
@media (max-width: 480px) { .avatars { display: none; } .ev-card { grid-template-columns: auto minmax(0, 1fr); } }
.reg-card { overflow: hidden; }
.reg-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.reg-head > b { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.file { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--bg-sunk); color: var(--ink-3); font-size: 12px; }
.file svg { width: 14px; height: 14px; }
.reg-card ul { list-style: none; margin: 0; padding: 6px 8px 8px; }
.reg-card li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; }
.av { width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-style: normal; font-weight: 800; font-size: 11px; display: grid; place-items: center; }
.who { min-width: 0; font-weight: 700; font-size: 14.5px; line-height: 1.3; color: var(--ink); }
.who small { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-3); }
.add { position: relative; font-size: 12px; font-weight: 700; white-space: nowrap; color: var(--brand); }
.add:not(.flip), .flip > span { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent); }
.add.done, .flip > .now { color: var(--pos); border-color: color-mix(in srgb, var(--pos) 40%, transparent); background: var(--pos-soft); }
.add.done::before, .flip > .now::before { content: ""; width: 8px; height: 4px; margin: -3px 7px 0 1px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.flip { display: inline-grid; justify-items: end; }
.flip > span { grid-area: 1 / 1; }
.flip > .was { opacity: 0; }
.ev-link { position: absolute; z-index: 2; right: 14px; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; background: var(--bg-raised); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-pop); font-size: 13.5px; color: var(--ink-2); }
.ev-link b { color: var(--ink); }
.ev-link small { display: block; color: var(--ink-3); font-size: 12px; }

/* ---------------------------------------------------------------- mobile */
.mobile-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .mobile-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 72px; } }
.phone-wrap { position: relative; display: grid; place-items: center; padding: 12px 0; }
.phone-wrap::before { content: ""; position: absolute; width: 420px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 18%, transparent), transparent 68%); }
.phone { position: relative; width: 290px; max-width: 100%; aspect-ratio: 9 / 18.5; padding: 11px; border-radius: 46px; background: #0f172a; box-shadow: var(--shadow-pop), inset 0 0 0 2px #334155; }
.notch { position: absolute; z-index: 3; top: 20px; left: 50%; width: 84px; height: 24px; margin-left: -42px; border-radius: 999px; background: #000; }
.screen { position: relative; height: 100%; overflow: hidden; border-radius: 36px; background: var(--bg-raised); }
.scr { position: absolute; inset: 0; padding: 58px 16px 18px; }
.scr-scan { background: #0b1220; color: #e5e7eb; opacity: 0; }
.scr-title { text-align: center; font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.viewfinder { position: relative; height: 64%; border-radius: 18px; overflow: hidden; background: radial-gradient(ellipse at 50% 40%, #334155, #0f172a 75%); display: grid; place-items: center; }
.viewfinder::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; }
.biz { width: 84%; padding: 14px 14px 12px; border-radius: 6px; background: #f8fafc; color: #1f2937; box-shadow: 0 10px 30px rgba(0,0,0,.45); transform: rotate(-3deg); line-height: 1.35; }
.biz-mark { width: 20px; height: 20px; color: #1e6cb8; stroke-width: 2; margin-bottom: 8px; }
.biz b { display: block; font-size: 14px; }
.biz small { display: block; font-size: 10.5px; color: #4b5563; }
.biz small.mono { margin-top: 6px; font-size: 9px; }
.corner { position: absolute; width: 24px; height: 24px; border: 3px solid #4c9be0; }
.corner.tl { top: 12px; left: 12px; border-width: 3px 0 0 3px; border-radius: 8px 0 0 0; }
.corner.tr { top: 12px; right: 12px; border-width: 3px 3px 0 0; border-radius: 0 8px 0 0; }
.corner.bl { bottom: 12px; left: 12px; border-width: 0 0 3px 3px; border-radius: 0 0 0 8px; }
.corner.br { bottom: 12px; right: 12px; border-width: 0 3px 3px 0; border-radius: 0 0 8px 0; }
.scanline { position: absolute; inset: 0; display: none; }
.scanline::before { content: ""; position: absolute; left: 8%; right: 8%; top: 0; height: 2px; background: #4c9be0; box-shadow: 0 0 14px 3px rgba(76,155,224,.7); }
.shutter { display: block; width: 58px; height: 58px; margin: 22px auto 0; border-radius: 50%; border: 4px solid #e5e7eb; box-shadow: inset 0 0 0 4px #0b1220, inset 0 0 0 30px #e5e7eb; }
.scr-form { background: var(--bg-raised); }
.form-top { text-align: center; margin-bottom: 16px; }
.form-top b { color: var(--ink); font-size: 15px; }
.field { padding: 9px 12px; margin-bottom: 9px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg); }
.field small { display: block; color: var(--ink-3); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.field span { display: block; color: var(--ink); font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field span.mono { font-weight: 500; font-size: 11px; }
.field-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; color: var(--pos); font-size: 12.5px; font-weight: 700; }
.field-note svg { width: 15px; height: 15px; stroke-width: 2.4; }
.save-tri { display: grid; margin-top: 14px; }
.save-tri > span { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 42px; border-radius: 12px; font-weight: 800; font-size: 14px; }
.tri-was { background: var(--brand); color: var(--brand-ink); opacity: 0; }
.tri-now { background: var(--pos-soft); color: var(--pos); }
.tri-now svg { width: 16px; height: 16px; stroke-width: 2.4; }
.mobile-points { display: grid; gap: 28px; margin-top: 16px; }
.point { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; }
.point h3 { margin-top: 8px; }
.point p { margin-bottom: 0; }
.mail-card { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-raised); box-shadow: var(--shadow-2); max-width: 420px; }
.mail-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-bottom: 8px; font-size: 14px; }
.mail-head .mono { font-size: 12px; color: var(--ink-3); }
.mbar { display: grid; grid-template-columns: 76px 1fr 44px; gap: 10px; align-items: center; margin-top: 7px; font-size: 13px; color: var(--ink-3); }
.mbar .track { height: 8px; border-radius: 4px; background: var(--bg-sunk); overflow: hidden; }
.mbar .track i { display: block; height: 100%; border-radius: 4px; transform-origin: left; }
.mbar b { justify-self: end; font-weight: 600; color: var(--ink); font-size: 12.5px; }
.m-open i { width: 46%; background: var(--brand); }
.m-click i { width: 9%; background: var(--stage-qualifying); }
.m-out i { width: 2%; background: var(--ink-4); }

/* -------------------------------------------------------------- security */
.lanes { display: grid; grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr); align-items: stretch; margin-bottom: 36px; }
.lane { position: relative; padding: 18px 18px 52px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); box-shadow: var(--shadow-2); min-width: 0; }
.lane.mine { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 10%, transparent), var(--shadow-2); }
.lane.other { opacity: .72; }
.addr { display: inline-block; max-width: 100%; padding: 4px 10px; border-radius: 999px; background: var(--bg-sunk); border: 1px solid var(--line); font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lane.mine .addr { background: var(--brand-soft); color: var(--brand); border-color: transparent; }
.lane-rows { display: grid; gap: 9px; margin-top: 16px; }
.lane-rows i { position: relative; display: block; height: 30px; border-radius: 8px; background: var(--bg-sunk); border-left: 3px solid var(--stage-proposal); }
.lane-rows i::before, .lane-rows i::after { content: ""; position: absolute; top: 11px; height: 8px; border-radius: 4px; background: var(--line-2); }
.lane-rows i::before { left: 12px; width: 46%; }
.lane-rows i::after { right: 12px; width: 14%; opacity: .7; }
.lane-rows i:nth-child(2) { border-left-color: var(--stage-qualifying); width: 88%; }
.lane-rows i:nth-child(3) { border-left-color: var(--stage-won); width: 94%; }
.lane-rows i:nth-child(4) { border-left-color: var(--stage-prospecting); width: 76%; }
.lock { position: absolute; right: 16px; bottom: 14px; width: 30px; height: 30px; border-radius: 9px; background: var(--bg-sunk); color: var(--ink-3); display: grid; place-items: center; }
.lane.mine .lock { background: var(--brand); color: var(--brand-ink); }
.lock svg { width: 16px; height: 16px; stroke-width: 1.9; }
.wall { position: relative; display: grid; place-items: center; }
.wall::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 50%; width: 2px; margin-left: -1px; background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--neg) 45%, transparent) 0 8px, transparent 8px 14px); }
.deny { position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 50%; background: var(--neg-soft); color: var(--neg); display: grid; place-items: center; box-shadow: 0 0 0 6px var(--bg-raised); }
.deny svg { width: 16px; height: 16px; stroke-width: 2.4; }
.probe { display: none; position: absolute; z-index: 2; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 12px var(--brand); }
@media (max-width: 719px) {
  .lanes { grid-template-columns: 1fr; grid-template-rows: auto 70px auto; }
  .wall::before { top: 50%; bottom: auto; left: 8px; right: 8px; width: auto; height: 2px; margin: -1px 0 0; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--neg) 45%, transparent) 0 8px, transparent 8px 14px); }
}

/* ------------------------------------------------------- getting started */
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 36px; }
.steps li { position: relative; text-align: center; max-width: 340px; margin: 0 auto; }
.step-n { position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-family: var(--font-display); font-weight: 600; font-size: 24px; box-shadow: 0 0 0 8px var(--bg), 0 0 0 9px var(--line); }
.steps p { margin-bottom: 0; }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps::before { content: ""; position: absolute; top: 25px; left: 16.67%; right: 16.67%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 10px, transparent 10px 18px); }
}

/* ------------------------------------------------------------------- CTA */
.cta-section { padding: 24px 0 96px; }
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 64px 24px; border-radius: 24px; text-align: center; color: #fff;
  background: radial-gradient(ellipse 80% 120% at 85% 10%, #2b7fd0 0%, transparent 60%), linear-gradient(135deg, #0f2a4a, #123a66 55%, #1e6cb8);
  box-shadow: var(--shadow-pop);
}
.cta-panel h2 { color: #fff; }
.cta-panel .lede { margin: 0 auto; color: rgba(255,255,255,.82); }
.cta-panel .cta-row { justify-content: center; }
.cta-radar { position: absolute; z-index: -1; width: 620px; aspect-ratio: 1; right: -200px; top: 50%; transform: translateY(-50%); --radar-line: rgba(255,255,255,.14); --radar-sweep: rgba(255,255,255,.12); }
@media (max-width: 719px) { .cta-radar { right: -320px; } }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--ink-3); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--ink-3); }
.site-footer a:hover { color: var(--brand); }

/* 404 */
.not-found { padding: 96px 0; text-align: center; }
.not-found .logo { margin: 0 auto 32px; }
.not-found .lede { margin: 0 auto; }
.not-found .cta-row { justify-content: center; }

/* Release notes (/changelog) */
.release { padding: 64px 0 80px; }
.release .wrap { max-width: 800px; }
.release-day { margin-top: 44px; padding: 0; }
.release-day h2 { font-size: 1.35rem; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.release-day ul { margin: 0; padding-left: 22px; }
.release-day li { color: var(--ink-2); margin-bottom: 12px; }
.release-day li strong { color: var(--ink); }
.release-note { margin-top: 48px; font-size: 14px; color: var(--ink-3); }

/* ===================================================================== */
/*  MOTION                                                               */
/* ===================================================================== */
@media (prefers-reduced-motion: no-preference) {

  /* -- hero entrance + ambient radar -- */
  .hero-copy > * { animation: rise .8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .14s; }
  .hero-copy > :nth-child(4) { animation-delay: .22s; }
  .hero-copy > :nth-child(5) { animation-delay: .3s; }
  .scene { animation: rise 1s .2s var(--ease) both; }
  .swash path { animation: draw 1.1s .7s var(--ease) both; }

  .sweep { opacity: 1; animation: spin 12s linear infinite; }
  .blip { opacity: 0; animation: blip 12s linear infinite; }
  .blip::after { animation: ping 12s linear infinite; animation-delay: inherit; }
  .blip.b1 { animation-delay: 1.67s; }
  .blip.b2 { animation-delay: 4.67s; }
  .blip.b3 { animation-delay: 7.67s; }
  .blip.b4 { animation-delay: 10.5s; }

  /* -- hero story, 16 s --
      4–8%   editor opens              12–19%  stage menu open, Proposal → Won
      20%    chip flips to Won         21%     probability snaps to 100%
      23.5%  Save changes pressed      25.5–28.5% editor closes
      33–37% KPIs, stage bars, forecast and activity update
      42–45% question appears          46–55%  typing, then the answer
      90–94% answer fades              95–98%  dashboard resets for the next loop */
  .scene { --loop: 16s; }
  .modal { animation: modal var(--loop) var(--ease) infinite; }
  .mbtn.primary { animation: save-press var(--loop) ease infinite; }
  .scrim { animation: scrim var(--loop) ease infinite; }
  .menu { animation: menu var(--loop) var(--ease) infinite; }
  .hilite { animation: hilite var(--loop) var(--ease) infinite; }
  .stage-field .swap > .was { animation: chip-was var(--loop) var(--ease) infinite; }
  .stage-field .swap > .now { animation: chip-now var(--loop) var(--ease) infinite; }
  .modal .md-field > .swap > .was { animation: field-was var(--loop) var(--ease) infinite; }
  .modal .md-field > .swap > .now { animation: field-now var(--loop) var(--ease) infinite; }
  .dash .swap > .was { animation: dash-was var(--loop) var(--ease) infinite; }
  .dash .swap > .now { animation: dash-now var(--loop) var(--ease) infinite; }
  .kpi { animation: kpi-flash var(--loop) ease infinite; }
  .h-prp i { animation: prp-bar var(--loop) var(--ease) infinite; }
  .m1 .sw { animation: m1-won var(--loop) var(--ease) infinite; }
  .m2 .sr { animation: m2-prp var(--loop) var(--ease) infinite; }
  .act-new { animation: act-new var(--loop) var(--ease) infinite; }
  .ask { animation: ask var(--loop) var(--ease) infinite; }
  .ask .dots3 { animation: ask-dots var(--loop) ease infinite; }
  .ask .a { animation: ask-a var(--loop) var(--ease) infinite; }
  .dots3 i { animation: dot 1s ease-in-out infinite; }
  .dots3 i:nth-child(2) { animation-delay: .15s; }
  .dots3 i:nth-child(3) { animation-delay: .3s; }

  /* -- stage flow pips, 9 s -- */
  .pip { display: block; animation: pip-x 9s var(--ease) infinite; }
  .pip.p2 { animation-delay: -3s; }
  .pip.p3 { animation-delay: -6s; }

  /* -- chat, 14 s -- */
  .chat { --loop: 14s; }
  .msg.me { animation: chat-me var(--loop) var(--ease) infinite; }
  .msg.bot .dots3 { animation: chat-dots var(--loop) ease infinite; }
  .answer { animation: chat-answer var(--loop) var(--ease) infinite; }
  .rows li { animation: chat-row var(--loop) var(--ease) infinite; }
  .rows .r2 { animation-delay: .35s; }
  .rows .r3 { animation-delay: .7s; }
  .caret { animation: blink 1.1s steps(1) infinite; }
  .pulse { display: block; animation: pulse-y 4s var(--ease) infinite; }
  .pulse.pl2 { animation-delay: -2s; }

  /* -- registrant → contact, 10 s -- */
  .event-scene { --loop: 10s; }
  .reg-card li.hot { animation: hot-row var(--loop) ease infinite; }
  .flip > .was { animation: flip-was var(--loop) var(--ease) infinite; }
  .flip > .now { animation: flip-now var(--loop) var(--ease) infinite; }
  .ev-link { animation: ev-link var(--loop) var(--ease) infinite; }

  /* -- card scan, 12 s -- */
  .phone { --loop: 12s; }
  .scr-scan { animation: scr-scan var(--loop) ease infinite; }
  .scanline { display: block; animation: scanline var(--loop) linear infinite; }
  .viewfinder::after { animation: flash var(--loop) ease infinite; }
  .scr-form { animation: scr-form var(--loop) var(--ease) infinite; }
  .field span { animation: fill-1 var(--loop) linear infinite; }
  .field.f2 span { animation-name: fill-2; }
  .field.f3 span { animation-name: fill-3; }
  .field.f4 span { animation-name: fill-4; }
  .field-note { animation: note var(--loop) var(--ease) infinite; }
  .tri-was { animation: tri-was var(--loop) var(--ease) infinite; }
  .tri-now { animation: tri-now var(--loop) var(--ease) infinite; }

  /* -- isolation probe, 5 s -- */
  .probe { display: block; animation: probe-x 5s var(--ease) infinite; }
  .deny { animation: deny 5s ease infinite; }
  @media (max-width: 719px) { .probe { animation-name: probe-y; } }

  /* -- steps connector + CTA radar -- */
  .steps::before { animation: march 1.6s linear infinite; }
  .cta-radar .sweep { opacity: 1; animation: spin 14s linear infinite; }

  /* -- hover polish -- */
  .btn-primary:hover { transform: translateY(-1px); }

  @media (max-width: 719px) {
    .pip { animation-name: pip-y; }
  }
}

html:has(#motion-off:checked) *,
html:has(#motion-off:checked) *::before,
html:has(#motion-off:checked) *::after { animation: none !important; }
html:has(#motion-off:checked) :is(.pip, .pulse, .probe, .scanline) { display: none !important; }
html:has(#motion-off:checked) .sweep { opacity: 0 !important; }

/* Scroll-driven reveals and chart growth (Chrome, Edge, Safari 26+). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    .bar .stack { animation: grow-y linear both; animation-timeline: view(); animation-range: entry 40% cover 45%; }
    .bar.b2 .stack { animation-range: entry 45% cover 47%; }
    .bar.b3 .stack { animation-range: entry 50% cover 49%; }
    .bar.b4 .stack { animation-range: entry 55% cover 51%; }
    .bar.b5 .stack { animation-range: entry 60% cover 53%; }
    .bar.b6 .stack { animation-range: entry 65% cover 55%; }
    .struck::after { animation: strike linear both; animation-timeline: view(); animation-range: entry 60% cover 50%; }
    .mbar .track i { animation: grow-x linear both; animation-timeline: view(); animation-range: entry 30% cover 45%; }
  }
}

/* ------------------------------------------------------------- keyframes */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
/* reveal moves with `translate`, not `transform`, so it never pins a hover transform. */
@keyframes reveal { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blip { 0% { opacity: .95; transform: scale(1.2); } 25% { opacity: .35; transform: none; } 70%, 100% { opacity: 0; } }
@keyframes ping { 0% { opacity: .8; transform: scale(.6); } 20%, 100% { opacity: 0; transform: scale(2.4); } }
@keyframes dot { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
@keyframes grow-y { from { transform: scaleY(0); } to { transform: none; } }
@keyframes grow-x { from { transform: scaleX(0); } to { transform: none; } }
@keyframes strike { from { transform: scaleX(0); } to { transform: none; } }
@keyframes march { to { background-position: 36px 0; } }

/* hero */
@keyframes modal { 0%, 4% { opacity: 0; transform: translate(-50%, -47%) scale(.96); } 8%, 25.5% { opacity: 1; transform: translate(-50%, -50%); } 28.5%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.98); } }
@keyframes scrim { 0%, 4% { opacity: 0; } 8%, 25.5% { opacity: 1; } 28.5%, 100% { opacity: 0; } }
@keyframes save-press { 0%, 22.5% { transform: none; filter: none; } 23.5% { transform: scale(.94); filter: brightness(.85); } 25%, 100% { transform: none; filter: none; } }
@keyframes menu { 0%, 11% { opacity: 0; transform: translateY(-4px); } 12.5%, 19% { opacity: 1; transform: none; } 20.5%, 100% { opacity: 0; transform: none; } }
@keyframes hilite { 0%, 14% { transform: translateY(44px); } 17%, 100% { transform: translateY(66px); } }
@keyframes chip-was { 0%, 19.5% { opacity: 1; transform: none; } 21%, 60% { opacity: 0; transform: translateY(-80%); } 61%, 100% { opacity: 1; transform: none; } }
@keyframes chip-now { 0%, 19.5% { opacity: 0; transform: translateY(80%); box-shadow: 0 0 0 0 transparent; } 21% { opacity: 1; transform: none; box-shadow: 0 0 0 0 color-mix(in srgb, var(--stage-won) 40%, transparent); } 25% { box-shadow: 0 0 0 6px transparent; } 60% { opacity: 1; transform: none; } 61%, 100% { opacity: 0; transform: translateY(80%); } }
@keyframes field-was { 0%, 20.5% { opacity: 1; transform: none; } 22%, 60% { opacity: 0; transform: translateY(-80%); } 61%, 100% { opacity: 1; transform: none; } }
@keyframes field-now { 0%, 20.5% { opacity: 0; transform: translateY(80%); } 22%, 60% { opacity: 1; transform: none; } 61%, 100% { opacity: 0; transform: translateY(80%); } }
@keyframes dash-was { 0%, 33% { opacity: 1; transform: none; } 35.5%, 95% { opacity: 0; transform: translateY(-80%); } 97.5%, 100% { opacity: 1; transform: none; } }
@keyframes dash-now { 0%, 33% { opacity: 0; transform: translateY(80%); } 35.5%, 95% { opacity: 1; transform: none; } 97.5%, 100% { opacity: 0; transform: translateY(80%); } }
@keyframes kpi-flash { 0%, 33% { background: var(--bg-raised); } 35% { background: var(--brand-soft); } 44%, 100% { background: var(--bg-raised); } }
@keyframes prp-bar { 0%, 33% { transform: scaleX(1.515); } 37%, 95% { transform: none; } 98%, 100% { transform: scaleX(1.515); } }
@keyframes m1-won { 0%, 33% { height: 12px; } 37%, 95% { height: 52px; } 98%, 100% { height: 12px; } }
@keyframes m2-prp { 0%, 33% { height: 34px; } 37%, 95% { height: 4px; } 98%, 100% { height: 34px; } }
@keyframes act-new { 0%, 34% { height: 0; opacity: 0; border-top-color: transparent; } 38% { height: 28px; opacity: 0; } 41%, 95% { height: 28px; opacity: 1; } 98%, 100% { height: 0; opacity: 0; } }
@keyframes ask { 0%, 42% { opacity: 0; transform: translateY(12px); } 45%, 90% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes ask-dots { 0%, 45.5% { opacity: 0; } 46.5%, 54% { opacity: 1; } 55%, 100% { opacity: 0; } }
@keyframes ask-a { 0%, 54.5% { opacity: 0; transform: translateY(4px); } 57%, 100% { opacity: 1; transform: none; } }

/* flow: the pip pauses at each stage, taking that stage's color */
@keyframes pip-x {
  0% { transform: translateX(0); color: var(--stage-prospecting); opacity: 0; }
  5%, 16% { transform: translateX(0); color: var(--stage-prospecting); opacity: 1; }
  30%, 42% { transform: translateX(33.333%); color: var(--stage-qualifying); }
  56%, 68% { transform: translateX(66.667%); color: var(--stage-proposal); }
  82% { transform: translateX(100%); color: var(--stage-won); opacity: 1; }
  94%, 100% { transform: translateX(100%); color: var(--stage-won); opacity: 0; }
}
@keyframes pip-y {
  0% { transform: translateY(0); color: var(--stage-prospecting); opacity: 0; }
  5%, 16% { transform: translateY(0); color: var(--stage-prospecting); opacity: 1; }
  30%, 42% { transform: translateY(33.333%); color: var(--stage-qualifying); }
  56%, 68% { transform: translateY(66.667%); color: var(--stage-proposal); }
  82% { transform: translateY(100%); color: var(--stage-won); opacity: 1; }
  94%, 100% { transform: translateY(100%); color: var(--stage-won); opacity: 0; }
}

/* chat */
@keyframes chat-me { 0% { opacity: 0; transform: translateY(10px); } 5%, 90% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
@keyframes chat-dots { 0%, 8% { opacity: 0; } 10%, 24% { opacity: 1; } 25.5%, 100% { opacity: 0; } }
@keyframes chat-answer { 0%, 25% { opacity: 0; transform: translateY(8px); } 29%, 90% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
@keyframes chat-row { 0%, 29% { opacity: 0; transform: translateX(-8px); } 33%, 100% { opacity: 1; transform: none; } }
@keyframes pulse-y { 0% { transform: translateY(0); opacity: 0; } 10%, 80% { opacity: 1; } 100% { transform: translateY(100%); opacity: 0; } }

/* registrant → contact */
@keyframes hot-row { 0%, 22% { background: transparent; } 27%, 78% { background: var(--brand-soft); } 86%, 100% { background: transparent; } }
@keyframes flip-was { 0%, 20% { opacity: 1; transform: none; } 23% { opacity: 1; transform: scale(.92); } 26%, 88% { opacity: 0; transform: none; } 92%, 100% { opacity: 1; transform: none; } }
@keyframes flip-now { 0%, 23% { opacity: 0; transform: scale(.9); } 27%, 88% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: none; } }
@keyframes ev-link { 0%, 30% { opacity: 0; transform: translateY(10px); } 35%, 82% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; transform: none; } }

/* card scan */
@keyframes scr-scan { 0%, 40% { opacity: 1; } 44%, 94% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes scanline { 0%, 6% { transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 20% { transform: translateY(100%); } 32% { transform: translateY(0); opacity: 1; } 34%, 100% { transform: translateY(0); opacity: 0; } }
@keyframes flash { 0%, 35% { opacity: 0; } 37% { opacity: .75; } 41%, 100% { opacity: 0; } }
@keyframes scr-form { 0%, 41% { opacity: 0; transform: translateX(16px); } 46%, 92% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes fill-1 { 0%, 48% { clip-path: inset(0 100% 0 0); } 54%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fill-2 { 0%, 53% { clip-path: inset(0 100% 0 0); } 59%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fill-3 { 0%, 58% { clip-path: inset(0 100% 0 0); } 64%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fill-4 { 0%, 63% { clip-path: inset(0 100% 0 0); } 70%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes note { 0%, 70% { opacity: 0; transform: translateY(6px); } 74%, 100% { opacity: 1; transform: none; } }
@keyframes tri-was { 0%, 78% { opacity: 1; transform: none; } 80% { opacity: 1; transform: scale(.96); } 82%, 100% { opacity: 0; transform: none; } }
@keyframes tri-now { 0%, 80% { opacity: 0; } 83%, 100% { opacity: 1; } }

/* isolation probe: leaves your company, stops at the wall */
@keyframes probe-x { 0% { transform: translateX(-90px); opacity: 0; } 10% { opacity: 1; } 42% { transform: translateX(-18px); opacity: 1; } 50%, 100% { transform: translateX(-18px); opacity: 0; } }
@keyframes probe-y { 0% { transform: translateY(-60px); opacity: 0; } 10% { opacity: 1; } 42% { transform: translateY(-18px); opacity: 1; } 50%, 100% { transform: translateY(-18px); opacity: 0; } }
@keyframes deny { 0%, 40% { box-shadow: 0 0 0 6px var(--bg-raised), 0 0 0 6px color-mix(in srgb, var(--neg) 0%, transparent); } 44% { box-shadow: 0 0 0 6px var(--bg-raised), 0 0 0 9px color-mix(in srgb, var(--neg) 45%, transparent); } 60%, 100% { box-shadow: 0 0 0 6px var(--bg-raised), 0 0 0 18px color-mix(in srgb, var(--neg) 0%, transparent); } }
