/* =========================================
   Eloxis Landing Design System
   Openlayer layout language × Eloxis steel/cyan
========================================= */

:root {
  --steel: #195087;
  --navy: #010e21;
  --cyan: #7dd0f4;
  --page-bg: #fcfcfd;
  --surface: #ffffff;
  --primary-text: #010e21;
  --secondary-text: rgba(1, 14, 33, 0.65);
  --muted-text: rgba(1, 14, 33, 0.45);
  --border: rgba(25, 80, 135, 0.12);
  --border-strong: rgba(25, 80, 135, 0.22);
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(1, 14, 33, 0.04), 0 1px 3px rgba(1, 14, 33, 0.03);
  --shadow-md: 0 4px 12px rgba(1, 14, 33, 0.06), 0 12px 32px rgba(25, 80, 135, 0.07);
  --shadow-lg: 0 8px 24px rgba(1, 14, 33, 0.06), 0 24px 56px rgba(25, 80, 135, 0.1);
  --shadow-xl: 0 16px 40px rgba(1, 14, 33, 0.08), 0 40px 80px rgba(25, 80, 135, 0.12);
  --shadow-glow: 0 0 0 1px rgba(125, 208, 244, 0.35), 0 12px 40px rgba(125, 208, 244, 0.18);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
  --announce-h: 40px;
}

/* ---------- Base ---------- */
.eloxis-landing {
  background-color: var(--page-bg);
  color: var(--primary-text);
  overflow-x: hidden;
}

.eloxis-landing .text-steel { color: var(--steel); }
.eloxis-landing .text-cyan { color: var(--cyan); }
.eloxis-landing .text-navy { color: var(--navy); }
.eloxis-landing .text-muted { color: var(--secondary-text); }
.eloxis-landing .text-faint { color: var(--muted-text); }

.display-heading {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--navy);
}

.latin-num {
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.hairline {
  border-color: var(--border);
}

.section-frame {
  position: relative;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 1280px) {
  .section-frame {
    padding-inline: 2rem;
  }
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-text);
}

.surface-card,
.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out), border-color 0.25s var(--ease);
}

.surface-card:hover,
.glass-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.text-secondary-text {
  color: var(--secondary-text);
}

.text-primary-text {
  color: var(--primary-text);
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--steel);
  color: #fff !important;
  border: none;
  border-radius: var(--radius);
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(25, 80, 135, 0.28);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), transparent 55%);
  pointer-events: none;
}

.btn-primary:hover {
  background: #154370;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(25, 80, 135, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--surface);
  color: var(--steel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease);
  cursor: pointer;
  text-decoration: none;
}

.btn-ghost:hover {
  background: rgba(125, 208, 244, 0.1);
  border-color: var(--steel);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  backdrop-filter: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--steel);
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.25s var(--ease-out);
  cursor: pointer;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(25, 80, 135, 0.04);
  border-color: var(--steel);
  transform: translateY(-2px);
}

/* Home rotating chip uses steel solid; product pages use .text-gradient for steel→cyan */
.landing-hero .text-gradient {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  color: var(--steel);
}

.highlight-chip {
  display: inline;
  background: rgba(125, 208, 244, 0.28);
  padding: 0.05em 0.28em;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- Announcement + Nav chrome overrides ---------- */
.announce-bar {
  position: relative;
  z-index: 60;
  min-height: var(--announce-h);
  height: auto;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  text-align: center;
  flex-wrap: wrap;
  line-height: 1.45;
}

.announce-bar a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

.announce-bar a:hover {
  color: var(--cyan);
}

#navbar.navbar--landing {
  top: var(--announce-h);
  transition: top 0.3s var(--ease, ease), box-shadow 0.3s ease;
}

#navbar.navbar--landing .navbar-glass {
  background: rgba(252, 252, 253, 0.88);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

#navbar.navbar--landing.navbar-scrolled {
  top: 0;
}

#navbar.navbar--landing.navbar-scrolled .navbar-glass {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.62) 100%
  );
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border-bottom-color: rgba(25, 80, 135, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 10px 36px rgba(1, 14, 33, 0.1);
}

#navbar.navbar--landing.navbar-scrolled #mobileMenu {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

#navbar.navbar--landing.navbar-scrolled #mobileMenuBtn {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#navbar.navbar--dark.navbar--landing .navbar-glass {
  background: rgba(8, 16, 32, 0.82);
  border-bottom-color: transparent;
}

#navbar.navbar--dark.navbar--landing.navbar-scrolled .navbar-glass {
  background: rgba(8, 16, 32, 0.7);
  border-bottom-color: rgba(125, 208, 244, 0.16);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.35);
}

#navbar.navbar--landing .nav-cta {
  background: var(--steel);
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(25, 80, 135, 0.28);
}

#navbar.navbar--landing .nav-cta:hover {
  background: #154370;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(25, 80, 135, 0.35);
}

#navbar.navbar--landing .glass-dropdown {
  background: #fff;
  backdrop-filter: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

#navbar.navbar--landing .dropdown-item:hover {
  background: rgba(25, 80, 135, 0.04);
  transform: none;
}

#navbar.navbar--landing #mobileMenuBtn {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  backdrop-filter: none;
}

#navbar.navbar--landing #mobileMenu {
  background: #fff;
  border-top: 1px solid var(--border);
  backdrop-filter: none;
}

/* Dark pages: keep mobile drawer navy + light text (beats scrolled light glass) */
#navbar.navbar--dark.navbar--landing #mobileMenu,
#navbar.navbar--dark.navbar--landing.navbar-scrolled #mobileMenu {
  background: rgba(8, 16, 32, 0.98);
  border-top-color: rgba(125, 208, 244, 0.16);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

#navbar.navbar--dark.navbar--landing #mobileMenuBtn,
#navbar.navbar--dark.navbar--landing.navbar-scrolled #mobileMenuBtn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

#navbar.navbar--dark.navbar--landing #mobileMenuBtn i {
  color: #fff;
}

#navbar.navbar--dark.navbar--landing .mobile-link,
#navbar.navbar--dark.navbar--landing .mobile-sublink {
  color: rgba(255, 255, 255, 0.9);
}

#navbar.navbar--dark.navbar--landing .mobile-sublink {
  color: rgba(255, 255, 255, 0.72);
  border-right-color: rgba(125, 208, 244, 0.28);
}

#navbar.navbar--dark.navbar--landing .mobile-link:hover,
#navbar.navbar--dark.navbar--landing .mobile-sublink:hover,
#navbar.navbar--dark.navbar--landing .mobile-sublink.text-steel,
#navbar.navbar--dark.navbar--landing .mobile-link.active-link,
#navbar.navbar--dark.navbar--landing .mobile-sublink.active-link {
  color: var(--cyan) !important;
  background: rgba(125, 208, 244, 0.1);
}

#navbar.navbar--dark.navbar--landing .mobile-section-title {
  color: rgba(125, 208, 244, 0.85);
}

body.has-announce {
  --nav-offset: calc(var(--announce-h) + var(--nav-h));
}

/* ---------- Hero ---------- */
.landing-hero {
  --hero-ink: #ffffff;
  --hero-muted: rgba(255, 255, 255, 0.62);
  --hero-dash-bg: #020817;
  --hero-dash-surface: #0f172a;
  --hero-dash-elevated: #1e293b;
  --hero-dash-border: rgba(255, 255, 255, 0.08);
  --hero-dash-blue: #3b82f6;
  --hero-spring: cubic-bezier(0.22, 1.2, 0.36, 1);
  position: relative;
  min-height: calc(100vh - var(--announce-h) - var(--nav-h));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-offset, 112px) + 2.5rem) 1.5rem 4.5rem;
  overflow: hidden;
}

.landing-hero--premium {
  background: #020817;
  color: var(--hero-ink);
}

.landing-hero__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.landing-hero__copy {
  width: min(100%, 46rem);
  margin-inline: auto;
}

.landing-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(59, 130, 246, 0.28), transparent 58%),
    radial-gradient(ellipse 45% 35% at 85% 40%, rgba(59, 130, 246, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 30% at 10% 70%, rgba(14, 165, 233, 0.1), transparent 50%),
    linear-gradient(180deg, #020817 0%, #0a1224 55%, #020817 100%);
}

.landing-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: hero-glow-pulse 6.5s var(--hero-spring) infinite alternate;
}

.landing-hero__glow--a {
  width: min(48vw, 520px);
  height: min(48vw, 520px);
  top: -8%;
  left: 50%;
  translate: -50% 0;
  background: rgba(59, 130, 246, 0.45);
}

.landing-hero__glow--b {
  width: min(36vw, 380px);
  height: min(36vw, 380px);
  right: -6%;
  top: 28%;
  background: rgba(56, 189, 248, 0.22);
  animation-delay: 1.2s;
}

.landing-hero__glow--c {
  width: min(30vw, 320px);
  height: min(30vw, 320px);
  left: -4%;
  bottom: 12%;
  background: rgba(37, 99, 235, 0.2);
  animation-delay: 2.1s;
}

.landing-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 15%, transparent 72%);
  animation: hero-grid-drift 28s linear infinite;
}

.landing-hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

@keyframes hero-grid-drift {
  from { background-position: 0 0; }
  to { background-position: 48px 48px; }
}

@keyframes hero-glow-pulse {
  from { opacity: 0.35; transform: scale(0.96); }
  to { opacity: 0.7; transform: scale(1.06); }
}

@keyframes hero-float-y {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -10px, 0); }
}

.landing-hero__brand {
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
  line-height: 0.95;
  text-shadow: 0 0 40px rgba(59, 130, 246, 0.25);
}

.landing-hero__brand.rb-shiny,
.landing-hero__brand[data-shiny] {
  text-shadow: 0 0 40px rgba(59, 130, 246, 0.28);
}

.landing-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-sm);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--steel);
  backdrop-filter: blur(8px);
}

.hero-pill i {
  color: var(--cyan);
  font-size: 1rem;
}

.landing-hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: 520px;
  margin: 2rem auto 0;
}

@media (max-width: 560px) {
  .landing-hero__metrics {
    grid-template-columns: 1fr;
  }
}

.hero-metric {
  padding: 1rem 0.85rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease);
}

.hero-metric:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.hero-metric strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--steel);
  letter-spacing: -0.03em;
  margin-bottom: 0.2rem;
}

.hero-metric span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-text);
}

.landing-hero__title {
  font-size: clamp(1.85rem, 4.6vw, 3.5rem);
  font-weight: 900;
  line-height: 1.25;
  max-width: 16em;
  margin-inline: auto;
  margin-bottom: 1.35rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.landing-hero__title-line {
  display: block;
}

.landing-hero__title-line--accent {
  background: linear-gradient(105deg, #93c5fd 0%, #3b82f6 45%, #e0f2fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-hero__sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--hero-muted);
  max-width: 38rem;
  margin-inline: auto;
  margin-bottom: 2rem;
  font-weight: 400;
}

.landing-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.landing-hero__btn {
  min-height: 3rem;
  padding-inline: 1.75rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  transition:
    transform 0.45s var(--hero-spring),
    box-shadow 0.45s var(--ease),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.landing-hero__btn--primary {
  background: var(--hero-dash-blue);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.35),
    0 10px 30px rgba(59, 130, 246, 0.35);
}

.landing-hero__btn--primary:hover {
  background: #2563eb;
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.5),
    0 16px 40px rgba(59, 130, 246, 0.45);
}

.landing-hero__btn--secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.landing-hero__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(147, 197, 253, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(2, 8, 23, 0.35);
}

.landing-hero__stage {
  width: min(100%, 1200px);
  margin-inline: auto;
  perspective: 1400px;
  will-change: transform;
}

.landing-hero__stage.is-floating {
  animation: hero-float-y 5.5s ease-in-out infinite alternate;
}

/* Floating product dashboard */
.hero-dash {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: color-mix(in srgb, var(--hero-dash-bg) 78%, transparent);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.08),
    0 24px 80px rgba(2, 8, 23, 0.55),
    0 0 80px rgba(59, 130, 246, 0.12);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  color: #fff;
  text-align: start;
  transform-style: preserve-3d;
  transition: box-shadow 0.5s var(--ease);
}

.hero-dash__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--hero-dash-border);
  background: rgba(15, 23, 42, 0.72);
}

.hero-dash__traffic {
  display: flex;
  gap: 0.4rem;
}

.hero-dash__traffic span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #334155;
}

.hero-dash__traffic span:nth-child(1) { background: #f87171; }
.hero-dash__traffic span:nth-child(2) { background: #fbbf24; }
.hero-dash__traffic span:nth-child(3) { background: #34d399; }

.hero-dash__crumbs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.hero-dash__crumbs i {
  font-size: 0.7rem;
  opacity: 0.5;
}

.hero-dash__chrome-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hero-dash__live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #93c5fd;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-dash__live-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: hero-live-pulse 1.8s ease-in-out infinite;
}

@keyframes hero-live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); opacity: 1; }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); opacity: 0.85; }
}

.hero-dash__user {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #bfdbfe;
}

.hero-dash__body {
  display: grid;
  grid-template-columns: auto 1fr;
  min-height: 28rem;
}

.hero-dash__rail {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 0.7rem;
  border-inline-end: 1px solid var(--hero-dash-border);
  background: rgba(2, 8, 23, 0.55);
}

.hero-dash__rail button {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.45);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font: inherit;
  padding: 0;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.35s var(--hero-spring);
}

.hero-dash__rail button i {
  font-size: 1.05rem;
  pointer-events: none;
}

.hero-dash__rail button.is-active,
.hero-dash__rail button:hover {
  color: #fff;
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.28);
}

.hero-dash__rail button:active {
  transform: scale(0.94);
}

.hero-dash__viewport {
  min-width: 0;
  position: relative;
}

.hero-dash__page {
  display: none;
  padding: 1.15rem 1.25rem 1.35rem;
  flex-direction: column;
  gap: 1rem;
  background:
    radial-gradient(ellipse 50% 40% at 90% 0%, rgba(59, 130, 246, 0.12), transparent 55%),
    var(--hero-dash-bg);
  min-height: 28rem;
  animation: hero-page-in 0.45s var(--hero-spring) both;
}

.hero-dash__page.is-active {
  display: flex;
}

@keyframes hero-page-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-dash__main {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background:
    radial-gradient(ellipse 50% 40% at 90% 0%, rgba(59, 130, 246, 0.12), transparent 55%),
    var(--hero-dash-bg);
}

.hero-dash__welcome {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem;
}

.hero-dash__eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
}

.hero-dash__welcome h2 {
  margin: 0.2rem 0 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-dash__welcome-actions {
  display: flex;
  gap: 0.45rem;
}

.hero-dash__chip {
  height: 2rem;
  padding: 0 0.8rem;
  border-radius: 0.55rem;
  border: 1px solid var(--hero-dash-border);
  background: var(--hero-dash-surface);
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: default;
}

.hero-dash__chip--accent {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.35);
  color: #bfdbfe;
}

.hero-dash__kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.hero-dash__kpi,
.hero-dash__panel {
  border-radius: 1rem;
  border: 1px solid var(--hero-dash-border);
  background: color-mix(in srgb, var(--hero-dash-surface) 88%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    transform 0.45s var(--hero-spring),
    box-shadow 0.45s var(--ease),
    border-color 0.35s var(--ease);
}

.hero-dash__kpi:hover,
.hero-dash__panel:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow:
    0 12px 28px rgba(2, 8, 23, 0.35),
    0 0 0 1px rgba(59, 130, 246, 0.12),
    0 0 24px rgba(59, 130, 246, 0.12);
}

.hero-dash__kpi {
  padding: 0.85rem 0.95rem;
}

.hero-dash__kpi label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.95);
  margin-bottom: 0.35rem;
}

.hero-dash__kpi strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.hero-dash__kpi span {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
}

.hero-dash__kpi span.is-up {
  color: #34d399;
}

.hero-dash__kpi span.is-warn {
  color: #fbbf24;
}

.hero-dash__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1fr;
  grid-template-areas:
    "chart pipeline ai"
    "activity tasks suggest";
  gap: 0.65rem;
}

.hero-dash__panel {
  padding: 0.9rem;
  min-height: 0;
}

.hero-dash__panel--chart { grid-area: chart; }
.hero-dash__panel--pipeline { grid-area: pipeline; }
.hero-dash__panel--ai { grid-area: ai; }
.hero-dash__panel--activity { grid-area: activity; }
.hero-dash__panel--tasks { grid-area: tasks; }
.hero-dash__panel--suggest { grid-area: suggest; }

.hero-dash__grid--crm {
  grid-template-columns: 0.95fr 1.2fr 0.95fr;
  grid-template-areas: none;
}

.hero-dash__grid--crm > * {
  grid-area: auto;
}

.hero-dash__grid--finance {
  grid-template-columns: 1.3fr 0.9fr 1fr;
  grid-template-areas: none;
}

.hero-dash__grid--finance > * {
  grid-area: auto;
}

.hero-dash__grid--agents {
  grid-template-columns: 1.1fr 1fr 0.95fr;
  grid-template-areas: none;
}

.hero-dash__grid--agents > * {
  grid-area: auto;
}

.hero-dash__grid--tasks {
  grid-template-columns: 1.35fr 1fr;
  grid-template-areas: none;
}

.hero-dash__grid--tasks > * {
  grid-area: auto;
}

.hero-dash__grid--settings {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: none;
}

.hero-dash__grid--settings > * {
  grid-area: auto;
}

.hero-dash__cash {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.hero-dash__cash-box {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--hero-dash-border);
  border-radius: 0.7rem;
  padding: 0.7rem 0.8rem;
}

.hero-dash__cash-box span {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.95);
}

.hero-dash__cash-box strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  font-weight: 800;
}

.hero-dash__cash-net {
  grid-column: 1 / -1;
  text-align: center;
  padding: 0.65rem;
  border: 1px dashed rgba(59, 130, 246, 0.35);
  border-radius: 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #93c5fd;
}

.hero-dash__note {
  margin: 0;
  font-size: 0.65rem;
  color: rgba(148, 163, 184, 0.9);
  line-height: 1.45;
}

.hero-dash__dot--warn {
  background: rgba(251, 191, 36, 0.16);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.3);
}

.hero-dash__agent-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hero-dash__agent-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.55rem 0.6rem;
  border-radius: 0.75rem;
  border: 1px solid var(--hero-dash-border);
  background: rgba(15, 23, 42, 0.7);
}

.hero-dash__agent-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  display: grid;
  place-items: center;
  background: rgba(59, 130, 246, 0.16);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.hero-dash__agent-list strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero-dash__agent-list p {
  margin: 0.1rem 0 0;
  font-size: 0.65rem;
  color: rgba(148, 163, 184, 0.95);
}

.hero-dash__tasks--rich li {
  align-items: flex-start;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-dash__tasks--rich li:last-child {
  border-bottom: 0;
}

.hero-dash__tasks--rich strong {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: #f8fafc;
}

.hero-dash__tasks--rich small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.64rem;
  color: rgba(148, 163, 184, 0.95);
}

.hero-dash__tasks--rich.is-done strong,
.hero-dash__tasks--rich li.is-done strong {
  text-decoration: line-through;
  color: rgba(148, 163, 184, 0.55);
}

.hero-dash__settings {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hero-dash__settings li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.7rem;
  border: 1px solid var(--hero-dash-border);
  background: rgba(15, 23, 42, 0.7);
  font-size: 0.72rem;
}

.hero-dash__settings span {
  color: rgba(226, 232, 240, 0.9);
  font-weight: 600;
}

.hero-dash__settings strong {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.95);
}

.hero-dash__settings strong.is-on {
  color: #34d399;
}

.hero-dash__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.hero-dash__panel-head h3 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-dash__panel-head span {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.9);
}

.hero-dash__badge {
  padding: 0.15rem 0.45rem !important;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.18) !important;
  color: #93c5fd !important;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.hero-dash__chart {
  height: 8.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hero-dash__chart svg {
  width: 100%;
  height: 100%;
  flex: 1;
}

.hero-dash__chart-line {
  filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.55));
}

.hero-dash__chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  color: rgba(148, 163, 184, 0.8);
  font-weight: 600;
}

.hero-dash__pipe {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hero-dash__pipe li {
  display: grid;
  grid-template-columns: 5.5rem 1fr 1.5rem;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.7rem;
}

.hero-dash__pipe span {
  color: rgba(203, 213, 225, 0.85);
  font-weight: 600;
}

.hero-dash__pipe strong {
  text-align: end;
  font-variant-numeric: tabular-nums;
  color: #e2e8f0;
}

.hero-dash__bar {
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.95);
  overflow: hidden;
}

.hero-dash__bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.35);
}

.hero-dash__bar--warn .hero-dash__bar-fill {
  background: linear-gradient(90deg, #d97706, #fbbf24);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.25);
}

.hero-dash__bar-fill--70 { width: 70%; }
.hero-dash__bar-fill--42 { width: 42%; }
.hero-dash__bar-fill--38 { width: 38%; }
.hero-dash__bar-fill--18 { width: 18%; }

.hero-dash__ai-thread {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-dash__ai-msg {
  padding: 0.55rem 0.7rem;
  border-radius: 0.75rem;
  font-size: 0.68rem;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.92);
}

.hero-dash__ai-msg--bot {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.22);
}

.hero-dash__ai-msg--user {
  margin-inline-start: auto;
  max-width: 92%;
  background: var(--hero-dash-elevated);
  border: 1px solid var(--hero-dash-border);
}

.hero-dash__feed,
.hero-dash__tasks,
.hero-dash__suggest {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hero-dash__feed li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.hero-dash__dot {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.5rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 800;
  background: rgba(59, 130, 246, 0.16);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.hero-dash__feed strong,
.hero-dash__suggest strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #f8fafc;
}

.hero-dash__feed p,
.hero-dash__suggest p {
  margin: 0.15rem 0 0;
  font-size: 0.65rem;
  color: rgba(148, 163, 184, 0.95);
  line-height: 1.4;
}

.hero-dash__tasks li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.7rem;
  color: rgba(226, 232, 240, 0.9);
  line-height: 1.4;
}

.hero-dash__tasks i {
  color: rgba(148, 163, 184, 0.85);
  margin-top: 0.05rem;
}

.hero-dash__tasks li.is-done {
  color: rgba(148, 163, 184, 0.55);
  text-decoration: line-through;
}

.hero-dash__tasks li.is-done i {
  color: #34d399;
}

.hero-dash__suggest li {
  padding: 0.55rem 0.65rem;
  border-radius: 0.7rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--hero-dash-border);
}

@media (max-width: 1100px) {
  .hero-dash__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "chart chart"
      "pipeline ai"
      "activity tasks"
      "suggest suggest";
  }

  .hero-dash__grid--crm,
  .hero-dash__grid--finance,
  .hero-dash__grid--agents,
  .hero-dash__grid--settings {
    grid-template-columns: 1fr 1fr;
  }

  .hero-dash__grid--tasks {
    grid-template-columns: 1fr;
  }

  .hero-dash__kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Trust / marquee ---------- */
.trust-section {
  padding: 4.5rem 0 5rem;
  border-block: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(125, 208, 244, 0.1), transparent 60%),
    var(--surface);
}

.trust-section__intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.trust-section__intro .section-label {
  margin-bottom: 0.85rem;
}

.trust-section__intro h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.trust-section__intro p {
  color: var(--secondary-text);
  line-height: 1.85;
  font-size: 1.02rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-card {
  position: relative;
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease), border-color 0.25s var(--ease);
}

.trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--steel), var(--cyan));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(125, 208, 244, 0.45);
}

.trust-card:hover::before {
  opacity: 1;
}

.trust-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--steel);
  background: rgba(125, 208, 244, 0.14);
  border: 1px solid rgba(125, 208, 244, 0.28);
  margin-bottom: 1rem;
  transition: transform 0.35s var(--ease-out), background 0.25s;
}

.trust-card:hover .trust-card__icon {
  transform: scale(1.08);
  background: rgba(125, 208, 244, 0.22);
}

.trust-card h3 {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.trust-card p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--secondary-text);
  margin: 0;
}

.trust-industries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.trust-chip {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--page-bg);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--steel);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s;
}

.trust-chip:hover {
  transform: translateY(-2px);
  background: rgba(125, 208, 244, 0.12);
  box-shadow: var(--shadow-md);
}

.trust-marquee-wrap {
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
}

.trust-marquee-wrap .section-label {
  text-align: center;
  margin-bottom: 1rem;
}

.marquee {
  overflow: hidden;
  direction: ltr; /* keep seam math stable on RTL pages */
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  align-items: stretch;
  animation: marquee-scroll 42s linear infinite;
  will-change: transform;
}

.marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  flex-shrink: 0;
  min-width: 180px;
  margin-inline: 0.4rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--steel);
  white-space: nowrap;
  transition: box-shadow 0.25s, transform 0.25s;
  direction: rtl; /* Persian chip text stays RTL */
}

.marquee__item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.marquee__item i {
  font-size: 1.2rem;
  color: var(--cyan);
}

/* Exactly one group width — identical duplicate groups = seamless loop */
@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---------- Product tabs showcase ---------- */
.product-showcase {
  padding: 5rem 0 6rem;
}

.product-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .product-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .product-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .product-tabs {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.55rem;
  }
}

@media (min-width: 1200px) {
  .product-tabs {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .product-tab {
    padding: 0.85rem 0.55rem;
  }

  .product-tab span {
    font-size: 0.8rem;
  }

  .product-tab small {
    font-size: 0.62rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

.product-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.9rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: right;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease);
  font-family: inherit;
  color: var(--secondary-text);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.product-tab small {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted-text);
  line-height: 1.4;
}

.product-tab i {
  font-size: 1.35rem;
  color: var(--steel);
  transition: transform 0.3s var(--ease-out);
}

.product-tab span {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy);
}

.product-tab:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(125, 208, 244, 0.4);
}

.product-tab[aria-selected="true"] {
  background: linear-gradient(160deg, rgba(125, 208, 244, 0.18), rgba(255,255,255,0.9));
  border-color: rgba(25, 80, 135, 0.32);
  color: var(--steel);
  box-shadow: var(--shadow-glow);
}

.product-tab[aria-selected="true"] i {
  transform: scale(1.1);
}

.product-frame {
  position: relative;
  background:
    radial-gradient(ellipse 70% 45% at 85% 0%, rgba(125, 208, 244, 0.16), transparent 55%),
    linear-gradient(180deg, #f4f8fb 0%, #eef3f8 100%);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-xl) + 4px);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  min-height: 560px;
}

.product-frame::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--steel), var(--cyan), var(--steel));
  background-size: 200% 100%;
  animation: frame-shine 6s linear infinite;
  z-index: 4;
}

@keyframes frame-shine {
  from { background-position: 0% 0; }
  to { background-position: 200% 0; }
}

.product-panel {
  display: none;
  padding: 0;
  animation: panel-in 0.4s var(--ease-out);
}

.product-panel.is-active {
  display: block;
}

.product-panel[hidden] {
  display: none !important;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

/* ---- Product mock shell (HTML uses product-mock*) ---- */
.product-mock {
  padding: 1.35rem 1.35rem 1.5rem;
  min-height: 560px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .product-mock {
    padding: 1.75rem 1.85rem 1.9rem;
  }
}

.product-mock__bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}

.product-mock__bar h3 {
  margin: 0;
  line-height: 1.35;
}

.product-mock__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .product-mock__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.product-mock__stats.mb-4 {
  margin-bottom: 1rem;
}

.stat-pill {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.stat-pill strong {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--steel);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.stat-pill span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted-text);
}

.stat-pill .badge-ok {
  color: #0f7a4c;
}

.stat-pill .badge-fail {
  color: #b42318;
}

.product-mock .progress-bar {
  margin-bottom: 1.15rem;
}

.product-mock .mock-table-wrap {
  margin-top: auto;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(25, 80, 135, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.product-mock .mock-table {
  display: table;
  width: 100%;
  min-width: 720px;
  margin: 0;
  table-layout: auto;
}

.product-mock .mock-table th:last-child,
.product-mock .mock-table td:last-child {
  width: 1%;
  white-space: nowrap;
}

.product-mock .mock-table td .badge-ok,
.product-mock .mock-table td .badge-fail,
.product-mock .mock-table td .badge-warn,
.product-mock .mock-table td .badge-info,
.product-mock .mock-table td .badge-neutral,
.product-mock .mock-table td .badge-pri {
  vertical-align: middle;
}

.product-mock .surface-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.9);
}

.product-mock__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .product-mock__split {
    grid-template-columns: 1fr 1fr;
  }
}

.product-mock__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.product-mock__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary-text);
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed var(--border);
}

.product-mock__list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.product-mock__list strong {
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}

.product-mock__pipeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
}

.pipeline-col {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.7rem 0.45rem;
  text-align: center;
}

.pipeline-col span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted-text);
  margin-bottom: 0.25rem;
}

.pipeline-col strong {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--steel);
}

.pipeline-col.is-win {
  background: rgba(125, 208, 244, 0.16);
  border-color: rgba(25, 80, 135, 0.28);
}

.product-mock__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.product-mock__tags span {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--steel);
  background: rgba(125, 208, 244, 0.14);
  border: 1px solid rgba(125, 208, 244, 0.28);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
}

/* ---- Agents interactive mock ---- */
.product-mock--agents {
  position: relative;
  padding: 0;
  min-height: 640px;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(125, 208, 244, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(25, 80, 135, 0.12), transparent 50%),
    linear-gradient(165deg, #f7fbfe 0%, #eef4f9 45%, #e8f0f7 100%);
  overflow: hidden;
}

.product-mock--agents::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(25, 80, 135, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 80, 135, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 85%);
  pointer-events: none;
  z-index: 0;
}

.product-mock--agents > * {
  position: relative;
  z-index: 1;
}

.agents-chrome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid rgba(25, 80, 135, 0.1);
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.35));
  backdrop-filter: blur(10px);
}

.agents-chrome__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.agents-chrome__orb {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #fff, transparent 40%),
    conic-gradient(from 210deg, var(--steel), var(--cyan), #4aa3d4, var(--steel));
  box-shadow: 0 0 0 3px rgba(125, 208, 244, 0.25), 0 8px 24px rgba(25, 80, 135, 0.25);
  animation: agents-orb 4.5s ease-in-out infinite;
}

@keyframes agents-orb {
  0%, 100% { transform: scale(1) rotate(0deg); filter: saturate(1); }
  50% { transform: scale(1.06) rotate(12deg); filter: saturate(1.2); }
}

.agents-chrome__eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--steel);
  opacity: 0.85;
}

.agents-chrome__title {
  margin: 0.15rem 0 0;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.agents-chrome__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.agents-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #0f7a4c;
  background: rgba(15, 122, 76, 0.1);
  border: 1px solid rgba(15, 122, 76, 0.22);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}

.agents-live i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #12b76a;
  box-shadow: 0 0 0 0 rgba(18, 183, 106, 0.55);
  animation: agents-pulse 1.6s ease-out infinite;
}

@keyframes agents-pulse {
  0% { box-shadow: 0 0 0 0 rgba(18, 183, 106, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(18, 183, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(18, 183, 106, 0); }
}

.agents-chrome__clock {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted-text);
  font-variant-numeric: tabular-nums;
  min-width: 4.5rem;
  text-align: center;
}

.agents-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 1rem 1.35rem 0.25rem;
}

@media (min-width: 768px) {
  .agents-kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.agents-kpi {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(25, 80, 135, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease), border-color 0.25s var(--ease);
}

.agents-kpi:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(125, 208, 244, 0.45);
}

.agents-kpi.is-glow {
  background: linear-gradient(145deg, rgba(125, 208, 244, 0.22), rgba(255,255,255,0.9));
  border-color: rgba(125, 208, 244, 0.4);
}

.agents-kpi__icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(25, 80, 135, 0.12), rgba(125, 208, 244, 0.2));
  color: var(--steel);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.agents-kpi strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.agents-kpi span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted-text);
}

.agents-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1rem 1.35rem 1.4rem;
}

@media (min-width: 980px) {
  .agents-layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(240px, 0.85fr);
    align-items: start;
  }
}

.agents-nba {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 2px);
  border: 1px solid rgba(25, 80, 135, 0.14);
  background: linear-gradient(145deg, #0a1a33 0%, #12325a 48%, #1a4a78 100%);
  color: #e8f4fc;
  padding: 1.25rem 1.3rem 1.35rem;
  box-shadow: 0 16px 40px rgba(1, 14, 33, 0.28);
  margin-bottom: 0.85rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease);
}

.agents-nba:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(1, 14, 33, 0.34);
}

.agents-nba.is-accepted {
  background: linear-gradient(145deg, #0c2a22 0%, #145a45 55%, #1a6b52 100%);
}

.agents-nba.is-dismissed {
  opacity: 0.72;
  filter: grayscale(0.25);
}

.agents-nba__glow {
  position: absolute;
  width: 220px;
  height: 220px;
  right: -40px;
  top: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 208, 244, 0.45), transparent 65%);
  pointer-events: none;
  animation: agents-glow 5s ease-in-out infinite;
}

@keyframes agents-glow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.agents-nba__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.agents-nba__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--navy);
  background: linear-gradient(90deg, #c8ecfa, #9ddcf4);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  box-shadow: 0 4px 16px rgba(125, 208, 244, 0.35);
}

.agents-ring {
  --p: 85;
  width: 4.1rem;
  height: 4.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle closest-side, #0f2744 78%, transparent 79% 100%),
    conic-gradient(#7dd0f4 calc(var(--p) * 1%), rgba(255,255,255,0.15) 0);
  box-shadow: inset 0 0 0 1px rgba(125, 208, 244, 0.2);
  flex-shrink: 0;
}

.agents-ring strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  color: #fff;
}

.agents-ring span {
  font-size: 0.55rem;
  font-weight: 700;
  color: rgba(232, 244, 252, 0.7);
}

.agents-nba__title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.agents-nba__body {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  line-height: 1.75;
  color: rgba(232, 244, 252, 0.82);
  max-width: 52ch;
}

.agents-nba__signals {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-bottom: 1.05rem;
}

@media (min-width: 640px) {
  .agents-nba__signals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.agents-signal {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(125, 208, 244, 0.18);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease-out);
}

.agents-signal:hover {
  background: rgba(125, 208, 244, 0.14);
  border-color: rgba(125, 208, 244, 0.4);
  transform: translateY(-2px);
}

.agents-signal i {
  font-size: 1.15rem;
  color: var(--cyan);
}

.agents-signal span {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(232, 244, 252, 0.65);
}

.agents-signal strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
}

.agents-nba__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.agents-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: #e8f4fc;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.agents-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.14);
  border-color: rgba(125, 208, 244, 0.45);
}

.agents-btn--primary {
  background: linear-gradient(135deg, #7dd0f4, #4eb5e4);
  color: var(--navy);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(125, 208, 244, 0.3);
}

.agents-btn--primary:hover {
  box-shadow: 0 12px 28px rgba(125, 208, 244, 0.42);
}

.agents-btn--ghost {
  background: transparent;
  border-color: transparent;
  color: rgba(232, 244, 252, 0.7);
}

.agents-nba__toast {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #9fe7c2;
  animation: panel-in 0.35s var(--ease-out);
}

.agents-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.agents-filter {
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--secondary-text);
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.agents-filter:hover {
  border-color: rgba(125, 208, 244, 0.5);
  color: var(--steel);
}

.agents-filter.is-active,
.agents-filter[aria-selected="true"] {
  background: linear-gradient(135deg, rgba(25, 80, 135, 0.95), rgba(25, 80, 135, 0.8));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(25, 80, 135, 0.22);
}

.agents-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .agents-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.agent-card {
  text-align: right;
  font-family: inherit;
  cursor: pointer;
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(25, 80, 135, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.agent-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(125, 208, 244, 0.45);
}

.agent-card.is-selected {
  border-color: rgba(25, 80, 135, 0.35);
  background: linear-gradient(160deg, rgba(125, 208, 244, 0.2), rgba(255,255,255,0.95));
  box-shadow: var(--shadow-glow);
}

.agent-card.is-hidden {
  display: none;
}

.agent-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}

.agent-card__avatar {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  font-size: 1.2rem;
  color: #fff;
}

.agent-card__avatar.is-fraud { background: linear-gradient(145deg, #b42318, #f04438); }
.agent-card__avatar.is-finance { background: linear-gradient(145deg, #195087, #3d7eb8); }
.agent-card__avatar.is-sales { background: linear-gradient(145deg, #0e7490, #22d3ee); }
.agent-card__avatar.is-ops { background: linear-gradient(145deg, #0f766e, #2dd4bf); }

.agent-card__status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
}

.agent-card__status.is-live {
  color: #0f7a4c;
  background: rgba(15, 122, 76, 0.1);
}

.agent-card__status.is-warn {
  color: #b54708;
  background: rgba(181, 71, 8, 0.1);
}

.agent-card__status i {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: currentColor;
}

.agent-card__status.is-live i {
  animation: agents-pulse 1.6s ease-out infinite;
}

.agent-card h5 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--navy);
}

.agent-card p {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-text);
  line-height: 1.5;
}

.agent-card__meter {
  height: 5px;
  border-radius: 999px;
  background: rgba(25, 80, 135, 0.1);
  overflow: hidden;
  margin-bottom: 0.7rem;
}

.agent-card__meter i {
  display: block;
  height: 100%;
  width: var(--w, 70%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--steel), var(--cyan));
  transform-origin: right center;
  animation: meter-fill 1.1s var(--ease-out);
}

.agent-card__meter.is-warn i {
  background: linear-gradient(90deg, #b54708, #f79009);
}

@keyframes meter-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.agent-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--secondary-text);
}

.agents-side {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(25, 80, 135, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
}

.agents-side__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.agents-side__head p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--navy);
}

.agents-side__head span {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted-text);
}

.agents-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 320px;
  overflow: auto;
}

.agents-feed li {
  display: flex;
  gap: 0.65rem;
  padding: 0.65rem 0.7rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: rgba(244, 248, 251, 0.8);
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.agents-feed li:hover {
  transform: translateX(-3px);
  border-color: rgba(125, 208, 244, 0.35);
  background: #fff;
}

.agents-feed li.is-new {
  animation: feed-in 0.45s var(--ease-out);
  border-color: rgba(125, 208, 244, 0.35);
  background: linear-gradient(120deg, rgba(125, 208, 244, 0.16), rgba(255,255,255,0.95));
}

@keyframes feed-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

.agents-feed__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  margin-top: 0.35rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(125, 208, 244, 0.15);
}

.agents-feed__dot.is-ok { background: #12b76a; }
.agents-feed__dot.is-warn { background: #f79009; }
.agents-feed__dot.is-info { background: #3d7eb8; }

.agents-feed strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.agents-feed p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted-text);
  line-height: 1.45;
}

.agents-feed time {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--faint-text, #8aa0b5);
}

.agents-mini-chart {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border);
}

.agents-mini-chart p {
  margin: 0 0 0.55rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--muted-text);
}

.agents-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.28rem;
  height: 3.2rem;
}

.agents-bars i {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--cyan), var(--steel));
  opacity: 0.85;
  transform-origin: bottom;
  animation: bar-bounce 2.4s ease-in-out infinite;
}

.agents-bars i:nth-child(odd) { animation-delay: 0.2s; }
.agents-bars i:nth-child(3n) { animation-delay: 0.45s; }
.agents-bars i:nth-child(4n) { animation-delay: 0.7s; }

@keyframes bar-bounce {
  0%, 100% { transform: scaleY(1); opacity: 0.75; }
  50% { transform: scaleY(1.18); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .agents-chrome__orb,
  .agents-live i,
  .agents-nba__glow,
  .agent-card__status.is-live i,
  .agents-bars i,
  .agent-card__meter i {
    animation: none !important;
  }
}

/* ---- App shell ---- */
.pmock {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 560px;
}

.pmock__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.pmock__dots {
  display: flex;
  gap: 0.4rem;
}

.pmock__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.pmock__dots i:nth-child(1) { background: #ff5f57; }
.pmock__dots i:nth-child(2) { background: #febc2e; }
.pmock__dots i:nth-child(3) { background: #28c840; }

.pmock__path {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--secondary-text);
  flex-wrap: wrap;
}

.pmock__path strong {
  color: var(--navy);
}

.pmock__path .sep {
  color: var(--muted-text);
  opacity: 0.5;
}

.pmock__live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #0d7a4f;
  background: rgba(13, 122, 79, 0.08);
  border: 1px solid rgba(13, 122, 79, 0.18);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.pmock__live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0d7a4f;
  box-shadow: 0 0 0 0 rgba(13, 122, 79, 0.5);
  animation: live-pulse 1.8s ease-out infinite;
}

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(13, 122, 79, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(13, 122, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(13, 122, 79, 0); }
}

.pmock__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 960px) {
  .pmock__body {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

.pmock__main {
  padding: 1.15rem 1.2rem 1.4rem;
  min-width: 0;
}

.pmock__agents {
  padding: 1.1rem 1rem 1.35rem;
  background:
    linear-gradient(180deg, rgba(1, 14, 33, 0.03), transparent 40%),
    linear-gradient(200deg, rgba(125, 208, 244, 0.14), rgba(255, 255, 255, 0.55));
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 960px) {
  .pmock__agents {
    border-top: none;
    border-inline-start: 1px solid var(--border);
  }
}

.pmock__agents-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}

.pmock__agents-head h4 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pmock__agents-head h4 i {
  color: var(--steel);
}

.pmock__agents-head span {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--steel);
  background: rgba(125, 208, 244, 0.22);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.agent-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(25, 80, 135, 0.1);
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, border-color 0.25s;
}

.agent-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(125, 208, 244, 0.45);
}

.agent-card__top {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
}

.agent-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(125, 208, 244, 0.35), rgba(25, 80, 135, 0.12));
  color: var(--steel);
  flex-shrink: 0;
  font-size: 1.05rem;
}

.agent-card__meta {
  min-width: 0;
  flex: 1;
}

.agent-card__meta strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}

.agent-card__meta small {
  display: block;
  font-size: 0.68rem;
  color: var(--muted-text);
  font-weight: 600;
  margin-top: 0.15rem;
}

.agent-card__status {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  white-space: nowrap;
}

.agent-card__status.is-live {
  color: #0d7a4f;
  background: rgba(13, 122, 79, 0.1);
}

.agent-card__status.is-warn {
  color: #b45309;
  background: rgba(180, 83, 9, 0.1);
}

.agent-card__status.is-idle {
  color: var(--steel);
  background: rgba(25, 80, 135, 0.08);
}

.agent-card p {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.65;
  color: var(--secondary-text);
}

.agent-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.agent-card__actions button,
.agent-card__actions a {
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
}

.agent-btn-primary {
  background: var(--navy);
  color: #fff;
}

.agent-btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--steel);
  border-color: rgba(25, 80, 135, 0.15) !important;
}

/* ---- Main content blocks ---- */
.pmock-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.pmock-hero__label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted-text);
  margin-bottom: 0.25rem;
}

.pmock-hero h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.pmock-hero__sub {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--secondary-text);
  line-height: 1.55;
  max-width: 36ch;
}

.pmock-health {
  text-align: left;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-sm);
  min-width: 140px;
}

.pmock-health strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--steel);
  line-height: 1;
}

.pmock-health span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted-text);
}

.pmock-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

@media (min-width: 700px) {
  .pmock-kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.pmock-kpi {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.pmock-kpi:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pmock-kpi__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.pmock-kpi__top i {
  color: var(--steel);
  font-size: 1.05rem;
}

.pmock-kpi__delta {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
}

.pmock-kpi__delta.up {
  color: #0d7a4f;
  background: rgba(13, 122, 79, 0.1);
}

.pmock-kpi__delta.down {
  color: #c0392b;
  background: rgba(192, 57, 43, 0.1);
}

.pmock-kpi__val {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
}

.pmock-kpi__label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted-text);
  margin-top: 0.2rem;
}

.progress-bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(25, 80, 135, 0.1);
  overflow: hidden;
  margin: 0.35rem 0 1.1rem;
  box-shadow: inset 0 1px 2px rgba(1, 14, 33, 0.06);
}

.progress-bar > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--steel), var(--cyan));
  font-style: normal;
  transform-origin: right center;
  animation: progress-grow 1.1s var(--ease-out) both;
}

[dir="ltr"] .progress-bar > i {
  transform-origin: left center;
}

@keyframes progress-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.pmock-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .pmock-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

.pmock-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.pmock-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.pmock-card__head h4 {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--navy);
}

.pmock-card__head span {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted-text);
}

.mock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.mock-table th {
  text-align: right;
  padding: 0.75rem 0.85rem;
  color: var(--muted-text);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(244, 248, 251, 0.98), rgba(238, 243, 248, 0.92));
  white-space: nowrap;
}

.mock-table td {
  padding: 0.85rem 0.85rem;
  border-bottom: 1px solid rgba(25, 80, 135, 0.07);
  color: var(--secondary-text);
  vertical-align: middle;
  font-weight: 600;
}

.mock-table tbody tr:nth-child(even) td {
  background: rgba(244, 248, 251, 0.45);
}

.mock-table tr:last-child td {
  border-bottom: none;
}

.mock-table tr:hover td {
  background: rgba(125, 208, 244, 0.1);
}

.mock-table td:first-child,
.mock-table th:first-child {
  padding-right: 1rem;
}

.mock-table td:last-child,
.mock-table th:last-child {
  padding-left: 1rem;
}

.badge-ok,
.badge-fail,
.badge-warn,
.badge-info,
.badge-neutral,
.mock-table .badge-ok,
.mock-table .badge-fail,
.mock-table .badge-warn,
.mock-table .badge-info,
.mock-table .badge-neutral,
.mock-table td.badge-ok,
.mock-table td.badge-fail,
.mock-table td.badge-warn,
.mock-table td.badge-info,
.mock-table td.badge-neutral {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
  border: 1px solid transparent;
  width: fit-content;
  max-width: 100%;
}

.badge-ok,
.mock-table .badge-ok,
.mock-table td.badge-ok {
  color: #067647;
  background: rgba(6, 118, 71, 0.1);
  border-color: rgba(6, 118, 71, 0.18);
}

.badge-fail,
.mock-table .badge-fail,
.mock-table td.badge-fail {
  color: #b42318;
  background: rgba(180, 35, 24, 0.1);
  border-color: rgba(180, 35, 24, 0.18);
}

.badge-warn,
.mock-table .badge-warn,
.mock-table td.badge-warn {
  color: #b54708;
  background: rgba(181, 71, 8, 0.1);
  border-color: rgba(181, 71, 8, 0.18);
}

.badge-info,
.mock-table .badge-info,
.mock-table td.badge-info {
  color: #175cd3;
  background: rgba(23, 92, 211, 0.1);
  border-color: rgba(23, 92, 211, 0.18);
}

.badge-neutral,
.mock-table .badge-neutral,
.mock-table td.badge-neutral {
  color: var(--steel);
  background: rgba(25, 80, 135, 0.08);
  border-color: rgba(25, 80, 135, 0.14);
}

/* Keep plain text coloring inside KPI pills / lists */
.stat-pill .badge-ok,
.product-mock__list .badge-ok,
.agent-card__foot .badge-ok {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  color: #0f7a4c;
  font-weight: 800;
}

.stat-pill .badge-fail,
.product-mock__list .badge-fail,
.agent-card__foot .badge-fail {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  color: #b42318;
  font-weight: 800;
}

.badge-pri {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(25, 80, 135, 0.08);
  color: var(--steel);
  border: 1px solid rgba(25, 80, 135, 0.12);
}

.badge-pri.is-high {
  background: rgba(180, 35, 24, 0.1);
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.18);
}

.badge-pri.is-mid {
  background: rgba(181, 71, 8, 0.1);
  color: #b54708;
  border-color: rgba(181, 71, 8, 0.18);
}

.badge-pri.is-low {
  background: rgba(25, 80, 135, 0.08);
  color: var(--steel);
  border-color: rgba(25, 80, 135, 0.14);
}

.pipeline {
  display: grid;
  gap: 0.55rem;
}

.pipeline__row {
  display: grid;
  grid-template-columns: 72px 1fr 52px;
  align-items: center;
  gap: 0.55rem;
}

.pipeline__row span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--secondary-text);
}

.pipeline__row strong {
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--navy);
  text-align: left;
}

.pipeline__bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(25, 80, 135, 0.08);
  overflow: hidden;
}

.pipeline__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--steel), var(--cyan));
  font-style: normal;
}

.deal-list {
  display: grid;
  gap: 0.55rem;
}

.deal {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(25, 80, 135, 0.08);
  background: rgba(248, 251, 253, 0.9);
}

.deal strong {
  font-size: 0.8rem;
  color: var(--navy);
}

.deal small {
  font-size: 0.68rem;
  color: var(--muted-text);
  font-weight: 600;
}

.deal__val {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--steel);
  text-align: left;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  height: 110px;
  padding-top: 0.5rem;
}

.chart-bars span {
  flex: 1;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--cyan), var(--steel));
  opacity: 0.85;
  min-height: 18%;
  position: relative;
  transition: opacity 0.25s, transform 0.25s;
}

.chart-bars span:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.chart-bars span::after {
  content: attr(data-l);
  position: absolute;
  bottom: -1.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--muted-text);
  white-space: nowrap;
}

.chart-wrap {
  padding-bottom: 1.1rem;
}

.cash-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.cash-strip article {
  background: rgba(248, 251, 253, 0.95);
  border: 1px solid rgba(25, 80, 135, 0.08);
  border-radius: 12px;
  padding: 0.65rem 0.7rem;
}

.cash-strip small {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted-text);
}

.cash-strip strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--navy);
}

@media (max-width: 700px) {
  .cash-strip {
    grid-template-columns: 1fr;
  }

  .pmock__chrome {
    flex-wrap: wrap;
  }
}

/* ---------- Problem + stats ---------- */
.problem-section {
  padding: 6rem 0;
  background:
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(125, 208, 244, 0.08), transparent 55%),
    var(--surface);
  border-block: 1px solid var(--border);
}

.problem-points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.problem-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--page-bg);
  box-shadow: var(--shadow-sm);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.problem-points li:hover {
  transform: translateX(-4px);
  box-shadow: var(--shadow-md);
}

.problem-points li i {
  color: var(--cyan);
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.stat-slide__num {
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 900;
  color: var(--steel);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
  text-shadow: 0 10px 40px rgba(125, 208, 244, 0.35);
}

.problem-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .problem-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
  }
}

.problem-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.problem-title .line-muted {
  color: var(--muted-text);
}

.problem-body {
  color: var(--secondary-text);
  line-height: 1.9;
  font-size: 1.05rem;
  max-width: 34rem;
}

.stats-stack {
  position: relative;
  min-height: 220px;
}

.stat-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}

.stat-slide.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.stat-slide__num {
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 900;
  color: var(--steel);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}

.stat-slide__label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.stat-slide__src {
  font-size: 0.8rem;
  color: var(--muted-text);
}

.stats-dots {
  display: flex;
  gap: 0.4rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
}

.stats-dots button {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  border: none;
  background: rgba(25, 80, 135, 0.2);
  padding: 0;
  cursor: pointer;
  transition: width 0.2s, background 0.2s;
}

.stats-dots button.is-active {
  width: 22px;
  background: var(--steel);
}

/* ---------- Sticky module layers (Skiper-style card stack scroll) ---------- */
.layers-section {
  padding: 6rem 0 0;
  background:
    radial-gradient(60% 40% at 80% 0%, rgba(125, 208, 244, 0.1), transparent 60%),
    radial-gradient(50% 35% at 10% 40%, rgba(25, 80, 135, 0.05), transparent 65%),
    var(--page-bg);
}

.layers-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.layers-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .layers-layout {
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.layers-rail {
  display: none;
}

@media (min-width: 1024px) {
  .layers-rail {
    display: block;
    position: sticky;
    top: calc(var(--announce-h, 40px) + var(--nav-h) + 24px);
    align-self: start;
    z-index: 30;
  }
}

.layers-rail ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.layers-rail a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted-text);
  text-decoration: none;
  border-right: 3px solid transparent;
  transition: color 0.25s, background 0.25s, border-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.layers-rail a:hover {
  color: var(--steel);
  background: rgba(125, 208, 244, 0.06);
}

.layers-rail a.is-active {
  color: var(--steel);
  background: rgba(125, 208, 244, 0.12);
  border-right-color: var(--steel);
  box-shadow: var(--shadow-sm);
  transform: translateX(-2px);
}

.layers-rail a .num {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: inherit;
}

.layers-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-bottom: 20vh;
}

/* Sticky viewport slot — cards pile as you scroll */
.stack-slot {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .stack-slot {
    height: calc(100vh - var(--announce-h, 40px) - var(--nav-h));
    position: sticky;
    top: calc(var(--announce-h, 40px) + var(--nav-h));
  }
}

.stack-card {
  --stack-scale: 1;
  --stack-i: 0;
  --stack-top: 0px;
  --stack-target: 1;
  position: relative;
  width: 100%;
  max-width: 56rem;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 253, 0.96) 100%);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-xl) + 4px);
  padding: 2rem 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow:
    0 2px 8px rgba(1, 14, 33, 0.04),
    0 24px 48px rgba(1, 14, 33, 0.08);
  scroll-margin-top: calc(var(--announce-h, 40px) + var(--nav-h) + 24px);
  transform-origin: top center;
  transform: scale(var(--stack-scale));
  will-change: transform;
  overflow: hidden;
  backface-visibility: hidden;
}

@media (min-width: 1024px) {
  .stack-card {
    top: var(--stack-top);
    margin-bottom: 0;
    padding: 2.75rem 2.75rem;
    min-height: min(32rem, 72vh);
    display: flex;
    flex-direction: column;
  }

  .layers-stack.is-ready .stack-card {
    transition: none;
  }
}

.stack-card::before {
  content: '';
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--cyan), var(--steel));
  opacity: 0.7;
}

.stack-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    120% 80% at 100% 0%,
    rgba(125, 208, 244, 0.12),
    transparent 55%
  );
  opacity: 0.65;
}

.stack-card[data-stack-tint="crm"] {
  background: linear-gradient(160deg, #f7fbff 0%, #eef6fc 55%, #e8f2fa 100%);
}
.stack-card[data-stack-tint="finance"] {
  background: linear-gradient(160deg, #f5fbf9 0%, #eaf6f2 55%, #e3f1ec 100%);
}
.stack-card[data-stack-tint="warehouse"] {
  background: linear-gradient(160deg, #faf8f4 0%, #f4efe6 55%, #efe8dc 100%);
}
.stack-card[data-stack-tint="hr"] {
  background: linear-gradient(160deg, #f8f6fb 0%, #f0ebf7 55%, #ebe4f3 100%);
}
.stack-card[data-stack-tint="ai"] {
  background: linear-gradient(160deg, #f4f8fc 0%, #e6eef8 55%, #dde8f4 100%);
}
.stack-card[data-stack-tint="infra"] {
  background: linear-gradient(160deg, #f6f7f9 0%, #eceef2 55%, #e4e7ed 100%);
}

.stack-card.is-front {
  border-color: rgba(125, 208, 244, 0.55);
  box-shadow:
    var(--shadow-xl),
    0 0 0 1px rgba(125, 208, 244, 0.12),
    0 28px 64px rgba(25, 80, 135, 0.14);
}

.stack-card.is-front::before {
  opacity: 1;
  width: 6px;
}

.stack-card.is-stacked {
  pointer-events: none;
  border-color: rgba(25, 80, 135, 0.1);
  box-shadow:
    0 12px 32px rgba(1, 14, 33, 0.1),
    0 2px 8px rgba(1, 14, 33, 0.05);
}

.stack-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.stack-card__layer {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted-text);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(25, 80, 135, 0.06);
  border: 1px solid rgba(25, 80, 135, 0.08);
}

.stack-card.is-front .stack-card__layer {
  color: var(--steel);
  background: rgba(125, 208, 244, 0.16);
  border-color: rgba(125, 208, 244, 0.35);
}

.stack-card__title {
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: var(--navy);
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

.stack-card__tagline {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 800;
  color: var(--steel);
  margin-bottom: 1rem;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.stack-card__body {
  color: var(--secondary-text);
  line-height: 1.85;
  margin-bottom: 1.5rem;
  max-width: 40rem;
  position: relative;
  z-index: 1;
}

.stack-card__gets {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
  position: relative;
  z-index: 1;
  flex: 1;
}

.stack-card__gets li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-out);
}

.stack-card.is-front .stack-card__gets li:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(125, 208, 244, 0.25);
  transform: translateX(-3px);
}

.stack-card__gets li i {
  color: var(--cyan);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.stack-card .btn-primary {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-top: auto;
}

@media (prefers-reduced-motion: reduce) {
  .stack-card {
    transform: none !important;
    top: 0 !important;
  }

  .stack-slot {
    height: auto !important;
    position: relative !important;
  }
}

/* ---------- Quotes ---------- */
.quotes-section {
  padding: 5rem 0;
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.quotes-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.quote-viewport {
  position: relative;
  min-height: 200px;
  overflow: hidden;
}

.quote-slide {
  display: none;
  animation: panel-in 0.4s var(--ease);
}

.quote-slide.is-active {
  display: block;
}

.quote-slide blockquote {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.7;
  color: var(--navy);
  max-width: 40rem;
  margin: 0 0 1.5rem;
}

.quote-slide cite {
  display: block;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted-text);
  font-weight: 600;
}

.quote-slide cite strong {
  display: block;
  color: var(--steel);
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.quote-nav {
  display: flex;
  gap: 0.5rem;
}

.quote-nav button {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--steel);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.quote-nav button:hover {
  background: rgba(25, 80, 135, 0.06);
}

/* ---------- Outcomes ---------- */
.outcomes-section {
  padding: 5rem 0;
  background: var(--page-bg);
}

.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
}

@media (min-width: 768px) {
  .outcomes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .outcomes-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.outcome-card {
  padding: 2rem 1.75rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease-out);
}

.outcome-card:hover {
  background: rgba(125, 208, 244, 0.06);
}

@media (min-width: 768px) {
  .outcome-card:nth-child(odd) {
    border-left: 1px solid var(--border);
  }
  .outcome-card:nth-child(n+3) {
    border-bottom: none;
  }
}

@media (min-width: 1100px) {
  .outcome-card {
    border-bottom: none;
    border-left: 1px solid var(--border);
  }
  .outcome-card:first-child {
    border-left: none;
  }
}

.outcome-card__idx {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--muted-text);
  margin-bottom: 0.75rem;
}

.outcome-card__num {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--steel);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}

.outcome-card__label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary-text);
  line-height: 1.6;
}

/* ---------- Capability matrix ---------- */
.matrix-section {
  padding: 5rem 0 6rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.matrix-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--page-bg);
  box-shadow: var(--shadow-lg);
}

.cap-matrix tbody tr {
  transition: background 0.2s var(--ease);
}

.cap-matrix tbody tr:hover {
  background: rgba(125, 208, 244, 0.06);
}

.cell-native {
  color: var(--steel);
  font-weight: 800;
  position: relative;
}

.quote-slide blockquote {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.7;
  color: var(--navy);
  max-width: 40rem;
  margin: 0 0 1.5rem;
  position: relative;
  padding-right: 1.5rem;
}

.quote-slide blockquote::before {
  content: '«';
  position: absolute;
  right: -0.15rem;
  top: -0.35rem;
  font-size: 2.5rem;
  color: rgba(125, 208, 244, 0.55);
  font-weight: 900;
  line-height: 1;
}

.cap-matrix {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.cap-matrix th,
.cap-matrix td {
  padding: 1rem 0.85rem;
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
}

.cap-matrix th:last-child,
.cap-matrix td:last-child {
  border-left: none;
}

.cap-matrix thead th {
  background: var(--surface);
  font-weight: 800;
  color: var(--navy);
  font-size: 0.8rem;
}

.cap-matrix thead th small {
  display: block;
  font-weight: 500;
  color: var(--muted-text);
  margin-top: 0.25rem;
  font-size: 0.7rem;
}

.cap-matrix tbody th {
  text-align: right;
  background: var(--surface);
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}

.cap-matrix tbody th small {
  display: block;
  font-weight: 500;
  color: var(--muted-text);
  font-size: 0.7rem;
  margin-top: 0.2rem;
}

.cell-native {
  color: var(--steel);
  font-weight: 800;
}

.cell-via {
  color: #5a6a7a;
  font-weight: 700;
}

.cell-road {
  color: var(--muted-text);
  font-weight: 600;
}

/* ---------- Final CTA / Form overrides ---------- */
#site-form .book-demo--landing {
  background: var(--page-bg);
  border-top: 1px solid var(--border);
}

#site-form .book-demo--landing .glass-card {
  background: var(--surface);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease-out);
}

#site-form .book-demo--landing .glass-card:hover {
  box-shadow: var(--shadow-lg);
}

#site-form .book-demo--landing .demo-input {
  height: 52px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--page-bg);
  backdrop-filter: none;
  box-shadow: none;
}

#site-form .book-demo--landing .demo-input:focus {
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(25, 80, 135, 0.1);
}

#site-form .book-demo--landing .demo-feature-icon {
  border-radius: var(--radius);
  width: 48px;
  height: 48px;
}

#site-form .book-demo--landing .btn-primary {
  border-radius: var(--radius);
}

/* Dark pages: layout.js adds .site-form--dark — keep CTA readable (navy surface, light type) */
#site-form.site-form--dark .book-demo--landing {
  background: var(--navy);
  border-top-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

#site-form.site-form--dark .book-demo--landing .section-label {
  color: rgba(255, 255, 255, 0.45) !important;
}

#site-form.site-form--dark .book-demo--landing .display-heading,
#site-form.site-form--dark .book-demo--landing .text-navy,
#site-form.site-form--dark .book-demo--landing .text-steel,
#site-form.site-form--dark .book-demo--landing h2,
#site-form.site-form--dark .book-demo--landing h3,
#site-form.site-form--dark .book-demo--landing h4 {
  color: #fff !important;
}

#site-form.site-form--dark .book-demo--landing .text-secondary-text,
#site-form.site-form--dark .book-demo--landing .text-muted,
#site-form.site-form--dark .book-demo--landing p {
  color: rgba(255, 255, 255, 0.65);
}

#site-form.site-form--dark .book-demo--landing .glass-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

#site-form.site-form--dark .book-demo--landing .glass-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

#site-form.site-form--dark .book-demo--landing .demo-input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  color-scheme: dark;
}

#site-form.site-form--dark .book-demo--landing select.demo-input {
  color: #fff;
  background-color: rgba(1, 14, 33, 0.92);
}

#site-form.site-form--dark .book-demo--landing select.demo-input option,
#site-form.site-form--dark .book-demo--landing select.demo-input optgroup {
  background-color: #010e21;
  color: #fff;
}

#site-form.site-form--dark .book-demo--landing .demo-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(125, 208, 244, 0.18);
}

#site-form.site-form--dark .book-demo--landing .demo-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

#site-form.site-form--dark .book-demo--landing .demo-label {
  color: rgba(255, 255, 255, 0.9);
}

#site-form.site-form--dark .book-demo--landing .demo-feature-icon {
  background: rgba(125, 208, 244, 0.12);
  border-color: rgba(125, 208, 244, 0.22);
  color: var(--cyan);
}

#site-form.site-form--dark .book-demo--landing .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* ---------- Footer landing ---------- */
footer.footer--landing {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer.footer--landing .footer-social {
  border-radius: var(--radius);
  backdrop-filter: none;
}

footer.footer--landing .footer-title::before {
  background: var(--cyan);
  border-radius: 2px;
  width: 3px;
}

/* ---------- Reveal ---------- */
.landing-hero--premium .reveal,
.landing-hero--premium .reveal-scale {
  opacity: 0;
}

.landing-hero--premium .reveal {
  transform: translateY(18px);
}

.landing-hero--premium .reveal-scale {
  transform: scale(0.97) translateY(28px);
}

.landing-hero--premium .reveal.is-visible,
.landing-hero--premium .reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.96) translateY(12px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track,
  .product-panel,
  .quote-slide,
  .stat-slide,
  .reveal,
  .reveal-scale,
  .landing-hero__bg::after,
  .landing-hero__glow,
  .landing-hero__grid,
  .landing-hero__stage.is-floating,
  .hero-dash__live-dot,
  .hero-dash__page,
  .product-frame::before,
  .progress-bar > i {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .reveal-scale,
  .landing-hero--premium .reveal,
  .landing-hero--premium .reveal-scale {
    opacity: 1;
    transform: none;
  }

  .stat-slide {
    position: relative;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    margin-bottom: 1.5rem;
  }

  .stats-stack {
    min-height: 0;
  }

  .rb-waves,
  .rb-shiny,
  .rb-specular::after,
  .rb-text-rotate__word {
    animation: none !important;
  }
}

/* =========================================
   React Bits ports (vanilla) — steel/cyan
   Inspired by: Gradient Waves, Dot Field,
   Specular Button, Glare Hover, Text Loop,
   Spotlight Card, Shiny Text
========================================= */

.rb-dotfield {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.rb-dotfield__canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.rb-waves {
  position: absolute;
  inset: auto 0 -8% 0;
  height: 42%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.rb-waves svg {
  width: 100%;
  height: 100%;
  display: block;
}

.rb-waves__path {
  animation: rb-wave-drift 14s ease-in-out infinite alternate;
}

.rb-waves__path--2 {
  animation-duration: 18s;
  animation-delay: -4s;
}

.rb-waves__path--3 {
  animation-duration: 22s;
  animation-delay: -8s;
}

@keyframes rb-wave-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-4%); }
}

[data-glare] {
  position: relative;
  overflow: hidden;
  --glare-x: 50%;
  --glare-y: 50%;
}

.rb-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  background: radial-gradient(
    600px circle at var(--glare-x) var(--glare-y),
    rgba(125, 208, 244, 0.22),
    transparent 42%
  );
  z-index: 1;
}

[data-glare]:hover .rb-glare {
  opacity: 1;
}

[data-glare] > *:not(.rb-glare) {
  position: relative;
  z-index: 2;
}

.rb-specular {
  position: relative;
  overflow: hidden;
}

.rb-specular::after {
  content: '';
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 70%
  );
  transform: skewX(-18deg);
  animation: rb-specular-sweep 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes rb-specular-sweep {
  0%, 55% { left: -45%; opacity: 0; }
  60% { opacity: 1; }
  75% { left: 120%; opacity: 1; }
  80%, 100% { left: 120%; opacity: 0; }
}

.rb-shiny {
  background: linear-gradient(
    110deg,
    var(--steel) 30%,
    var(--cyan) 45%,
    var(--steel) 55%,
    var(--steel) 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: rb-shiny-shift 5s linear infinite;
}

@keyframes rb-shiny-shift {
  to { background-position: 220% center; }
}

.rb-text-rotate {
  display: inline-grid;
  vertical-align: baseline;
}

.rb-text-rotate__word {
  grid-area: 1 / 1;
  display: inline-block;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease-out);
}

.rb-text-rotate__word.is-out {
  opacity: 0;
  transform: translateY(0.35em);
}

.rb-text-rotate__word.is-in {
  opacity: 1;
  transform: translateY(0);
  animation: rb-rotate-in 0.4s var(--ease-out);
}

@keyframes rb-rotate-in {
  from { opacity: 0; transform: translateY(-0.35em); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}

.rb-spotlight {
  --spot-x: 50%;
  --spot-y: 30%;
}

.rb-spotlight::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(
    520px circle at var(--spot-x) var(--spot-y),
    rgba(125, 208, 244, 0.16),
    transparent 45%
  );
  z-index: 1;
  opacity: 0.55;
  transition: opacity 0.35s var(--ease);
}

.rb-spotlight:hover::after {
  opacity: 1;
}

.rb-spotlight > * {
  position: relative;
  z-index: 2;
}

/* ========== Mobile-first responsive hardening ========== */
@media (max-width: 959px) {
  .section-frame {
    padding-inline: 1rem;
  }

  .landing-hero {
    min-height: auto;
    padding: calc(var(--nav-offset, 112px) + 1.25rem) 1rem 2.75rem;
  }

  .landing-hero__inner {
    gap: 2rem;
  }

  .landing-hero__title {
    font-size: clamp(1.55rem, 7vw, 2.15rem);
    max-width: 12em;
  }

  .landing-hero__sub {
    font-size: 0.95rem;
    padding-inline: 0.25rem;
  }

  .landing-hero__ctas {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 360px);
    margin-inline: auto;
  }

  .landing-hero__ctas .btn-primary,
  .landing-hero__ctas .btn-ghost,
  .landing-hero__btn {
    width: 100%;
    justify-content: center;
  }

  .landing-hero__pills {
    gap: 0.4rem;
  }

  .hero-pill {
    font-size: 0.72rem;
    padding: 0.35rem 0.7rem;
  }

  .hero-dash__body {
    grid-template-columns: 1fr;
  }

  .hero-dash__rail {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    border-inline-end: 0;
    border-bottom: 1px solid var(--hero-dash-border);
    padding: 0.7rem;
  }

  .hero-dash__kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-dash__grid,
  .hero-dash__grid--crm,
  .hero-dash__grid--finance,
  .hero-dash__grid--agents,
  .hero-dash__grid--tasks,
  .hero-dash__grid--settings {
    grid-template-columns: 1fr;
    grid-template-areas:
      "chart"
      "pipeline"
      "ai"
      "activity"
      "tasks"
      "suggest";
  }

  .hero-dash__page {
    min-height: 0;
    padding: 1rem 0.9rem 1.15rem;
  }

  .hero-dash__chrome {
    padding-inline: 0.85rem;
  }

  .hero-dash__crumbs {
    display: none;
  }

  .landing-hero__stage.is-floating {
    animation: none;
  }

  .trust-section,
  .product-showcase,
  .problem-section,
  .layers-section,
  .quotes-section,
  .outcomes-section,
  .matrix-section {
    padding-block: 3.25rem;
  }

  .trust-section__intro h2,
  .layers-intro h2,
  .display-heading {
    font-size: clamp(1.45rem, 6vw, 1.9rem);
  }

  /* Product tabs: swipeable row */
  .product-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.55rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.55rem;
    margin-inline: -0.25rem;
    padding-inline: 0.25rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .product-tab {
    flex: 0 0 auto;
    width: min(46vw, 158px);
    scroll-snap-align: start;
    padding: 0.8rem 0.75rem;
  }

  .product-tab span {
    font-size: 0.84rem;
  }

  .product-tab small {
    font-size: 0.65rem;
    line-height: 1.35;
  }

  .product-frame {
    min-height: 0;
    border-radius: 16px;
  }

  .pmock {
    min-height: 0;
  }

  .pmock__chrome {
    padding: 0.7rem 0.85rem;
    gap: 0.55rem;
  }

  .pmock__path {
    font-size: 0.68rem;
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pmock__live {
    font-size: 0.62rem;
    padding: 0.28rem 0.55rem;
  }

  .pmock__main {
    padding: 0.95rem 0.85rem 1.1rem;
  }

  .pmock__agents {
    padding: 0.95rem 0.85rem 1.15rem;
  }

  .pmock-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .pmock-hero h3 {
    font-size: 1.1rem;
  }

  .pmock-health {
    width: 100%;
    text-align: center;
  }

  .pmock-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pmock-kpi__val {
    font-size: 1.15rem;
  }

  .pmock-grid {
    grid-template-columns: 1fr;
  }

  .pmock-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mock-table {
    min-width: 480px;
  }

  .pipeline__row {
    grid-template-columns: 64px 1fr 40px;
  }

  .cash-strip {
    grid-template-columns: 1fr;
  }

  /* Sticky stack: simplify on mobile */
  .stack-slot {
    height: auto !important;
    position: relative !important;
    top: auto !important;
  }

  .stack-card {
    position: relative !important;
    top: auto !important;
    min-height: 0 !important;
    margin-bottom: 1rem !important;
    padding: 1.35rem 1.15rem !important;
    transform: none !important;
  }

  .stack-card.is-stacked {
    pointer-events: auto;
  }

  .problem-points li:hover {
    transform: none;
  }

  .matrix-wrap {
    margin-inline: -0.25rem;
    border-radius: 14px;
  }

  .cap-matrix {
    min-width: 640px;
  }

  .quote-slide blockquote {
    font-size: 1.15rem;
  }

  .outcomes-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .marquee__item {
    min-width: 150px;
    padding: 0.75rem 1.1rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 559px) {
  .landing-hero {
    padding-top: 5rem;
    padding-bottom: 2.25rem;
  }

  .landing-hero__brand {
    font-size: clamp(2.1rem, 12vw, 2.75rem);
  }

  .landing-hero__metrics {
    grid-template-columns: 1fr;
  }

  .hero-metric {
    min-width: 0;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-industries {
    justify-content: flex-start;
  }

  .outcomes-grid {
    grid-template-columns: 1fr;
  }

  .product-tab {
    width: min(58vw, 168px);
  }

  .pmock__dots {
    display: none;
  }

  .pmock__path {
    max-width: 48%;
  }

  .pmock-kpis {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .pmock-kpi {
    padding: 0.7rem 0.65rem;
  }

  .agent-card__actions {
    flex-direction: column;
  }

  .agent-card__actions button,
  .agent-card__actions a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .stat-slide__num {
    font-size: clamp(2.75rem, 16vw, 3.75rem);
  }

  .book-demo-section,
  #book-demo,
  #site-form {
    padding-inline: 0;
  }

  #book-demo {
    padding-block: 3.5rem;
  }

  #book-demo .glass-card {
    padding: 1.35rem 1.15rem !important;
  }

  #book-demo .display-heading {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
  }

  footer.footer--landing {
    padding-top: 3.5rem;
  }
}

/* Safe areas for notched phones */
@supports (padding: max(0px)) {
  .announce-bar {
    padding-left: max(0.85rem, env(safe-area-inset-left));
    padding-right: max(0.85rem, env(safe-area-inset-right));
  }

  #navbar .relative.max-w-7xl {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
}

/* Prevent horizontal page scroll from wide mock tables */
.product-frame,
.pmock__main,
.layers-section,
.trust-section {
  max-width: 100%;
}

.product-showcase .section-frame,
.matrix-section .section-frame {
  overflow: visible;
}

/* =========================================
   SUBPAGES — shared primitives for inner pages
   (about, contact, products, agents, blog, pricing)
========================================= */

/* Shorter hero for inner marketing pages */
.page-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-offset, 112px) + 2.5rem) 1.5rem 3.5rem;
  overflow: hidden;
  min-height: min(72vh, 720px);
}

.page-hero--tall {
  min-height: calc(100vh - var(--announce-h) - var(--nav-h));
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(125, 208, 244, 0.2), transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(25, 80, 135, 0.06), transparent 50%),
    var(--page-bg);
}

.page-hero--dark .page-hero__bg,
.page-hero--dark {
  background: var(--navy);
  color: #fff;
}

.page-hero--dark .page-hero__bg {
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(125, 208, 244, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(25, 80, 135, 0.5), transparent 50%),
    var(--navy);
}

.page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--steel);
  margin-bottom: 1.5rem;
}

.page-hero--dark .page-hero__badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--cyan);
}

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1.25rem;
  max-width: 18em;
  margin-inline: auto;
}

.page-hero--dark .page-hero__title {
  color: #fff;
}

.page-hero__sub {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--secondary-text);
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.page-hero--dark .page-hero__sub {
  color: rgba(255, 255, 255, 0.65);
}

.page-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--steel) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, var(--cyan) 0%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cyan-glow {
  text-shadow: 0 0 12px rgba(125, 208, 244, 0.35);
}

.text-dynamic {
  color: var(--primary-text);
  transition: color 0.5s var(--ease);
}

.text-dynamic-muted {
  color: var(--secondary-text);
  transition: color 0.5s var(--ease);
}

.dark-mode-active .text-dynamic,
.page-hero--dark .text-dynamic,
.section-dark .text-dynamic {
  color: #fff;
}

.dark-mode-active .text-dynamic-muted,
.page-hero--dark .text-dynamic-muted,
.section-dark .text-dynamic-muted {
  color: rgba(255, 255, 255, 0.7);
}

.section-transition {
  transition: background-color 0.6s var(--ease), color 0.6s var(--ease);
}

.section-dark {
  background: var(--navy);
  color: #fff;
}

/* 3D mockup shell (product + agent pages) */
.mockup-shell,
.mockup-wrapper {
  perspective: 2000px;
  transform-style: preserve-3d;
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
}

.mockup-shell__frame,
.mockup-real {
  transform: rotateX(10deg) rotateY(-14deg) rotateZ(3deg);
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
  will-change: transform;
  min-height: 420px;
  height: auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
}

.mockup-real.resetting,
.mockup-shell__frame.resetting {
  transition: transform 0.8s var(--ease) !important;
}

.page-hero--dark .mockup-real,
.page-hero--dark .mockup-shell__frame,
.section-dark .mockup-real {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.kanban-card {
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.kanban-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: var(--cyan);
}

/* Feature tabs + bento */
.feature-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.feature-tabs .sidebar-btn,
.sidebar-btn {
  width: 100%;
  text-align: right;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--secondary-text);
  border-right: 4px solid transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  background: transparent;
  cursor: pointer;
}

.sidebar-btn:hover {
  background: rgba(1, 14, 33, 0.04);
}

.sidebar-btn.active {
  background: linear-gradient(135deg, rgba(25, 80, 135, 0.1), rgba(125, 208, 244, 0.15));
  border-right-color: var(--cyan);
  color: var(--steel);
  font-weight: 700;
}

/* Dark surfaces: secondary-text is navy — force light labels on glass-card-dark / section-dark */
.dark-mode-active .sidebar-btn,
.section-dark .sidebar-btn,
.section-dark .feature-tabs .sidebar-btn {
  color: rgba(255, 255, 255, 0.72);
}

.dark-mode-active .sidebar-btn:hover,
.section-dark .sidebar-btn:hover,
.section-dark .feature-tabs .sidebar-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.dark-mode-active .sidebar-btn.active,
.section-dark .sidebar-btn.active,
.section-dark .feature-tabs .sidebar-btn.active {
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(125, 208, 244, 0.12), transparent);
}

.section-dark .sidebar-btn.active[class*="border-eloxis"],
.section-dark .feature-tabs .sidebar-btn.active[class*="border-eloxis"] {
  color: #fff;
}

.bento-item {
  opacity: 0;
  transform: translateY(20px);
  animation: subpage-fade-up 0.5s var(--ease) forwards;
}

@keyframes subpage-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  animation: subpage-fade-up 0.7s var(--ease-out) both;
}

/* Contact info cards */
.info-card {
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Blog */
.blog-card,
.blog-card-hover {
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease);
}

.blog-card:hover,
.blog-card-hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.category-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--steel);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  text-decoration: none;
}

.category-tab:hover {
  border-color: var(--cyan);
}

.category-tab.active {
  background: var(--steel);
  color: #fff;
  border-color: var(--steel);
}

.blog-prose {
  line-height: 1.9;
  color: var(--secondary-text);
  font-size: 1.05rem;
}

.blog-prose h2,
.blog-prose h3 {
  color: var(--navy);
  font-weight: 800;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-prose p {
  margin-bottom: 1.25rem;
}

.blog-prose img {
  border-radius: var(--radius-lg);
  margin: 1.5rem 0;
}

.blog-image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

/* Pricing / subscriptions */
.pricing-card,
.glass-card-pro,
.glass-card-enterprise {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease), border-color 0.25s var(--ease);
}

.pricing-card:hover,
.glass-card-pro:hover,
.glass-card-enterprise:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.glass-card-pro {
  border-color: rgba(125, 208, 244, 0.45);
  box-shadow: var(--shadow-glow);
}

.section-dark .pricing-card,
.section-dark .glass-card-pro,
.section-dark .glass-card-enterprise,
.pricing-section--dark .pricing-card,
.pricing-section--dark .glass-card-pro,
.pricing-section--dark .glass-card-enterprise {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  cursor: pointer;
}

.btn-glass:hover {
  background: rgba(125, 208, 244, 0.12);
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(125, 208, 244, 0.2);
}

.btn-obsidian {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--navy);
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  cursor: pointer;
}

.btn-obsidian:hover {
  background: #f1f5f9;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}

.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--steel), var(--cyan));
  color: #fff !important;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 8px 24px rgba(125, 208, 244, 0.35);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease);
  cursor: pointer;
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(125, 208, 244, 0.45);
}

/* Agent detail panels */
.glass-panel,
.glass-ai,
.glass-panel-ai,
.dashboard-mockup,
.dashboard-wrapper {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.glass-card-dark,
.glass-card-infra {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 16px 48px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease);
}

.glass-card-dark:hover,
.glass-card-infra:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 20px 56px rgba(0, 0, 0, 0.45), 0 0 20px rgba(125, 208, 244, 0.2);
}

.btn-studio,
.btn-cyber,
.btn-fintech {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--steel);
  color: #fff !important;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  box-shadow: 0 4px 14px rgba(25, 80, 135, 0.28);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease-out);
  cursor: pointer;
  text-decoration: none;
}

.btn-studio:hover,
.btn-cyber:hover,
.btn-fintech:hover {
  background: #154370;
  transform: translateY(-2px);
}

.reveal-element {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-element.is-visible,
.reveal-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Dark surface helpers for infra/agents/pricing heroes */
.subpage-dark-surface {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  color: #fff;
}

@media (max-width: 768px) {
  .page-hero {
    min-height: auto;
    padding-top: calc(var(--nav-offset, 112px) + 1.5rem);
    padding-bottom: 2.5rem;
  }

  .mockup-real,
  .mockup-shell__frame {
    transform: none;
    min-height: 320px;
  }

  .mockup-wrapper,
  .mockup-shell {
    perspective: none;
  }
}

/* Dark surfaces: ghost / secondary CTAs */
.page-hero--dark .btn-ghost,
.section-dark .btn-ghost,
.subpage-dark-surface .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.page-hero--dark .btn-ghost:hover,
.section-dark .btn-ghost:hover,
.subpage-dark-surface .btn-ghost:hover {
  background: rgba(125, 208, 244, 0.12);
  border-color: var(--cyan);
}

.page-hero--dark .btn-secondary,
.section-dark .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* Subscriptions billing toggle fallbacks */
#billing-toggle.is-yearly {
  transform: translateX(2rem);
  border-color: #34d399;
}

#billing-toggle.is-monthly {
  transform: translateX(0);
  border-color: rgba(255, 255, 255, 0.35);
}

.dir-ltr {
  direction: ltr;
}

/* ========== SEO / AEO / GEO modules ========== */
.seo-breadcrumbs {
  padding-top: calc(var(--nav-h, 72px) + var(--announce-h, 36px) + 0.5rem);
  padding-bottom: 0.15rem;
}

/* When breadcrumbs precede a page hero, drop the hero's extra nav offset */
main#main-content > .seo-breadcrumbs + .page-hero,
main#main-content > .page-hero {
  scroll-margin-top: 1rem;
}

body:has(.seo-breadcrumbs) .page-hero {
  padding-top: 1.5rem;
}

.seo-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
  color: rgba(1, 14, 33, 0.55);
}

.seo-breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.seo-breadcrumbs a {
  color: var(--steel, #195087);
  text-decoration: none;
  font-weight: 600;
}

.seo-breadcrumbs a:hover {
  color: var(--cyan, #7dd0f4);
}

.seo-breadcrumbs__sep {
  opacity: 0.45;
  margin-inline-start: 0.15rem;
}

.aeo-panel,
.entity-panel,
.seo-faq,
.related-cluster {
  padding-block: 2.5rem;
}

.aeo-panel__inner,
.entity-panel__inner,
.seo-faq__inner,
.related-cluster__inner {
  border: 1px solid rgba(25, 80, 135, 0.12);
  background: linear-gradient(160deg, rgba(252, 252, 253, 0.95), rgba(125, 208, 244, 0.08));
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
}

.aeo-panel__title,
.entity-panel__title,
.seo-faq h2,
.related-cluster h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--steel, #195087);
  margin: 0.25rem 0 1rem;
}

.aeo-panel__tldr {
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(1, 14, 33, 0.82);
  margin-bottom: 1.25rem;
}

.aeo-panel__updated {
  font-size: 0.75rem;
  color: rgba(1, 14, 33, 0.45);
  margin: 0 0 0.75rem;
}

.aeo-definition,
.aeo-answer,
.aeo-takeaways {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(25, 80, 135, 0.1);
}

.aeo-definition h3,
.aeo-answer h3,
.aeo-takeaways h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy, #010e21);
  margin-bottom: 0.5rem;
}

.aeo-definition__text,
.aeo-answer p {
  line-height: 1.85;
  color: rgba(1, 14, 33, 0.75);
  margin: 0;
}

.aeo-takeaways ul,
.related-cluster__list {
  margin: 0;
  padding-inline-start: 1.25rem;
  display: grid;
  gap: 0.45rem;
}

.aeo-takeaways li,
.related-cluster li {
  line-height: 1.7;
  color: rgba(1, 14, 33, 0.78);
}

.entity-panel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 1.25rem;
  margin: 0;
}

.entity-panel__grid dt {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(1, 14, 33, 0.45);
  margin-bottom: 0.25rem;
}

.entity-panel__grid dd {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(1, 14, 33, 0.85);
}

.seo-faq__list {
  display: grid;
  gap: 0.65rem;
}

.seo-faq__item {
  border: 1px solid rgba(25, 80, 135, 0.12);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.65);
  padding: 0.85rem 1rem;
}

.seo-faq__item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--steel, #195087);
  list-style: none;
}

.seo-faq__item summary::-webkit-details-marker {
  display: none;
}

.seo-faq__item p {
  margin: 0.65rem 0 0;
  line-height: 1.8;
  color: rgba(1, 14, 33, 0.75);
}

.related-cluster a {
  color: var(--steel, #195087);
  font-weight: 600;
  text-decoration: none;
}

.related-cluster a:hover {
  color: #0b3a66;
  text-decoration: underline;
}

.skip-to-content {
  position: absolute;
  inset-inline-start: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--navy, #010e21);
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: 0.5rem;
  text-decoration: none;
}

.skip-to-content:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.eloxis-landing img {
  max-width: 100%;
  height: auto;
}



