/* ══════════════════════════════════════════════════════════════
   CoverageCert — landing page
   Brand tokens mirror mobile/src/theme/variables.scss
   ══════════════════════════════════════════════════════════════ */

:root {
  --navy: #0b1f3a;
  --cyan: #22d3ee;
  --coral: #ff5a5f;
  --signal-strong: #16a34a;
  --signal-fair: #f59e0b;
  --signal-weak: #dc2626;
  --surface: #ffffff;
  --surface-muted: #f7f8fa;
  --text: #0b1f3a;
  --text-muted: #6b7280;
  --divider: #eceef2;
  --label: #9aa0aa;
  --cta-gradient: linear-gradient(135deg, #ff7a5c 0%, #ff5a5f 100%);
  --cta-shadow: 0 10px 24px rgba(255, 90, 95, 0.35);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  line-height: 1.6;
}

/* subtle film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--cyan); color: var(--navy); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

/* ── shared bits ─────────────────────────────────────────────── */

.section-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.2rem;
}
.section-label--light { color: var(--cyan); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.section-title em { color: var(--coral); letter-spacing: 0; }
.section-title--light { color: #fff; }
.section-title--light em { color: var(--cyan); }

.dot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  flex: none;
}
.dot--strong { background: var(--signal-strong); }
.dot--fair   { background: var(--signal-fair); }
.dot--weak   { background: var(--signal-weak); }
.dot--cyan   { background: var(--cyan); }
.dot--coral  { background: var(--coral); }

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--signal-strong);
  display: inline-block;
  margin-right: 0.55rem;
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45); }
  70%  { box-shadow: 0 0 0 9px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 0.9rem 1.8rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  will-change: transform;
  overflow: hidden;
  white-space: nowrap;
}
.btn span { position: relative; z-index: 1; }
.btn--cta {
  background: var(--cta-gradient);
  color: #fff;
  box-shadow: var(--cta-shadow);
}
.btn--cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}
.btn--cta:hover::before { transform: translateY(0); }
.btn--cta:hover { box-shadow: 0 14px 30px rgba(11, 31, 58, 0.3); }
.btn--ghost {
  border: 1.5px solid var(--divider);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--navy); }
.btn--ghostlight {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn--ghostlight:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--lg { padding: 1.05rem 2.2rem; font-size: 1rem; }
.btn--xl { padding: 1.2rem 2.7rem; font-size: 1.1rem; }

/* ── preloader ───────────────────────────────────────────────── */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
}
.preloader__mark { position: relative; width: 72px; height: 72px; }
.preloader__mark img { position: relative; z-index: 1; }
.preloader__ring {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px; height: 72px;
  border: 1.5px solid var(--cyan);
  border-radius: 50%;
  opacity: 0;
  animation: ripple 2.2s ease-out infinite;
}
.preloader__ring:nth-child(2) { animation-delay: 0.55s; }
.preloader__ring:nth-child(3) { animation-delay: 1.1s; }
@keyframes ripple {
  0%   { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.6); opacity: 0; }
}
.preloader__count {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.preloader__tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* ── chrome: progress, cursor, nav ───────────────────────────── */

.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  background: var(--cta-gradient);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 5000;
}

.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--coral);
  pointer-events: none;
  z-index: 9500;
  mix-blend-mode: multiply;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out),
              background 0.25s, opacity 0.25s;
  opacity: 0;
}
.cursor.is-visible { opacity: 0.85; }
.cursor.is-hover { width: 44px; height: 44px; background: var(--cyan); }
@media (hover: none) { .cursor { display: none; } }

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 4000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.2rem, 4vw, 3.2rem);
  transition: background 0.4s, box-shadow 0.4s, height 0.4s;
}
.nav.is-scrolled {
  height: 68px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--divider);
}
.nav__logo img { height: 40px; width: auto; }
.nav__links {
  display: flex;
  gap: 2.2rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
}
.nav__links a { position: relative; padding: 0.3rem 0; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.35s var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav__burger span {
  width: 26px; height: 2px;
  background: var(--navy);
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 3500;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: #fff;
  clip-path: circle(0 at calc(100% - 44px) 44px);
  transition: clip-path 0.6s var(--ease-out);
  pointer-events: none;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); pointer-events: auto; }
body.menu-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); background: #fff; }
body.menu-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); background: #fff; }

/* ── hero ────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 2rem) clamp(1.2rem, 5vw, 4rem) 4rem;
  background:
    radial-gradient(1100px 600px at 85% 20%, rgba(34, 211, 238, 0.10), transparent 60%),
    radial-gradient(900px 700px at 10% 90%, rgba(255, 90, 95, 0.07), transparent 60%),
    var(--surface-muted);
  overflow: hidden;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 31, 58, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 58, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 80% at 60% 40%, #000 30%, transparent 100%);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 7vw, 6.4rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 1.8rem;
}
.hero__title em {
  color: var(--coral);
  font-weight: 500;
  letter-spacing: 0;
  padding-right: 0.06em;
  display: inline-block;
  white-space: nowrap;
}
.hero__title em .rot-char { display: inline-block; will-change: transform, opacity; }
.hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 2.4rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.hero__chips {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
}
.hero__chips li { display: flex; align-items: center; gap: 0.5rem; }

.hero__scrollhint {
  position: absolute;
  bottom: 2rem;
  right: clamp(1.4rem, 4vw, 3.4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}
.hero__scrollline {
  width: 1.5px;
  height: 54px;
  background: var(--divider);
  position: relative;
  overflow: hidden;
}
.hero__scrollline::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--coral);
  animation: scrollLine 1.8s var(--ease-out) infinite;
}
@keyframes scrollLine {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ── marquee ─────────────────────────────────────────────────── */

.marquee {
  background: var(--navy);
  overflow: hidden;
  padding: 1.15rem 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin: -1rem 0;
  position: relative;
  z-index: 3;
  box-shadow: 0 12px 40px rgba(11, 31, 58, 0.25);
}
.marquee__track { display: flex; width: max-content; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: 2.6rem;
  padding-right: 2.6rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 550;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.marquee__group i { color: var(--cyan); font-style: normal; font-size: 0.6em; }
.marquee__group span:nth-of-type(3n) { color: var(--coral); }

/* ── manifesto ───────────────────────────────────────────────── */

.manifesto {
  background: var(--navy);
  color: #fff;
  padding: clamp(7rem, 14vw, 12rem) clamp(1.4rem, 6vw, 6rem);
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute;
  top: -30%; right: -15%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.08), transparent 65%);
  pointer-events: none;
}
.manifesto__inner { max-width: 1100px; margin: 0 auto; }
.manifesto__text {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.005em;
}
.manifesto__text em { color: var(--cyan); }
.manifesto__text .w { display: inline-block; }
.manifesto__meta {
  margin-top: 4.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 2.4rem;
}
.manifesto__meta div { display: flex; flex-direction: column; gap: 0.4rem; }
.manifesto__meta strong {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.manifesto__meta span { color: rgba(255, 255, 255, 0.65); font-size: 0.98rem; }

/* ── walkthrough ─────────────────────────────────────────────── */

.walkthrough { background: var(--surface); position: relative; }
.walkthrough__pin {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4.5rem, 7vh, 6rem) clamp(1.4rem, 5vw, 4.5rem) 3rem;
  gap: clamp(1.5rem, 4vh, 3.5rem);
}
.walkthrough__head { display: flex; flex-direction: column; }
.walkthrough__stage {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

/* phone mock */
.phone {
  position: relative;
  /* cap by viewport height so the pinned stage never clips the phone */
  width: min(320px, 78vw, calc((100svh - 350px) * 0.48));
  min-width: 200px;
  aspect-ratio: 9 / 18.6;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 42px;
  padding: 12px;
  box-shadow:
    0 30px 70px rgba(11, 31, 58, 0.28),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}
.phone__notch {
  position: absolute;
  top: 21px; left: 50%;
  transform: translateX(-50%);
  width: 34%; height: 22px;
  background: var(--navy);
  border-radius: 12px;
  z-index: 3;
}
.phone__screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 32px;
  background: var(--surface-muted);
  overflow: hidden;
}
.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 3.2rem 1.1rem 1.2rem;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  pointer-events: none;
}
.screen.is-active { pointer-events: auto; }
.screen__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
}
.screen__bar img { width: 20px; height: 20px; }
.screen__field {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 0.6rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.screen__field label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label);
}
.screen__field span { font-size: 0.84rem; font-weight: 500; }
.screen__cta {
  margin-top: auto;
  background: var(--cta-gradient);
  box-shadow: var(--cta-shadow);
  color: #fff;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.8rem;
  border-radius: 999px;
}
.screen__cta--done { background: var(--signal-strong); box-shadow: 0 10px 24px rgba(22, 163, 74, 0.35); }
.screen__note {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: center;
}
.screen__mapsvg {
  flex: 1;
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 14px;
}
.map-footprint { transform-origin: center; }
.map-pin { filter: drop-shadow(0 2px 4px rgba(255, 90, 95, 0.5)); }

.screen__floor {
  flex: 1;
  display: grid;
  grid-template-areas: "a a b" "a a c" "d e f";
  grid-template-rows: 1fr 1fr 1.2fr;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 14px;
  padding: 8px;
}
.room {
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  padding: 6px;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--navy);
}
.room--strong { background: rgba(22, 163, 74, 0.22); box-shadow: inset 0 0 0 1.5px rgba(22, 163, 74, 0.55); }
.room--fair   { background: rgba(245, 158, 11, 0.20); box-shadow: inset 0 0 0 1.5px rgba(245, 158, 11, 0.55); }
.room--weak   { background: rgba(220, 38, 38, 0.18);  box-shadow: inset 0 0 0 1.5px rgba(220, 38, 38, 0.55); }

.gauge { position: relative; margin: 0.6rem auto 0; width: 82%; }
.gauge svg { width: 100%; }
.gauge__arc { stroke-dasharray: 164; stroke-dashoffset: 164; }
.gauge__value {
  position: absolute;
  inset: auto 0 0;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.gauge__value b {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.gauge__value span { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--label); }
.screen__pair {
  display: flex;
  justify-content: space-around;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 1rem;
}
.screen__pair b { color: var(--navy); }

.minicert {
  flex: 1;
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
  padding: 0.8rem;
}
.minicert__mark { width: 30px; }
.minicert b { font-family: var(--font-body); font-size: 0.95rem; }
.minicert > span { font-size: 0.68rem; color: var(--text-muted); }
.minicert__sig { width: 70%; margin-top: 0.4rem; }
.minicert em { font-size: 0.68rem; color: var(--label); }

/* steps column */
.steps { position: relative; display: flex; gap: clamp(1.2rem, 3vw, 2.4rem); }
.steps__rail {
  width: 2px;
  background: var(--divider);
  border-radius: 2px;
  position: relative;
  flex: none;
}
.steps__railfill {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(var(--cyan), var(--coral));
  border-radius: 2px;
}
.steps__list { display: flex; flex-direction: column; gap: clamp(1rem, 2.6vh, 2rem); flex: 1; }
.step {
  opacity: 0.28;
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  transform: translateX(6px);
  max-width: 30rem;
}
.step.is-active { opacity: 1; transform: translateX(0); }
.step__num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--coral);
  letter-spacing: 0.18em;
}
.step h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0;
  margin: 0.25rem 0 0.35rem;
}
.step p { font-size: 0.94rem; color: var(--text-muted); }

/* ── coverage ────────────────────────────────────────────────── */

.coverage {
  background: var(--surface-muted);
  padding: clamp(6rem, 12vw, 10rem) clamp(1.4rem, 5vw, 4.5rem);
}
.coverage__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.coverage__text { margin: 1.6rem 0 1.8rem; color: var(--text-muted); max-width: 30rem; }
.legend { display: flex; flex-direction: column; gap: 0.7rem; font-size: 0.92rem; font-weight: 500; }
.legend li { display: flex; align-items: center; gap: 0.7rem; }

.coverage__plan {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 24px;
  padding: clamp(1.2rem, 3vw, 2.4rem);
  box-shadow: 0 24px 60px rgba(11, 31, 58, 0.08);
  position: relative;
}
.coverage__plan svg { width: 100%; height: auto; }
.plan-room { opacity: 0; }
.plan-room[data-q="strong"] { fill: rgba(22, 163, 74, 0.20); }
.plan-room[data-q="fair"]   { fill: rgba(245, 158, 11, 0.20); }
.plan-room[data-q="weak"]   { fill: rgba(220, 38, 38, 0.18); }
.plan-labels text { font-family: var(--font-body); font-weight: 600; }
.plan-router__ring { transform-origin: 130px 110px; animation: planRing 2.6s ease-out infinite; }
.plan-router__ring--2 { animation-delay: 1.3s; }
@keyframes planRing {
  0%   { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(7); opacity: 0; }
}
.plan-extender { opacity: 0; }
.plan-tip {
  position: absolute;
  bottom: -1.1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(11, 31, 58, 0.3);
  opacity: 0;
}

/* ── certificate section ─────────────────────────────────────── */

.certsection {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: clamp(6rem, 12vw, 11rem) clamp(1.4rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.certsection::before {
  content: "";
  position: absolute;
  bottom: -35%; left: -10%;
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(255, 90, 95, 0.10), transparent 65%);
}
.certsection__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  position: relative;
}
.certsection__copy p { max-width: 30rem; margin: 1.6rem 0; }
.certsection__list { display: flex; flex-direction: column; gap: 0.8rem; }
.certsection__list li {
  padding-left: 1.6rem;
  position: relative;
  font-size: 0.95rem;
}
.certsection__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

.cert3d { position: relative; perspective: 1200px; }
.cert3d__glow {
  position: absolute;
  inset: 8% -4%;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.22), transparent);
  filter: blur(30px);
  z-index: 0;
}
.cert {
  position: relative;
  z-index: 1;
  background: #fff;
  color: var(--text);
  border-radius: 20px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
  transform-style: preserve-3d;
  will-change: transform;
}
.cert__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
}
.cert__head img { height: 30px; width: auto; }
.cert__badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--signal-strong);
  border: 1.5px solid var(--signal-strong);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}
.cert h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0;
}
.cert__addr { font-size: 0.82rem; color: var(--text-muted); margin: 0.2rem 0 1.2rem; }
.cert__rooms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}
.cert__room {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--surface-muted);
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
}
.cert__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--divider);
  padding: 0.9rem 0;
  margin-bottom: 1.2rem;
  text-align: center;
}
.cert__stats b {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  display: block;
  color: var(--navy);
}
.cert__stats span { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--label); }
.cert__foot { display: flex; justify-content: space-between; align-items: flex-end; }
.cert__sig svg { width: 170px; }
.cert__sig span { font-size: 0.7rem; color: var(--label); display: block; margin-top: 0.2rem; }
.cert__seal {
  width: 58px; height: 58px;
  border: 2px dashed var(--coral);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: rotate(-12deg);
}
.cert__seal img { width: 30px; }

/* ── stats ───────────────────────────────────────────────────── */

.stats { padding: clamp(6rem, 11vw, 9rem) clamp(1.4rem, 5vw, 4.5rem); background: var(--surface); }
.stats__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
}
.stat {
  border-top: 2px solid var(--navy);
  padding-top: 1.4rem;
}
.stat b {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--navy);
  display: block;
  line-height: 1;
  margin-bottom: 0.6rem;
  font-variant-numeric: tabular-nums;
}
.stat:nth-child(2) b { color: var(--coral); }
.stat:nth-child(3) b { color: var(--cyan); }
.stat b span { font-size: inherit; }
.stat > span { font-size: 0.9rem; color: var(--text-muted); max-width: 22rem; display: block; }

/* ── teams ───────────────────────────────────────────────────── */

.teams {
  background: var(--surface-muted);
  padding: clamp(6rem, 12vw, 10rem) clamp(1.4rem, 5vw, 4.5rem);
  text-align: center;
}
.teams__grid {
  max-width: 1100px;
  margin: 3.6rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
  text-align: left;
}
.team-card {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 24px;
  padding: clamp(1.8rem, 3.4vw, 2.8rem);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  will-change: transform;
}
.team-card:hover { box-shadow: 0 30px 70px rgba(11, 31, 58, 0.12); }
.team-card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(34, 211, 238, 0.14);
  color: var(--navy);
  margin-bottom: 1.4rem;
}
.team-card__icon svg { width: 26px; height: 26px; }
.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  letter-spacing: 0;
}
.team-card > p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 1.4rem; }
.team-card ul { display: flex; flex-direction: column; gap: 0.6rem; }
.team-card li {
  font-size: 0.88rem;
  font-weight: 500;
  padding-left: 1.4rem;
  position: relative;
}
.team-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.48em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}
.team-card--navy { background: var(--navy); color: #fff; border-color: transparent; }
.team-card--navy h3 { color: #fff; }
.team-card--navy > p { color: rgba(255, 255, 255, 0.65); }
.team-card--navy .team-card__icon { background: rgba(34, 211, 238, 0.16); color: var(--cyan); }
.team-card--navy li::before { background: var(--coral); }

/* ── CTA ─────────────────────────────────────────────────────── */

.cta {
  position: relative;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: clamp(7rem, 14vw, 13rem) clamp(1.4rem, 5vw, 4.5rem);
  text-align: center;
  overflow: hidden;
}
.cta__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.cta__inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.6rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.6rem;
}
.cta__title em { color: var(--cyan); }
.cta__inner > p { max-width: 32rem; margin: 0 auto 2.6rem; }
.cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── footer ──────────────────────────────────────────────────── */

.footer {
  background: #071527;
  color: rgba(255, 255, 255, 0.6);
  padding: clamp(3.6rem, 7vw, 5.5rem) clamp(1.4rem, 5vw, 4.5rem) 1.6rem;
  font-size: 0.9rem;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.4rem;
  padding-bottom: 3rem;
}
.footer__brand img { height: 40px; width: auto; margin-bottom: 1.1rem; }
.footer__col { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__col b {
  font-family: var(--font-mono);
  color: #fff;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.footer__col a { transition: color 0.25s; }
.footer__col a:hover { color: var(--cyan); }
.footer__bar {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ── responsive ──────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .walkthrough__stage { grid-template-columns: 1fr; gap: 2.4rem; }
  .phone { width: min(260px, 70vw); }
  .coverage__inner, .certsection__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .hero { padding-top: calc(var(--nav-h) + 1rem); }
  .hero__scrollhint { display: none; }
  .steps__list { gap: 0.9rem; }
  .step p { display: none; }
  .step.is-active p { display: block; }
  .plan-tip { font-size: 0.68rem; }
}

/* ── reduced motion ──────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .hero__canvas, .cta__canvas { display: none; }
  .cursor { display: none; }
}

/* ── demo request modal ──────────────────────────────────────── */
/* brand tokens only — overlays/borders derive from --navy via rgba */

body.demo-modal-open { overflow: hidden; }

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}
.demo-modal[hidden] { display: none; }

.demo-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.6); /* navy @ 60% */
  backdrop-filter: blur(4px);
}

.demo-modal__panel {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100vh - 2.4rem);
  overflow-y: auto;
  background: var(--surface);
  border-radius: 18px;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: 0 30px 80px rgba(11, 31, 58, 0.35);
}

.demo-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s var(--ease-out);
}
.demo-modal__close:hover { background: var(--divider); }

.demo-modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 650;
  line-height: 1.08;
  color: var(--navy);
}
.demo-modal__title em { color: var(--coral); }

.demo-modal__sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0.7rem 0 1.5rem;
}

.demo-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}

.demo-form__field { display: flex; flex-direction: column; gap: 0.35rem; }
.demo-form__field--wide { grid-column: 1 / -1; }

.demo-form__field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--label);
}
.demo-form__field label small { text-transform: none; letter-spacing: 0; }

.demo-form__field input,
.demo-form__field select,
.demo-form__field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface-muted);
  border: 1px solid var(--divider);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.demo-form__field textarea { resize: vertical; min-height: 84px; }
.demo-form__field input:focus,
.demo-form__field select:focus,
.demo-form__field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.25); /* cyan @ 25% */
}

/* honeypot: visually removed, still submittable by naive bots */
.demo-form__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.demo-form__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.demo-form__submit[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.demo-form__status {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}
.demo-form__status--error { color: var(--signal-weak); }

.demo-modal__success { text-align: center; padding: 2rem 0 1rem; }
.demo-modal__success h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--navy);
  margin: 0.9rem 0 0.5rem;
}
.demo-modal__success p {
  color: var(--text-muted);
  max-width: 34ch;
  margin: 0 auto 1.6rem;
}
.demo-modal__success .pulse-dot { width: 14px; height: 14px; margin: 0; }

@media (max-width: 560px) {
  .demo-form__grid { grid-template-columns: 1fr; }
  .demo-modal__panel { border-radius: 14px; }
}
