/* Home hero - ported from Kedhareswer Naidu's "Maroon Fintech Landing" hero (MIT), rebuilt as plain HTML in
   IGM's palette and fonts. The laptop carries Dot Hop; the mouse presses it. Motion is in hero.js (GSAP). */
.frame { background: var(--navy); padding: 14px; }
.hero {
  position: relative; display: flex; flex-direction: column; min-height: max(700px, calc(100svh - 28px));
  background: var(--surface); color: var(--text); border-radius: 6px; overflow: hidden; isolation: isolate;
}

/* Circuit board */
.h-circuit-wrap { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.h-circuit { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.h-trace { fill: none; stroke: var(--text); stroke-opacity: .13; stroke-width: 1.4; }
.h-pulse { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 70 930; stroke-dashoffset: 1000; }
/* The boxes: a LinkedIn company-page word each */
.h-chip rect { fill: var(--surface); stroke: var(--text); stroke-opacity: .16; stroke-width: 1.2; transition: fill .3s, stroke .3s, stroke-opacity .3s; }
.h-chip text { font: 600 13px var(--font-body); fill: var(--text); fill-opacity: .55; transition: fill .3s, fill-opacity .3s; }
.h-chip.is-hot rect, .h-chip.is-flash rect { fill: #fff; stroke: var(--igm-blue); stroke-opacity: .8; }
.h-chip.is-hot text, .h-chip.is-flash text { fill: var(--igm-blue); fill-opacity: 1; }

/* The white mouse, right of centre; clicking it presses the laptop */
.h-mouse {
  position: absolute; z-index: 3; left: 73%; top: 55%; width: 74px; padding: 0; border: 0; background: none; cursor: pointer;
  transform: translate(-50%, -50%); perspective: 600px;
}
.h-mouse-float, .h-mouse-body { display: block; transform-style: preserve-3d; }
.h-mouse svg { display: block; width: 100%; height: auto; max-width: none; filter: drop-shadow(0 18px 18px rgba(13,43,69,.22)) drop-shadow(0 4px 6px rgba(13,43,69,.14)); }
.h-mouse-shadow { position: absolute; z-index: -1; left: 12%; right: 12%; bottom: -4%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(13,43,69,.28), transparent); }
.h-mouse-led { opacity: .55; }

/* The audit button: Coral, bold, with a crisp 2px Sky line circling it a few pixels out (Manny, 2026-11-15); the
   button itself is the Coral glass every call to action uses (site.css), and the ring's corner follows the glass's.
   The ring is a conic gradient masked to an outline; ::after is the same ring softly blurred for its glow. */
.h-audit { position: relative; display: inline-flex; border-radius: 6px; --glow-a: 0deg; }
.h-audit::before, .h-audit::after {
  content: ""; position: absolute; inset: -6px; border-radius: 15px; padding: 2px; z-index: 0; pointer-events: none;
  background: conic-gradient(from var(--glow-a), transparent 0deg 210deg, rgba(92,184,230,.3) 260deg, #5CB8E6 330deg, #FFFFFF 354deg, transparent 360deg);
  -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 exclude, linear-gradient(#000 0 0);
}
.h-audit::after { filter: blur(4px); opacity: .7; }
.h-audit .lgb { z-index: 1; }

/* Headline block */
.h-head { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 160px 20px 0; }
.h-h1 { margin: 0; font: 700 clamp(30px, 6vw, 88px)/1.04 var(--font-head); letter-spacing: -.018em; color: var(--text); }
.h-line { display: block; }
.h-mute { color: var(--muted); }
.h-sub { max-width: 360px; margin: 22px 0 0; font-size: 16px; line-height: 1.45; color: var(--muted); }
.h-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.btn--white { background: #fff; color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 0 0 1px var(--border); }
.btn--white:hover { background: #fff; box-shadow: 0 8px 22px -10px rgba(13,43,69,.35), 0 0 0 1px var(--border); }

/* Stage: the device and the hero's feet */
.h-stage { position: relative; flex: 1; min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; }
.h-device { position: absolute; z-index: 1; left: 50%; bottom: 24px; width: clamp(240px, 22vw, 320px); aspect-ratio: 1; transform: translateX(-50%); perspective: 900px; }
.h-device-btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 40%; background: none; cursor: pointer; transform-style: preserve-3d; }
.h-device-float { position: relative; display: block; width: 100%; height: 100%; }
.h-device-svg { width: 100%; height: 100%; max-width: none; filter: drop-shadow(0 30px 30px rgba(13,43,69,.28)) drop-shadow(0 6px 8px rgba(13,43,69,.18)); }
/* Dot Hop and the Follow button sit centred on the laptop screen. */
.h-device .dh { position: absolute; left: 50%; top: 31%; --dh-size: 18%; --dh-color: #FFFFFF; --dh-dot: var(--sky); transform: translate(-50%, -50%); pointer-events: none; }
.h-device-shadow { position: absolute; z-index: -1; left: 14%; right: 14%; bottom: 14%; height: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(13,43,69,.32), transparent); }
.h-follow {
  position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%); pointer-events: none;
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 14px; border-radius: 999px;
  background: var(--igm-blue); color: #fff; font: 700 13px/1.2 var(--font-head); letter-spacing: .01em; white-space: nowrap;
}
.h-led { opacity: .55; }
.h-callout { position: absolute; left: -38%; top: 16%; pointer-events: none; }
.h-callout-bob {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px;
  border-radius: 999px; background: rgba(255,255,255,.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px -14px rgba(13,43,69,.5), 0 0 0 1px rgba(13,43,69,.05); font-size: 13px; color: var(--text); white-space: nowrap; pointer-events: none;
}
.h-live { width: 7px; height: 7px; border-radius: 50%; background: var(--igm-blue); box-shadow: 0 0 0 0 rgba(0,126,187,.55); }
.h-rings { position: absolute; z-index: 0; left: 50%; bottom: calc(24px + clamp(240px, 22vw, 320px) / 2); width: 0; height: 0; }
.h-rings i { position: absolute; left: -160px; top: -160px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(0,126,187,.45); opacity: 0; }

@media (max-width: 980px) {
  .h-stage { min-height: 300px; }
  .h-device { top: 50%; bottom: auto; transform: translate(-50%, -50%); }
  .h-rings { bottom: auto; top: 50%; }
  .h-mouse { display: none; }
}
@media (max-width: 640px) {
  .frame { padding: 8px; }
  .hero { min-height: max(700px, calc(100svh - 16px)); }
  .h-head { padding-top: 96px; }
  .h-callout { left: -10%; top: -6%; }
}
