/* SellerGrid — commerce operating system */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --off-white: #f8fafc;
  --white: #ffffff;
  --chalk: #f1f5f9;
  --surface: #e2e8f0;
  --linen: #e2e8f0;
  --clay: #cbd5e1;
  --accent: #0891b2;
  --accent-bright: #22d3ee;
  --accent-teal: #0891b2;
  --accent-purple: #818cf8;
  --accent-hover: #0e7490;
  --gradient: linear-gradient(135deg, #22d3ee 0%, #818cf8 100%);
  --gradient-soft: linear-gradient(135deg, rgba(34, 211, 238, 0.12) 0%, rgba(129, 140, 248, 0.08) 100%);
  --muted: rgba(15, 23, 42, 0.45);
  --muted-50: rgba(15, 23, 42, 0.5);
  --muted-60: rgba(15, 23, 42, 0.62);
  --btn-h: 2.75rem;
  --btn-r: 0.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: min(1160px, 92vw);
  --header-h: 72px;
  --section-y: 6.5rem;
  --section-y-lg: 10rem;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(34, 211, 238, 0.08), transparent),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(129, 140, 248, 0.06), transparent);
}

main, .site-header, .site-footer { position: relative; z-index: 1; }

::selection { background: var(--ink); color: var(--white); }

.container { width: var(--container); margin-inline: auto; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Typography */
.heading-2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.15rem;
}

.heading-3 {
  font-size: clamp(2rem, 4vw, 3.375rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.05rem;
}

.heading-4 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); font-weight: 500; letter-spacing: -0.02em; }
.heading-5 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }

.body-lg { font-size: 1rem; line-height: 1.65; }
.body-xl { font-size: 1.125rem; line-height: 1.65; max-width: 640px; }

.muted { color: var(--muted-60); }
.heading-3 .muted, .heading-3 span.muted { color: var(--muted); }

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  background: rgba(8, 145, 178, 0.08);
  border-radius: 999px;
  border: 1px solid rgba(8, 145, 178, 0.15);
}

.inline-link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--clay);
  transition: text-decoration-color 0.2s;
}
.inline-link:hover { text-decoration-color: var(--accent); }

.muted-link { cursor: default; text-decoration: none; }
.muted-link:hover { text-decoration: none; color: var(--muted-60); }

.br-lg { display: none; }
@media (min-width: 1024px) { .br-lg { display: inline; } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: var(--btn-h);
  padding: 0 1rem;
  border-radius: var(--btn-r);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  font-family: inherit;
}

.btn-lg { height: 3rem; padding: 0 1.35rem; font-size: 0.9375rem; }

.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 20px rgba(8, 145, 178, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--surface);
  background: var(--white);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
}

.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: inline-flex; } }

.logo {
  display: flex;
  align-items: center;
  color: var(--ink);
  flex-shrink: 0;
}

.logo-img {
  display: block;
  height: 2.75rem;
  width: auto;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .logo-img {
    height: 3rem;
  }
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.cta-row.center { justify-content: center; }

.bg-off-white { background: var(--off-white); }
.bg-white { background: var(--white); }
.bg-chalk { background: var(--chalk); }

.section { padding: var(--section-y) 0; }
@media (min-width: 768px) { .section { padding: var(--section-y-lg) 0; } }

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid rgba(222, 219, 214, 0.3);
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linen);
}
@media (min-width: 1024px) { .site-header { border-bottom: none; } .site-header.scrolled { border-bottom: 1px solid var(--linen); } }

.header-inner {
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 4vw;
  gap: 1rem;
  min-height: var(--header-h);
}

.nav-desktop { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.mega-card.accent-card strong { color: var(--accent); }

.nav-link, .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--btn-r);
  font-family: inherit;
  transition: background 0.15s;
}
.nav-link:hover, .nav-trigger:hover { background: var(--off-white); }

.nav-trigger .chevron { transition: transform 0.2s; }
.nav-item.open .chevron { transform: rotate(180deg); }

.has-dropdown { position: relative; }

.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 320px;
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: var(--btn-r);
  padding: 0.75rem;
  box-shadow: 0 16px 48px rgba(23, 16, 14, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.nav-item.open .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.mega-menu-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; min-width: 420px; }

.mega-card {
  display: block;
  padding: 0.85rem;
  border-radius: var(--btn-r);
  transition: background 0.15s;
}
.mega-card:hover { background: var(--off-white); }
.mega-card strong { display: block; font-size: 0.875rem; margin-bottom: 0.25rem; }
.mega-card span { font-size: 0.8125rem; color: var(--muted-60); }
.mega-card.fin-card strong { color: var(--fin); }

.mega-col { display: flex; flex-direction: column; gap: 0.35rem; }
.mega-col a { font-size: 0.875rem; padding: 0.35rem 0; color: var(--muted-60); transition: color 0.15s; }
.mega-col a:hover { color: var(--ink); }
.mega-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  color: var(--muted-50);
  margin-bottom: 0.5rem;
}

.header-ctas { display: flex; align-items: center; gap: 0.35rem; }
.nav-text-link {
  display: none;
  padding: 0.5rem 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--btn-r);
  transition: background 0.15s;
}
.nav-text-link:hover { background: var(--off-white); }
@media (min-width: 640px) { .nav-text-link { display: inline-flex; } }
@media (min-width: 1024px) { .hide-lg { display: none !important; } }
@media (min-width: 768px) { .hide-md { display: inline-flex !important; } }

.header-divider {
  width: 1px;
  height: 24px;
  background: rgba(222, 219, 214, 0.5);
  margin: 0 0.25rem;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-nav {
  padding: 1rem 4vw 1.5rem;
  border-top: 1px solid var(--linen);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-nav a { padding: 0.5rem 0; font-size: 0.9375rem; }
.mobile-nav hr { border: none; border-top: 1px solid var(--linen); margin: 0.5rem 0; }
.mobile-nav[hidden] { display: none; }

/* ========== HERO ========== */
.hero { padding: 4rem 0 0; overflow: hidden; }

.hero-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 4.5rem;
}
@media (min-width: 768px) {
  .hero-grid {
    gap: 3rem;
    margin-bottom: 6rem;
  }
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: repeat(12, 1fr);
    align-items: end;
    gap: 3.5rem;
    margin-bottom: 7rem;
  }
  .hero-headline-col { grid-column: span 7; }
  .hero-copy-col { grid-column: span 5; }
}

.hero-headline-col .heading-2 {
  line-height: 1.06;
  max-width: 14ch;
}

.hero-copy-col .body-lg { margin-bottom: 0.25rem; }

.hero-gallery {
  margin-bottom: 2rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.gallery-track {
  display: flex;
  gap: 0.75rem;
  padding: 0 4vw;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }

.gallery-item {
  flex: 0 0 180px;
  height: 220px;
  border-radius: var(--btn-r);
  background: var(--chalk) center/cover no-repeat;
  background-image: var(--img);
  scroll-snap-align: start;
}
@media (min-width: 768px) { .gallery-item { flex-basis: 220px; height: 280px; } }

.hero-carousel-wrap {
  padding-top: 1.5rem;
  padding-bottom: calc(var(--section-y) + 0.5rem);
}
@media (min-width: 768px) {
  .hero-carousel-wrap {
    padding-top: 2rem;
    padding-bottom: calc(var(--section-y-lg) - 1.5rem);
  }
}

.hero-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--linen);
  border-radius: var(--btn-r) var(--btn-r) 0 0;
  overflow: hidden;
}

.hero-tab {
  flex: 1;
  position: relative;
  padding: 1rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  background: var(--white);
  border: none;
  border-right: 1px solid var(--linen);
  cursor: pointer;
  font-family: inherit;
  color: var(--muted-60);
  transition: background 0.2s, color 0.2s;
  overflow: hidden;
}
.hero-tab:last-child { border-right: none; }
.hero-tab.active { background: var(--off-white); color: var(--ink); }

.tab-progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.hero-tab.active .tab-progress { animation: carouselProgress 7s linear forwards; }

@keyframes carouselProgress { to { transform: scaleX(1); } }

.hero-panels {
  border: 1px solid var(--linen);
  border-top: none;
  border-radius: 0 0 var(--btn-r) var(--btn-r);
  background: var(--white);
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.hero-panel {
  position: absolute;
  inset: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero-panel .screenshot-demo {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  border: none;
  box-shadow: none;
  border-radius: 0 0 0.75rem 0.75rem;
  background: var(--white);
}

.hero-panel .hero-video-demo {
  flex: 1 1 auto;
  min-height: 0;
  border-radius: 0 0 0.75rem 0.75rem;
  overflow: hidden;
}

.hero-panel .hero-video-demo .screenshot-demo-chrome {
  display: none;
}

.hero-panel .hero-video-demo .screenshot-caption {
  display: none;
}

.hero-panel .hero-video-wrap {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1918 / 906;
  line-height: 0;
  background: #000;
  overflow: hidden;
}

.hero-panel .hero-video {
  display: block;
  width: calc(100% + 22px);
  max-width: none;
  height: 100%;
  margin-right: -22px;
  object-fit: cover;
  object-position: top left;
  vertical-align: top;
}

.hero-panel .screenshot-sequence {
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 491;
  min-height: 0;
  max-height: none;
  background: var(--off-white);
}

.hero-panel .seq-frame {
  object-fit: contain;
  object-position: top center;
  width: 100%;
  height: 100%;
}

.hero-panel .screenshot-caption,
.hero-panel .seq-dots {
  flex-shrink: 0;
}

.hero-panel.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  height: auto;
}

/* Product UI mockups */
.product-ui {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: var(--btn-r);
  overflow: hidden;
  height: 100%;
  min-height: 320px;
}

.ui-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--linen);
  font-size: 0.75rem;
  color: var(--muted-60);
}
.ui-chrome span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--clay);
}
.ui-chrome.ai { color: var(--accent); font-weight: 600; }

.ui-body { display: grid; grid-template-columns: 100px 160px 1fr; min-height: 260px; }
.ui-nav { border-right: 1px solid var(--linen); padding: 0.5rem 0; background: var(--off-white); }
.ui-nav div { padding: 0.4rem 0.75rem; font-size: 0.7rem; color: var(--muted-60); }
.ui-nav div.active { background: var(--white); font-weight: 600; color: var(--ink); border-left: 2px solid var(--accent); }
.ui-main { border-right: 1px solid var(--linen); padding: 0.5rem; }
.ui-row { height: 36px; margin-bottom: 4px; background: var(--off-white); border-radius: 2px; }
.ui-row.active { background: rgba(0, 7, 203, 0.06); border: 1px solid rgba(0, 7, 203, 0.15); }
.ui-detail { padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.ui-msg { height: 48px; background: var(--off-white); border-radius: var(--btn-r); border: 1px solid var(--linen); }
.ui-msg.short { height: 32px; width: 70%; }

.fin-demo { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.fin-bubble { font-size: 0.8125rem; padding: 0.65rem 0.85rem; border-radius: var(--btn-r); max-width: 85%; }
.fin-bubble.user { align-self: flex-end; background: var(--off-white); border: 1px solid var(--linen); }
.fin-bubble.bot { display: flex; gap: 0.5rem; align-items: flex-start; }
.fin-av {
  width: 24px; height: 24px;
  background: var(--fin);
  color: var(--white);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.65rem; font-weight: 700;
  flex-shrink: 0;
}

.insights-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 180px;
  padding: 1.5rem;
}
.insights-chart .bar {
  flex: 1;
  height: var(--h);
  background: var(--gradient);
  border-radius: 4px 4px 0 0;
  opacity: 0.9;
  animation: barGrow 0.8s var(--ease) backwards;
}
.insights-chart .bar:nth-child(1) { animation-delay: 0.1s; }
.insights-chart .bar:nth-child(2) { animation-delay: 0.2s; }
.insights-chart .bar:nth-child(3) { animation-delay: 0.3s; }
.insights-chart .bar:nth-child(4) { animation-delay: 0.4s; }
.insights-chart .bar:nth-child(5) { animation-delay: 0.5s; }
.insights-chart .bar:nth-child(6) { animation-delay: 0.6s; }

@keyframes barGrow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to { transform: scaleY(1); transform-origin: bottom; }
}

.insights-metrics {
  display: flex;
  gap: 2rem;
  padding: 0 1.5rem 1.5rem;
  font-size: 0.8125rem;
  color: var(--muted-60);
}
.insights-metrics strong { display: block; font-size: 1.5rem; color: var(--ink); }

.rec-list { padding: 1.25rem; }
.rec-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem;
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--linen);
}
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.rec-item.done { opacity: 0.5; }
.rec-item.done .rec-dot { background: #00da00; }

/* ========== LOGO MARQUEE ========== */
.logo-wall {
  padding: 3rem 0;
  border-block: 1px solid var(--linen);
  overflow: hidden;
}

.marquee {
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee-track span {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--muted-50);
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== COMPLETE SOLUTION ========== */
.section-header-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .section-header-grid { margin-bottom: 5rem; }
}
@media (min-width: 1024px) {
  .section-header-grid { grid-template-columns: 1fr 1fr; align-items: end; margin-bottom: 5.5rem; }
}

.section-header-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.section-header-copy .eyebrow {
  margin-bottom: 0;
}

.section-header-copy .heading-3 {
  margin-bottom: 0;
}

.modules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
  margin-bottom: 4rem;
}

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

@media (min-width: 1024px) {
  .modules-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 5rem;
  }
}

.module-tile {
  background: var(--white);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--linen);
  border-radius: 0.875rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.module-tile:hover {
  border-color: rgba(8, 145, 178, 0.22);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.module-tile-media {
  aspect-ratio: 1024 / 486;
  width: 100%;
  border-radius: 0.625rem;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  margin-bottom: 1rem;
  background: var(--chalk);
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  line-height: 0;
}

.module-diagram {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 140px;
  background: var(--gradient-soft);
  overflow: hidden;
}

.module-diagram:not(.is-playing) * {
  animation-play-state: paused;
}

.module-soon-badge--corner {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
}

/* —— CRM: orbiting touchpoints —— */
.module-diagram--crm { display: grid; place-items: center; }

.crm-hub {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.15), var(--shadow-md);
  animation: crmPulse 2.8s ease-in-out infinite;
}

.crm-orbit {
  position: absolute;
  inset: 0;
  animation: crmSpin 12s linear infinite;
}

.crm-orbit span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.65rem;
  height: 0.65rem;
  margin: -0.325rem;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent-bright);
  box-shadow: var(--shadow-sm);
}

.crm-orbit--1 { animation-duration: 10s; }
.crm-orbit--1 span { transform: rotate(0deg) translateY(-2.75rem); }
.crm-orbit--2 { animation-duration: 13s; animation-direction: reverse; }
.crm-orbit--2 span { transform: rotate(90deg) translateY(-3.1rem); background: var(--accent-purple); border-color: var(--accent-purple); }
.crm-orbit--3 { animation-duration: 11s; }
.crm-orbit--3 span { transform: rotate(200deg) translateY(-2.5rem); }
.crm-orbit--4 { animation-duration: 15s; animation-direction: reverse; }
.crm-orbit--4 span { transform: rotate(300deg) translateY(-3.25rem); width: 0.5rem; height: 0.5rem; }

@keyframes crmSpin { to { transform: rotate(360deg); } }
@keyframes crmPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* —— Lead: pipeline card —— */
.module-diagram--lead { padding: 1.25rem 1rem 1rem; }

.lead-pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  height: 100%;
  align-content: center;
}

.lead-pipeline::before {
  content: '';
  position: absolute;
  top: 28%;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent-purple));
  opacity: 0.35;
}

.lead-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  z-index: 1;
}

.lead-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--clay);
}

.lead-stage:nth-child(4) .lead-dot { border-color: var(--accent); background: var(--accent-bright); }
.lead-label {
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-60);
}

.lead-card {
  position: absolute;
  top: 52%;
  left: 6%;
  width: 22%;
  height: 1.75rem;
  border-radius: 0.35rem;
  background: var(--white);
  border: 1px solid var(--linen);
  box-shadow: var(--shadow-sm);
  animation: leadMove 4s var(--ease) infinite;
}

@keyframes leadMove {
  0%, 8% { left: 6%; opacity: 1; }
  28%, 36% { left: 30%; }
  56%, 64% { left: 54%; }
  84%, 92% { left: 78%; }
  100% { left: 78%; opacity: 0.6; }
}

/* —— Support: chat thread —— */
.module-diagram--support {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.support-thread {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 78%;
}

.support-bubble {
  height: 1.35rem;
  border-radius: 0.65rem;
  background: var(--white);
  border: 1px solid var(--linen);
  opacity: 0;
  transform: translateY(6px);
  animation: supportIn 3.6s var(--ease) infinite;
}

.support-bubble--user { width: 62%; align-self: flex-start; animation-delay: 0s; }
.support-bubble--ai {
  width: 78%;
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.45rem;
  border-color: rgba(8, 145, 178, 0.2);
  background: rgba(255, 255, 255, 0.92);
  animation-delay: 0.9s;
}

.support-bubble--short { width: 48%; animation-delay: 1.8s; }

.support-ai-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
  animation: aiPulse 1.2s ease-in-out infinite;
}

.support-ai-line {
  flex: 1;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--gradient);
  opacity: 0.45;
}

@keyframes supportIn {
  0%, 6% { opacity: 0; transform: translateY(6px); }
  14%, 88% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-4px); }
}

@keyframes aiPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.75; }
}

/* —— Storefront —— */
.module-diagram--storefront { padding: 1rem 1.1rem; }

.store-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  height: calc(100% - 2rem);
}

.store-product {
  border-radius: 0.4rem;
  background: var(--white);
  border: 1px solid var(--linen);
  animation: storePop 2.4s var(--ease) infinite;
}

.store-product:nth-child(1) { animation-delay: 0s; }
.store-product:nth-child(2) { animation-delay: 0.2s; }
.store-product:nth-child(3) { animation-delay: 0.4s; }
.store-product:nth-child(4) { animation-delay: 0.6s; }

.store-product--featured {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(129, 140, 248, 0.12));
  border-color: rgba(8, 145, 178, 0.2);
}

.store-cart {
  position: absolute;
  bottom: 0.85rem;
  right: 1rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.45rem;
  background: var(--gradient);
  display: grid;
  place-items: center;
  animation: cartBounce 2.4s var(--ease) infinite;
}

.store-cart span {
  width: 0.65rem;
  height: 0.65rem;
  border: 2px solid var(--white);
  border-radius: 0.15rem;
}

@keyframes storePop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@keyframes cartBounce {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-4px); }
  60% { transform: translateY(-2px); }
}

/* —— Operations: delivery route —— */
.module-diagram--ops { padding: 0.75rem 0.5rem; }

.ops-route {
  width: 100%;
  height: auto;
  display: block;
}

.ops-path {
  animation: opsDash 1.4s linear infinite;
}

.ops-pin {
  position: absolute;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent);
}

.ops-pin--a { left: 8%; bottom: 22%; }
.ops-pin--b { right: 8%; top: 18%; border-color: var(--accent-purple); }

.ops-shipment {
  position: absolute;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.2);
  left: 6%;
  bottom: 18%;
  animation: opsTravel 3.5s var(--ease) infinite;
}

@keyframes opsDash { to { stroke-dashoffset: -22; } }

@keyframes opsTravel {
  0% { left: 6%; bottom: 18%; top: auto; }
  35% { left: 38%; bottom: auto; top: 38%; }
  65% { left: 58%; bottom: auto; top: 28%; }
  100% { left: 86%; bottom: auto; top: 14%; }
}

/* —— Engage: broadcast rings —— */
.module-diagram--engage { display: grid; place-items: center; }

.engage-core {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--gradient);
  z-index: 2;
  animation: engageCore 2s ease-in-out infinite;
}

.engage-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(8, 145, 178, 0.25);
  animation: engageRing 3s var(--ease) infinite;
}

.engage-ring--1 { width: 3rem; height: 3rem; animation-delay: 0s; }
.engage-ring--2 { width: 5rem; height: 5rem; animation-delay: 0.6s; }
.engage-ring--3 { width: 7rem; height: 7rem; animation-delay: 1.2s; }

.engage-channel {
  position: absolute;
  font-size: 0.5625rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--linen);
  color: var(--muted-60);
  opacity: 0;
  animation: engageLabel 3s var(--ease) infinite;
}

.engage-channel--1 { top: 18%; left: 12%; animation-delay: 0.3s; }
.engage-channel--2 { top: 14%; right: 10%; animation-delay: 1s; }
.engage-channel--3 { bottom: 16%; left: 50%; transform: translateX(-50%); animation-delay: 1.7s; }

@keyframes engageCore {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

@keyframes engageRing {
  0% { transform: scale(0.85); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 0; }
}

@keyframes engageLabel {
  0%, 20% { opacity: 0; transform: translateY(4px); }
  35%, 75% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; }
}

.engage-channel--3 { animation-name: engageLabelCenter; }

@keyframes engageLabelCenter {
  0%, 20% { opacity: 0; transform: translateX(-50%) translateY(4px); }
  35%, 75% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(0); }
}

/* —— Finance: animated chart —— */
.module-diagram--finance {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem 1.25rem 0.85rem;
}

.finance-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  height: 72%;
  z-index: 1;
}

.finance-bar {
  flex: 1;
  height: var(--h);
  border-radius: 0.3rem 0.3rem 0 0;
  background: var(--gradient);
  transform-origin: bottom;
  animation: financeGrow 2.8s var(--ease) infinite;
}

.finance-bar:nth-child(1) { animation-delay: 0s; }
.finance-bar:nth-child(2) { animation-delay: 0.15s; }
.finance-bar:nth-child(3) { animation-delay: 0.3s; }
.finance-bar:nth-child(4) { animation-delay: 0.45s; }
.finance-bar:nth-child(5) { animation-delay: 0.6s; }

.finance-line {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.85rem;
  height: 1px;
  background: var(--linen);
}

@keyframes financeGrow {
  0%, 100% { transform: scaleY(0.55); opacity: 0.65; }
  45%, 55% { transform: scaleY(1); opacity: 1; }
}

/* —— Feedback: stars + review —— */
.module-diagram--feedback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1rem;
}

.feedback-stars {
  display: flex;
  gap: 0.3rem;
}

.feedback-stars span {
  width: 0.85rem;
  height: 0.85rem;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  background: var(--clay);
  animation: starFill 2.5s var(--ease) infinite;
}

.feedback-stars span:nth-child(1) { animation-delay: 0s; }
.feedback-stars span:nth-child(2) { animation-delay: 0.15s; }
.feedback-stars span:nth-child(3) { animation-delay: 0.3s; }
.feedback-stars span:nth-child(4) { animation-delay: 0.45s; }
.feedback-stars span:nth-child(5) { animation-delay: 0.6s; }

.feedback-review {
  width: 72%;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.feedback-line {
  height: 0.35rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--linen);
  animation: reviewFade 2.5s var(--ease) infinite;
}

.feedback-line--lg { width: 100%; animation-delay: 0.8s; }
.feedback-line:not(.feedback-line--lg) { width: 85%; animation-delay: 1s; }
.feedback-line--sm { width: 55%; animation-delay: 1.2s; }

@keyframes starFill {
  0%, 20% { background: var(--clay); transform: scale(1); }
  35%, 100% { background: var(--accent-bright); transform: scale(1.08); }
}

@keyframes reviewFade {
  0%, 40% { opacity: 0; transform: translateY(4px); }
  55%, 100% { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .module-diagram *,
  .module-diagram *::before,
  .module-diagram *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.module-tile--soon:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
  border-color: var(--linen);
}

.module-soon-badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding: 0.35rem 0.75rem;
  background: var(--white);
  border-radius: 999px;
  border: 1px solid rgba(8, 145, 178, 0.15);
  box-shadow: var(--shadow-sm);
}

.module-tile .heading-5 {
  margin: 0 0 0.4rem;
  font-size: 1.0625rem;
}

.module-tile p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

.module-tile--hub {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-soft);
  padding: 1.5rem;
  border-style: dashed;
  border-color: rgba(8, 145, 178, 0.18);
}

.module-tile--hub:hover {
  transform: none;
}

.module-tile-hub {
  text-align: center;
}

.module-tile-hub-label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.module-tile-hub-title {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.highlight-block {
  padding-block: 1rem;
}

.highlights-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 8vw, 7rem);
  padding-top: clamp(3rem, 6vw, 5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--linen);
}

.highlight-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
  width: min(1560px, 97vw);
  margin-inline: auto;
  padding-inline: clamp(1rem, 2.5vw, 1.75rem);
}

@media (min-width: 1024px) {
  .highlight-layout {
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: clamp(2.75rem, 5vw, 5rem);
  }

  .highlight-layout:not(:has(.highlight-demo)) {
    grid-template-columns: 1fr;
  }

  .highlight-copy {
    padding-top: 0.35rem;
  }

  .highlight-block--reverse .highlight-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  }

  .highlight-block--reverse .highlight-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .highlight-block--reverse .highlight-demo {
    grid-column: 1;
    grid-row: 1;
  }
}

.highlight-copy {
  max-width: 28rem;
}

.highlight-copy .heading-4 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.25rem, 0.35rem + 1.4vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.highlight-copy .body-lg {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.highlight-points {
  margin-top: 1rem;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  line-height: 1.55;
}

.highlight-points li {
  margin-bottom: 0.35rem;
}

.highlight-points li::marker {
  color: var(--accent);
}

.highlight-tag {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.65rem;
  background: rgba(8, 145, 178, 0.08);
  border-radius: 999px;
  border: 1px solid rgba(8, 145, 178, 0.15);
}

.highlight-demo {
  width: 100%;
  min-width: 0;
}

.highlight-demo .screenshot-demo {
  width: 100%;
  border-radius: 0.875rem;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 16px 48px rgba(15, 23, 42, 0.1),
    0 40px 80px rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.08);
}

.highlight-demo .screenshot-demo-chrome {
  padding: 0.75rem 1.1rem;
  font-size: 0.8125rem;
}

.highlight-demo .screenshot-sequence {
  aspect-ratio: 1024 / 493;
  max-height: none;
  min-height: clamp(200px, 28vw, 420px);
  background: var(--white);
}

.highlight-demo .seq-frame {
  object-fit: contain;
  object-position: top center;
}

.highlight-demo .screenshot-caption {
  padding: 0.9rem 1.15rem;
  font-size: 0.875rem;
  min-height: 3rem;
}

.highlight-demo .seq-dots {
  padding: 0 1.15rem 1rem;
}

.highlight-demo--feature {
  display: flex;
  justify-content: flex-end;
}

.highlight-block--reverse .highlight-demo--feature {
  justify-content: flex-start;
}

.feature-showcase,
.support-dashboard {
  width: 100%;
  max-width: 1024px;
}

.support-dashboard-frame {
  aspect-ratio: 10 / 7;
  max-height: 720px;
}

.integrations-hub-frame {
  aspect-ratio: 10 / 7;
  max-height: 720px;
  min-height: 480px;
}

.single-pickup-frame {
  aspect-ratio: 10 / 7;
  max-height: 720px;
  min-height: 480px;
}

.single-pickup-demo .pickup-table-scroll {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.single-pickup-demo .pickup-table-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

@media (max-width: 767px) {
  .support-dashboard-frame {
    aspect-ratio: auto;
    min-height: 520px;
    height: auto;
    max-height: none;
  }

  .integrations-hub-frame {
    aspect-ratio: auto;
    min-height: 440px;
    height: auto;
    max-height: none;
  }

  .single-pickup-frame {
    aspect-ratio: auto;
    min-height: 460px;
    height: auto;
    max-height: none;
  }
}

#ai-support-dashboard-root .support-dashboard figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.feature-figure {
  margin: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 40px rgba(15, 23, 42, 0.1);
  background: var(--white);
  line-height: 0;
}

.feature-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1024px;
  image-rendering: auto;
}

.feature-caption {
  margin: 0.85rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted-60);
  line-height: 1.5;
}

.testimonial-hero footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}
.testimonial-hero footer strong {
  display: block;
  font-size: 0.875rem;
}
.testimonial-hero footer span {
  font-size: 0.8125rem;
  color: var(--muted-60);
}

.placeholder-note {
  display: block;
  font-size: 0.6875rem;
  font-style: italic;
  color: var(--muted-50);
  margin-top: 0.25rem;
}

.avatar-photo {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--chalk) center/cover;
  background-image: var(--img);
  flex-shrink: 0;
}
.avatar-photo.lg { width: 72px; height: 72px; }

.customer-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.testimonial-hero footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.testimonial-hero footer a:hover { color: var(--ink); }

/* ========== HELPDESK / PILLARS SHOWCASE ========== */
.helpdesk-section .container {
  width: min(1280px, 94vw);
}

.helpdesk-header { max-width: 720px; margin-bottom: 3rem; }

.pillars--stacked {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  border-top: 1px solid var(--linen);
  padding-top: 3rem;
}

.pillar-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pillar-block + .pillar-block {
  padding-top: 4rem;
  border-top: 1px solid var(--linen);
}

.pillar-showcase-heading {
  margin: 0 0 2rem;
  max-width: none;
  width: 100%;
  font-size: clamp(1.625rem, 3.4vw, 2.875rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.pillar-title-muted {
  color: var(--muted-60);
  font-weight: 500;
}

.pillar-title-em {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.pillar-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.pillar-showcase-media {
  position: relative;
  background:
    radial-gradient(ellipse 80% 70% at 20% 40%, rgba(0, 122, 255, 0.08), transparent 60%),
    linear-gradient(145deg, #eef4fb 0%, #f7f9fc 45%, #edf2f7 100%);
  border-radius: 1rem;
  overflow: hidden;
  min-height: 320px;
}

.pillar-block--html .pillar-showcase-media {
  min-height: 480px;
  background: #eef2f7;
}

.pillar-showcase-figure {
  margin: 0;
  position: relative;
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.pillar-block--html .pillar-showcase-figure {
  min-height: 480px;
  padding: 0.35rem;
}

.pillar-block--html .pillar-media-pane {
  inset: 0.35rem;
}

.pillar-showcase-img {
  position: absolute;
  inset: 1.25rem;
  width: calc(100% - 2.5rem);
  height: calc(100% - 2.5rem);
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  background: #fff;
}

.pillar-showcase-img.is-visible { opacity: 1; }

.pillar-media-pane {
  position: absolute;
  inset: 0.5rem;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  overflow: hidden;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-media-pane.is-visible { opacity: 1; }

.pillar-showcase-scaler {
  overflow: hidden;
  background: #fff;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.pillar-showcase-frame {
  border: 0;
  display: block;
  background: #fff;
  pointer-events: none;
  transform-origin: top left;
  overflow: hidden;
}

.pillar-showcase-img-inner {
  position: absolute;
  inset: 1.5rem;
  width: calc(100% - 3rem);
  height: calc(100% - 3rem);
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
  background: #fff;
}

.pillar-showcase-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pillar-feature-btn {
  position: relative;
  display: flex;
  gap: 0.875rem;
  width: 100%;
  padding: 1.25rem 1rem 1.25rem 0;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  border-left: 2px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.pillar-feature-btn:hover { background: rgba(0, 0, 0, 0.02); }

.pillar-feature-btn.active {
  background: var(--off-white);
  border-left-color: var(--accent);
  padding-left: 1.25rem;
}

.pillar-feature-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--accent);
  transition: width 0.1s linear;
}

.pillar-feature-icon {
  width: 10px;
  height: 10px;
  margin-top: 0.35rem;
  border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
  opacity: 0.85;
}

.pillar-feature-btn.active .pillar-feature-icon { opacity: 1; }

.pillar-feature-copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pillar-feature-copy strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.pillar-feature-copy .muted {
  font-size: 0.9375rem;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

@media (min-width: 1024px) {
  .pillars--stacked {
    gap: 5rem;
    padding-top: 4rem;
  }

  .pillar-block + .pillar-block {
    padding-top: 5rem;
  }

  .pillar-showcase-heading {
    margin-bottom: 2.25rem;
    font-size: clamp(2rem, 3.6vw, 3.125rem);
    letter-spacing: -0.055em;
  }

  .pillar-title-em {
    background: linear-gradient(135deg, var(--ink) 0%, #1e3a5f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .pillar-showcase-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 2.5rem;
    align-items: start;
  }

  .pillar-block--html .pillar-showcase-grid {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
    gap: 2rem;
  }

  .pillar-showcase-media,
  .pillar-showcase-figure {
    min-height: 360px;
  }

  .pillar-block--html .pillar-showcase-media,
  .pillar-block--html .pillar-showcase-figure {
    min-height: min(820px, 78vh);
    height: min(820px, 78vh);
  }

  .pillar-showcase-figure {
    padding: 1.5rem;
  }

  .pillar-block--html .pillar-showcase-figure {
    padding: 0.35rem;
  }

  .pillar-showcase-img {
    inset: 1.5rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
  }
}

.testimonial-large {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--linen);
  max-width: 640px;
}
.testimonial-large p {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--muted-60);
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* ========== PARTNER ========== */
.section-intro-center { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-intro-center p { margin-top: 1rem; }

.partner-cards {
  display: grid;
  gap: 1px;
  background: var(--linen);
  border: 1px solid var(--linen);
  border-radius: var(--btn-r);
  overflow: hidden;
}
@media (min-width: 768px) { .partner-cards { grid-template-columns: repeat(3, 1fr); } }

.partner-card {
  background: var(--white);
  padding: 1.75rem;
}
.partner-card p { font-size: 0.875rem; margin: 0.5rem 0 1rem; }

/* ========== TESTIMONIAL HERO ========== */
.testimonial-section { text-align: center; }
.testimonial-hero { max-width: 720px; margin: 0 auto; }
.testimonial-hero p {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
.testimonial-hero footer { justify-content: center; }

/* ========== DEMO VIDEO ========== */
.demo-section {
  border-top: 1px solid var(--linen);
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}

.demo-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .demo-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 4rem;
  }
}

.demo-copy .eyebrow { margin-bottom: 0.75rem; }
.demo-copy .heading-3 { margin-bottom: 1rem; }
.demo-copy .body-lg { margin-bottom: 1.75rem; }

.demo-player-wrap { width: 100%; }

.demo-player {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--linen);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--chalk);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.demo-player:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.demo-poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.demo-play-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(15, 23, 42, 0.08);
  transition: background 0.25s var(--ease);
}

.demo-player:hover .demo-play-icon { background: rgba(15, 23, 42, 0.14); }

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.demo-modal[hidden] { display: none; }

.demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
}

.demo-modal-panel {
  position: relative;
  width: min(960px, 100%);
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.35);
}

.demo-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border: 1px solid var(--linen);
  cursor: pointer;
  transition: background 0.2s;
}

.demo-modal-close:hover { background: var(--white); }

.demo-modal-body {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
}

.demo-modal-body iframe,
.demo-modal-body video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-modal-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
}

.demo-modal-placeholder img {
  width: min(100%, 520px);
  height: auto;
  border-radius: 0.75rem;
  margin-bottom: 0.5rem;
  opacity: 0.92;
}

.demo-modal-placeholder .muted {
  color: rgba(255, 255, 255, 0.72);
  max-width: 34rem;
}

.demo-modal-placeholder code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8125rem;
  color: #22d3ee;
}

.demo-modal-placeholder .btn { margin-top: 0.5rem; }

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

/* ========== REQUEST DEMO FORM MODAL ========== */
.request-demo-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  isolation: isolate;
}

.request-demo-modal[hidden] { display: none; }

.request-demo-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.request-demo-panel {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.35);
}

.request-demo-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--chalk);
  color: var(--ink);
  border: 1px solid var(--linen);
  cursor: pointer;
  transition: background 0.2s;
}

.request-demo-close:hover { background: var(--white); }

.request-demo-intro {
  color: var(--muted-60);
  font-size: 0.9375rem;
  margin: 0.5rem 0 1.25rem;
}

.request-demo-form .form-row { margin-bottom: 1rem; }

.request-demo-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.375rem;
}

.form-optional {
  font-weight: 500;
  color: var(--muted);
}

.request-demo-form input,
.request-demo-form select,
.request-demo-form textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 0.625rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.request-demo-form input::placeholder,
.request-demo-form textarea::placeholder { color: var(--muted); }

.request-demo-form input:focus,
.request-demo-form select:focus,
.request-demo-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.12);
}

.request-demo-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
}

.request-demo-form textarea {
  resize: vertical;
  min-height: 5rem;
}

.request-demo-form .btn-block {
  width: 100%;
  margin-top: 0.25rem;
}

.form-error {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.625rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.request-demo-success {
  text-align: center;
  color: var(--accent-hover);
  font-weight: 600;
  font-size: 1rem;
  padding: 1.5rem 0 0.5rem;
}

.request-demo-form[hidden],
.request-demo-success[hidden],
.form-error[hidden] { display: none; }

/* ========== PRICING ========== */
.section-title-center { text-align: center; margin-bottom: 3rem; }

.pricing-card-bracket {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
}

.bracket {
  position: absolute;
  width: 12px; height: 12px;
  border-color: var(--clay);
  border-style: solid;
}
.bracket.tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.bracket.tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.bracket.bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.bracket.br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.pricing-card-bracket h3 { margin-bottom: 0.5rem; }
.pricing-card-bracket > p { font-size: 0.9375rem; margin-bottom: 2rem; }

.price-display {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem 0.5rem;
  margin-bottom: 1.5rem;
}
.price-num { font-size: 2.5rem; font-weight: 500; letter-spacing: -0.03em; }
.price-label { font-size: 0.875rem; color: var(--muted-60); }
.price-plus { font-size: 1.25rem; color: var(--muted-50); margin: 0 0.25rem; }

/* ========== FOOTER CTA ========== */
.footer-cta {
  position: relative;
  padding: var(--section-y-lg) 0;
  overflow: hidden;
  text-align: center;
}

.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--accent) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.08;
}

.footer-cta-inner { position: relative; }
.footer-cta .heading-2 { margin-bottom: 2rem; max-width: 800px; margin-inline: auto; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--off-white);
  border-top: 1px solid var(--linen);
  padding: calc(var(--section-y) + 1rem) 0 2.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }

.footer-top {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--linen);
}

.footer-logo { margin-bottom: 0.75rem; }

.footer-logo .logo-img {
  height: 2.5rem;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--muted-60);
  max-width: 360px;
  margin-bottom: 0.75rem;
}

.footer-email {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.2s;
}
.footer-email:hover { color: var(--accent-hover); }

.footer-col { display: flex; flex-direction: column; gap: 0.4rem; }

.footer-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  color: var(--muted-50);
  margin-bottom: 0.35rem;
}
.footer-label.mt { margin-top: 1.25rem; }

.footer-col a {
  font-size: 0.875rem;
  color: var(--muted-60);
  position: relative;
  width: fit-content;
  transition: color 0.2s;
}
.footer-col a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}
.footer-col a:hover { color: var(--ink); }
.footer-col a:hover::after { transform: scaleX(1); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--linen);
  font-size: 0.8125rem;
  color: var(--muted-60);
}
.footer-legal a { transition: color 0.15s; }
.footer-legal a:hover { color: var(--ink); }
.footer-legal p { margin-left: auto; }

.ui-body.ui-store { display: grid; grid-template-columns: 110px 1fr; min-height: 260px; }
.store-sidebar { border-right: 1px solid var(--linen); padding: 0.5rem 0; background: var(--off-white); }
.store-sidebar div { padding: 0.45rem 0.75rem; font-size: 0.7rem; color: var(--muted-60); }
.store-sidebar div.active { background: var(--white); font-weight: 600; color: var(--ink); border-left: 2px solid var(--accent); }
.store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 1rem; }
.store-grid div { background: var(--off-white); border: 1px solid var(--linen); border-radius: 6px; min-height: 70px; }

.ui-support { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.ui-support.tall { min-height: 280px; }
.support-msg { font-size: 0.8125rem; padding: 0.65rem 0.85rem; border-radius: 0.65rem; max-width: 88%; line-height: 1.5; }
.support-msg.user { align-self: flex-end; background: var(--off-white); border: 1px solid var(--linen); }
.support-msg.ai { display: flex; gap: 0.5rem; align-items: flex-start; background: rgba(8, 145, 178, 0.06); border: 1px solid rgba(8, 145, 178, 0.12); }
.ai-dot {
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--gradient);
  margin-top: 2px;
}

.ui-routes { padding: 1.5rem; }
.route-map {
  position: relative;
  height: 200px;
  background: linear-gradient(180deg, #f0f9ff, #f8fafc);
  border-radius: 0.65rem;
  border: 1px solid var(--linen);
  margin-bottom: 1rem;
}
.route-pin {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
}
.route-pin.p1 { top: 30%; left: 25%; }
.route-pin.p2 { top: 55%; left: 50%; }
.route-pin.p3 { top: 40%; left: 72%; }
.route-line {
  position: absolute;
  top: 38%; left: 28%; width: 42%; height: 2px;
  background: var(--accent);
  transform: rotate(8deg);
  opacity: 0.5;
}
.route-stats { display: flex; gap: 1.5rem; font-size: 0.8125rem; color: var(--muted-60); }
.route-stats span { padding: 0.35rem 0.65rem; background: var(--off-white); border-radius: 999px; border: 1px solid var(--linen); }

@media (min-width: 768px) {
  .hero-tab { font-size: 0.8125rem; padding: 1.15rem 1rem; }
}

.hero-panels { border-radius: 0 0 0.75rem 0.75rem; box-shadow: var(--shadow-md); }
.product-ui { border-radius: 0.75rem; box-shadow: var(--shadow-sm); }
.gallery-item { border-radius: 0.75rem; box-shadow: var(--shadow-sm); border: 1px solid var(--linen); }
.partner-cards { border-radius: 0.75rem; box-shadow: var(--shadow-sm); }

/* Hero screenshot sequences */
.screenshot-demo {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.screenshot-demo-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--linen);
  background: var(--off-white);
  font-size: 0.75rem;
  color: var(--muted-60);
}

.screenshot-demo-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay);
}

.screenshot-sequence {
  position: relative;
  aspect-ratio: 21 / 10;
  background: var(--chalk);
  overflow: hidden;
}

.seq-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.55s var(--ease);
}

.seq-frame.active {
  opacity: 1;
}

.screenshot-caption {
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  color: var(--muted-60);
  border-top: 1px solid var(--linen);
  background: var(--white);
  min-height: 2.75rem;
}

.seq-dots {
  display: flex;
  gap: 6px;
  padding: 0 1rem 0.85rem;
  background: var(--white);
}

.seq-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
  transition: background 0.25s, transform 0.25s;
}

.seq-dot.active {
  background: var(--accent-bright);
  transform: scale(1.2);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
}

/* ========== LEGAL / DOCS PAGES ========== */
.legal-content {
  padding: calc(var(--header-h) + 3rem) 0 var(--section-y);
}

@media (min-width: 768px) {
  .legal-content {
    padding: calc(var(--header-h) + 4rem) 0 var(--section-y-lg);
  }
}

.container-narrow {
  width: min(760px, 92vw);
  margin-inline: auto;
}

.container-docs {
  width: min(896px, 92vw);
  margin-inline: auto;
}

.legal-header {
  margin-bottom: 3rem;
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.05rem;
  margin-bottom: 0.75rem;
}

.legal-header p,
.legal-meta {
  color: var(--muted-60);
  font-size: 1rem;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.legal-section p,
.legal-section li {
  color: var(--muted-60);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-section p + p,
.legal-section ul {
  margin-top: 0.75rem;
}

.legal-section ul {
  margin-left: 1.5rem;
}

.legal-section li + li {
  margin-top: 0.35rem;
}

.legal-section a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(8, 145, 178, 0.35);
}

.legal-section a:hover {
  color: var(--accent-hover);
  text-decoration-color: var(--accent-hover);
}

.legal-card {
  background: var(--off-white);
  border: 1px solid var(--linen);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-note {
  margin-top: 3rem;
  color: var(--muted-60);
  font-size: 0.9rem;
}

.docs-stack {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.docs-label {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  background: rgba(8, 145, 178, 0.08);
  border-radius: 999px;
  border: 1px solid rgba(8, 145, 178, 0.15);
}

.docs-lead {
  color: var(--muted-60);
  font-size: 1.05rem;
  line-height: 1.7;
}

.docs-meta-links {
  color: var(--muted-60);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.docs-meta-links a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.docs-toc {
  background: var(--off-white);
  border: 1px solid var(--linen);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
}

.docs-toc > p {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.docs-toc ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .docs-toc ul {
    grid-template-columns: 1fr 1fr;
  }
}

.docs-toc a {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.docs-toc a:hover {
  text-decoration: underline;
}

.docs-card,
.integration-card {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 0.75rem;
  padding: 1.5rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
  box-shadow: var(--shadow-sm);
}

.integration-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.integration-card h3,
.docs-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.integration-card .summary,
.docs-card .summary {
  color: var(--muted-60);
  font-size: 0.9rem;
  line-height: 1.65;
}

.integration-card dl {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.integration-card dt {
  font-weight: 600;
  font-size: 0.9rem;
}

.integration-card dd {
  color: var(--muted-60);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-top: 0.25rem;
}

.docs-prose {
  color: var(--muted-60);
  font-size: 0.95rem;
  line-height: 1.7;
}

.docs-prose p + p {
  margin-top: 0.75rem;
}

.docs-prose ol,
.docs-prose ul {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
}

.docs-prose li + li {
  margin-top: 0.5rem;
}

.docs-prose a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.docs-prose .label {
  color: var(--ink);
  font-weight: 600;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--off-white);
  border: 1px solid var(--linen);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  color: var(--muted-60);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-top: 0.75rem;
}

.docs-highlight-card {
  background: var(--off-white);
  border: 1px solid var(--linen);
  border-radius: 0.75rem;
  padding: 1.5rem 1.75rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.docs-highlight-card .meta-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--linen);
  font-size: 0.8rem;
  color: var(--muted-60);
  line-height: 1.65;
}

.docs-highlight-card .meta-note code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: var(--ink);
  word-break: break-all;
}

.contact-card {
  background: var(--off-white);
  border: 1px solid var(--linen);
  border-radius: 0.75rem;
  padding: 1.5rem 1.75rem;
}

.contact-card ul {
  list-style: none;
  margin-top: 1rem;
}

.contact-card li {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--muted-60);
}

.contact-card .fine-print {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted-60);
}

.contact-card a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-col a.is-active {
  color: var(--ink);
  font-weight: 600;
}

.footer-col a.is-active::after {
  transform: scaleX(1);
}

/* ========== HIDE SCROLLBARS IN DEMO / MOCKUP AREAS ========== */
:where(
  .highlight-demo,
  .hero-panel,
  .screenshot-demo,
  .screenshot-sequence,
  .pillar-showcase-media,
  .pillar-showcase-scaler,
  .pillar-showcase-frame,
  #ai-support-dashboard-root,
  #integrations-dashboard-root,
  #single-pickup-demo-root
),
:where(
  .highlight-demo,
  .hero-panel,
  .screenshot-demo,
  .screenshot-sequence,
  .pillar-showcase-media,
  .pillar-showcase-scaler,
  #ai-support-dashboard-root,
  #integrations-dashboard-root,
  #single-pickup-demo-root
) :where(*) {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

:where(
  .highlight-demo,
  .hero-panel,
  .screenshot-demo,
  .screenshot-sequence,
  .pillar-showcase-media,
  .pillar-showcase-scaler,
  .pillar-showcase-frame,
  #ai-support-dashboard-root,
  #integrations-dashboard-root,
  #single-pickup-demo-root
)::-webkit-scrollbar,
:where(
  .highlight-demo,
  .hero-panel,
  .screenshot-demo,
  .screenshot-sequence,
  .pillar-showcase-media,
  .pillar-showcase-scaler,
  #ai-support-dashboard-root,
  #integrations-dashboard-root,
  #single-pickup-demo-root
) :where(*)::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
