/* ==========================================================================
   Service Strike — dark premium theme (shared by every page)
   Load order on every page: styles.css -> theme-legacy.css -> theme.css ->
   theme-pages.css. Scoped to body.ss-dark; hx-* classes are the new
   components first built for the home page.
   ========================================================================== */

body.ss-dark {
  --hx-bg: #060a14;
  --hx-bg-2: #0a1020;
  --hx-surface: rgba(255, 255, 255, 0.035);
  --hx-surface-2: rgba(255, 255, 255, 0.06);
  --hx-border: rgba(255, 255, 255, 0.08);
  --hx-border-2: rgba(255, 255, 255, 0.14);
  --hx-text: #eef2ff;
  --hx-muted: #9aa5c3;
  --hx-dim: #6b7694;
  --hx-blue: #4f7cff;
  --hx-violet: #38bdf8;
  --hx-cyan: #22d3ee;
  --hx-green: #34d399;
  --hx-grad: linear-gradient(135deg, #3b82f6 0%, #38bdf8 100%);
  --hx-grad-text: linear-gradient(90deg, #60a5fa 0%, #38bdf8 50%, #a5f3fc 100%);
  --hx-radius: 22px;
  --hx-head: "Plus Jakarta Sans", "Inter", "Segoe UI", sans-serif;
  --hx-body: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  margin: 0;
  padding-top: 72px;
  /* clip (not hidden) so position: sticky keeps working */
  overflow-x: clip;
  background: var(--hx-bg);
  color: var(--hx-text);
  font-family: var(--hx-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.ss-dark .page-shell::before,
body.ss-dark .page-shell::after { display: none; }
body.ss-dark ::selection { background: rgba(56, 189, 248, 0.45); color: #fff; }
body.ss-dark h1, body.ss-dark h2, body.ss-dark h3 {
  font-family: var(--hx-head);
  color: var(--hx-text);
  margin: 0;
  text-wrap: balance;
}

/* ---------- Header (home only) ---------- */
body.ss-dark .site-header {
  background: rgba(6, 10, 20, 0.6);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
body.ss-dark .site-header.is-scrolled {
  background: rgba(6, 10, 20, 0.85);
  border-bottom-color: var(--hx-border);
}
body.ss-dark .nav-wrap { min-height: 72px; }
body.ss-dark .brand-logo { height: 46px; }
body.ss-dark .nav-links { gap: 0.35rem; }
body.ss-dark .nav-item {
  color: var(--hx-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
body.ss-dark .nav-item:hover,
body.ss-dark .nav-item.active { color: var(--hx-text); background: var(--hx-surface-2); }
body.ss-dark .dropdown-panel {
  top: 100%;
  background: rgba(10, 16, 32, 0.97);
  border: 1px solid var(--hx-border);
  border-top: 0;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(20px);
}
body.ss-dark .mega-title { color: var(--hx-dim); font-size: 0.75rem; letter-spacing: 0.14em; }
body.ss-dark .mega-link { color: var(--hx-muted); font-weight: 500; min-height: 40px; }
body.ss-dark .mega-link:hover { color: var(--hx-text); background: var(--hx-surface-2); }
body.ss-dark .mega-icon {
  width: 8px; height: 8px; flex-basis: 8px;
  background: var(--hx-grad);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.7);
}
body.ss-dark .mega-footer { border-top-color: var(--hx-border); min-height: 64px; }
body.ss-dark .mega-footer-link { color: #7dd3fc; font-weight: 600; }

body.ss-dark .button {
  min-height: 42px;
  padding: 0 1.1rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
}
body.ss-dark .button::before { display: none; }
body.ss-dark .button-primary {
  color: #fff;
  background: var(--hx-grad);
  box-shadow: 0 8px 24px rgba(79, 124, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
body.ss-dark .button-primary:hover {
  background: var(--hx-grad);
  box-shadow: 0 12px 32px rgba(56, 189, 248, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
body.ss-dark .button-secondary {
  color: var(--hx-text);
  background: var(--hx-surface-2);
  border: 1px solid var(--hx-border-2);
  box-shadow: none;
}
body.ss-dark .button-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.22); box-shadow: none; }
body.ss-dark .menu-toggle {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--hx-surface-2);
  border: 1px solid var(--hx-border-2);
  color: var(--hx-text);
}
body.ss-dark .mobile-menu.open { background: transparent; }
body.ss-dark .site-header:has(.mobile-menu.open) { background: rgba(6, 10, 20, 0.98); border-bottom-color: var(--hx-border); }
body.ss-dark .mobile-link,
body.ss-dark .mobile-feature-button { color: var(--hx-text); border-bottom-color: var(--hx-border); font-weight: 600; }
body.ss-dark .mobile-feature-group-title { color: #7dd3fc; }
body.ss-dark .mobile-feature-link { color: var(--hx-muted); }
body.ss-dark .mobile-feature-link:hover { color: var(--hx-text); }

/* ---------- Footer (home only) ---------- */
body.ss-dark .site-footer {
  padding: 4rem 0 2.5rem;
  border-top: 1px solid var(--hx-border);
  background: linear-gradient(180deg, transparent, rgba(79, 124, 255, 0.04));
}
body.ss-dark .footer-grid { gap: 2rem; }
body.ss-dark .footer-note { color: var(--hx-muted); line-height: 1.65; max-width: 34ch; font-size: 0.95rem; }
body.ss-dark .footer-links { gap: 0.7rem; align-content: start; }
body.ss-dark .footer-links strong {
  color: var(--hx-text);
  font-family: var(--hx-head);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
body.ss-dark .footer-links a { color: var(--hx-muted); font-size: 0.94rem; transition: color 0.2s ease; }
body.ss-dark .footer-links a:hover { color: var(--hx-text); }
body.ss-dark .footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--hx-border); }
body.ss-dark .footer-bottom .footer-note { font-size: 0.85rem; color: var(--hx-dim); }

/* ---------- Shared building blocks ---------- */
.hx-gradient-text {
  background: var(--hx-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hx-ico-sm { width: 16px; height: 16px; flex: 0 0 16px; }

.hx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0 1.6rem;
  border-radius: 14px;
  font-family: var(--hx-body);
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}
.hx-btn:hover { transform: translateY(-2px); }
.hx-btn-primary {
  color: #fff;
  background: var(--hx-grad);
  box-shadow: 0 12px 32px rgba(79, 124, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.hx-btn-primary:hover { box-shadow: 0 18px 44px rgba(56, 189, 248, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.hx-btn-primary .hx-ico-sm { transition: transform 0.2s ease; }
.hx-btn-primary:hover .hx-ico-sm { transform: translateX(3px); }
.hx-btn-ghost {
  color: var(--hx-text);
  background: var(--hx-surface-2);
  border: 1px solid var(--hx-border-2);
  backdrop-filter: blur(10px);
}
.hx-btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.24); }

.hx-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem; }

.hx-trust {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.6rem;
  color: var(--hx-muted);
  font-size: 0.9rem;
}
.hx-trust li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hx-trust svg { width: 16px; height: 16px; color: var(--hx-green); }

.hx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bae6fd;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

/* Premium card */
.hx-card {
  position: relative;
  border-radius: var(--hx-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--hx-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 50px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  isolation: isolate;
}
/* gradient hairline on hover */
.hx-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(96, 165, 250, 0.7), rgba(56, 189, 248, 0.15) 40%, transparent 60%, rgba(165, 243, 252, 0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.hx-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 70px rgba(0, 0, 0, 0.4), 0 0 60px rgba(79, 124, 255, 0.08);
}
.hx-card:hover::before { opacity: 1; }

.hx-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid currentColor;
  flex: 0 0 auto;
}
.hx-icon svg { width: 24px; height: 24px; }
.hx-icon-sm { width: 40px; height: 40px; border-radius: 12px; }
.hx-icon-sm svg { width: 20px; height: 20px; }
.hx-tone-blue   { color: #7aa2ff; background: rgba(79, 124, 255, 0.12);  border-color: rgba(79, 124, 255, 0.28); }
.hx-tone-violet { color: #7dd3fc; background: rgba(56, 189, 248, 0.12); border-color: rgba(56, 189, 248, 0.3); }
.hx-tone-cyan   { color: #5fe0f5; background: rgba(34, 211, 238, 0.1);  border-color: rgba(34, 211, 238, 0.26); }
.hx-tone-green  { color: #5ee6b0; background: rgba(52, 211, 153, 0.1);  border-color: rgba(52, 211, 153, 0.26); }

.hx-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.hx-checklist li { display: flex; align-items: flex-start; gap: 0.65rem; color: #c8d0e6; font-size: 0.97rem; line-height: 1.45; }
.hx-checklist svg {
  width: 18px; height: 18px; flex: 0 0 18px;
  margin-top: 1px;
  padding: 3px;
  border-radius: 999px;
  color: #fff;
  background: var(--hx-grad);
  box-sizing: content-box;
  transform: scale(0.85);
}
.hx-checklist-lg li { font-size: 1.02rem; }

.hx-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #7dd3fc;
  font-weight: 600;
  font-size: 0.95rem;
}
.hx-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.hx-link:hover { color: #fff; }
.hx-link:hover svg { transform: translateX(4px); }

/* ---------- Sections ---------- */
.hx-section { position: relative; padding: 7rem 0; }
.hx-section-tint {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(79, 124, 255, 0.07), transparent 70%),
    var(--hx-bg-2);
  border-top: 1px solid var(--hx-border);
  border-bottom: 1px solid var(--hx-border);
}
.hx-head {
  max-width: 820px;
  margin: 0 auto 3.5rem;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1.1rem;
}
.hx-head h2, .hx-split-copy h2, .hx-cta h2 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.hx-head p, .hx-split-copy > p, .hx-cta p {
  margin: 0;
  color: var(--hx-muted);
  font-size: 1.1rem;
  line-height: 1.65;
}
.hx-center { display: flex; justify-content: center; margin-top: 2.5rem; }

/* ---------- Hero ---------- */
.hx-hero {
  position: relative;
  padding: 5.5rem 0 6rem;
  overflow: hidden;
}
.hx-hero-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 900px;
  background:
    radial-gradient(40% 40% at 30% 30%, rgba(79, 124, 255, 0.35), transparent 70%),
    radial-gradient(35% 35% at 72% 28%, rgba(56, 189, 248, 0.32), transparent 70%),
    radial-gradient(30% 30% at 50% 70%, rgba(34, 211, 238, 0.12), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.hx-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 25%, #000 30%, transparent 75%);
  mask-image: radial-gradient(70% 55% at 50% 25%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hx-hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hx-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.95rem 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #d6dcf0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hx-border-2);
  backdrop-filter: blur(10px);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.hx-badge:hover { border-color: rgba(56, 189, 248, 0.5); background: rgba(56, 189, 248, 0.1); }
.hx-badge-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--hx-green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18), 0 0 12px rgba(52, 211, 153, 0.8);
}
.hx-hero-title {
  margin-top: 1.75rem !important;
  max-width: 18ch;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.hx-hero-title .hx-gradient-text { display: block; padding-bottom: 0.08em; }
.hx-hero-lead {
  max-width: 640px;
  margin: 1.5rem 0 2.25rem;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.65;
  color: var(--hx-muted);
}

.hx-hero-stage {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin-top: 4rem;
}
.hx-hero-stage::before {
  content: "";
  position: absolute;
  inset: 8% 6% -6%;
  background: var(--hx-grad);
  filter: blur(90px);
  opacity: 0.35;
  border-radius: 40px;
  z-index: 0;
}

/* Browser window frame for screenshots */
.hx-window {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  padding: 0 8px 8px;
  background: linear-gradient(180deg, rgba(30, 38, 62, 0.95), rgba(14, 19, 34, 0.98));
  border: 1px solid var(--hx-border-2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 50px 100px rgba(0, 0, 0, 0.55);
}
.hx-window-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 42px;
  padding: 0 0.6rem;
}
.hx-dots { display: inline-flex; gap: 7px; flex: 1 1 0; }
.hx-dots i { width: 11px; height: 11px; border-radius: 999px; background: #ff5f57; }
.hx-dots i:nth-child(2) { background: #febc2e; }
.hx-dots i:nth-child(3) { background: #28c840; }
.hx-url {
  flex: 0 1 320px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--hx-dim);
  padding: 0.3rem 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hx-border);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hx-window-spacer { flex: 1 1 0; }
.hx-window img { border-radius: 10px; }
.hx-window-static img { width: 100%; height: auto; }

/* Hero video: poster + play button, plays only after a click */
.hx-video-frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  overflow: hidden;
  background: #0a1020;
  border: 1px solid var(--hx-border-2);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(56, 189, 248, 0.15);
}
.hx-video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.hx-video-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: radial-gradient(60% 60% at 50% 50%, rgba(6, 10, 20, 0.15), rgba(6, 10, 20, 0.55));
  transition: opacity 0.4s ease, visibility 0.4s;
}
.hx-video-cover.hide { opacity: 0; visibility: hidden; }
.hx-play-btn {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--hx-grad);
  box-shadow: 0 18px 50px rgba(56, 189, 248, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1), box-shadow 0.3s;
}
.hx-play-btn svg { width: 40px; height: 40px; margin-left: 6px; fill: currentColor; }
.hx-play-btn::before,
.hx-play-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(125, 211, 252, 0.7);
  animation: hx-play-ring 2.4s ease-out infinite;
}
.hx-play-btn::after { animation-delay: 1.2s; }
@keyframes hx-play-ring { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.7); opacity: 0; } }
.hx-video-cover:hover .hx-play-btn,
.hx-video-cover:focus-visible .hx-play-btn {
  transform: scale(1.1);
  box-shadow: 0 22px 60px rgba(56, 189, 248, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.hx-video-cover:focus-visible { outline: 3px solid #7dd3fc; outline-offset: -3px; }
.hx-video-len {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: rgba(6, 10, 20, 0.75);
  border: 1px solid var(--hx-border-2);
  backdrop-filter: blur(8px);
}
.feature-video { max-width: 980px; margin-top: 2.75rem; }
@media (prefers-reduced-motion: reduce) {
  .hx-play-btn::before, .hx-play-btn::after { animation: none; }
}

.hx-slides.hero-slides {
  aspect-ratio: 1651 / 892;
  border-radius: 10px;
  border: 0;
  box-shadow: none;
  background: #f8fafc;
}
.hx-slides .hero-shot { object-fit: cover; object-position: top center; }
body.ss-dark .hx-window .slide-control {
  top: calc(50% + 17px);
  width: 44px; height: 44px;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  background: rgba(6, 10, 20, 0.6);
  border: 1px solid var(--hx-border-2);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease;
}
body.ss-dark .hx-window:hover .slide-control,
body.ss-dark .hx-window .slide-control:focus-visible { opacity: 1; }
body.ss-dark .hx-window .slide-control:hover { background: rgba(79, 124, 255, 0.6); }
body.ss-dark .hx-window .slide-dots {
  position: absolute;
  left: 50%;
  bottom: -36px;
  transform: translateX(-50%);
  margin: 0;
}
body.ss-dark .slide-dot { background: rgba(255, 255, 255, 0.2); transition: width 0.3s ease, background 0.3s ease; }
body.ss-dark .slide-dot.active { width: 28px; background: var(--hx-grad); }

/* Floating chips around hero */
.hx-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.1rem 0.8rem 0.8rem;
  border-radius: 16px;
  text-align: left;
  background: rgba(14, 20, 38, 0.82);
  border: 1px solid var(--hx-border-2);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  animation: hx-bob 6s ease-in-out infinite;
}
.hx-float strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--hx-text); }
.hx-float small { display: block; font-size: 0.78rem; color: var(--hx-muted); margin-top: 2px; }
.hx-float-icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid; }
.hx-float-icon svg { width: 18px; height: 18px; }
.hx-float-left { left: -40px; top: 22%; }
.hx-float-right { right: -40px; bottom: 18%; animation-delay: -3s; }
.hx-float-left-low { left: -56px; bottom: 10%; animation-delay: -1.5s; }
.hx-float-right-high { right: -56px; top: 14%; animation-delay: -4.5s; }
@keyframes hx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Industry marquee */
.hx-marquee {
  position: relative;
  margin-top: 6.5rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--hx-border);
  border-bottom: 1px solid var(--hx-border);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.hx-marquee-track {
  display: flex;
  width: max-content;
  gap: 3.5rem;
  animation: hx-marquee 40s linear infinite;
}
.hx-marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  font-family: var(--hx-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: #ffffff;
  white-space: nowrap;
}
.hx-marquee-track span::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--hx-grad);
  opacity: 0.7;
}
@keyframes hx-marquee { to { transform: translateX(calc(-50% - 1.75rem)); } }

/* ---------- Overview pillars ---------- */
.hx-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.hx-pillar { display: flex; flex-direction: column; gap: 1.4rem; padding: 2rem; }
.hx-pillar h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; }
.hx-pillar .hx-checklist { flex: 1; }
.hx-pillar .hx-link { padding-top: 1.25rem; border-top: 1px solid var(--hx-border); }
.hx-pillar-featured {
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(56, 189, 248, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-color: rgba(56, 189, 248, 0.3);
}

/* ---------- Why ---------- */
.hx-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.hx-why-card { padding: 2.1rem 2rem 2.2rem; overflow: hidden; }
.hx-why-card h3 { margin-top: 1.5rem; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }
.hx-why-card p { margin: 0.75rem 0 0; color: var(--hx-muted); line-height: 1.65; }
.hx-num {
  position: absolute;
  top: 1.1rem;
  right: 1.5rem;
  font-family: var(--hx-head);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.09);
  pointer-events: none;
}

/* ---------- Tools ---------- */
.hx-tools { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.9rem; }
.hx-tool {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-height: 150px;
  padding: 1.35rem;
  border-radius: 18px;
  background: var(--hx-surface);
  border: 1px solid var(--hx-border);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.hx-tool strong { font-family: var(--hx-head); font-size: 1rem; font-weight: 600; line-height: 1.3; color: var(--hx-text); padding-right: 1rem; }
.hx-tool-arrow {
  position: absolute;
  right: 1.1rem;
  bottom: 1.25rem;
  width: 16px; height: 16px;
  color: var(--hx-dim);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.hx-tool:hover { background: var(--hx-surface-2); border-color: rgba(56, 189, 248, 0.35); transform: translateY(-3px); }
.hx-tool:hover .hx-tool-arrow { opacity: 1; transform: none; color: #bae6fd; }

/* ---------- Split layout ---------- */
.hx-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4.5rem; align-items: center; }
.hx-split-reverse { grid-template-columns: 1.1fr 0.9fr; }
.hx-split-reverse .hx-split-copy { order: 2; }
.hx-split-copy { display: grid; gap: 1.3rem; justify-items: start; }
.hx-split-media { position: relative; }
.hx-split-media::before {
  content: "";
  position: absolute;
  inset: 10% 5%;
  background: var(--hx-grad);
  filter: blur(80px);
  opacity: 0.25;
  z-index: 0;
}

.hx-steps { list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; gap: 0.7rem; width: 100%; }
.hx-steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.05rem 1.2rem;
  border-radius: 16px;
  background: var(--hx-surface);
  border: 1px solid var(--hx-border);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.hx-steps li:hover { border-color: var(--hx-border-2); background: var(--hx-surface-2); }
.hx-steps h3 { font-size: 1.02rem; font-weight: 600; }
.hx-steps p { margin: 0.3rem 0 0; color: var(--hx-muted); font-size: 0.94rem; line-height: 1.55; }

.hx-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 5rem; }
.hx-shot { margin: 0; padding: 0.75rem; display: grid; gap: 0; }
.hx-shot-frame {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 1.25rem;
  border-radius: 14px;
  background:
    radial-gradient(80% 80% at 50% 0%, rgba(79, 124, 255, 0.18), transparent 70%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hx-border);
  overflow: hidden;
}
.hx-shot-frame img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s ease;
}
.hx-shot:hover .hx-shot-frame img { transform: scale(1.03); }
.hx-shot figcaption { padding: 1.1rem 0.5rem 0.5rem; color: var(--hx-muted); font-size: 0.94rem; line-height: 1.5; }
.hx-shot figcaption strong { display: block; color: var(--hx-text); font-family: var(--hx-head); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.25rem; }

/* ---------- Showcase ---------- */
.hx-showcase { display: grid; gap: 1.75rem; }
.hx-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.4rem;
  margin: 0 auto;
  max-width: 980px;
  border-radius: 18px;
  background: var(--hx-surface);
  border: 1px solid var(--hx-border);
}
body.ss-dark .hx-tabs .showcase-tab {
  padding: 0.55rem 0.95rem;
  border-radius: 12px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--hx-muted);
  font-family: var(--hx-body);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: none;
  min-height: 0;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
body.ss-dark .hx-tabs .showcase-tab:hover { color: var(--hx-text); background: var(--hx-surface-2); }
body.ss-dark .hx-tabs .showcase-tab.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.35), rgba(56, 189, 248, 0.35));
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 6px 20px rgba(79, 124, 255, 0.25);
}
.hx-showcase .hx-window { max-width: 1120px; margin: 0 auto; width: 100%; }
.hx-showcase-viewer { background: #f8fafc; border-radius: 10px; overflow: hidden; }
body.ss-dark .hx-showcase-viewer .showcase-image { border-radius: 0; }

/* ---------- Mobile app ---------- */
.hx-phone-stage { display: grid; place-items: center; min-height: 520px; }
.hx-phone-stage::before { display: none; }
.hx-phone-glow {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(56, 189, 248, 0.45), rgba(79, 124, 255, 0.2) 45%, transparent 70%);
  filter: blur(30px);
}
.hx-phone-stage::after {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
}
.hx-phone {
  position: relative;
  z-index: 1;
  width: min(310px, 72%);
  height: auto;
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.35))
    drop-shadow(0 0 36px rgba(56, 189, 248, 0.22))
    drop-shadow(0 50px 60px rgba(0, 0, 0, 0.65));
  animation: hx-bob 7s ease-in-out infinite;
}
.hx-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.6rem; }
.hx-badges a { display: block; transition: transform 0.2s ease, opacity 0.2s ease; }
.hx-badges a:hover { transform: translateY(-2px); }
.hx-badges img { height: 50px; width: auto; }
.hx-badges-center { justify-content: center; gap: 1rem; margin-top: 3.5rem; }
.hx-badges-center img { height: 56px; }

/* ---------- Industries ---------- */
.hx-industries {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}
.hx-industry {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: var(--hx-surface);
  border: 1px solid var(--hx-border);
  color: #d3d9ec;
  font-weight: 500;
  font-size: 0.97rem;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.hx-industry svg { width: 20px; height: 20px; color: #7dd3fc; flex: 0 0 20px; }
.hx-industry:hover { border-color: rgba(56, 189, 248, 0.35); background: var(--hx-surface-2); color: #fff; }

/* ---------- CTA ---------- */
.hx-section-cta { padding-top: 2rem; }
.hx-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  padding: 5rem 2rem;
  text-align: center;
  border-radius: 32px;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(79, 124, 255, 0.28), transparent 60%),
    radial-gradient(60% 80% at 50% 120%, rgba(56, 189, 248, 0.3), transparent 60%),
    #0b1124;
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 40px 100px rgba(0, 0, 0, 0.45);
}
.hx-cta-glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent 80%);
  mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent 80%);
  pointer-events: none;
}
.hx-cta > *:not(.hx-cta-glow) { position: relative; }
.hx-cta h2 { max-width: 20ch; }
.hx-cta p { max-width: 600px; }
.hx-cta .hx-actions { margin-top: 0.75rem; }
.hx-cta .hx-trust { margin-top: 0.5rem; }

/* ---------- Book demo modal (dark) ---------- */
body.ss-dark .book-demo-dialog {
  background: #0d1428;
  border-color: var(--hx-border-2);
  color: var(--hx-text);
}
body.ss-dark .book-demo-panel h2 { color: var(--hx-text); }
body.ss-dark .book-demo-panel .lead,
body.ss-dark .book-demo-panel p { color: var(--hx-muted); }
body.ss-dark .book-demo-close { background: var(--hx-surface-2); border-color: var(--hx-border-2); color: var(--hx-text); }
body.ss-dark .book-demo-form { background: rgba(255, 255, 255, 0.03); border-color: var(--hx-border); }
body.ss-dark .book-demo-form label,
body.ss-dark .book-demo-form span { color: #c8d0e6; }
body.ss-dark .book-demo-form input,
body.ss-dark .book-demo-form select,
body.ss-dark .book-demo-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hx-border-2);
  color: var(--hx-text);
}
body.ss-dark .book-demo-form input::placeholder { color: var(--hx-dim); }
body.ss-dark .book-demo-form select option { background: #0d1428; }
body.ss-dark .book-demo-panel .eyebrow { color: #bae6fd; background: rgba(56, 189, 248, 0.1); border-color: rgba(56, 189, 248, 0.25); box-shadow: none; }
body.ss-dark .book-demo-summary-card,
body.ss-dark .contact-consent-row {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hx-border);
  box-shadow: none;
  color: var(--hx-muted);
}
body.ss-dark .book-demo-summary-card strong { color: var(--hx-text); }
body.ss-dark .book-demo-summary-label { color: #7dd3fc; }
body.ss-dark .contact-status { color: var(--hx-muted); }
body.ss-dark .book-demo-form input[type="date"] { color-scheme: dark; }

/* ---------- Scroll reveal ---------- */
.hx-js .hx-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hx-js .hx-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hx-float, .hx-phone, .hx-marquee-track { animation: none; }
  .hx-js .hx-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hx-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hx-industries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hx-float-left { left: -12px; }
  .hx-float-right { right: -12px; }
  .hx-float-left-low { left: -12px; }
  .hx-float-right-high { right: -12px; }
}
@media (max-width: 980px) {
  body.ss-dark .mobile-menu.open { padding-top: 0.5rem; }
  .hx-section { padding: 5rem 0; }
  .hx-pillars, .hx-why { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .hx-split, .hx-split-reverse { grid-template-columns: 1fr; gap: 3rem; }
  .hx-split-reverse .hx-split-copy { order: 0; }
  .hx-gallery { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; margin-top: 3.5rem; }
  .hx-float { display: none; }
  body.ss-dark .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body.ss-dark .container { width: calc(100% - 32px); }
  body.ss-dark .brand-logo { height: 40px; }
  .hx-hero { padding-top: 3.5rem; }
  .hx-hero-title { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .hx-actions { width: 100%; flex-direction: column; }
  .hx-actions .hx-btn { width: 100%; }
  .hx-trust { gap: 0.5rem 1rem; font-size: 0.85rem; }
  .hx-hero-stage { margin-top: 2.75rem; }
  .hx-window { padding: 0 5px 5px; border-radius: 12px; }
  .hx-video-frame { border-radius: 16px; }
  .hx-play-btn { width: 64px; height: 64px; }
  .hx-play-btn svg { width: 26px; height: 26px; margin-left: 4px; }
  .hx-video-len { right: 10px; bottom: 10px; font-size: 0.75rem; }
  .hx-window-bar { height: 32px; }
  .hx-dots i { width: 8px; height: 8px; }
  .hx-url { font-size: 0.7rem; padding: 0.2rem 0.6rem; }
  body.ss-dark .hx-window .slide-control { display: none; }
  .hx-hero { padding-bottom: 4.5rem; }
  .hx-section { padding: 4rem 0; }
  .hx-head { margin-bottom: 2.5rem; }
  .hx-pillar, .hx-why-card { padding: 1.6rem; }
  .hx-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
  .hx-tool { min-height: 128px; padding: 1.1rem; }
  .hx-tool strong { font-size: 0.93rem; }
  .hx-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .hx-tabs::-webkit-scrollbar { display: none; }
  body.ss-dark .hx-tabs .showcase-tab { white-space: nowrap; flex: 0 0 auto; }
  .hx-industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-industry { padding: 0.85rem; font-size: 0.9rem; }
  .hx-phone-stage { min-height: 420px; }
  .hx-cta { padding: 3.5rem 1.25rem; border-radius: 24px; }
  body.ss-dark .footer-grid { grid-template-columns: 1fr; }
  body.ss-dark .footer-bottom { grid-template-columns: 1fr; }
}

/* Centered section label above a split layout */
.hx-label-row { display: flex; justify-content: center; margin-bottom: 2.5rem; }

/* ---------- A Day With Service Strike (scroll story) ---------- */
.hx-day-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem;
  align-items: start;
}
.hx-day-rail { position: relative; }
.hx-day-line {
  position: absolute;
  left: 21px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  border-radius: 2px;
  background: var(--hx-border-2);
  overflow: hidden;
}
.hx-day-line-fill {
  display: block;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, #3b82f6, #38bdf8 70%, #34d399);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
  transition: height 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hx-day-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.hx-day-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 1.1rem;
  padding: 1.6rem 0;
  min-height: 34vh;
  align-content: center;
  cursor: pointer;
}
.hx-day-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-family: var(--hx-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--hx-dim);
  background: var(--hx-bg);
  border: 1px solid var(--hx-border-2);
  transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}
.hx-day-step.is-done .hx-day-dot { color: #bae6fd; border-color: rgba(56, 189, 248, 0.45); }
.hx-day-step.is-active .hx-day-dot {
  color: #fff;
  background: var(--hx-grad);
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.14), 0 8px 24px rgba(56, 189, 248, 0.45);
}
.hx-day-body {
  padding: 1.35rem 1.5rem;
  border-radius: 20px;
  border: 1px solid transparent;
  opacity: 0.45;
  transition: opacity 0.4s ease, background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.hx-day-step:hover .hx-day-body { opacity: 0.75; }
.hx-day-step.is-active .hx-day-body {
  opacity: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border-color: var(--hx-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 50px rgba(0, 0, 0, 0.25);
}
.hx-day-head { display: flex; align-items: center; gap: 0.85rem; }
.hx-day-head h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }
.hx-day-body p { margin: 0.75rem 0 0; color: var(--hx-muted); line-height: 1.65; }
.hx-day-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #7dd3fc;
}
.hx-day-tag svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.hx-day-tag:hover { color: #bae6fd; }
.hx-day-tag:hover svg { transform: translateX(3px); }
.hx-day-thumb { display: none; }

/* sticky preview */
.hx-day-media { position: sticky; top: 110px; }
.hx-day-media::before {
  content: "";
  position: absolute;
  inset: 12% 8%;
  background: var(--hx-grad);
  filter: blur(80px);
  opacity: 0.22;
}
.hx-day-frame {
  position: relative;
  aspect-ratio: 4 / 3.3;
  /* no visible frame: the images float on the page */
}
.hx-day-counter {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  z-index: 2;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--hx-muted);
  background: rgba(6, 10, 20, 0.7);
  border: 1px solid var(--hx-border);
  backdrop-filter: blur(8px);
}
.hx-day-counter b { color: var(--hx-text); font-weight: 600; }
.hx-day-img {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 100%;
  max-height: calc(100% - 2.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hx-day-img.is-active { opacity: 1; transform: none; }
.hx-day-img.hx-day-shot,
.hx-day-img.hx-day-photo {
  border-radius: 12px;
  border: 1px solid var(--hx-border-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.hx-day-img.hx-day-device { filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55)); }

@media (max-width: 980px) {
  .hx-day-layout { grid-template-columns: 1fr; gap: 0; }
  .hx-day-media { display: none; }
  .hx-day-step { min-height: 0; padding: 0.75rem 0; cursor: default; }
  .hx-day-body { opacity: 1; background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); border-color: var(--hx-border); }
  .hx-day-thumb {
    display: grid;
    place-items: center;
    margin-top: 1.1rem;
  }
  .hx-day-thumb img { max-height: 260px; width: auto; max-width: 100%; border-radius: 10px; }
  .hx-day-thumb.hx-day-device img { border-radius: 0; }
}
@media (max-width: 640px) {
  .hx-day-step { grid-template-columns: 36px minmax(0, 1fr); gap: 0.75rem; }
  .hx-day-dot { width: 36px; height: 36px; font-size: 0.72rem; }
  .hx-day-line { left: 17px; }
  .hx-day-body { padding: 1.1rem; }
  .hx-day-head h3 { font-size: 1.12rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-day-img, .hx-day-line-fill, .hx-day-dot, .hx-day-body { transition: none; }
}

/* Professions strip: standalone band between sections */
.hx-marquee.hx-marquee-strip { margin-top: 0; border-bottom: 0; background: rgba(255, 255, 255, 0.015); }

/* ---------- Replace 8 Apps With One (merge animation) ---------- */
.hx-merge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px minmax(0, 0.95fr);
  align-items: center;
  gap: 1.5rem;
}
.hx-merge-apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.hx-app-tile {
  --rot: calc((var(--i) - 3.5) * 1.6deg);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hx-border-2);
  transform: rotate(var(--rot));
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.7s ease, filter 0.7s ease, border-color 0.5s ease;
  transition-delay: calc(var(--i) * 90ms);
}
.hx-app-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: #c8d0e6;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hx-border-2);
}
.hx-app-icon svg { width: 19px; height: 19px; }
.hx-app-name { font-family: var(--hx-head); font-weight: 600; font-size: 0.95rem; color: var(--hx-text); line-height: 1.2; }
.hx-app-login { font-size: 0.75rem; color: #fca5a5; opacity: 0.85; }

/* when merged: tiles straighten, slide toward the card and fade back */
.hx-merge.is-merged .hx-app-tile {
  transform: translateX(14px) scale(0.96);
  opacity: 0.38;
  filter: grayscale(1);
  border-color: var(--hx-border);
}
.hx-merge.is-merged .hx-app-login { text-decoration: line-through; }

/* beam between tiles and card */
.hx-merge-beam { position: relative; height: 100%; min-height: 120px; display: grid; place-items: center; }
.hx-merge-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.45), transparent);
  overflow: hidden;
}
.hx-merge-track i {
  position: absolute;
  top: -3px;
  left: -10%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #7dd3fc;
  box-shadow: 0 0 12px 3px rgba(56, 189, 248, 0.8);
  opacity: 0;
}
.hx-merge.is-merged .hx-merge-track i { animation: hx-merge-flow 1.8s linear infinite; }
.hx-merge-track i:nth-child(2) { animation-delay: 0.36s !important; }
.hx-merge-track i:nth-child(3) { animation-delay: 0.72s !important; }
.hx-merge-track i:nth-child(4) { animation-delay: 1.08s !important; }
.hx-merge-track i:nth-child(5) { animation-delay: 1.44s !important; }
@keyframes hx-merge-flow {
  0% { left: -10%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 105%; opacity: 0; }
}
.hx-merge-arrow {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  color: #fff;
  background: var(--hx-grad);
  box-shadow: 0 0 0 8px rgba(56, 189, 248, 0.1), 0 10px 30px rgba(56, 189, 248, 0.45);
  transform: scale(0.6);
  opacity: 0.4;
  transition: transform 0.6s cubic-bezier(0.3, 1.4, 0.4, 1) 0.5s, opacity 0.4s ease 0.5s;
}
.hx-merge-arrow svg { width: 22px; height: 22px; }
.hx-merge.is-merged .hx-merge-arrow { transform: scale(1); opacity: 1; }

/* the one card */
.hx-merge-card {
  position: relative;
  padding: 1.75rem;
  border-radius: 24px;
  background:
    radial-gradient(110% 60% at 50% 0%, rgba(56, 189, 248, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--hx-border-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 80px rgba(0, 0, 0, 0.4);
  transition: border-color 0.6s ease 0.6s, box-shadow 0.6s ease 0.6s;
}
.hx-merge.is-merged .hx-merge-card {
  border-color: rgba(125, 211, 252, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 70px rgba(56, 189, 248, 0.2);
}
.hx-merge-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--hx-border); }
.hx-merge-logo { height: 40px; width: auto; }
.hx-merge-badge {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
}
.hx-merge-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1rem;
}
.hx-merge-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.93rem;
  color: #c8d0e6;
  opacity: 0.35;
  transform: translateX(-6px);
  transition: opacity 0.45s ease, transform 0.45s ease, color 0.45s ease;
  transition-delay: calc(0.8s + var(--i) * 0.14s);
}
.hx-merge-list svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  padding: 3px;
  box-sizing: border-box;
  border-radius: 999px;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
}
.hx-merge.is-merged .hx-merge-list li { opacity: 1; transform: none; color: var(--hx-text); }
.hx-merge-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--hx-border);
  font-size: 0.85rem;
  color: var(--hx-muted);
}
.hx-merge-foot span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hx-merge-foot svg { width: 15px; height: 15px; color: #34d399; }

@media (max-width: 980px) {
  .hx-merge { grid-template-columns: 1fr; gap: 1rem; max-width: 560px; margin: 0 auto; }
  .hx-merge-beam { min-height: 90px; }
  .hx-merge-track { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform: translateX(-50%);
    background: linear-gradient(180deg, transparent, rgba(56, 189, 248, 0.45), transparent); }
  .hx-merge-track i { left: -3px !important; top: -10%; }
  .hx-merge.is-merged .hx-merge-track i { animation-name: hx-merge-flow-down; }
  .hx-merge-arrow { transform: rotate(90deg) scale(0.6); }
  .hx-merge.is-merged .hx-merge-arrow { transform: rotate(90deg) scale(1); }
  .hx-merge.is-merged .hx-app-tile { transform: translateY(6px) scale(0.97); }
}
@keyframes hx-merge-flow-down {
  0% { top: -10%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 105%; opacity: 0; }
}
@media (max-width: 640px) {
  .hx-merge-apps { gap: 0.55rem; }
  .hx-app-tile { padding: 0.7rem; column-gap: 0.55rem; }
  .hx-app-icon { width: 32px; height: 32px; }
  .hx-app-name { font-size: 0.82rem; }
  .hx-merge-card { padding: 1.3rem; }
  .hx-merge-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-app-tile, .hx-merge-list li, .hx-merge-arrow, .hx-merge-card { transition: none; }
  .hx-merge-track i { animation: none !important; }
}

/* ---------- One Platform: live mini-demos + tilt/spotlight ---------- */
.hx-pillar { --dur: 9s; gap: 1.25rem; transform-style: preserve-3d; will-change: transform; }
.hx-pillar-head { display: flex; align-items: center; gap: 0.85rem; }
.hx-pillar-head .hx-icon { width: 42px; height: 42px; border-radius: 12px; }
.hx-pillar-head .hx-icon svg { width: 21px; height: 21px; }

/* tilt + spotlight (values set by theme.js) */
.hx-pillars .hx-pillar.is-tilting {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px);
  transition: transform 0.08s linear, border-color 0.3s ease, box-shadow 0.3s ease;
}
.hx-pillar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(125, 211, 252, 0.13), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.hx-pillar:hover::after { opacity: 1; }

.hx-demo {
  position: relative;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(90% 80% at 50% 0%, rgba(59, 130, 246, 0.12), transparent 70%),
    rgba(6, 10, 20, 0.55);
  border: 1px solid var(--hx-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-family: var(--hx-body);
}
.hx-demo * { animation-duration: var(--dur); animation-iteration-count: infinite; animation-timing-function: ease; }

/* --- Invoice --- */
.hx-inv {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: #f8fafc;
  color: #10213b;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  font-size: 0.68rem;
}
.hx-inv-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.45rem; }
.hx-inv-top b { font-size: 0.78rem; }
.hx-inv-top span { color: #64748b; }
.hx-inv-row { display: flex; align-items: center; justify-content: space-between; height: 13px; }
.hx-inv-row i { display: block; height: 5px; border-radius: 3px; background: #e2e8f0; }
.hx-inv-row em { font-style: normal; color: #475569; }
.hx-inv-total { display: flex; justify-content: space-between; margin-top: 0.35rem; padding-top: 0.35rem; border-top: 1px solid #e2e8f0; }
.hx-inv-total b { font-size: 0.82rem; animation-name: hx-inv-paid; }
.hx-inv-signrow { display: flex; align-items: center; justify-content: space-between; margin-top: 0.3rem; color: #64748b; font-size: 0.62rem; }
.hx-inv-sign {
  width: 64px;
  height: 16px;
  fill: none;
  stroke: #2563eb;
  stroke-width: 2;
  stroke-linecap: round;
}
.hx-inv-sign path { animation-name: hx-inv-sign; stroke-dasharray: 220; stroke-dashoffset: 220; }
.hx-inv-status { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; gap: 0.35rem; }
.hx-inv-status span {
  flex: 1;
  padding: 0.28rem 0;
  border-radius: 999px;
  text-align: center;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--hx-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hx-border);
}
.hx-inv-status .s1 { animation-name: hx-pill-1; }
.hx-inv-status .s2 { animation-name: hx-pill-2; }
.hx-inv-status .s3 { animation-name: hx-pill-3; }
.hx-inv-status .s4 { animation-name: hx-pill-4; }
@keyframes hx-pill-1 { 0%, 8% { color: var(--hx-dim); background: rgba(255,255,255,.05); border-color: var(--hx-border); } 12%, 92% { color: #bae6fd; background: rgba(56,189,248,.16); border-color: rgba(56,189,248,.45); } 100% { color: var(--hx-dim); } }
@keyframes hx-pill-2 { 0%, 28% { color: var(--hx-dim); background: rgba(255,255,255,.05); border-color: var(--hx-border); } 32%, 92% { color: #bae6fd; background: rgba(56,189,248,.16); border-color: rgba(56,189,248,.45); } 100% { color: var(--hx-dim); } }
@keyframes hx-pill-3 { 0%, 48% { color: var(--hx-dim); background: rgba(255,255,255,.05); border-color: var(--hx-border); } 52%, 92% { color: #bae6fd; background: rgba(56,189,248,.16); border-color: rgba(56,189,248,.45); } 100% { color: var(--hx-dim); } }
@keyframes hx-pill-4 { 0%, 68% { color: var(--hx-dim); background: rgba(255,255,255,.05); border-color: var(--hx-border); } 72%, 92% { color: #052e1c; background: #34d399; border-color: #34d399; box-shadow: 0 0 16px rgba(52,211,153,.55); } 100% { color: var(--hx-dim); } }
@keyframes hx-inv-sign { 0%, 44% { stroke-dashoffset: 220; } 56%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 220; } }
@keyframes hx-inv-paid { 0%, 68% { color: #10213b; } 72%, 92% { color: #059669; } 100% { color: #10213b; } }

/* --- Chat --- */
.hx-chat-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--hx-border);
  font-size: 0.75rem;
}
.hx-chat-head b { display: block; color: var(--hx-text); font-weight: 600; }
.hx-chat-head small { color: var(--hx-dim); font-size: 0.66rem; }
.hx-chat-avatar {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #a78bfa, #60a5fa);
}
.hx-chat-thread { display: flex; flex-direction: column; gap: 0.4rem; padding: 0.65rem 0.8rem; }
.hx-bubble {
  max-width: 86%;
  padding: 0.42rem 0.7rem;
  border-radius: 14px;
  font-size: 0.72rem;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
}
.hx-bubble.in { align-self: flex-start; color: #e2e8f0; background: rgba(255, 255, 255, 0.09); border-bottom-left-radius: 4px; }
.hx-bubble.out { align-self: flex-end; color: #fff; background: var(--hx-grad); border-bottom-right-radius: 4px; }
.hx-bubble.b1 { animation-name: hx-b1; }
.hx-bubble.b2 { animation-name: hx-b2; }
.hx-bubble.b3 { animation-name: hx-b3; position: absolute; left: 0.8rem; bottom: 0.7rem; }
.hx-bubble.b4 { animation-name: hx-b4; }
.hx-bubble.typing { display: flex; gap: 3px; padding: 0.55rem 0.7rem; }
.hx-bubble.typing i { width: 5px; height: 5px; border-radius: 999px; background: #94a3b8; animation: hx-dot 1s infinite ease-in-out; }
.hx-bubble.typing i:nth-child(2) { animation-delay: 0.15s; }
.hx-bubble.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes hx-dot { 0%, 100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
@keyframes hx-b1 { 0%, 6% { opacity: 0; transform: translateY(8px) scale(.96); } 10%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes hx-b2 { 0%, 26% { opacity: 0; transform: translateY(8px) scale(.96); } 30%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes hx-b3 { 0%, 46% { opacity: 0; transform: translateY(8px) scale(.96); } 50%, 60% { opacity: 1; transform: none; } 63%, 100% { opacity: 0; } }
@keyframes hx-b4 { 0%, 62% { opacity: 0; transform: translateY(8px) scale(.96); } 66%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* --- Map --- */
.hx-demo-map {
  background:
    radial-gradient(60% 70% at 60% 40%, rgba(56, 189, 248, 0.12), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 18px 18px,
    rgba(6, 10, 20, 0.6);
}
.hx-map-roads { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(148, 163, 184, 0.22); stroke-width: 6; stroke-linecap: round; }
.hx-map-job {
  position: absolute;
  left: 60%;
  top: 27%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 999px;
  background: #f87171;
  box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.6);
  animation: hx-ping 1.6s infinite !important;
}
@keyframes hx-ping { 0% { box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.6); } 100% { box-shadow: 0 0 0 14px rgba(248, 113, 113, 0); } }
.hx-map-tech {
  position: absolute;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.hx-map-tech b { font-weight: 700; }
.hx-map-tech.t1 { background: #3b82f6; left: 23%; top: 70%; animation-name: hx-t1; }
.hx-map-tech.t2 { background: #8b5cf6; left: 82%; top: 70%; animation-name: hx-t2; }
.hx-map-tech.t3 { background: #10b981; left: 23%; top: 27%; animation-name: hx-t3; }
@keyframes hx-t1 { 0%, 8% { left: 23%; top: 70%; } 28% { left: 60%; top: 70%; } 48%, 92% { left: 60%; top: 27%; } 100% { left: 23%; top: 70%; } }
@keyframes hx-t2 { 0% { left: 82%; top: 70%; } 50% { left: 82%; top: 12%; } 100% { left: 82%; top: 70%; } }
@keyframes hx-t3 { 0% { left: 23%; top: 27%; } 50% { left: 6%; top: 27%; } 100% { left: 23%; top: 27%; } }
.hx-map-toast {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem 0.45rem 0.5rem;
  border-radius: 12px;
  background: rgba(14, 20, 38, 0.92);
  border: 1px solid var(--hx-border-2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  font-size: 0.7rem;
  opacity: 0;
  transform: translateY(10px);
  animation-name: hx-toast;
}
.hx-map-toast svg { width: 20px; height: 20px; padding: 4px; box-sizing: border-box; border-radius: 7px; color: #34d399; background: rgba(52, 211, 153, 0.15); }
.hx-map-toast b { display: block; color: var(--hx-text); font-weight: 600; }
.hx-map-toast small { color: var(--hx-muted); font-size: 0.64rem; }
@keyframes hx-toast { 0%, 50% { opacity: 0; transform: translateY(10px); } 54%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(10px); } }

/* pause the loops while the section is off screen */
.hx-pillars:not(.is-live) .hx-demo * { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .hx-demo * { animation: none !important; }
  .hx-bubble, .hx-map-toast { opacity: 1; transform: none; }
  .hx-bubble.b3 { display: none; }
  .hx-inv-sign path { stroke-dashoffset: 0; }
  .hx-inv-status .s4 { color: #052e1c; background: #34d399; border-color: #34d399; }
}

/* ---------- Why Service Strike: bento layout, demos, trust bar ---------- */
.hx-why.hx-bento {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: stretch;
}
.hx-bento-lg { grid-row: span 2; display: flex; flex-direction: column; }
.hx-why-card { --dur: 9s; display: flex; flex-direction: column; gap: 1.1rem; }
.hx-why-card h3 { margin-top: 0; }
.hx-why-card p { margin: 0; }
.hx-why.hx-bento .hx-num { display: none; }
.hx-bento-lg .hx-demo { flex: 1 1 auto; height: auto; min-height: 300px; }
.hx-bento-lg .hx-setup { inset: auto; left: 28px; right: 28px; top: 50%; transform: translateY(-50%); padding: 1.3rem 1.4rem 1.2rem; font-size: 0.9rem; }
.hx-bento-lg .hx-setup-done { position: relative; bottom: auto; margin-top: 1.1rem; }
.hx-bento-lg .hx-setup ul { gap: 0.8rem; margin-top: 0.4rem; }
.hx-why-card .hx-demo { margin-top: 0.25rem; }
.hx-why:not(.is-live) .hx-demo * { animation-play-state: paused; }

/* --- Setup wizard demo --- */
.hx-setup {
  position: absolute;
  inset: 22px 22px 22px 22px;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #f8fafc;
  color: #10213b;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  font-size: 0.82rem;
}
.hx-setup-top { display: flex; justify-content: space-between; align-items: center; }
.hx-setup-top b { font-size: 0.95rem; }
.hx-setup-pct { position: relative; width: 44px; height: 1.2em; text-align: right; color: #2563eb; font-weight: 700; }
.hx-setup-pct i { position: absolute; right: 0; top: 0; font-style: normal; opacity: 0; }
.hx-setup-bar { height: 6px; margin: 0.6rem 0 0.8rem; border-radius: 999px; background: #e2e8f0; overflow: hidden; }
.hx-setup-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #3b82f6, #38bdf8); animation-name: hx-setup-bar; }
.hx-setup ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.hx-setup li { display: flex; align-items: center; gap: 0.6rem; color: #64748b; }
.hx-setup-box {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid #cbd5e1;
  background: #fff;
}
.hx-setup-box svg { width: 13px; height: 13px; color: #fff; opacity: 0; }
.hx-setup-done {
  position: absolute;
  left: 50%;
  bottom: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  transform: translate(-50%, 8px) scale(0.9);
  opacity: 0;
  white-space: nowrap;
  animation-name: hx-setup-done;
}
.hx-setup-done svg { width: 14px; height: 14px; }
@keyframes hx-setup-done { 0%, 64% { opacity: 0; transform: translate(-50%, 8px) scale(.9); } 68%, 92% { opacity: 1; transform: translate(-50%, 0) scale(1); } 97%, 100% { opacity: 0; transform: translate(-50%, 8px) scale(.9); } }
@keyframes hx-setup-bar { 0%, 4% { width: 0; } 12% { width: 25%; } 28% { width: 50%; } 44% { width: 75%; } 60% { width: 100%; } 92% { width: 100%; } 97%, 100% { width: 0; } }
.hx-setup-pct .p0 { animation-name: hx-pct-0; }
@keyframes hx-pct-0 { 0%, 11% { opacity: 1; } 12%, 96% { opacity: 0; } 97%, 100% { opacity: 1; } }
.hx-setup-pct .p1 { animation-name: hx-pct-1; }
@keyframes hx-pct-1 { 0%, 11% { opacity: 0; } 12%, 27% { opacity: 1; } 28%, 100% { opacity: 0; } }
.hx-setup-pct .p2 { animation-name: hx-pct-2; }
@keyframes hx-pct-2 { 0%, 27% { opacity: 0; } 28%, 43% { opacity: 1; } 44%, 100% { opacity: 0; } }
.hx-setup-pct .p3 { animation-name: hx-pct-3; }
@keyframes hx-pct-3 { 0%, 43% { opacity: 0; } 44%, 59% { opacity: 1; } 60%, 100% { opacity: 0; } }
.hx-setup-pct .p4 { animation-name: hx-pct-4; }
@keyframes hx-pct-4 { 0%, 59% { opacity: 0; } 60%, 96% { opacity: 1; } 97%, 100% { opacity: 0; } }
.hx-setup .k1 { animation-name: hx-k1; }
.hx-setup .k1 .hx-setup-box { animation-name: hx-kb1; }
.hx-setup .k1 .hx-setup-box svg { animation-name: hx-ks1; }
@keyframes hx-k1 { 0%, 10% { color: #64748b; } 12%, 92% { color: #10213b; } 97%, 100% { color: #64748b; } }
@keyframes hx-kb1 { 0%, 10% { background: #fff; border-color: #cbd5e1; transform: scale(1); } 12% { background: #2563eb; border-color: #2563eb; transform: scale(1.18); } 15%, 92% { background: #2563eb; border-color: #2563eb; transform: scale(1); } 97%, 100% { background: #fff; border-color: #cbd5e1; } }
@keyframes hx-ks1 { 0%, 10% { opacity: 0; } 12%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
.hx-setup .k2 { animation-name: hx-k2; }
.hx-setup .k2 .hx-setup-box { animation-name: hx-kb2; }
.hx-setup .k2 .hx-setup-box svg { animation-name: hx-ks2; }
@keyframes hx-k2 { 0%, 26% { color: #64748b; } 28%, 92% { color: #10213b; } 97%, 100% { color: #64748b; } }
@keyframes hx-kb2 { 0%, 26% { background: #fff; border-color: #cbd5e1; transform: scale(1); } 28% { background: #2563eb; border-color: #2563eb; transform: scale(1.18); } 31%, 92% { background: #2563eb; border-color: #2563eb; transform: scale(1); } 97%, 100% { background: #fff; border-color: #cbd5e1; } }
@keyframes hx-ks2 { 0%, 26% { opacity: 0; } 28%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
.hx-setup .k3 { animation-name: hx-k3; }
.hx-setup .k3 .hx-setup-box { animation-name: hx-kb3; }
.hx-setup .k3 .hx-setup-box svg { animation-name: hx-ks3; }
@keyframes hx-k3 { 0%, 42% { color: #64748b; } 44%, 92% { color: #10213b; } 97%, 100% { color: #64748b; } }
@keyframes hx-kb3 { 0%, 42% { background: #fff; border-color: #cbd5e1; transform: scale(1); } 44% { background: #2563eb; border-color: #2563eb; transform: scale(1.18); } 47%, 92% { background: #2563eb; border-color: #2563eb; transform: scale(1); } 97%, 100% { background: #fff; border-color: #cbd5e1; } }
@keyframes hx-ks3 { 0%, 42% { opacity: 0; } 44%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
.hx-setup .k4 { animation-name: hx-k4; }
.hx-setup .k4 .hx-setup-box { animation-name: hx-kb4; }
.hx-setup .k4 .hx-setup-box svg { animation-name: hx-ks4; }
@keyframes hx-k4 { 0%, 58% { color: #64748b; } 60%, 92% { color: #10213b; } 97%, 100% { color: #64748b; } }
@keyframes hx-kb4 { 0%, 58% { background: #fff; border-color: #cbd5e1; transform: scale(1); } 60% { background: #2563eb; border-color: #2563eb; transform: scale(1.18); } 63%, 92% { background: #2563eb; border-color: #2563eb; transform: scale(1); } 97%, 100% { background: #fff; border-color: #cbd5e1; } }
@keyframes hx-ks4 { 0%, 58% { opacity: 0; } 60%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }

/* --- Easy to use demo --- */
.hx-easy {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 18px;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: #f8fafc;
  color: #10213b;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  font-size: 0.75rem;
}
.hx-easy-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.5rem; }
.hx-easy-top b { display: block; font-size: 0.88rem; }
.hx-easy-top small { color: #64748b; }
.hx-easy-status { position: relative; min-width: 78px; height: 22px; }
.hx-easy-status i {
  position: absolute;
  right: 0;
  top: 0;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-style: normal;
  font-weight: 700;
  font-size: 0.68rem;
  white-space: nowrap;
}
.hx-easy-status .st1 { color: #475569; background: #e2e8f0; animation-name: hx-st1; }
.hx-easy-status .st2 { color: #fff; background: #2563eb; opacity: 0; animation-name: hx-st2; }
@keyframes hx-st1 { 0%, 37% { opacity: 1; } 39%, 94% { opacity: 0; } 97%, 100% { opacity: 1; } }
@keyframes hx-st2 { 0%, 37% { opacity: 0; transform: scale(.8); } 40% { opacity: 1; transform: scale(1.1); } 43%, 94% { opacity: 1; transform: scale(1); } 97%, 100% { opacity: 0; } }
.hx-easy-meta { display: grid; gap: 6px; margin: 0.7rem 0 0.8rem; }
.hx-easy-meta span { height: 6px; border-radius: 3px; background: #e2e8f0; width: 75%; }
.hx-easy-meta span + span { width: 52%; }
.hx-easy-btn {
  display: inline-flex;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  font-weight: 700;
  color: #fff;
  background: #2563eb;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
  animation-name: hx-easy-btn;
}
@keyframes hx-easy-btn { 0%, 32% { transform: scale(1); } 35% { transform: scale(.9); background: #1d4ed8; } 39%, 100% { transform: scale(1); } }
.hx-easy-cursor {
  position: absolute;
  width: 22px;
  height: 22px;
  left: 82%;
  top: 80%;
  fill: #fff;
  stroke: #0f172a;
  stroke-width: 1.4;
  stroke-linejoin: round;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.5));
  animation-name: hx-cursor;
}
@keyframes hx-cursor {
  0%, 8% { left: 82%; top: 80%; transform: scale(1); }
  30% { left: 20%; top: 64%; transform: scale(1); }
  35% { left: 20%; top: 64%; transform: scale(.8); }
  39% { left: 20%; top: 64%; transform: scale(1); }
  62%, 92% { left: 70%; top: 86%; }
  100% { left: 82%; top: 80%; }
}

/* --- Any device (sync) demo --- */
.hx-demo-sync { display: flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 0 0.9rem; }
.hx-sync-laptop { flex: 1 1 auto; max-width: 62%; }
.hx-sync-screen {
  padding: 0.6rem 0.65rem;
  border-radius: 8px 8px 0 0;
  border: 5px solid #1f2937;
  border-bottom-width: 7px;
  background: #f8fafc;
  display: grid;
  gap: 5px;
}
.hx-sync-base { height: 7px; margin: 0 -10%; border-radius: 0 0 8px 8px; background: linear-gradient(180deg, #cbd5e1, #94a3b8); }
.hx-sync-row { display: flex; align-items: center; justify-content: space-between; gap: 0.3rem; font-size: 0.66rem; color: #10213b; }
.hx-sync-line { height: 5px; border-radius: 3px; background: #e2e8f0; width: 80%; }
.hx-sync-line.short { width: 55%; }
.hx-sync-pill {
  position: relative;
  display: inline-block;
  min-width: 64px;
  height: 17px;
  border-radius: 999px;
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 700;
  overflow: hidden;
}
.hx-sync-pill em { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; border-radius: inherit; }
.hx-sync-pill .a { color: #fff; background: #2563eb; }
.hx-sync-pill .b { color: #fff; background: #10b981; opacity: 0; }
.hx-sync-pill.ph .b { animation-name: hx-sync-ph; }
.hx-sync-pill.lap .b { animation-name: hx-sync-lap; }
@keyframes hx-sync-ph { 0%, 33% { opacity: 0; } 36%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes hx-sync-lap { 0%, 52% { opacity: 0; } 55%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
.hx-sync-beam { position: relative; width: 34px; height: 2px; background: rgba(56, 189, 248, 0.25); }
.hx-sync-beam i {
  position: absolute;
  top: -3px;
  left: 100%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #7dd3fc;
  box-shadow: 0 0 10px 3px rgba(56, 189, 248, 0.8);
  opacity: 0;
  animation-name: hx-sync-beam;
}
@keyframes hx-sync-beam { 0%, 36% { left: 100%; opacity: 0; } 38% { opacity: 1; } 50% { left: -8px; opacity: 1; } 53%, 100% { left: -8px; opacity: 0; } }
.hx-sync-phone {
  flex: 0 0 auto;
  width: 82px;
  height: 140px;
  padding: 0.85rem 0.45rem 0.5rem;
  border-radius: 16px;
  border: 4px solid #1f2937;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hx-sync-tap {
  margin-top: auto;
  width: 100%;
  padding: 0.3rem 0;
  border-radius: 7px;
  text-align: center;
  font-size: 0.58rem;
  font-weight: 700;
  color: #fff;
  background: #10b981;
  animation-name: hx-sync-tap;
}
@keyframes hx-sync-tap { 0%, 28% { transform: scale(1); box-shadow: none; } 31% { transform: scale(.88); box-shadow: 0 0 0 6px rgba(16, 185, 129, .35); } 35%, 100% { transform: scale(1); box-shadow: none; } }

/* --- Trust bar --- */
.hx-trustbar {
  list-style: none;
  margin: 2.5rem auto 0;
  padding: 1rem 1.25rem;
  max-width: 980px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 0.75rem 1.5rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hx-border);
}
.hx-trustbar li { display: inline-flex; align-items: center; gap: 0.55rem; color: #d3d9ec; font-size: 0.92rem; font-weight: 500; }
.hx-trustbar svg {
  width: 30px;
  height: 30px;
  padding: 6px;
  box-sizing: border-box;
  border-radius: 9px;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

@media (max-width: 980px) {
  .hx-why.hx-bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .hx-bento-lg { grid-row: auto; }
  .hx-bento-lg .hx-demo { flex: none; min-height: 0; height: 270px; }
  .hx-bento-lg .hx-setup { left: 16px; right: 16px; padding: 1rem 1.1rem; font-size: 0.82rem; }
  .hx-bento-lg .hx-setup-done { margin-top: 0.7rem; }
  .hx-bento-lg .hx-setup ul { gap: 0.5rem; }
}
@media (max-width: 640px) {
  .hx-trustbar { flex-direction: column; align-items: flex-start; padding: 1rem 1.2rem; }
  .hx-setup { inset: 14px; font-size: 0.78rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-setup-bar span { width: 100%; }
  .hx-setup-box { background: #2563eb; border-color: #2563eb; }
  .hx-setup-box svg, .hx-setup-done, .hx-setup-pct .p4 { opacity: 1; }
  .hx-setup-pct .p0 { opacity: 0; }
  .hx-setup-done { transform: translate(-50%, 0); }
  .hx-easy-cursor { display: none; }
}

/* Three-phone mobile image */
.hx-phone.hx-phones-trio { width: min(600px, 100%); }
.hx-phone-stage:has(.hx-phones-trio) { min-height: 0; }
.hx-phone-stage:has(.hx-phones-trio)::after { width: 70%; }

/* ---------- All Your Tools: hub visual ---------- */
.hx-hub {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 1000 / 620;
}
.hx-hub-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hx-hub-orbit { fill: none; stroke: rgba(125, 211, 252, 0.14); stroke-width: 1.2; stroke-dasharray: 4 8; }
.hx-hub-line {
  stroke: rgba(125, 211, 252, 0.16);
  stroke-width: 1.4;
  transition: stroke 0.3s ease, stroke-width 0.3s ease;
}
.hx-hub-line.is-hot { stroke: rgba(125, 211, 252, 0.75); stroke-width: 2; }
.hx-hub-pulse { fill: #7dd3fc; filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.95)); opacity: 0.9; }
.hx-hub:not(.is-live) .hx-hub-pulse { display: none; }

/* center */
.hx-hub-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
}
.hx-hub-center {
  position: relative;
  z-index: 2;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 999px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.35rem;
  background:
    radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.28), transparent 65%),
    #0b1124;
  border: 1px solid rgba(125, 211, 252, 0.5);
  box-shadow: 0 0 0 10px rgba(56, 189, 248, 0.06), 0 0 60px rgba(56, 189, 248, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: hx-hub-breathe 4s ease-in-out infinite;
}
.hx-hub-center img { width: 70%; height: auto; }
.hx-hub-center span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3fc;
}
@keyframes hx-hub-breathe {
  0%, 100% { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0.06), 0 0 50px rgba(56, 189, 248, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
  50% { box-shadow: 0 0 0 16px rgba(56, 189, 248, 0.08), 0 0 80px rgba(56, 189, 248, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
}
.hx-hub-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px dashed rgba(125, 211, 252, 0.3);
  animation: hx-hub-spin 30s linear infinite;
}
.hx-hub-ring.r2 { inset: -14%; border-style: dotted; border-color: rgba(125, 211, 252, 0.18); animation-duration: 48s; animation-direction: reverse; }
@keyframes hx-hub-spin { to { transform: rotate(360deg); } }

/* tool nodes */
.hx-hub-node {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.95rem 0.45rem 0.45rem;
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(12, 18, 34, 0.92);
  border: 1px solid var(--hx-border-2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  transition:
    transform 0.6s cubic-bezier(0.3, 1.4, 0.4, 1),
    opacity 0.4s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  transition-delay: calc(var(--i) * 70ms), calc(var(--i) * 70ms), 0s, 0s, 0s;
}
.hx-hub.is-visible .hx-hub-node { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.hx-hub-node .hx-icon { width: 34px; height: 34px; border-radius: 999px; }
.hx-hub-node .hx-icon svg { width: 17px; height: 17px; }
.hx-hub-node strong { font-family: var(--hx-head); font-size: 0.9rem; font-weight: 600; color: var(--hx-text); }
.hx-hub-node:hover,
.hx-hub-node:focus-visible {
  border-color: rgba(125, 211, 252, 0.65);
  background: rgba(16, 26, 48, 0.98);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12), 0 14px 36px rgba(0, 0, 0, 0.45), 0 0 30px rgba(56, 189, 248, 0.25);
  transform: translate(-50%, -50%) scale(1.06);
  transition-delay: 0s;
}

/* phones: drop the orbit, keep the core and list the tools in a grid */
@media (max-width: 860px) {
  .hx-hub {
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }
  .hx-hub-svg { display: none; }
  .hx-hub-core {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    grid-column: 1 / -1;
    width: 170px;
    margin: 0 auto 1.6rem;
  }
  .hx-hub-node {
    position: relative;
    left: auto !important;
    top: auto !important;
    transform: scale(0.9);
    white-space: normal;
    border-radius: 14px;
    padding: 0.6rem 0.7rem;
  }
  .hx-hub.is-visible .hx-hub-node,
  .hx-hub-node:hover { transform: none; }
  .hx-hub-node strong { font-size: 0.84rem; line-height: 1.25; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-hub-center, .hx-hub-ring { animation: none; }
  .hx-hub-pulse { display: none; }
  .hx-hub-node { transition: none; }
}

/* ---------- Easy Setup: interactive steps + animated panes ---------- */
.hx-setup-steps .hx-setup-step {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.hx-setup-steps .hx-setup-step:hover { opacity: 0.85; }
.hx-setup-steps .hx-setup-step.is-active {
  opacity: 1;
  border-color: rgba(125, 211, 252, 0.45);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.12), 0 14px 40px rgba(0, 0, 0, 0.3);
}
.hx-setup-step:focus-visible { outline: 2px solid #7dd3fc; outline-offset: 2px; }
.hx-setup-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; }
.hx-setup-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #3b82f6, #38bdf8); box-shadow: 0 0 8px rgba(56, 189, 248, 0.8); }
.hx-setup-step.is-active .hx-setup-progress span { animation: hx-setup-progress var(--setup-ms, 7000ms) linear forwards; }
.hx-setup-split.is-paused .hx-setup-step.is-active .hx-setup-progress span { animation-play-state: paused; }
@keyframes hx-setup-progress { to { width: 100%; } }

.hx-setup-stage { position: relative; aspect-ratio: 1268 / 848; border-radius: 10px; overflow: hidden; background: #f8fafc; }
.hx-setup-window img { border-radius: 0; }
.hx-setup-pane {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.hx-setup-pane.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hx-setup-pane img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }

/* shared app-style pane */
.hx-app-pane { padding: 5% 6%; color: #10213b; font-family: var(--hx-body); }
.hx-ap-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4%; }
.hx-ap-head b { font-size: clamp(0.95rem, 1.6vw, 1.2rem); }
.hx-ap-btn {
  padding: 0.5rem 0.95rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: #2563eb;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.3);
}
.hx-setup-pane.is-active .hx-ap-btn { animation: hx-ap-press 0.4s ease 0.2s both; }
@keyframes hx-ap-press { 0%, 100% { transform: scale(1); } 40% { transform: scale(0.9); box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.2); } }
.hx-ap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.hx-ap-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  font-size: 0.88rem;
}
.hx-drag { width: 8px; height: 14px; background: radial-gradient(circle, #94a3b8 1.2px, transparent 1.6px) 0 0 / 4px 4.6px; }
.hx-status-list i { width: 12px; height: 12px; border-radius: 999px; flex: none; }
.hx-ap-list em {
  margin-left: auto;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  color: #1d4ed8;
  background: #dbeafe;
}
.hx-ap-list em.done { color: #15803d; background: #dcfce7; }
.hx-ap-list em.new { color: #c2410c; background: #ffedd5; }

/* workflow: new status slides in between In Progress and Completed */
.hx-ap-list li.hx-status-new { max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: -0.55rem; opacity: 0; border-width: 0; overflow: hidden; }
.hx-setup-pane.is-active .hx-ap-list li.hx-status-new { animation: hx-status-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.55s forwards; }
@keyframes hx-status-in {
  0% { max-height: 0; opacity: 0; margin-top: -0.55rem; padding-top: 0; padding-bottom: 0; border-width: 0; transform: translateX(-12px); }
  60% { opacity: 0; }
  100% { max-height: 60px; opacity: 1; margin-top: 0; padding-top: 0.65rem; padding-bottom: 0.65rem; border-width: 1px; transform: none; box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18); }
}

/* team: members appear, then their access toggles switch on */
.hx-team-list li { opacity: 0; transform: translateY(10px); }
.hx-setup-pane.is-active .hx-team-list li { animation: hx-member-in 0.5s ease forwards; }
.hx-setup-pane.is-active .hx-team-list li:nth-child(1) { animation-delay: 0.3s; }
.hx-setup-pane.is-active .hx-team-list li:nth-child(2) { animation-delay: 0.6s; }
.hx-setup-pane.is-active .hx-team-list li:nth-child(3) { animation-delay: 0.9s; }
@keyframes hx-member-in { to { opacity: 1; transform: none; } }
.hx-av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; color: #fff; font-weight: 700; font-size: 0.8rem; flex: none; }
.hx-tm b { display: block; font-size: 0.9rem; }
.hx-tm small { color: #64748b; font-size: 0.74rem; }
.hx-perm { margin-left: auto; font-size: 0.74rem; color: #64748b; }
.hx-toggle { --knob: 16px; position: relative; width: 36px; height: 20px; border-radius: 999px; background: #cbd5e1; flex: none; }
.hx-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: var(--knob); height: var(--knob); border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.hx-setup-pane.is-active .hx-team-list li .hx-toggle { animation: hx-toggle-bg 0.3s ease forwards; }
.hx-setup-pane.is-active .hx-team-list li .hx-toggle::after { animation: hx-toggle-knob 0.3s ease forwards; }
.hx-setup-pane.is-active .hx-team-list li:nth-child(1) .hx-toggle,
.hx-setup-pane.is-active .hx-team-list li:nth-child(1) .hx-toggle::after { animation-delay: 1.4s; }
.hx-setup-pane.is-active .hx-team-list li:nth-child(2) .hx-toggle,
.hx-setup-pane.is-active .hx-team-list li:nth-child(2) .hx-toggle::after { animation-delay: 1.7s; }
.hx-setup-pane.is-active .hx-team-list li:nth-child(3) .hx-toggle,
.hx-setup-pane.is-active .hx-team-list li:nth-child(3) .hx-toggle::after { animation-delay: 2s; }
@keyframes hx-toggle-bg { to { background: #2563eb; } }
@keyframes hx-toggle-knob { to { left: calc(100% - var(--knob) - 2px); } }

.hx-ap-toast {
  position: absolute;
  left: 50%;
  bottom: 6%;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.2);
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 10px);
}
.hx-ap-toast svg { width: 15px; height: 15px; }
.hx-setup-pane[data-setup-pane="1"].is-active .hx-ap-toast { animation: hx-ap-toast 0.4s ease 1.4s forwards; }
.hx-setup-pane[data-setup-pane="2"].is-active .hx-ap-toast { animation: hx-ap-toast 0.4s ease 2.4s forwards; }
@keyframes hx-ap-toast { to { opacity: 1; transform: translate(-50%, 0); } }

/* help strip */
.hx-setup-help {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 3.5rem;
  padding: 1.4rem 1.6rem;
  border-radius: 20px;
  background:
    radial-gradient(70% 140% at 0% 50%, rgba(56, 189, 248, 0.1), transparent 60%),
    rgba(255, 255, 255, 0.035);
  border: 1px solid var(--hx-border-2);
}
.hx-setup-help-copy { flex: 1; }
.hx-setup-help-copy h3 { font-size: 1.15rem; font-weight: 700; }
.hx-setup-help-copy p { margin: 0.25rem 0 0; color: var(--hx-muted); font-size: 0.95rem; }
.hx-setup-help-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hx-setup-help-actions .hx-btn { min-height: 46px; padding: 0 1.2rem; font-size: 0.95rem; }

@media (max-width: 980px) {
  .hx-setup-help { flex-wrap: wrap; }
  .hx-setup-help-actions { width: 100%; }
}
@media (max-width: 640px) {
  .hx-app-pane { padding: 4% 4.5%; }
  .hx-ap-list { gap: 0.35rem; }
  .hx-ap-list li { padding: 0.4rem 0.55rem; gap: 0.45rem; font-size: 0.72rem; border-radius: 9px; }
  .hx-ap-head { margin-bottom: 3%; }
  .hx-ap-btn { padding: 0.32rem 0.6rem; font-size: 0.68rem; }
  .hx-ap-list em { font-size: 0.6rem; }
  .hx-av { width: 24px; height: 24px; font-size: 0.66rem; }
  .hx-tm b { font-size: 0.74rem; }
  .hx-tm small, .hx-perm { font-size: 0.62rem; }
  .hx-toggle { --knob: 13px; width: 30px; height: 17px; }
  .hx-ap-toast { font-size: 0.68rem; padding: 0.35rem 0.7rem; bottom: 4%; }
  .hx-setup-help { padding: 1.2rem; }
  .hx-setup-help-actions .hx-btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-ap-list li.hx-status-new { max-height: none; opacity: 1; margin-top: 0; padding-top: 0.65rem; padding-bottom: 0.65rem; border-width: 1px; }
  .hx-team-list li { opacity: 1; transform: none; }
  .hx-ap-toast { opacity: 1; transform: translate(-50%, 0); }
  .hx-setup-pane * { animation: none !important; }
}

/* Easy Setup step 1: animated Setup Wizard checklist */
.hx-wiz-pane { padding: 4.5% 6%; }
.hx-wiz-head { align-items: center; margin-bottom: 3.5%; }
.hx-wiz-title { display: flex; align-items: center; gap: 0.7rem; }
.hx-wiz-title small { display: block; font-size: 0.68rem; color: #64748b; }
.hx-wiz-title b { font-size: clamp(0.9rem, 1.5vw, 1.12rem); }
.hx-wiz-spark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #2563eb; background: #dbeafe; flex: none; }
.hx-wiz-spark svg { width: 18px; height: 18px; }
.hx-wiz-count { display: flex; align-items: center; }
.hx-wiz-bar { width: 120px; height: 7px; border-radius: 999px; background: #e2e8f0; overflow: hidden; }
.hx-wiz-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #3b82f6, #38bdf8); }
.hx-setup-pane.is-active .hx-wiz-bar i { animation: hx-wiz-bar 2.6s steps(6, end) 0.3s forwards; }
@keyframes hx-wiz-bar { to { width: 100%; } }
.hx-wiz-list { gap: 0.42rem; }
.hx-wiz-list li { padding: 0.5rem 0.8rem; gap: 0.65rem; }
.hx-wiz-list b { font-size: 0.86rem; }
.hx-wiz-list small { margin-left: auto; font-size: 0.7rem; color: #94a3b8; }
.hx-wiz-check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1;
  background: #fff;
  flex: none;
}
.hx-wiz-check svg { width: 12px; height: 12px; color: #fff; opacity: 0; }
.hx-setup-pane.is-active .hx-wiz-check { animation: hx-wiz-check 0.3s ease forwards; }
.hx-setup-pane.is-active .hx-wiz-check svg { animation: hx-wiz-tick 0.3s ease forwards; }
.hx-setup-pane.is-active .hx-wiz-list li { animation: hx-wiz-row 0.3s ease forwards; }
.hx-setup-pane.is-active .hx-wiz-list li:nth-child(1), .hx-setup-pane.is-active .hx-wiz-list li:nth-child(1) .hx-wiz-check, .hx-setup-pane.is-active .hx-wiz-list li:nth-child(1) .hx-wiz-check svg { animation-delay: 0.4s; }
.hx-setup-pane.is-active .hx-wiz-list li:nth-child(2), .hx-setup-pane.is-active .hx-wiz-list li:nth-child(2) .hx-wiz-check, .hx-setup-pane.is-active .hx-wiz-list li:nth-child(2) .hx-wiz-check svg { animation-delay: 0.8s; }
.hx-setup-pane.is-active .hx-wiz-list li:nth-child(3), .hx-setup-pane.is-active .hx-wiz-list li:nth-child(3) .hx-wiz-check, .hx-setup-pane.is-active .hx-wiz-list li:nth-child(3) .hx-wiz-check svg { animation-delay: 1.2s; }
.hx-setup-pane.is-active .hx-wiz-list li:nth-child(4), .hx-setup-pane.is-active .hx-wiz-list li:nth-child(4) .hx-wiz-check, .hx-setup-pane.is-active .hx-wiz-list li:nth-child(4) .hx-wiz-check svg { animation-delay: 1.6s; }
.hx-setup-pane.is-active .hx-wiz-list li:nth-child(5), .hx-setup-pane.is-active .hx-wiz-list li:nth-child(5) .hx-wiz-check, .hx-setup-pane.is-active .hx-wiz-list li:nth-child(5) .hx-wiz-check svg { animation-delay: 2s; }
.hx-setup-pane.is-active .hx-wiz-list li:nth-child(6), .hx-setup-pane.is-active .hx-wiz-list li:nth-child(6) .hx-wiz-check, .hx-setup-pane.is-active .hx-wiz-list li:nth-child(6) .hx-wiz-check svg { animation-delay: 2.4s; }
@keyframes hx-wiz-check { 50% { transform: scale(1.2); } to { background: #10b981; border-color: #10b981; transform: scale(1); } }
@keyframes hx-wiz-tick { to { opacity: 1; } }
@keyframes hx-wiz-row { to { border-color: #a7f3d0; background: #f0fdf4; } }
.hx-setup-pane[data-setup-pane="0"].is-active .hx-ap-toast { animation: hx-ap-toast 0.4s ease 2.8s forwards; }

@media (max-width: 640px) {
  .hx-wiz-pane { padding: 3.5% 4.5%; }
  .hx-wiz-spark { width: 24px; height: 24px; border-radius: 7px; }
  .hx-wiz-spark svg { width: 13px; height: 13px; }
  .hx-wiz-title small { font-size: 0.56rem; }
  .hx-wiz-bar { width: 70px; height: 5px; }
  .hx-wiz-list { gap: 0.2rem; }
  .hx-wiz-list li { padding: 0.22rem 0.5rem; }
  .hx-wiz-list b { font-size: 0.66rem; }
  .hx-wiz-list small { font-size: 0.56rem; }
  .hx-wiz-check { width: 14px; height: 14px; }
  .hx-wiz-check svg { width: 9px; height: 9px; }
  .hx-wiz-list li:nth-child(6) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-wiz-bar i { width: 100%; }
  .hx-wiz-check { background: #10b981; border-color: #10b981; }
  .hx-wiz-check svg { opacity: 1; }
}

/* ---------- Industries: use-case cards ---------- */
.hx-ind-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}
.hx-ind-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 300px;
  padding: 1.3rem 1.2rem;
  border-radius: 20px;
  color: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--hx-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
/* cursor spotlight */
.hx-ind-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(56, 189, 248, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
/* big faded icon watermark */
.hx-ind-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  z-index: -1;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12), transparent 70%);
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.hx-ind-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  border: 1px solid;
  transition: transform 0.4s cubic-bezier(0.3, 1.4, 0.4, 1), box-shadow 0.3s ease;
}
.hx-ind-icon svg { width: 25px; height: 25px; }
.hx-ind-card h3 {
  margin-top: auto;
  padding-top: 1.1rem;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.4s ease;
}
.hx-ind-more {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.4s ease, opacity 0.3s ease, margin 0.4s ease;
}
.hx-ind-more > * { overflow: hidden; }
.hx-ind-more p { margin: 0; color: var(--hx-muted); font-size: 0.86rem; line-height: 1.5; min-height: 0; }
.hx-ind-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; padding-top: 0.7rem; min-height: 0; }
.hx-ind-tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #bae6fd;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
}
.hx-ind-tags svg { width: 11px; height: 11px; }

/* hover / focus: lift, glow, reveal the use case */
.hx-ind-card:hover,
.hx-ind-card:focus-within,
.hx-ind-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(125, 211, 252, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 50px rgba(56, 189, 248, 0.12);
}
.hx-ind-card:hover::before,
.hx-ind-card:focus-visible::before { opacity: 1; }
.hx-ind-card:hover::after { transform: scale(1.6); opacity: 0.6; }
.hx-ind-card:hover .hx-ind-icon,
.hx-ind-card:focus-visible .hx-ind-icon { transform: scale(1.1) rotate(-6deg); box-shadow: 0 0 24px rgba(56, 189, 248, 0.35); }
.hx-ind-card:hover .hx-ind-more,
.hx-ind-card:focus-visible .hx-ind-more { grid-template-rows: 1fr; opacity: 1; margin-top: 0.5rem; }

.hx-ind-other { border-style: dashed; border-color: rgba(52, 211, 153, 0.35); }
.hx-ind-other .hx-ind-tags span { color: #6ee7b7; background: rgba(52, 211, 153, 0.12); border-color: rgba(52, 211, 153, 0.3); }

/* staggered entrance */
.hx-js .hx-ind-grid.hx-reveal .hx-ind-card { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.35s ease, box-shadow 0.35s ease; transition-delay: calc(var(--i) * 60ms), calc(var(--i) * 60ms), 0s, 0s; }
.hx-js .hx-ind-grid.hx-reveal.is-visible .hx-ind-card { opacity: 1; transform: none; }
.hx-js .hx-ind-grid.hx-reveal.is-visible .hx-ind-card:hover { transform: translateY(-5px); transition-delay: 0s; }

/* touch screens: no hover, so always show the use case */
@media (hover: none) {
  .hx-ind-card { height: auto; min-height: 200px; }
  .hx-ind-more { grid-template-rows: 1fr; opacity: 1; margin-top: 0.5rem; }
}
@media (max-width: 1180px) {
  .hx-ind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hx-ind-card { height: 250px; }
}
@media (max-width: 640px) {
  .hx-ind-grid { grid-template-columns: 1fr; gap: 0.7rem; }
  .hx-ind-card { height: auto; min-height: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 0.9rem; align-items: start; padding: 1.1rem; }
  .hx-ind-icon { width: 44px; height: 44px; grid-row: span 2; }
  .hx-ind-card h3 { margin-top: 0; padding-top: 0.15rem; }
  .hx-ind-more { grid-column: 2; margin-top: 0.3rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-ind-card, .hx-ind-icon, .hx-ind-more { transition: none; }
}

/* Industries: compact cards. On hover the icon fades out and the use case
   fades in above the trade name, so the card never changes size. */
.hx-ind-card { height: 172px; padding: 1.1rem 1.1rem 1rem; }
.hx-ind-icon { transition: transform 0.4s cubic-bezier(0.3, 1.4, 0.4, 1), box-shadow 0.3s ease, opacity 0.25s ease; }
.hx-ind-card h3 { padding-top: 0; font-size: 1.02rem; }
.hx-ind-more {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  top: 1rem;
  display: block;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.35s ease;
  pointer-events: none;
}
.hx-ind-more > * { overflow: visible; }
.hx-ind-more p { font-size: 0.8rem; line-height: 1.45; }
.hx-ind-tags { padding-top: 0.55rem; }
.hx-ind-card:hover .hx-ind-more,
.hx-ind-card:focus-visible .hx-ind-more { opacity: 1; transform: none; margin-top: 0; }
.hx-ind-card:hover .hx-ind-icon,
.hx-ind-card:focus-visible .hx-ind-icon { opacity: 0; transform: scale(0.7); box-shadow: none; }

@media (max-width: 1180px) {
  .hx-ind-card { height: 160px; }
}
/* touch screens and phones: plain stacked layout with the use case always visible */
@media (hover: none), (max-width: 640px) {
  .hx-ind-card { height: auto; min-height: 0; }
  .hx-ind-more { position: static; opacity: 1; transform: none; margin-top: 0.5rem; pointer-events: auto; }
  .hx-ind-card .hx-ind-icon { opacity: 1 !important; transform: none !important; }
  .hx-ind-card h3 { margin-top: 0.9rem; }
}
@media (max-width: 640px) {
  .hx-ind-card h3 { margin-top: 0; padding-top: 0.15rem; }
  .hx-ind-more { margin-top: 0.3rem; }
}

/* keep the trade name pinned to the bottom of the card (beats the global h3 margin reset) */
.hx-ind-grid .hx-ind-card h3 { margin-top: auto; }
@media (hover: none), (max-width: 640px) { .hx-ind-grid .hx-ind-card h3 { margin-top: 0.9rem; } }
@media (max-width: 640px) { .hx-ind-grid .hx-ind-card h3 { margin-top: 0; } }
.hx-ind-grid .hx-ind-card { height: 182px; }
@media (max-width: 1180px) { .hx-ind-grid .hx-ind-card { height: 160px; } }
@media (hover: none), (max-width: 640px) { .hx-ind-grid .hx-ind-card { height: auto; } }

/* Industries on phones: two compact cards per row */
@media (max-width: 640px) {
  .hx-ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
  .hx-ind-grid .hx-ind-card {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 0.95rem 0.85rem;
    border-radius: 16px;
  }
  .hx-ind-grid .hx-ind-card .hx-ind-icon { width: 38px; height: 38px; border-radius: 11px; grid-row: auto; }
  .hx-ind-grid .hx-ind-card .hx-ind-icon svg { width: 19px; height: 19px; }
  .hx-ind-grid .hx-ind-card h3 { margin-top: 0.7rem; padding-top: 0; font-size: 0.92rem; }
  .hx-ind-grid .hx-ind-card .hx-ind-more { margin-top: 0.35rem; }
  .hx-ind-grid .hx-ind-card .hx-ind-more p { font-size: 0.74rem; line-height: 1.4; }
  .hx-ind-grid .hx-ind-card .hx-ind-tags { gap: 0.25rem; padding-top: 0.5rem; }
  .hx-ind-grid .hx-ind-card .hx-ind-tags span { font-size: 0.62rem; padding: 0.15rem 0.45rem; }
  .hx-ind-grid .hx-ind-card::after { width: 90px; height: 90px; right: -24px; bottom: -24px; }
}

/* ---------- Matching App Store / Google Play badges ---------- */
.hx-store {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 54px;
  min-width: 178px;
  padding: 0 1.1rem 0 0.9rem;
  border-radius: 12px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
a:hover > .hx-store { border-color: rgba(125, 211, 252, 0.7); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 24px rgba(56, 189, 248, 0.2); }
.hx-store-logo { width: 28px; height: 28px; flex: none; }
.hx-store-text { display: grid; line-height: 1.05; text-align: left; }
.hx-store-text small { font-family: var(--hx-body, sans-serif); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.85); }
.hx-store-text b { font-family: var(--hx-head, sans-serif); font-size: 1.22rem; font-weight: 600; letter-spacing: -0.01em; }
@media (max-width: 640px) {
  .hx-store { height: 50px; min-width: 164px; }
  .hx-store-text b { font-size: 1.12rem; }
}

/* Contact page: support email under the phone number */
body.ss-dark .contact-support-phone a.contact-support-email { font-size: 1rem; font-weight: 600; color: #7dd3fc; }
body.ss-dark .contact-support-phone a.contact-support-email:hover { color: #bae6fd; }

/* ---------- A Day With Service Strike: animated step screens ---------- */
/* A pane animates when it is the active preview (desktop) or inside the
   active step (phones). Animations play once each time a step activates. */
.hx-dpane { font-family: var(--hx-body); color: #10213b; }
.hx-day-frame .hx-dpane {
  position: absolute;
  inset: 6% 3% 4%;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hx-day-frame .hx-dpane.is-active { opacity: 1; transform: none; }
.hx-day-thumb .hx-dpane { position: relative; width: 100%; aspect-ratio: 4 / 3.2; display: grid; place-items: center; }
.hx-dpane * { box-sizing: border-box; }

/* shared app card */
.dp-app {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 1.1rem 1.15rem;
  border-radius: 16px;
  background: #f8fafc;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  overflow: hidden;
}
.dp-head { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.8rem; }
.dp-head b { font-size: 1rem; }
.dp-sub { color: #64748b; font-size: 0.78rem; font-weight: 600; }
.dp-av { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; color: #fff; font-weight: 700; font-size: 0.75rem; flex: none; }
.dp-av.sm { width: 20px; height: 20px; font-size: 0.6rem; }
.dp-pill { margin-left: auto; padding: 0.18rem 0.55rem; border-radius: 999px; font-style: normal; font-size: 0.68rem; font-weight: 700; color: #475569; background: #e2e8f0; white-space: nowrap; }
.dp-pill.blue { color: #1d4ed8; background: #dbeafe; }
.dp-pill.green { color: #15803d; background: #dcfce7; }
.dp-ghost { display: block; height: 7px; border-radius: 4px; background: #e2e8f0; margin-top: 0.45rem; width: 85%; }
.dp-ghost.short { width: 55%; }
.dp-txt b { display: block; font-size: 0.84rem; }
.dp-txt small { color: #64748b; font-size: 0.7rem; }

/* 1. Lead comes in: new row slides in on top, counter ticks up */
.dp-count { position: relative; display: inline-block; width: 52px; height: 1.3em; font-size: 0.75rem; font-weight: 700; color: #1d4ed8; }
.dp-count i { position: absolute; right: 0; top: 0; font-style: normal; padding: 0.1rem 0.5rem; border-radius: 999px; background: #dbeafe; white-space: nowrap; }
.dp-count .c2 { opacity: 0; }
.dp-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.dp-rows li { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.7rem; border-radius: 11px; background: #fff; border: 1px solid #e2e8f0; }
.dp-rows li.dp-new { max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: -0.45rem; opacity: 0; border-width: 0; overflow: hidden; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-rows li.dp-new { animation: dp-lead-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.5s forwards; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-count .c1 { animation: dp-fade-out 0.2s ease 0.9s forwards; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-count .c2 { animation: dp-pop-in 0.35s ease 0.9s forwards; }
@keyframes dp-lead-in {
  0% { max-height: 0; opacity: 0; margin-top: -0.45rem; padding-top: 0; padding-bottom: 0; border-width: 0; transform: translateY(-10px); }
  100% { max-height: 70px; opacity: 1; margin-top: 0; padding-top: 0.55rem; padding-bottom: 0.55rem; border-width: 1px; transform: none; border-color: #93c5fd; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }
}
@keyframes dp-fade-out { to { opacity: 0; } }
@keyframes dp-pop-in { 0% { opacity: 0; transform: scale(0.6); } 70% { opacity: 1; transform: scale(1.15); } 100% { opacity: 1; transform: scale(1); } }

/* 2. Job board: card moves Pending -> Assigned -> In Progress */
.dp-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; height: 150px; }
.dp-col { padding: 0.55rem; border-radius: 11px; background: #eef2f7; }
.dp-col-h { display: flex; align-items: center; gap: 0.35rem; font-size: 0.7rem; font-weight: 700; color: #334155; margin-bottom: 0.2rem; }
.dp-col-h i { width: 8px; height: 8px; border-radius: 999px; }
.dp-col .dp-ghost { height: 28px; border-radius: 8px; background: #fff; width: 100%; margin-top: 0.4rem; }
.dp-col .dp-ghost.short { height: 28px; }
.dp-move {
  position: absolute;
  top: 5.6rem;
  left: calc(1.15rem + 0.55rem);
  width: calc((100% - 2.3rem - 1.1rem) / 3 - 1.1rem);
  padding: 0.5rem 0.55rem;
  border-radius: 9px;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-left: 3px solid #6b7280;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
  font-size: 0.66rem;
}
.dp-move b { display: block; font-size: 0.7rem; line-height: 1.2; }
.dp-move small { color: #64748b; font-size: 0.6rem; }
.dp-move-tech { display: flex; align-items: center; gap: 0.3rem; margin-top: 0.3rem; font-weight: 700; color: #1d4ed8; opacity: 0; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-move { animation: dp-move 2.6s cubic-bezier(0.5, 0, 0.3, 1) 0.4s forwards; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-move-tech { animation: dp-pop-in 0.35s ease 1.3s forwards; }
@keyframes dp-move {
  0% { transform: translateX(0); border-left-color: #6b7280; }
  12% { transform: translateX(0) rotate(-3deg) scale(1.04); }
  35%, 50% { transform: translateX(calc(100% + 1.1rem + 0.55rem)); border-left-color: #2dd4bf; }
  62% { transform: translateX(calc(100% + 1.1rem + 0.55rem)) rotate(-3deg) scale(1.04); }
  85%, 100% { transform: translateX(calc(200% + 2.2rem + 1.1rem)); border-left-color: #2563eb; }
}

/* phone shell used by steps 3, 6, 7 */
.dp-phone {
  position: relative;
  width: 190px;
  height: 340px;
  padding: 8px;
  border-radius: 34px;
  background: linear-gradient(145deg, #c9ced8, #7d8594 45%, #c9ced8);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.dp-phone-screen { position: relative; height: 100%; border-radius: 27px; overflow: hidden; background: #f8fafc; border: 4px solid #0b0b0d; padding: 0.4rem 0.55rem; font-size: 0.68rem; }
.dp-ph-status { display: flex; justify-content: space-between; align-items: center; font-size: 0.6rem; font-weight: 700; padding: 0 0.25rem; height: 20px; }
.dp-island { width: 52px; height: 15px; border-radius: 999px; background: #0b0b0d; }

/* 3. Technician app: push notification drops in, new job highlighted */
.dp-notif {
  position: absolute;
  left: 0.45rem;
  right: 0.45rem;
  top: 0.45rem;
  z-index: 2;
  display: flex;
  gap: 0.45rem;
  padding: 0.5rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
  transform: translateY(-130%);
}
.dp-notif-ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; color: #fff; background: #2563eb; flex: none; }
.dp-notif-ic svg { width: 13px; height: 13px; }
.dp-notif small { display: block; font-size: 0.5rem; color: #64748b; }
.dp-notif b { display: block; font-size: 0.66rem; }
.dp-notif em { font-style: normal; font-size: 0.6rem; color: #334155; }
.dp-ph-title { margin: 0.5rem 0 0.4rem; font-weight: 800; font-size: 0.8rem; }
.dp-ph-job { padding: 0.45rem 0.5rem; margin-bottom: 0.35rem; border-radius: 10px; background: #fff; border: 1px solid #e2e8f0; }
.dp-ph-job b { display: block; font-size: 0.66rem; }
.dp-ph-job small { color: #64748b; font-size: 0.56rem; }
.dp-ph-new { opacity: 0; transform: scale(0.95); }
.dp-ph-btn { display: inline-block; margin-top: 0.3rem; padding: 0.18rem 0.5rem; border-radius: 6px; color: #fff; background: #2563eb; font-size: 0.56rem; font-weight: 700; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-notif { animation: dp-notif 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s forwards; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-ph-new { animation: dp-ph-new 0.5s ease 1.9s forwards; }
@keyframes dp-notif { 0% { transform: translateY(-130%); } 18%, 70% { transform: none; } 100% { transform: translateY(-130%); } }
@keyframes dp-ph-new { to { opacity: 1; transform: none; border-color: #93c5fd; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18); } }

/* 4. Estimate: signature draws, then an Approved stamp */
.dp-line { display: flex; justify-content: space-between; padding: 0.38rem 0; border-bottom: 1px solid #e2e8f0; color: #334155; }
.dp-total { border-bottom: 0; font-size: 0.9rem; color: #10213b; }
.dp-sign { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.6rem; margin-top: 0.4rem; padding-top: 0.5rem; border-top: 1px dashed #cbd5e1; }
.dp-sign small { color: #64748b; font-size: 0.68rem; }
.dp-sign svg { width: 130px; height: 32px; fill: none; stroke: #1d4ed8; stroke-width: 2.4; stroke-linecap: round; }
.dp-sign path { stroke-dasharray: 320; stroke-dashoffset: 320; }
.dp-stamp {
  position: absolute;
  right: 1.2rem;
  top: 2.6rem;
  padding: 0.35rem 0.8rem;
  border: 3px solid #16a34a;
  border-radius: 8px;
  color: #16a34a;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(240, 253, 244, 0.9);
  transform: rotate(-12deg) scale(2);
  opacity: 0;
}
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-sign path { animation: dp-draw 1.1s ease 0.5s forwards; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-stamp { animation: dp-stamp 0.4s cubic-bezier(0.3, 1.4, 0.4, 1) 1.8s forwards; }
@keyframes dp-draw { to { stroke-dashoffset: 0; } }
@keyframes dp-stamp { to { opacity: 1; transform: rotate(-12deg) scale(1); } }

/* 5. Invoice sent: button press, plane flies, SMS appears, statuses light */
.dp-inv { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: center; max-width: 520px; }
.dp-inv-left { padding-right: 0.2rem; }
.dp-send { display: inline-block; margin-top: 0.8rem; padding: 0.4rem 0.75rem; border-radius: 8px; color: #fff; background: #2563eb; font-weight: 700; font-size: 0.72rem; }
.dp-status { display: flex; gap: 0.3rem; margin-top: 0.75rem; }
.dp-status span { flex: 1; text-align: center; padding: 0.2rem 0; border-radius: 999px; font-size: 0.62rem; font-weight: 700; color: #94a3b8; background: #e2e8f0; }
.dp-plane { position: absolute; left: 30%; top: 58%; width: 22px; height: 22px; fill: none; stroke: #2563eb; stroke-width: 2; stroke-linejoin: round; opacity: 0; }
.dp-sms { opacity: 0; transform: translateY(10px); }
.dp-sms small { display: block; text-align: center; color: #94a3b8; font-size: 0.6rem; margin-bottom: 0.35rem; }
.dp-bubble { padding: 0.55rem 0.7rem; border-radius: 14px 14px 14px 4px; background: #e2e8f0; color: #10213b; font-size: 0.7rem; line-height: 1.4; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-send { animation: dp-press 0.35s ease 0.4s; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-plane { animation: dp-plane 0.8s ease-in 0.6s forwards; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-sms { animation: dp-sms 0.4s ease 1.3s forwards; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-status .s1 { animation: dp-lit 0.3s ease 1.5s forwards; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-status .s2 { animation: dp-lit 0.3s ease 2.1s forwards; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-status .s3 { animation: dp-lit-green 0.3s ease 2.7s forwards; }
@keyframes dp-press { 50% { transform: scale(0.9); } }
@keyframes dp-plane { 0% { opacity: 0; transform: translate(0, 0) scale(0.6); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(170px, -60px) scale(1) rotate(10deg); } }
@keyframes dp-sms { to { opacity: 1; transform: none; } }
@keyframes dp-lit { to { color: #1d4ed8; background: #dbeafe; } }
@keyframes dp-lit-green { to { color: #fff; background: #10b981; } }

/* 6. Paid on site: card taps the phone, payment approved */
.dp-paywrap, .dp-revwrap { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.dp-pay-amt { margin-top: 1.6rem; text-align: center; }
.dp-pay-amt small { display: block; color: #64748b; }
.dp-pay-amt b { font-size: 1.5rem; }
.dp-tap { position: relative; display: grid; place-items: center; width: 74px; height: 74px; margin: 1.1rem auto 0.6rem; border-radius: 999px; color: #fff; background: #6366f1; }
.dp-tap svg { width: 28px; height: 28px; }
.dp-tap i { position: absolute; inset: 0; border-radius: 999px; border: 2px solid rgba(99, 102, 241, 0.6); animation: dp-ring 1.6s ease-out infinite; }
.dp-tap i + i { animation-delay: 0.8s; }
@keyframes dp-ring { from { transform: scale(1); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.dp-pay-hint { text-align: center; color: #64748b; font-size: 0.64rem; }
.dp-pay-ok { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.25rem; background: #f0fdf4; opacity: 0; }
.dp-pay-ok span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; color: #fff; background: #10b981; transform: scale(0.4); }
.dp-pay-ok span svg { width: 30px; height: 30px; }
.dp-pay-ok b { font-size: 0.85rem; color: #065f46; }
.dp-pay-ok small { color: #64748b; font-size: 0.62rem; }
.dp-card {
  position: absolute;
  left: calc(50% + 70px);
  top: 32%;
  width: 120px;
  height: 76px;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotate(8deg);
}
.dp-card b { font-style: italic; letter-spacing: 0.05em; }
.dp-card small { font-size: 0.62rem; color: rgba(255, 255, 255, 0.8); }
.dp-chip { width: 20px; height: 15px; border-radius: 3px; background: linear-gradient(135deg, #fde68a, #d97706); }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-card { animation: dp-card 1.4s cubic-bezier(0.5, 0, 0.3, 1) 0.4s forwards; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-pay-ok { animation: dp-fade-in 0.35s ease 1.5s forwards; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-pay-ok span { animation: dp-pop-in 0.45s ease 1.6s forwards; }
@keyframes dp-card { 0% { transform: rotate(8deg); } 55% { transform: translateX(-120px) rotate(-4deg); } 70% { transform: translateX(-112px) rotate(-4deg); } 100% { transform: translateX(-10px) rotate(8deg); opacity: 0.85; } }
@keyframes dp-fade-in { to { opacity: 1; } }

/* 7. Review: QR scanned, five stars fill, review posted */
.dp-qr-view, .dp-rate-view { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.5rem; padding: 1rem; text-align: center; }
.dp-qr-view small { font-weight: 700; font-size: 0.72rem; }
.dp-qr-view em, .dp-rate-done { font-style: normal; color: #64748b; font-size: 0.62rem; }
.dp-qr {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 8px;
  background:
    conic-gradient(from 90deg at 18px 18px, #0f172a 25%, transparent 0) 0 0 / 36px 36px,
    repeating-linear-gradient(90deg, #0f172a 0 6px, transparent 6px 12px),
    #fff;
  background-blend-mode: normal;
  outline: 8px solid #fff;
  overflow: hidden;
}
.dp-qr::before, .dp-qr::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border: 6px solid #0f172a;
  background: #fff;
  box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 12px #0f172a;
}
.dp-qr::before { left: 0; top: 0; }
.dp-qr::after { right: 0; top: 0; }
.dp-qr i { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #22c55e; box-shadow: 0 0 10px 2px rgba(34, 197, 94, 0.8); opacity: 0; }
.dp-rate-view { background: #f8fafc; opacity: 0; }
.dp-rate-view b { font-size: 0.9rem; }
.dp-stars { display: flex; gap: 0.25rem; }
.dp-stars i { width: 24px; height: 24px; background: #cbd5e1; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.dp-rate-done { opacity: 0; }
.dp-review {
  position: absolute;
  left: calc(50% + 40px);
  bottom: 14%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  font-size: 0.7rem;
  opacity: 0;
  transform: translateY(12px) scale(0.95);
  max-width: 220px;
}
.dp-review b { display: block; color: #f59e0b; letter-spacing: 0.1em; }
.dp-review small { color: #334155; font-size: 0.66rem; }
.dp-g { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; font-weight: 800; color: #fff; background: conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0); flex: none; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-qr i { animation: dp-scan 0.9s ease-in-out 0.3s 1 forwards; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-rate-view { animation: dp-fade-in 0.35s ease 1.2s forwards; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-stars i { animation: dp-star 0.25s ease forwards; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-stars i:nth-child(1) { animation-delay: 1.5s; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-stars i:nth-child(2) { animation-delay: 1.65s; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-stars i:nth-child(3) { animation-delay: 1.8s; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-stars i:nth-child(4) { animation-delay: 1.95s; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-stars i:nth-child(5) { animation-delay: 2.1s; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-rate-done { animation: dp-fade-in 0.3s ease 2.4s forwards; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-review { animation: dp-sms 0.45s cubic-bezier(0.3, 1.4, 0.4, 1) 2.6s forwards; }
@keyframes dp-scan { 0% { opacity: 1; top: 0; } 100% { opacity: 1; top: 100%; } }
@keyframes dp-star { 0% { transform: scale(0.6); } 60% { transform: scale(1.25); background: #f59e0b; } 100% { transform: scale(1); background: #f59e0b; } }

/* phones: scale the screens to fit the thumbnail */
@media (max-width: 980px) {
  .hx-day-thumb { display: block; margin-top: 1rem; }
  .hx-day-thumb .hx-dpane { aspect-ratio: auto; min-height: 250px; padding: 0.4rem 0; }
  .hx-day-thumb .dp-app { max-width: 100%; }
  .hx-day-thumb .dp-phone { transform: scale(0.82); margin: -30px 0; }
  .hx-day-thumb .dp-card { left: calc(50% + 50px); }
  .hx-day-thumb .dp-review { left: auto; right: 0; bottom: 6%; }
}
@media (max-width: 640px) {
  .dp-app { padding: 0.85rem; font-size: 0.74rem; }
  .dp-cols { height: 130px; gap: 0.35rem; }
  .dp-move { top: 5rem; left: calc(0.85rem + 0.55rem); width: calc((100% - 1.7rem - 0.7rem) / 3 - 1.1rem); }
  @keyframes dp-move {
    0% { transform: translateX(0); }
    35%, 50% { transform: translateX(calc(100% + 1.1rem + 0.35rem)); border-left-color: #2dd4bf; }
    85%, 100% { transform: translateX(calc(200% + 2.2rem + 0.7rem)); border-left-color: #2563eb; }
  }
  .dp-inv { grid-template-columns: 1fr; gap: 0.6rem; }
  .dp-plane { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-dpane * { animation: none !important; }
  .dp-rows li.dp-new, .dp-ph-new, .dp-sms, .dp-stamp, .dp-review, .dp-rate-view, .dp-rate-done, .dp-pay-ok { opacity: 1; max-height: none; transform: none; }
  .dp-sign path { stroke-dashoffset: 0; }
}

/* job board card: position by percentage so it lands inside each column at any width */
.dp-board .dp-move { left: 5.2%; width: 27.5%; }
:is(.hx-dpane.is-active, .hx-day-step.is-active .hx-dpane) .dp-board .dp-move { animation-name: dp-move-pct; }
@keyframes dp-move-pct {
  0% { left: 5.2%; transform: none; border-left-color: #6b7280; }
  12% { left: 5.2%; transform: rotate(-3deg) scale(1.04); }
  35%, 50% { left: 36.3%; transform: none; border-left-color: #2dd4bf; }
  62% { left: 36.3%; transform: rotate(-3deg) scale(1.04); }
  85%, 100% { left: 67.4%; transform: none; border-left-color: #2563eb; }
}
@media (max-width: 640px) { .dp-board .dp-move { width: 27%; padding: 0.4rem; } .dp-col-h { font-size: 0.6rem; } }


/* ---------- Category groups (features hub + help FAQ) ---------- */
.cat-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: 0 auto 2.75rem; }
body.ss-dark .cat-chip {
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--hx-muted);
  background: var(--hx-surface);
  border: 1px solid var(--hx-border-2);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
body.ss-dark .cat-chip:hover { color: #fff; background: rgba(56, 189, 248, 0.14); border-color: rgba(56, 189, 248, 0.45); }
.features-category, .faq-category { scroll-margin-top: 110px; }
.features-category + .features-category { margin-top: 3.5rem; }
.faq-category + .faq-category { margin-top: 2.75rem; }
.features-category-title, .faq-category-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.4rem;
  font-family: var(--hx-head);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--hx-text);
}
.features-category-title { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
.faq-category-title { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.features-category-title::before, .faq-category-title::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 1.15em;
  border-radius: 4px;
  background: var(--hx-grad);
}
.features-category-title::after, .faq-category-title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--hx-border-2), transparent);
}
@media (max-width: 640px) {
  .cat-chips { gap: 0.45rem; margin-bottom: 2rem; }
  body.ss-dark .cat-chip { padding: 0.45rem 0.85rem; font-size: 0.82rem; }
  .features-category + .features-category { margin-top: 2.5rem; }
}

/* ---------- Book Demo: weekday-only calendar ---------- */
.demo-date-field { position: relative; }
.demo-date-native {
  position: absolute !important;
  left: 0; bottom: 0;
  width: 1px !important; height: 1px !important; min-height: 0 !important;
  padding: 0 !important; border: 0 !important; opacity: 0; pointer-events: none;
}
.demo-date-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  width: 100%;
  min-height: 46px;
  padding: 0 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.184);
  color: var(--hx-text, #eef2ff);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.demo-date-btn svg { width: 18px; height: 18px; flex: 0 0 auto; color: #7dd3fc; }
.demo-date-btn:hover, .demo-date-btn:focus-visible, .demo-date-btn[aria-expanded="true"] {
  border-color: rgba(96, 165, 250, 0.45);
  outline: none;
}
.demo-date-btn:focus-visible { box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.392); }
.demo-cal {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 30;
  width: min(320px, 100%);
  min-width: 290px;
  padding: 1rem;
  border-radius: 18px;
  background: #0d1426;
  border: 1px solid var(--hx-border-2, rgba(255, 255, 255, 0.14));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}
.demo-cal[hidden] { display: none; }
.demo-cal.flip-up { top: auto; bottom: calc(100% + 8px); }
.demo-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.8rem; color: #fff; }
.demo-cal-head strong { font-family: var(--hx-head); font-size: 1rem; }
.demo-cal-nav {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 1px solid var(--hx-border-2, rgba(255, 255, 255, 0.14));
  background: rgba(255, 255, 255, 0.05);
  color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.demo-cal-nav:hover:not(:disabled) { background: rgba(56, 189, 248, 0.2); }
.demo-cal-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.demo-cal-week, .demo-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.demo-cal-week span { text-align: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; color: #9aa5c3; padding-bottom: 0.4rem; }
.demo-cal-week span.is-off { color: #4b5572; }
.demo-cal-day {
  aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: #e6ecff;
  font: inherit; font-size: 0.9rem; font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.demo-cal-day:hover:not(:disabled) { background: rgba(56, 189, 248, 0.18); border-color: rgba(56, 189, 248, 0.4); }
.demo-cal-day.is-selected { color: #fff; background: linear-gradient(135deg, #3b82f6, #38bdf8); box-shadow: 0 6px 18px rgba(56, 189, 248, 0.35); }
.demo-cal-day.is-off, .demo-cal-day:disabled {
  color: #4b5572;
  background: transparent;
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-color: rgba(75, 85, 114, 0.6);
}
.demo-cal-note { margin: 0.8rem 0 0; font-size: 0.78rem; color: #7e89a8; text-align: center; }
@media (max-width: 640px) { .demo-cal { min-width: 0; width: 100%; } }

/* Category headings: features page centered with more room, FAQ with more room */
.features-category-title {
  justify-content: center;
  text-align: center;
  margin-bottom: 2.4rem;
}
.features-category-title::before {
  width: auto;
  height: 1px;
  flex: 1 1 auto;
  border-radius: 0;
  background: linear-gradient(270deg, var(--hx-border-2), transparent);
}
.features-category-title::after {
  background: linear-gradient(90deg, var(--hx-border-2), transparent);
}
.faq-category-title { margin-bottom: 2rem; }
@media (max-width: 640px) {
  .features-category-title { margin-bottom: 1.8rem; }
  .faq-category-title { margin-bottom: 1.5rem; }
}

/* spacing must out-rank the global `body.ss-dark h2/h3 { margin: 0 }` */
body.ss-dark .features-category-title { margin: 0 0 2.4rem; }
body.ss-dark .faq-category-title { margin: 0 0 2rem; }
@media (max-width: 640px) {
  body.ss-dark .features-category-title { margin-bottom: 1.8rem; }
  body.ss-dark .faq-category-title { margin-bottom: 1.5rem; }
}


/* ---------- Home: card animations sit below the text ---------- */
.hx-pillar .hx-pillar-head { order: 1; }
.hx-pillar .hx-checklist { order: 2; flex: none; }
.hx-pillar .hx-demo { order: 3; }
.hx-pillar .hx-link { order: 4; margin-top: auto; }
.hx-why-card .hx-pillar-head { order: 1; }
.hx-why-card > p { order: 2; }
.hx-why-card .hx-demo { order: 3; margin-top: 0.6rem; }

/* ---------- Home: Easy Setup stacked layout (phones only; JS adds .is-stacked) ---------- */
.hx-setup-split.is-stacked .hx-split-media { display: none; }
.hx-setup-steps li.hx-setup-mobile-media {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  opacity: 1;
  cursor: default;
  margin: -0.15rem 0 0.9rem;
}
.hx-setup-steps li.hx-setup-mobile-media:hover { background: none; border-color: transparent; opacity: 1; }
.hx-setup-split.is-stacked .hx-setup-steps .hx-setup-step { opacity: 1; cursor: default; }
.hx-setup-split.is-stacked .hx-setup-progress { display: none; }
.hx-setup-split.is-stacked .hx-setup-steps { gap: 0.7rem; }
.hx-setup-mobile-media .hx-window { margin: 0; }
