/* ==========================================================================
   SCG — Jarvis HUD + Liquid Glass layer
   Loaded after scg.css. Everything here is additive: delete the <link> in
   scg_build.py's head() and the site falls back to the flat dark theme.
   ========================================================================== */

:root {
  /* Glass */
  --glass-bg:      rgba(22, 26, 32, 0.55);
  --glass-bg-hi:   rgba(34, 42, 52, 0.62);
  --glass-edge:    rgba(255, 255, 255, 0.10);
  --glass-edge-hi: rgba(120, 205, 255, 0.55);
  --glass-sheen:   rgba(255, 255, 255, 0.14);
  --glass-blur:    22px;

  /* HUD */
  --hud-line:      rgba(56, 182, 255, 0.22);
  --hud-line-soft: rgba(56, 182, 255, 0.10);
  --hud-glow:      rgba(56, 182, 255, 0.45);
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

/* ── Ambient depth ────────────────────────────────────────────────────────
   Glass needs something behind it to refract. A drifting colour field plus a
   faint HUD grid sits under everything; panels blur it. */
.ambient { position: fixed; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }

.ambient .blob {
  position: absolute; display: block;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  will-change: transform;
}
.ambient .b1 {
  width: 46vw; height: 46vw; left: -8vw; top: -6vw;
  background: radial-gradient(circle, rgba(56,182,255,.55), transparent 68%);
  animation: drift1 34s ease-in-out infinite;
}
.ambient .b2 {
  width: 38vw; height: 38vw; right: -6vw; top: 18vh;
  background: radial-gradient(circle, rgba(0,120,220,.5), transparent 68%);
  animation: drift2 44s ease-in-out infinite;
}
.ambient .b3 {
  width: 40vw; height: 40vw; left: 26vw; bottom: -14vw;
  background: radial-gradient(circle, rgba(140,90,255,.34), transparent 70%);
  animation: drift3 52s ease-in-out infinite;
}
@keyframes drift1 {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50%     { transform: translate3d(14vw, 10vh, 0) scale(1.16); }
}
@keyframes drift2 {
  0%,100% { transform: translate3d(0,0,0) scale(1.08); }
  50%     { transform: translate3d(-12vw, 14vh, 0) scale(.92); }
}
@keyframes drift3 {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50%     { transform: translate3d(10vw, -12vh, 0) scale(1.2); }
}

/* Fine HUD grid + vignette */
.ambient::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(var(--hud-line-soft) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, var(--hud-line-soft) 1px, transparent 1px) 0 0 / 64px 100%,
    radial-gradient(ellipse 90% 70% at 50% 40%, transparent 40%, rgba(9,11,14,.86) 100%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 78%);
  opacity: .8;
}

/* Sections go transparent again so the ambient field reads through the glass */
body { background: #0B0E12; }
.section, .hero { background: transparent; }
.section-tint { background: rgba(255, 255, 255, 0.018); border-block-color: var(--hud-line-soft); }

/* ── Liquid glass surface ─────────────────────────────────────────────────
   --mx/--my are written by scg.js and drive a specular highlight that tracks
   the pointer, so the panel appears to bend light toward the cursor. */
.glass {
  position: relative;
  isolation: isolate;
  background: linear-gradient(150deg, var(--glass-bg-hi), var(--glass-bg));
  backdrop-filter: blur(var(--glass-blur)) saturate(165%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(165%);
  border: 1px solid var(--glass-edge);
  box-shadow:
    inset 0 1px 0 var(--glass-sheen),
    inset 0 -1px 0 rgba(0, 0, 0, .35),
    0 12px 44px rgba(0, 0, 0, .42);
  transition: border-color .35s ease, box-shadow .35s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}

/* Pointer-tracked refraction */
.glass::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%),
              rgba(120, 205, 255, .16), transparent 46%);
  opacity: 0; transition: opacity .4s ease;
  pointer-events: none;
}
/* Travelling edge light */
.glass::after {
  content: ''; position: absolute; inset: -1px; z-index: -1;
  border-radius: inherit; padding: 1px;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%),
              var(--glass-edge-hi), transparent 42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0; transition: opacity .4s ease;
  pointer-events: none;
}
.glass:hover::before, .glass:hover::after,
.glass:focus-within::before, .glass:focus-within::after { opacity: 1; }
.glass:hover { transform: translateY(-3px); }

/* Cards and panels inherit the glass treatment */
.card, .plan, .svc, .svc-panel, .roi-group, .roi-total, .roi-break,
.chart-stat, .stat, .rung, .form-card, .compare, .cta-band {
  position: relative;
  isolation: isolate;
  background: linear-gradient(150deg, var(--glass-bg-hi), var(--glass-bg));
  backdrop-filter: blur(var(--glass-blur)) saturate(165%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(165%);
  border: 1px solid var(--glass-edge);
  box-shadow:
    inset 0 1px 0 var(--glass-sheen),
    inset 0 -1px 0 rgba(0, 0, 0, .35),
    0 12px 44px rgba(0, 0, 0, .42);
}
.card::before, .plan::before, .roi-group::before, .rung::before, .stat::before,
.chart-stat::before, .svc::before, .form-card::before, .cta-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%),
              rgba(120, 205, 255, .15), transparent 46%);
  opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
.card:hover::before, .plan:hover::before, .roi-group:hover::before,
.rung:hover::before, .stat:hover::before, .chart-stat:hover::before,
.svc:hover::before, .form-card:focus-within::before, .cta-band:hover::before { opacity: 1; }

.card:hover, .stat:hover, .chart-stat:hover, .rung:hover {
  border-color: rgba(120, 205, 255, .34);
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 var(--glass-sheen),
    0 18px 56px rgba(0, 0, 0, .5),
    0 0 0 1px rgba(56, 182, 255, .10);
}
.plan.featured { border-color: rgba(120, 205, 255, .42); }

/* ── HUD chrome ───────────────────────────────────────────────────────────
   Corner brackets that ignite on hover, the Jarvis panel tell. */
.hud-corners::after {
  content: ''; position: absolute; inset: 8px; z-index: 2;
  pointer-events: none; border-radius: 4px;
  background:
    linear-gradient(var(--hud-glow) 0 0) 0 0 / 1px 14px,
    linear-gradient(var(--hud-glow) 0 0) 0 0 / 14px 1px,
    linear-gradient(var(--hud-glow) 0 0) 100% 0 / 1px 14px,
    linear-gradient(var(--hud-glow) 0 0) 100% 0 / 14px 1px,
    linear-gradient(var(--hud-glow) 0 0) 0 100% / 1px 14px,
    linear-gradient(var(--hud-glow) 0 0) 0 100% / 14px 1px,
    linear-gradient(var(--hud-glow) 0 0) 100% 100% / 1px 14px,
    linear-gradient(var(--hud-glow) 0 0) 100% 100% / 14px 1px;
  background-repeat: no-repeat;
  opacity: 0; transition: opacity .35s ease, inset .35s ease;
}
.hud-corners:hover::after { opacity: .9; inset: 5px; }

/* Technical micro-label */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .22em;
  display: inline-flex; align-items: center; gap: .55rem;
}
.eyebrow::before {
  content: ''; width: 16px; height: 1px; flex-shrink: 0;
  background: linear-gradient(90deg, transparent, var(--accent));
}
.eyebrow.center { justify-content: center; }

/* ── Liquid buttons ───────────────────────────────────────────────────── */
.btn { position: relative; isolation: isolate; overflow: hidden; }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%),
              rgba(255, 255, 255, .3), transparent 45%);
  opacity: 0; transition: opacity .35s ease;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 6px 20px rgba(56,182,255,.28);
}
.btn-primary:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 14px 38px rgba(56,182,255,.45);
}
.btn-ghost {
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-color: var(--glass-edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}
.btn-ghost:hover {
  background: rgba(120, 205, 255, .10);
  border-color: rgba(120, 205, 255, .5);
  color: #CDEBFF;
}

/* ── Header glass ─────────────────────────────────────────────────────── */
.site-header {
  background: rgba(11, 14, 18, .55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--glass-edge);
  box-shadow: inset 0 -1px 0 rgba(56,182,255,.10);
}

/* Morphing indicator that glides between nav links */
.nav-links { position: relative; }
.nav-ind {
  position: absolute; z-index: 0; top: 0; left: 0;
  height: 34px; width: 0; border-radius: 10px;
  background: rgba(120, 205, 255, .13);
  border: 1px solid rgba(120, 205, 255, .30);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 4px 16px rgba(56,182,255,.22);
  opacity: 0; pointer-events: none;
  transition: transform .42s cubic-bezier(.22,1,.28,1),
              width .42s cubic-bezier(.22,1,.28,1),
              opacity .28s ease;
}
.nav-link, .nav-toggle { position: relative; z-index: 1; }
.nav-link:hover, .nav-toggle:hover { background: transparent; }

.nav-menu {
  background: rgba(16, 20, 26, .72);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-color: var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-sheen), 0 24px 54px rgba(0,0,0,.55);
}
.nav-menu a:hover { background: rgba(120, 205, 255, .12); }

/* ── Liquid icons ─────────────────────────────────────────────────────── */
.card-icon {
  position: relative;
  background: rgba(120, 205, 255, .10);
  border: 1px solid rgba(120, 205, 255, .26);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .45s cubic-bezier(.2,.9,.2,1), box-shadow .35s ease, background .35s ease;
}
.card:hover .card-icon {
  transform: translateY(-2px) scale(1.08);
  background: rgba(120, 205, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 22px rgba(56,182,255,.34);
}
/* Halo pulse */
.card-icon::after {
  content: ''; position: absolute; inset: -6px;
  border-radius: inherit; border: 1px solid rgba(120,205,255,.4);
  opacity: 0; transform: scale(.85);
  transition: opacity .5s ease, transform .5s ease;
}
.card:hover .card-icon::after { opacity: 1; transform: scale(1); }

/* ── Liquid links ─────────────────────────────────────────────────────── */
.footer-col a, .prose a, .rung h4 a {
  position: relative;
  background-image: linear-gradient(90deg, var(--accent), rgba(120,205,255,.5));
  background-size: 0% 1px; background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .4s cubic-bezier(.22,1,.28,1), color .25s ease;
}
.footer-col a:hover, .prose a:hover, .rung h4 a:hover { background-size: 100% 1px; }

.footer-social a {
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--glass-edge);
  transition: transform .4s cubic-bezier(.2,.9,.2,1), color .25s, border-color .25s, box-shadow .3s;
}
.footer-social a:hover {
  transform: translateY(-3px) scale(1.06);
  border-color: rgba(120,205,255,.5);
  box-shadow: 0 8px 22px rgba(56,182,255,.3);
}

.site-footer {
  background: rgba(9, 11, 14, .6);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-top: 1px solid var(--glass-edge);
}

/* ── Readouts ─────────────────────────────────────────────────────────── */
.roi-total-num, .stat-num, .chart-stat-val, .plan-price {
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 26px rgba(56, 182, 255, .38);
}
.roi-slider { background: rgba(255,255,255,.10); }
.roi-slider::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(56,182,255,.16), 0 2px 10px rgba(56,182,255,.5);
  transition: box-shadow .25s ease;
}
.roi-slider:hover::-webkit-slider-thumb { box-shadow: 0 0 0 7px rgba(56,182,255,.22), 0 2px 14px rgba(56,182,255,.7); }
.roi-slider::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(56,182,255,.16); }

.bar-fill.scg { box-shadow: 0 0 18px rgba(56,182,255,.5); }
.bar-track { background: rgba(255,255,255,.05); }

/* ── Reduced motion & fallbacks ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .ambient .blob { animation: none; }
  .glass, .card, .stat, .chart-stat, .rung { transition: none; }
  .glass:hover, .card:hover, .stat:hover, .chart-stat:hover, .rung:hover { transform: none; }
}

/* Without backdrop-filter, fall back to solid panels so nothing is unreadable */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card, .plan, .svc, .svc-panel, .roi-group, .roi-total, .roi-break,
  .chart-stat, .stat, .rung, .form-card, .compare, .cta-band, .glass {
    background: #14181E;
  }
  .site-header { background: #0D1116; }
  .site-footer { background: #090B0E; }
  .nav-menu   { background: #12161C; }
}

/* ── Ambient balance ──────────────────────────────────────────────────────
   The neural field is atmosphere, not content. Dimmed so body copy stays the
   brightest thing on screen; strongest behind the hero, quieter further down. */
#scg-bg-canvas { opacity: .42; }

/* Give running text a faint scrim so it never has to fight the field */
.section-head, .lede, .prose, .timeline, .faq { position: relative; }
.section-head::before, .prose::before {
  content: ''; position: absolute; inset: -2rem -3rem; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(11,14,18,.72), transparent 72%);
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════════════════
   HUD II — reticles, sweeps, boot sequences, telemetry
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Hero reticle ─────────────────────────────────────────────────────────
   Concentric rings turning at different rates and directions. Sits behind the
   hero copy, right of centre, and never intercepts clicks. */
.reticle {
  position: absolute; z-index: 0; pointer-events: none;
  right: -10vw; top: 52%; transform: translateY(-50%);
  width: min(44vw, 545px); aspect-ratio: 1;
  opacity: .5;
}
.reticle svg { width: 100%; height: 100%; display: block; overflow: visible; }
.reticle .r-spin-slow  { animation: rSpin 68s linear infinite; transform-origin: 50% 50%; }
.reticle .r-spin-med   { animation: rSpin 34s linear infinite reverse; transform-origin: 50% 50%; }
.reticle .r-spin-fast  { animation: rSpin 19s linear infinite; transform-origin: 50% 50%; }
.reticle .r-pulse      { animation: rPulse 4.2s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes rSpin  { to { transform: rotate(360deg); } }
@keyframes rPulse {
  0%,100% { opacity: .28; transform: scale(1); }
  50%     { opacity: .85; transform: scale(1.045); }
}
@media (max-width: 900px) { .reticle { opacity: .3; right: -14vw; width: 92vw; } }

/* ── Telemetry strip ──────────────────────────────────────────────────── */
.telemetry {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: .55rem 1.4rem;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(180, 214, 240, .62);
  padding: .6rem 1rem; border-radius: 10px;
  background: rgba(255,255,255,.028);
  border: 1px solid var(--glass-edge);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.telemetry b { color: var(--accent); font-weight: 600; }
.telemetry .sep { color: rgba(120,205,255,.28); }
.tele-live { display: inline-flex; align-items: center; gap: .45rem; }
.tele-live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #4ADE80; box-shadow: 0 0 0 0 rgba(74,222,128,.7);
  animation: telePulse 2.4s ease-out infinite;
}
@keyframes telePulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,.6); }
  70%  { box-shadow: 0 0 0 7px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* ── Scanline sweep ───────────────────────────────────────────────────────
   A soft band that travels down a panel. Runs on hover so the page is calm at
   rest, and once on entry as part of the boot sequence. */
.scan {
  position: absolute; inset: 0; z-index: 3;
  border-radius: inherit; overflow: hidden; pointer-events: none;
}
.scan::after {
  content: ''; position: absolute; left: 0; right: 0; height: 34%;
  top: -40%; opacity: 0;
  background: linear-gradient(180deg,
    transparent, rgba(120,205,255,.07) 45%, rgba(160,225,255,.16) 50%,
    rgba(120,205,255,.07) 55%, transparent);
}
.card:hover > .scan::after, .plan:hover > .scan::after, .svc:hover > .scan::after,
.stat:hover > .scan::after, .chart-stat:hover > .scan::after, .rung:hover > .scan::after,
.roi-group:hover > .scan::after, .cta-band:hover > .scan::after {
  animation: scanSweep 1.5s cubic-bezier(.4,0,.5,1);
}
.is-booting > .scan::after { animation: scanSweep 1.05s ease-out; }
@keyframes scanSweep {
  0%   { opacity: 0;  top: -40%; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { opacity: 0;  top: 108%; }
}

/* ── Panel boot sequence ──────────────────────────────────────────────────
   Panels power on as they scroll in: brackets strike first, the edge flashes,
   then the surface settles. Driven by .is-booting from scg.js. */
.is-booting.hud-corners::after {
  animation: bootBrackets .9s cubic-bezier(.2,.9,.2,1);
}
@keyframes bootBrackets {
  0%   { opacity: 0; inset: 22px; }
  30%  { opacity: 1; inset: 4px; }
  70%  { opacity: .9; inset: 5px; }
  100% { opacity: 0; inset: 8px; }
}
.is-booting {
  box-shadow:
    inset 0 1px 0 var(--glass-sheen),
    0 0 0 1px rgba(120,205,255,.30),
    0 12px 44px rgba(0,0,0,.42);
  transition: box-shadow .9s ease;
}

/* ── Counter readouts ─────────────────────────────────────────────────── */
.counting { color: var(--accent); }
[data-count] { font-variant-numeric: tabular-nums; }

/* ── Section rule with a HUD tick ─────────────────────────────────────── */
.hud-rule {
  position: relative; height: 1px; margin: 0 auto;
  max-width: var(--maxw);
  background: linear-gradient(90deg, transparent, var(--hud-line), transparent);
}
.hud-rule::before {
  content: ''; position: absolute; left: 50%; top: -3px;
  width: 7px; height: 7px; margin-left: -3.5px;
  border: 1px solid var(--accent); transform: rotate(45deg);
  background: rgba(11,14,18,.9);
  box-shadow: 0 0 12px rgba(56,182,255,.6);
}

@media (prefers-reduced-motion: reduce) {
  .reticle .r-spin-slow, .reticle .r-spin-med, .reticle .r-spin-fast, .reticle .r-pulse,
  .tele-live::before { animation: none; }
  .scan { display: none; }
  .is-booting.hud-corners::after { animation: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   Industry pages — conversation mockup, leak list, proof rail
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Live conversation mockup ─────────────────────────────────────────── */
.convo {
  max-width: 420px; width: 100%;
  border-radius: 18px; padding: 1.1rem;
  background: linear-gradient(150deg, var(--glass-bg-hi), var(--glass-bg));
  backdrop-filter: blur(var(--glass-blur)) saturate(165%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(165%);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-sheen), 0 24px 64px rgba(0,0,0,.55);
}
.convo-head {
  display: flex; align-items: center; gap: .7rem;
  padding-bottom: .9rem; margin-bottom: .9rem;
  border-bottom: 1px solid var(--glass-edge);
}
.convo-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--font-h); font-size: 13px; font-weight: 700; color: #06121C;
  background: linear-gradient(140deg, #8FE3FF, var(--accent));
}
.convo-who { font-family: var(--font-h); font-size: 14px; font-weight: 600; line-height: 1.3; }
.convo-status {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: #4ADE80; margin-top: 2px;
}
.convo-status::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: #4ADE80;
  animation: telePulse 2.4s ease-out infinite;
}
.bubble {
  border-radius: 14px; padding: .7rem .9rem; margin-bottom: .5rem;
  font-size: 13.5px; line-height: 1.6; max-width: 88%;
}
.bubble.them { background: rgba(255,255,255,.07); border: 1px solid var(--glass-edge); }
.bubble.us {
  background: linear-gradient(140deg, rgba(56,182,255,.20), rgba(56,182,255,.11));
  border: 1px solid rgba(120,205,255,.34); margin-left: auto;
}
.bubble-meta {
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: .9rem;
}
/* The response stamp overlaps this corner — reserve room so the delivery
   timestamp is never hidden behind it. */
.bubble-meta.right { text-align: right; color: rgba(120,205,255,.7); padding-right: 88px; }
@media (max-width: 900px) { .bubble-meta.right { padding-right: 74px; } }
.convo-typing {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .5rem;
}
.convo-typing span { animation: dotBlink 1.4s infinite; }
.convo-typing span:nth-child(2) { animation-delay: .2s; }
.convo-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes dotBlink { 0%,60%,100% { opacity: .25 } 30% { opacity: 1 } }

.convo-stamp {
  position: absolute; right: -14px; bottom: -18px;
  display: grid; place-items: center; text-align: center;
  width: 92px; height: 92px; border-radius: 50%;
  background: rgba(11,14,18,.86); border: 1px solid rgba(120,205,255,.4);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 34px rgba(56,182,255,.3);
}
.convo-stamp b {
  display: block; font-family: var(--font-h); font-size: 22px;
  font-weight: 700; color: var(--accent); line-height: 1;
}
.convo-stamp span {
  display: block; font-family: var(--mono); font-size: 8.5px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted-2); margin-top: 3px; padding: 0 8px; line-height: 1.35;
}
.convo-wrap { position: relative; display: inline-block; max-width: 100%; }
@media (max-width: 900px) { .convo-stamp { right: 4px; bottom: -26px; width: 78px; height: 78px; } }

/* ── Proof rail ───────────────────────────────────────────────────────── */
.proof-rail {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  padding: .85rem 1.1rem; border-radius: 12px;
  background: rgba(255,255,255,.028); border: 1px solid var(--glass-edge);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.proof-item { display: flex; align-items: baseline; gap: .5rem; font-size: 13px; color: var(--muted); }
.proof-item b { font-family: var(--font-h); font-size: 15px; color: var(--accent); font-weight: 700; }

/* ── Leak list ────────────────────────────────────────────────────────── */
.leaks { counter-reset: leak; display: grid; gap: 0; }
.leak {
  display: grid; grid-template-columns: 58px 1fr; gap: 1.25rem;
  padding: 1.4rem 0; border-top: 1px solid var(--glass-edge);
  transition: background .3s ease;
}
.leak:last-child { border-bottom: 1px solid var(--glass-edge); }
.leak:hover { background: rgba(120,205,255,.035); }
.leak::before {
  counter-increment: leak; content: "0" counter(leak);
  font-family: var(--mono); font-size: 13px; letter-spacing: .1em;
  color: var(--accent); opacity: .65; padding-top: 3px;
}
.leak h3 { font-size: 16px; font-weight: 600; margin-bottom: .35rem; }
.leak p { font-size: 14px; color: var(--muted); line-height: 1.75; }
@media (max-width: 560px) { .leak { grid-template-columns: 40px 1fr; gap: .9rem; } }

/* ── Industry hub cards ───────────────────────────────────────────────── */
.industry-card { display: flex; flex-direction: column; }
.industry-card .card-icon { width: 46px; height: 46px; }
.industry-card .card-icon svg { width: 23px; height: 23px; }
.industry-tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .55rem;
}
.industry-card h3 { font-size: 19px; margin-bottom: .5rem; }
.industry-card .pain {
  list-style: none; margin: 1rem 0 1.25rem; display: flex;
  flex-direction: column; gap: .45rem;
}
.industry-card .pain li {
  font-size: 13.5px; color: var(--muted); padding-left: 1.1rem; position: relative; line-height: 1.6;
}
.industry-card .pain li::before {
  content: ''; position: absolute; left: 0; top: .55em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .7;
}
.industry-card .btn { margin-top: auto; }
.industry-soon { opacity: .62; }
.industry-soon .industry-tag { color: var(--muted-2); }

/* ── Roadmap block ────────────────────────────────────────────────────────
   Signals "not shipped yet" with a dashed edge, so it never reads as a
   feature the customer is buying today. */
.roadmap { border-style: dashed; border-color: rgba(120,205,255,.34); }
.roadmap .svc-tag {
  background: rgba(245,158,11,.12);
  border-color: rgba(245,158,11,.4);
  color: var(--gold);
}
.roadmap .svc-panel { border-style: dashed; }
.roadmap-status {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.roadmap-status::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  animation: telePulse 2.4s ease-out infinite;
}

/* ── Embedded GHL form ────────────────────────────────────────────────────
   The form lives in a cross-origin iframe, so nothing inside it can be styled
   from here — its colours are set in the GHL form builder. This just gives it
   a glass frame consistent with the rest of the site. form_embed.js rewrites
   the height as the form grows, so min-height only covers first paint. */
.form-embed {
  position: relative;
  border-radius: var(--radius);
  padding: .5rem;
  background: linear-gradient(150deg, var(--glass-bg-hi), var(--glass-bg));
  backdrop-filter: blur(var(--glass-blur)) saturate(165%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(165%);
  border: 1px solid var(--glass-edge);
  box-shadow:
    inset 0 1px 0 var(--glass-sheen),
    inset 0 -1px 0 rgba(0,0,0,.35),
    0 12px 44px rgba(0,0,0,.42);
}
.form-embed iframe {
  display: block;
  width: 100%;
  min-height: 1067px;
  border: none;
  border-radius: 8px;
  background: transparent;
}
