/* site-motion: the animated layer of the marketing pages (/ and /providers/).
   Loaded after styles.css by those two pages only, so the legal pages (LTR and RTL) and the
   get-started wizard are untouched. Scripts: motion.js (reveals, counters, marquee, video) and
   flow.js (the two canvases). Every animation stops under prefers-reduced-motion. */
:root {
  --navy-950: #070b1d;
  --navy-900: #0b1129;
  --navy-800: #131b3d;
  --navy-line: rgba(165, 180, 252, 0.16);
  --on-dark: #eef0ff;
  --on-dark-muted: #aab2d8;
  --glow: #818cf8;
  --win: #34d399;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Dark hero band ---------- */
.hero.hero-dark {
  background: var(--navy-950);
  color: var(--on-dark);
  padding: 72px 24px 112px;
  isolation: isolate;
}
.hero-dark .hero-bg {
  z-index: -1;
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(79, 70, 229, 0.35), transparent 70%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  overflow: hidden;
}
.hero-dark .hero-bg::before,
.hero-dark .hero-bg::after {
  content: "";
  position: absolute;
  width: 62vmax;
  height: 62vmax;
  border-radius: 50%;
  opacity: 0.6;
  will-change: transform;
}
.hero-dark .hero-bg::before {
  left: -18vmax;
  top: -26vmax;
  background: radial-gradient(circle closest-side, rgba(99, 102, 241, 0.7), rgba(99, 102, 241, 0.25) 45%, transparent);
  animation: aurora-drift 22s ease-in-out infinite alternate;
}
.hero-dark .hero-bg::after {
  right: -22vmax;
  top: -14vmax;
  /* brand-refresh: the second light is the brand's warm coral, not a second purple. */
  background: radial-gradient(circle closest-side, rgba(255, 107, 71, 0.34), rgba(255, 107, 71, 0.1) 45%, transparent);
  animation: aurora-drift 28s ease-in-out -9s infinite alternate-reverse;
}
@keyframes aurora-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(8vmax, 5vmax, 0) scale(1.12); }
  100% { transform: translate3d(-4vmax, 9vmax, 0) scale(0.94); }
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(165, 180, 252, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(165, 180, 252, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 50% 35%, #000 20%, transparent 75%);
}

.hero-dark .hero-inner { position: relative; max-width: 880px; }
.hero-dark .hero-sub { max-width: 640px; margin-bottom: 28px; text-wrap: pretty; }
.hero-dark h1 { text-wrap: balance; }
.hero-dark h1 {
  font-size: clamp(34px, 5.2vw, 56px);
  color: #fff;
  background: linear-gradient(180deg, #ffffff 30%, #c7d2fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-dark .hero-sub { color: var(--on-dark-muted); }

.eyebrow.eyebrow-live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(199, 210, 254, 0.2);
  color: #c7d2fe;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding-block: 7px;
  padding-inline: 12px 14px;
}
.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--win);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.8);
  flex: none;
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--win);
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
  75%, 100% { transform: scale(2.6); opacity: 0; }
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: #c3c9e8;
}
.hero-chips li {
  padding: 6px 10px;
  border: 1px solid rgba(199, 210, 254, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-dark .hero-cta { margin-top: 4px; }
.hero-link { color: #c7d2fe; font-weight: 600; font-size: 14px; }
.hero-link:hover { color: #fff; }

/* The lead-flow stage: its size is reserved before the canvas draws (no layout shift). */
.flow-stage {
  position: relative;
  max-width: 1080px;
  margin: 36px auto 0;
}
.flow-canvas {
  display: block;
  width: 100%;
  aspect-ratio: 1080 / 330;
  height: auto;
}
/* The column names over the canvas (HTML, so they translate), lined up with flow.js's columns. */
.flow-heads {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 12px;
  padding: 0 max(40px, 7%);
  margin-bottom: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(199, 210, 254, 0.8);
}
.flow-heads > :first-child { text-align: start; }
.flow-heads > :nth-child(2) { text-align: center; color: #fff; letter-spacing: 0.02em; text-transform: none; font-family: var(--font); font-size: 13px; font-weight: 700; }
.flow-heads > :last-child { text-align: end; }
.flow-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin: 16px auto 0;
  max-width: 920px;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--on-dark-muted);
}
.flow-legend li { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.lg-lead { background: var(--glow); box-shadow: 0 0 8px var(--glow); }
.lg-won { background: var(--win); box-shadow: 0 0 8px var(--win); }
.lg-lost { background: transparent; border: 1.5px solid #5b6390; }
.lg-ad, .lg-pay, .lg-share {
  display: inline-flex; align-items: center; justify-content: center;
  width: auto; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
  font: 700 11px/1 var(--font);
}
.lg-ad { border-radius: 4px; background: #fde68a; color: #3b2a00; }
.lg-pay { background: #f59e0b; color: #2b1700; box-shadow: 0 0 8px rgba(245, 158, 11, 0.7); }
.lg-share { background: #10b981; color: #fff; box-shadow: 0 0 8px rgba(16, 185, 129, 0.7); }

/* The audience cards lift over the dark band. */
.hero-dark + .audience { position: relative; z-index: 2; margin-top: -64px; }
.hero-dark + .audience .audience-card { box-shadow: 0 18px 50px rgba(7, 11, 29, 0.18), 0 2px 6px rgba(7, 11, 29, 0.06); }
.hero-dark + .audience .audience-card:not(.featured) { background: #fff; }

/* The providers page: its video card lifts over the dark band the same way. */
.hero-dark + .video-lift { position: relative; z-index: 2; margin-top: -72px; padding: 0 24px 24px; }
.video-lift .video-card { margin-bottom: 0; }
.prose > .kicker { text-align: start; }


/* ---------- Section kickers, hover lift, arrow nudge ---------- */
.kicker {
  display: block;
  text-align: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin: 0 0 12px;
}
.step, .audience-card {
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.2s ease;
}
/* partner-review-fixes: the lift only where a pointer can hover (a tap on a phone does not leave a card stuck lifted);
   a linked step card answers a tap with a short press instead, and shows the keyboard focus like its hover. */
@media (hover: hover) {
  .step:hover, .audience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
    border-color: #c7d2fe;
  }
  .audience-card.featured:hover { border-color: var(--accent); }
}
.step-link:hover { border-color: var(--accent); }
.step-link:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
  border-color: var(--accent);
}
.step-link:active { transform: translateY(-1px) scale(0.99); box-shadow: 0 6px 16px rgba(17, 24, 39, 0.06); }
.arr { display: inline-block; transition: transform 0.25s var(--ease-out); }
.arr .icon { display: block; }
.arr { vertical-align: -0.15em; }
a:hover > .arr, a:focus-visible > .arr, .step-link:hover .arr, .step-link:focus-visible .arr { transform: translateX(4px); }
.trust-number { font-variant-numeric: tabular-nums; }

/* ---------- Scroll reveal (motion.js adds .rv to elements below the fold, then .in) ---------- */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--rv-delay, 0ms);
}
.rv.in { opacity: 1; transform: none; }
/* Once revealed, hover transitions run at their own speed. */
.step.rv.in, .audience-card.rv.in { transition: opacity 0.8s var(--ease-out) var(--rv-delay, 0ms), transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.2s ease; }

/* ---------- Video card ---------- */
.video-card { max-width: 880px; margin: 0 auto 56px; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: var(--navy-950);
  box-shadow: 0 30px 70px rgba(30, 27, 75, 0.28), 0 0 0 1px rgba(129, 140, 248, 0.22);
}
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-sound {
  position: absolute;
  inset-inline-start: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 10px;
  padding-inline: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(7, 11, 29, 0.66);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font: 600 14px/1 var(--font);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s var(--ease-out), opacity 0.3s ease;
}
.video-sound:hover { background: rgba(214, 58, 28, 0.92); transform: translateY(-1px); }
.video-sound:focus-visible { outline: 3px solid #a5b4fc; outline-offset: 2px; }
.video-sound .play {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  padding-left: 1px;
}
.video-sound .play .icon { display: block; width: 11px; height: 11px; }
.video-frame.is-sound .video-sound { opacity: 0; visibility: hidden; pointer-events: none; }
/* The burned-in captions are centred at the bottom and can be wide: the sound button stays a small round control in
   the corner so it never covers a caption. Its words stay available to screen readers and as a tooltip. */
.video-sound { padding: 9px; gap: 0; }
.video-sound .play { width: 26px; height: 26px; }
.video-sound .play .icon { width: 12px; height: 12px; }
.video-sound .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.video-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 16px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}
.video-meta .mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; }
.transcript summary { cursor: pointer; font-weight: 600; color: var(--accent); }
.transcript[open] { flex-basis: 100%; }
.transcript p { margin: 10px 0 0; color: var(--muted); line-height: 1.6; }

/* ---------- Connected systems card (#data) ---------- */
.mesh-card {
  display: grid;
  grid-template-columns: 4fr 8fr;
  align-items: center;
  gap: 8px;
  margin: 0 auto 48px;
  padding-block: 40px;
  padding-inline: 44px 0;
  border-radius: 24px;
  background:
    radial-gradient(60% 80% at 75% 50%, rgba(79, 70, 229, 0.28), transparent 70%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-950) 70%);
  border: 1px solid rgba(79, 70, 229, 0.25);
  color: var(--on-dark);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(30, 27, 75, 0.22);
}
.mesh-card .kicker { text-align: start; color: #a5b4fc; }
.mesh-card h3, .mesh-card h2 { text-align: start; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 12px; color: #fff; }
.mesh-card p { margin: 0 0 18px; color: var(--on-dark-muted); font-size: 15px; line-height: 1.6; }
.mesh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mesh-chips li {
  font-family: var(--mono);
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #a7f3d0;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.4);
}
.mesh-chips li.mesh-chip-out { color: #c7d2fe; background: rgba(129, 140, 248, 0.14); border-color: rgba(129, 140, 248, 0.45); }
.mesh-chips li.mesh-chip-bill { color: #fde68a; background: rgba(245, 158, 11, 0.14); border-color: rgba(251, 191, 36, 0.5); }
.mesh-stage { position: relative; }
.mesh-canvas { display: block; width: 100%; aspect-ratio: 640 / 500; height: auto; }

/* ---------- Integrations marquee (motion.js builds it; static pills without JS) ---------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .pill-row { flex-wrap: nowrap; padding: 6px 6px 6px 0; }
.marquee .pill { white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .mesh-card { grid-template-columns: 1fr; padding: 32px 20px 12px; }
  .mesh-canvas { aspect-ratio: 640 / 520; }
}
@media (max-width: 560px) {
  .mesh-stage { margin: 0 -18px; }
  .mesh-canvas { aspect-ratio: 1 / 1.75; }
}
@media (max-width: 720px) {
  .hero.hero-dark { padding: 64px 20px 96px; }
  .flow-stage { margin-top: 32px; }
  .flow-canvas { aspect-ratio: 335 / 250; }
  .flow-heads .fh-long { display: none; }
  .flow-heads { padding: 0 2px; font-size: 12px; letter-spacing: 0; gap: 8px; }
  .flow-heads > :nth-child(2) { font-size: 12px; }
  .flow-legend { display: grid; grid-template-columns: 1fr; justify-items: start; gap: 9px; max-width: 340px; font-size: 14px; }
  .hero-chips { font-size: 12.5px; gap: 6px; }
  .hero-chips li { padding: 5px 8px; }
  .video-frame { border-radius: 14px; }
  .video-sound { inset-inline-start: 8px; bottom: 8px; padding: 5px; }
  .video-sound .play { width: 20px; height: 20px; font-size: 8px; }
  .video-sound .play .icon { width: 9px; height: 9px; }
  .hero-dark + .audience { margin-top: -56px; }
  .hero-dark + .video-lift { margin-top: -56px; padding: 0 20px 8px; }
}

/* ---------- site-he: right to left ---------- */
/* The arrow nudge goes the way the arrow points. */
[dir="rtl"] a:hover > .arr, [dir="rtl"] a:focus-visible > .arr, [dir="rtl"] .step-link:hover .arr, [dir="rtl"] .step-link:focus-visible .arr { transform: translateX(-4px); }
/* The connected-systems card: its glow sits behind the canvas, which is on the left in Hebrew. */
[dir="rtl"] .mesh-card {
  background:
    radial-gradient(60% 80% at 25% 50%, rgba(79, 70, 229, 0.28), transparent 70%),
    linear-gradient(200deg, var(--navy-800) 0%, var(--navy-950) 70%);
}
/* Hebrew small labels: no caps tracking, the page's own font (Hebrew has no monospace companion here). */
:lang(he) .eyebrow.eyebrow-live, :lang(he) .hero-chips, :lang(he) .flow-heads, :lang(he) .video-meta .mono, :lang(he) .mesh-chips li {
  font-family: var(--font);
  letter-spacing: 0;
  text-transform: none;
}
:lang(he) .eyebrow.eyebrow-live { font-size: 13px; }
:lang(he) .hero-chips { font-size: 12.5px; }
:lang(he) .flow-heads { font-size: 12.5px; }
:lang(he) .video-meta .mono { font-size: 13px; }
:lang(he) .mesh-chips li { font-size: 13px; }
@media (max-width: 720px) {
  :lang(he) .flow-heads { font-size: 11.5px; }
  :lang(he) .hero-chips { font-size: 12px; }
}

/* ---------- Reduced motion: everything still ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-dark .hero-bg::before, .hero-dark .hero-bg::after, .live-dot::after, .marquee-track { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
  .step, .audience-card, .arr, .video-sound { transition: none; }
  .step:hover, .audience-card:hover, a:hover > .arr, .step-link:focus-visible, .step-link:active, .step-link:hover .arr, .step-link:focus-visible .arr { transform: none; }
  [dir="rtl"] a:hover > .arr, [dir="rtl"] a:focus-visible > .arr, [dir="rtl"] .step-link:hover .arr, [dir="rtl"] .step-link:focus-visible .arr { transform: none; }
}

/* ---------- brand-refresh: the hero's coral, its two buttons and the example results ---------- */
.hero-dark h1 .hot-text {
  background: linear-gradient(180deg, #ffb8a3 0%, var(--hot-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.btn-ghost-dark { background: rgba(255, 255, 255, 0.06); color: #fff; border: 1px solid rgba(199, 210, 254, 0.35); box-shadow: none; }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(199, 210, 254, 0.6); }
.hero-dark .btn:focus-visible { outline-color: #a5b4fc; }

/* The example results float beside the headline on wide screens; phones and tablets have the legend instead. */
.hero-proof { display: none; }
@media (min-width: 1200px) {
  .hero-proof { display: block; position: absolute; inset: 0; pointer-events: none; }
  .proof-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 12px;
    border-radius: 16px;
    background: rgba(19, 27, 61, 0.82);
    border: 1px solid var(--navy-line);
    box-shadow: 0 18px 40px rgba(3, 6, 20, 0.45);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    text-align: start;
    animation: proof-float 7s ease-in-out infinite alternate;
  }
  .proof-sale { top: 150px; inset-inline-start: max(24px, calc(50% - 640px)); border-color: rgba(52, 211, 153, 0.45); }
  .proof-pay { top: 300px; inset-inline-end: max(24px, calc(50% - 640px)); border-color: rgba(255, 107, 71, 0.5); animation-delay: -3s; }
  .proof-none { top: 430px; inset-inline-start: max(48px, calc(50% - 600px)); animation-delay: -5s; }
  .proof-icon {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 36px; height: 36px; border-radius: 12px;
    font: 700 15px/1 var(--font);
  }
  .proof-icon .icon { display: block; }
  .proof-sale .proof-icon { background: rgba(52, 211, 153, 0.16); color: var(--win); }
  .proof-pay .proof-icon { background: rgba(255, 107, 71, 0.18); color: var(--hot-bright); }
  .proof-none .proof-icon { background: rgba(165, 180, 252, 0.12); color: #c7d2fe; }
  .proof-text { display: flex; flex-direction: column; gap: 2px; }
  .proof-label { font-size: 12.5px; color: var(--on-dark-muted); line-height: 1.2; }
  .proof-num { font-size: 18px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.2; }
}
@keyframes proof-float {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .proof-card { animation: none; }
}

/* ---------- ux-audit (site): "Pause animations" and the video's own pause button (WCAG 2.2.2) ---------- */
/* motion.js puts motion-off on <html> (kept for the whole site); flow.js stops its canvases the same way. */
.motion-off .hero-dark .hero-bg::before, .motion-off .hero-dark .hero-bg::after, .motion-off .live-dot::after,
.motion-off .marquee-track, .motion-off .proof-card { animation-play-state: paused; }
.marquee.is-held .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(199, 210, 254, 0.3);
  background: rgba(7, 11, 29, 0.55);
  color: #e0e4ff;
  font: 600 13px/1 var(--font);
  cursor: pointer;
}
.motion-toggle[hidden], .motion-toggle [hidden] { display: none; }
.motion-toggle > span { display: inline-flex; align-items: center; gap: 8px; }
.motion-toggle:hover { background: rgba(7, 11, 29, 0.8); border-color: rgba(199, 210, 254, 0.6); color: #fff; }
.motion-toggle:focus-visible { outline: 3px solid #a5b4fc; outline-offset: 2px; }
/* In the hero: its top corner (on the reading side's end); in the systems card: the canvas's top corner. */
.hero-dark > .motion-toggle { position: absolute; top: 16px; inset-inline-end: 52px; z-index: 3; }
.mesh-stage > .motion-toggle { position: absolute; top: 0; inset-inline-end: 16px; z-index: 2; }
.video-toggle {
  position: absolute;
  inset-inline-end: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(7, 11, 29, 0.66);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
}
.video-toggle[hidden], .video-toggle [hidden] { display: none; }
.video-toggle:hover { background: rgba(7, 11, 29, 0.9); }
.video-toggle:focus-visible { outline: 3px solid #a5b4fc; outline-offset: 2px; }
.video-toggle .icon { display: block; }
.video-toggle .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
/* The sound button is the same 44px round control (a touch target), never covering the captions in the middle. */
.video-sound { min-width: 44px; min-height: 44px; justify-content: center; }
@media (max-width: 720px) {
  .hero-dark > .motion-toggle { top: 10px; inset-inline-end: 12px; min-height: 32px; padding: 4px 12px; font-size: 12.5px; }
  .video-toggle { inset-inline-end: 8px; bottom: 8px; }
  .video-sound { min-width: 36px; min-height: 36px; }
}
@media (prefers-reduced-motion: reduce) { .motion-toggle, .video-toggle { display: none !important; } }

/* ---------- calm-ui 2026-10-27 (docs/ux/calm-2026-10-27/principles.md): the home page's first screen ----------
   The headline, one line on what Hotlead is, then one panel per audience with its one button (and a quiet "Sign in").
   The animation sits under them; its key is one press away (a <details>). */
.hero-calm.hero-dark { padding-top: 64px; padding-bottom: 72px; }
.hero-calm .hero-inner { max-width: 820px; }
.hero-calm .hero-sub { max-width: 600px; margin: 18px auto 0; font-size: 18px; line-height: 1.6; }
.hero-paths {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 880px;
  margin: 40px auto 0;
}
.hero-path {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 24px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--navy-line);
  text-align: start;
}
.hero-path h2 { margin: 0; font-size: 20px; letter-spacing: -0.01em; color: #fff; }
.hero-path p { margin: 0; flex: 1; font-size: 15.5px; line-height: 1.55; color: var(--on-dark-muted); }
.hero-path-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 12px; }
.hero-path .btn-lg { padding: 13px 26px; font-size: 16px; }
.hero-path .hero-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; text-decoration: none; }
.hero-path .hero-link:hover { text-decoration: underline; text-underline-offset: 3px; }
/* The website owners' button: filled white on the navy band (their one main action), the coral stays the businesses'. */
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: #e0e7ff; }
.btn-light.btn-lg { box-shadow: 0 8px 24px rgba(3, 6, 20, 0.35); }
.hero-calm .flow-stage { margin-top: 48px; }
.flow-key { margin: 12px auto 0; max-width: 920px; text-align: center; color: var(--on-dark-muted); }
.flow-key summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px; font-size: 14px; font-weight: 600; color: #c7d2fe; cursor: pointer; }
.flow-key summary:hover { color: #fff; }
.flow-key summary:focus-visible { outline: 3px solid #a5b4fc; outline-offset: 2px; border-radius: 6px; }
.flow-key .flow-legend { margin-top: 8px; }
@media (max-width: 720px) {
  .hero-calm.hero-dark { padding: 48px 16px 56px; }
  .hero-calm .hero-sub { font-size: 16px; }
  .hero-paths { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .hero-path { padding: 20px 18px 14px; }
  .hero-calm .flow-stage { margin-top: 36px; }
  .flow-key .flow-legend { margin-inline: auto; text-align: start; }
}
