@font-face {
  font-family: 'Biysk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/biysk-dafont/Biysk-Bold.ttf') format('truetype');
}

:root {
  --bg: #0c1224;
  --bg-elevated: #121a30;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f6fb;
  --muted: #9aa6c3;
  --accent: #243f8f;
  --accent-hover: #1b3172;
  --accent-glow: rgba(36, 63, 143, 0.4);
  --accent-muted: rgba(36, 63, 143, 0.18);
  --accent-border: rgba(189, 197, 221, 0.45);
  --gold: #bdc5dd;
  --gold-muted: rgba(189, 197, 221, 0.14);
  --gold-border: rgba(189, 197, 221, 0.32);
  --success: #22c55e;
  --font: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --font-wordmark: 'Biysk', var(--font);
  --font-hero: 'Varela Round', var(--font);
  --radius: 14px;
  --border-w: 2px;
  --max: 1120px;
  --section-gap: clamp(3.5rem, 8vw, 6rem);
  /* motion: aligned with apps/web motion.ts rise() */
  --motion-rise-duration: 0.72s;
  --motion-rise-distance: 32px;
  --motion-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-stagger-step: 55ms;
  /* pop: aligned with apps/web app.css + motion.ts */
  --ease-pop: cubic-bezier(0.4, 1.08, 1, 1);
  --dur-pop: 286ms;
  --dur-pop-out: 143ms;
  --wordmark-shine-duration: 8s;
  --wordmark-enter-duration: 0.6s;
  --wordmark-anim-delay: 0.35s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* custom ease in main.js handles hash nav; keep native scroll instant */
html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 55% at 8% -8%, rgba(36, 63, 143, 0.42), transparent 58%),
    radial-gradient(ellipse 55% 40% at 92% 8%, rgba(51, 255, 79, 0.06), transparent 52%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(36, 63, 143, 0.14), transparent 60%),
    var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.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;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* skip link */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 100;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 0.75rem;
  outline: none;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: var(--border-w) solid transparent;
  background: rgba(12, 18, 36, 0.65);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.site-header.scrolled {
  background: rgba(12, 18, 36, 0.9);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  flex-shrink: 0;
}
html[data-motion='full'] .site-header .brand {
  opacity: 0;
  animation: brand-wordmark-fade-in var(--wordmark-enter-duration) var(--motion-ease-out) forwards;
}
@keyframes brand-wordmark-fade-in {
  to {
    opacity: 1;
  }
}
.brand .wordmark {
  font-size: calc(1.5rem * 1.35);
  font-weight: 600;
}
.site-header .brand .wordmark,
.site-header .brand .wordmark-tld {
  background-size: 100% 100%;
  background-position: 0% 50%;
  animation: none;
}
.site-header .brand .wordmark-tld {
  font-size: 0.8rem;
  display: inline-block;
  min-width: 6ch;
}
.top-nav {
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
}
.top-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.top-nav a:hover,
.top-nav a.is-active {
  color: var(--text);
}
.top-nav a.is-active {
  position: relative;
}
.top-nav a.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  border-radius: 1px;
  background: var(--accent);
  opacity: 0.85;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.login {
  padding: 0.48rem 0.95rem;
  border: var(--border-w) solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.login:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn:active {
  transform: scale(0.98);
}
.btn-sm {
  padding: 0.48rem 0.95rem;
  font-size: 0.88rem;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 36px -18px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hover);
}
.btn-ghost {
  border: var(--border-w) solid var(--border);
  background: var(--surface);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

/* typography helpers */
.wordmark {
  font-family: var(--font-wordmark);
  font-weight: 700;
  letter-spacing: -0.005em;
  background: linear-gradient(
    120deg,
    #4a6fd4 0%,
    #8aa0d8 20%,
    #bdc5dd 45%,
    #7b8fc4 65%,
    #4a6fd4 85%,
    #bdc5dd 100%
  );
  background-size: 100% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wordmark-tld {
  font-family: var(--font-wordmark);
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(
    120deg,
    #6b86c9 0%,
    #9aabd4 25%,
    #c4cce0 50%,
    #a8b4d6 75%,
    #6b86c9 100%
  );
  background-size: 100% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .wordmark {
  background-size: 200% 100%;
}
html[data-motion='full'] .hero h1 .wordmark {
  animation: wordmark-shine var(--wordmark-shine-duration) ease-in-out infinite;
  animation-delay: calc(var(--reveal-delay, 0ms) + var(--wordmark-anim-delay));
}
@keyframes wordmark-shine {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes wordmark-enter {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.eyebrow {
  margin: 0 0 0.65rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4a6fd4;
}
.section-lede {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
}

/* scroll anchors */
#top,
#platform,
#features,
#modules,
#how,
#pricing,
#faq,
#waitlist,
section[id] {
  scroll-margin-top: 5.5rem;
}
section[id] {
  position: relative;
}

/* hero: side-by-side, same browser-frame demos as modules (slightly larger) */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.hero-copy {
  text-align: center;
}
.hero h1 {
  margin: 0 0 1.15rem;
  font-family: var(--font-hero);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.lede {
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 2.1vw, 1.15rem);
}
.hero-trust {
  max-width: 36rem;
  margin: -0.5rem auto 1.35rem;
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.5;
}
.hero-copy .hero-actions {
  margin: 0 auto 1rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.hero-visual {
  width: 100%;
  min-width: 0;
}
/* same frame language as modules below, slightly larger column only */
.hero-visual .browser-frame .ui-demo {
  background: #e8eef5;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1fr 1.18fr;
    gap: 2rem 2.5rem;
    text-align: left;
  }
  .hero-copy {
    text-align: left;
  }
  .lede {
    margin-left: 0;
  }
  .hero-trust {
    margin-left: 0;
  }
  .hero-copy .hero-actions {
    margin-left: 0;
    margin-right: 0;
  }
  .hero-cta {
    justify-content: flex-start;
  }
}

/* browser frame */
.hero-visual,
.flagship-visual,
.benefit-visual {
  overflow: visible;
}
.browser-frame {
  border-radius: calc(var(--radius) + 4px);
  border: var(--border-w) solid rgba(255, 255, 255, 0.1);
  background: #0f172a;
  overflow: hidden;
  box-shadow:
    0 0 0 var(--border-w) rgba(255, 255, 255, 0.04),
    0 32px 64px -32px rgba(0, 0, 0, 0.65);
}
.browser-frame.glow {
  box-shadow:
    0 0 0 var(--border-w) rgba(96, 165, 250, 0.15),
    0 0 80px -20px rgba(59, 130, 246, 0.45),
    0 32px 64px -32px rgba(0, 0, 0, 0.65);
}
.browser-bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.65rem 0.85rem;
  border-bottom: var(--border-w) solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}
.browser-bar span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.browser-bar span:first-child {
  background: #f87171;
}
.browser-bar span:nth-child(2) {
  background: #fbbf24;
}
.browser-bar span:nth-child(3) {
  background: #4ade80;
}
.browser-frame picture,
.browser-frame img,
.browser-frame video,
.browser-frame .ui-demo {
  display: block;
  width: 100%;
  height: auto;
  /* match capture export exactly (1440×920 → 1280×818) */
  aspect-ratio: 1280 / 818;
  object-fit: fill;
  background: #0f172a;
}
/* ui demo player (screenshot tours + cursor) */
.ui-demo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1280 / 818;
  background: #0f172a;
  overflow: hidden;
}
.ui-demo-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: 0;
  transition: opacity 0.4s ease;
}
.ui-demo-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.ui-demo-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: 0;
  z-index: 0;
  /* transitions driven in js (fade / wipe); old frame stays opaque then snaps off */
  transition: none;
  will-change: opacity, transform, clip-path;
  pointer-events: none;
  user-select: none;
}
.ui-demo-frame.is-active {
  opacity: 1;
  z-index: 1;
}
.ui-demo-frame.is-incoming {
  z-index: 2;
}
.ui-demo-cursor {
  --cursor-hot-x: 4px;
  --cursor-hot-y: 4px;
  --cursor-rotate: 0deg;
  --cursor-travel-scale: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 22px;
  height: 22px;
  margin: 0;
  /* hotspot offset so tip plants on the target point */
  transform: translate(calc(-1 * var(--cursor-hot-x)), calc(-1 * var(--cursor-hot-y)));
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}
/* visible only while traveling / parked before a click: hidden after click until next move */
.ui-demo.is-playing .ui-demo-cursor.is-visible {
  opacity: 1;
}
.ui-demo-cursor[data-kind='pointer-2'] {
  --cursor-hot-x: 4px;
  --cursor-hot-y: 4px;
}
/* matches .mogul-cursor-overlay__body press/release in app.css */
.ui-demo-cursor__body {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  transform: rotate(var(--cursor-rotate)) scale(var(--cursor-travel-scale));
  transform-origin: var(--cursor-hot-x) var(--cursor-hot-y);
  filter: drop-shadow(1px 1.5px 0.4px rgba(0, 0, 0, 0.1));
  transition:
    transform var(--dur-pop, 286ms) var(--ease-pop),
    filter var(--dur-pop, 286ms) var(--ease-out, ease);
}
.ui-demo-cursor__body.is-traveling {
  transition: none;
}
.ui-demo-cursor__body.is-pressed {
  transform: rotate(var(--cursor-rotate)) scale(0.94);
  filter: drop-shadow(0.5px 0.75px 0.2px rgba(0, 0, 0, 0.14));
  transition: none;
}
.ui-demo-cursor-icon {
  position: absolute;
  inset: 0;
  display: block;
  width: 22px;
  height: 22px;
  opacity: 1;
  pointer-events: none;
  overflow: visible;
}
/* matches .mogul-cursor-pulse: soft ink ring, not a solid square */
.ui-demo-click {
  position: absolute;
  left: var(--cursor-hot-x);
  top: var(--cursor-hot-y);
  width: 27.5px;
  height: 27.5px;
  margin: -13.75px 0 0 -13.75px;
  border-radius: 50%;
  background: #1a1d21;
  opacity: 0;
  transform: scale(0.3);
  pointer-events: none;
  z-index: 0;
}
.ui-demo-click.is-active {
  animation: ui-demo-click-pulse 429ms var(--ease-out, ease) forwards;
}
@keyframes ui-demo-click-pulse {
  from {
    opacity: 0.1;
    transform: scale(0.3);
  }
  to {
    opacity: 0;
    transform: scale(1);
  }
}
.ui-demo.is-static .ui-demo-cursor {
  display: none;
}
html[data-motion='reduce'] .ui-demo-cursor {
  display: none;
}
html[data-motion='reduce'] .ui-demo-frame {
  transition: none;
}

/* live hero stage (simplified mogul shell + flowy tour) */
.hero-stage .ui-demo-poster {
  z-index: 1;
  object-fit: cover;
}
.hero-stage .hs-shell {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 56px 1fr;
  background: #f1f5f9;
  color: #0f172a;
  font-family: var(--font), ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.45s ease;
  isolation: isolate;
}
.hero-stage.is-playing .hs-shell,
.hero-stage.is-static .hs-shell {
  opacity: 1;
}
.hero-stage .ui-demo-cursor {
  z-index: 8;
}
.hs-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.3rem 0.65rem;
  background: #e8eef5;
  border-right: var(--border-w) solid rgba(15, 23, 42, 0.08);
  min-height: 0;
}
.hs-switcher {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: default;
  flex-shrink: 0;
}
.hs-avatar {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: lowercase;
}
.hs-avatar.is-biz {
  text-transform: uppercase;
}
.hs-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  margin-top: 0.2rem;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  scrollbar-width: none;
}
.hs-nav::-webkit-scrollbar {
  display: none;
}
.hs-nav-sep {
  width: 1.35rem;
  height: 1px;
  margin: 0.28rem 0;
  background: rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
}
.hs-nav-btn {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 0;
  border-radius: 0.45rem;
  background: transparent;
  color: #64748b;
  cursor: default;
  flex-shrink: 0;
}
.hs-nav-btn.is-active {
  background: rgba(37, 99, 235, 0.14);
  color: #2563eb;
}
.hs-ico {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
}
.hs-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #f8fafc;
}
.hs-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2.6rem;
  padding: 0 0.85rem;
  border-bottom: var(--border-w) solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.92);
}
.hs-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hs-top-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.hs-pill {
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #eff4ff;
  color: #2563eb;
  font-size: 0.65rem;
  font-weight: 700;
}
.hs-bell {
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.62rem;
  font-weight: 700;
}
.hs-scenes {
  position: relative;
  flex: 1;
  min-height: 0;
  padding: 0.7rem 0.8rem;
}
.hs-scene {
  position: absolute;
  inset: 0.7rem 0.8rem;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
  opacity: 1;
}
.hs-scene.is-active {
  display: flex;
}
.hs-scene.is-entering {
  z-index: 2;
}
.hs-scene.is-leaving {
  z-index: 1;
}
.hs-label {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}
.hs-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  flex: 1;
  min-height: 0;
}
.hs-card {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.55rem 0.6rem;
  border-radius: 0.65rem;
  background: #fff;
  border: var(--border-w) solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}
.hs-card-letter {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.4rem;
  background: #eff4ff;
  color: #2563eb;
  font-weight: 700;
  font-size: 0.78rem;
  flex-shrink: 0;
}
.hs-card-body {
  min-width: 0;
}
.hs-card strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hs-card-body > span {
  display: block;
  margin-top: 0.1rem;
  color: #64748b;
  font-size: 0.62rem;
}
.hs-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.45rem;
  margin-top: 0.3rem;
  color: #475569;
  font-size: 0.6rem;
  font-variant-numeric: tabular-nums;
}
.hs-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}
.hs-kpis--4 {
  grid-template-columns: repeat(4, 1fr);
}
.hs-kpi {
  padding: 0.5rem 0.55rem;
  border-radius: 0.6rem;
  background: #fff;
  border: var(--border-w) solid rgba(15, 23, 42, 0.08);
}
.hs-kpi span {
  display: block;
  color: #64748b;
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.hs-kpi strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}
.hs-kpi em {
  display: block;
  margin-top: 0.08rem;
  font-style: normal;
  color: #94a3b8;
  font-size: 0.58rem;
}
.hs-kpi strong.is-good,
.hs-table .is-good {
  color: #15803d;
}
.hs-dash-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 0.4rem;
  flex: 1;
  min-height: 0;
}
.hs-panel {
  min-height: 0;
  padding: 0.55rem 0.65rem;
  border-radius: 0.6rem;
  background: #fff;
  border: var(--border-w) solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
.hs-panel--wide {
  grid-column: 1 / -1;
}
.hs-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.28rem;
  height: 4.5rem;
  margin-top: 0.45rem;
}
.hs-bars span {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 0.25rem 0.25rem 0.1rem 0.1rem;
  background: linear-gradient(180deg, #4a6fd4, #2563eb);
  opacity: 0.85;
}
.hs-feed {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.hs-feed li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
}
.hs-schedule {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}
.hs-schedule li {
  display: grid;
  gap: 0.15rem;
  padding: 0.4rem 0.45rem;
  border-radius: 0.45rem;
  background: #f8fafc;
  font-size: 0.68rem;
}
.hs-schedule time {
  font-weight: 700;
  color: #2563eb;
  font-size: 0.62rem;
  text-transform: uppercase;
}
.hs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.hs-filters {
  display: flex;
  gap: 0.25rem;
}
.hs-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 0.6rem;
  font-weight: 700;
  white-space: nowrap;
}
.hs-chip.is-active {
  background: #2563eb;
  color: #fff;
}
.hs-chip.is-ok {
  background: #dcfce7;
  color: #166534;
}
.hs-chip.is-warn {
  background: #ffedd5;
  color: #9a3412;
}
.hs-filters .hs-chip.is-ok,
.hs-filters .hs-chip.is-warn {
  background: #f1f5f9;
  color: #64748b;
}
.hs-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 0.6rem;
  overflow: hidden;
  border: var(--border-w) solid rgba(15, 23, 42, 0.08);
  flex: 1;
}
.hs-table th,
.hs-table td {
  padding: 0.38rem 0.5rem;
  text-align: left;
  border-bottom: var(--border-w) solid rgba(15, 23, 42, 0.06);
  vertical-align: middle;
  font-size: 0.68rem;
}
.hs-table th {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  background: #f8fafc;
}
.hs-table td strong {
  display: block;
  font-size: 0.7rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 9.5rem;
}
.hs-muted {
  display: block;
  color: #94a3b8;
  font-size: 0.62rem;
}
.hs-table .num,
.hs-table th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.hs-table tr:last-child td {
  border-bottom: 0;
}
.hs-menu {
  position: absolute;
  top: 2.85rem;
  left: 3.55rem;
  z-index: 6;
  width: min(15.5rem, 48%);
  padding: 0.3rem;
  border-radius: 0.7rem;
  background: #fff;
  border: var(--border-w) solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 18px 44px -18px rgba(15, 23, 42, 0.45);
}
.hs-menu-opt {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.45rem 0.5rem;
  border: 0;
  border-radius: 0.45rem;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.72rem;
  text-align: left;
  cursor: default;
}
.hs-menu-opt:hover,
.hs-menu-opt:focus-visible {
  background: #f1f5f9;
}
.hs-menu-letter {
  display: grid;
  place-items: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 0.3rem;
  background: #eff4ff;
  color: #2563eb;
  font-size: 0.65rem;
  font-weight: 700;
}
.hero-stage.is-static .ui-demo-cursor {
  display: none;
}
html[data-motion='reduce'] .hero-stage .ui-demo-cursor {
  display: none;
}

/* live module stages (portfolio, switcher, modules, inventory, pipelines, takeoff) */
.live-stage {
  background: #e8eef5 !important;
}
.live-stage .ls-shell {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 52px 1fr;
  background: #f1f5f9;
  color: #0f172a;
  font-family: var(--font), ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.live-stage.is-playing .ls-shell,
.live-stage.is-static .ls-shell {
  opacity: 1;
}
.live-stage .ui-demo-cursor {
  z-index: 8;
}
.ls-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.25rem;
  background: #e8eef5;
  border-right: var(--border-w) solid rgba(15, 23, 42, 0.08);
}
.ls-switcher {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: default;
}
.ls-avatar {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 0.4rem;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
}
.ls-avatar.is-biz {
  text-transform: uppercase;
}
.ls-nav {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-top: 0.2rem;
}
.ls-nav-btn {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  color: #64748b;
  cursor: default;
}
.ls-nav-btn.is-active {
  background: rgba(37, 99, 235, 0.14);
  color: #2563eb;
}
.ls-ico {
  display: block;
}
.ls-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #f8fafc;
}
.ls-top {
  display: flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0 0.75rem;
  border-bottom: var(--border-w) solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.92);
}
.ls-title {
  font-size: 0.9rem;
  font-weight: 700;
}
.ls-main {
  position: relative;
  flex: 1;
  min-height: 0;
  padding: 0.65rem 0.75rem;
  overflow: hidden;
}
.ls-scene {
  display: none;
  flex-direction: column;
  gap: 0.45rem;
  height: 100%;
}
.ls-scene.is-active {
  display: flex;
}
.ls-label {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}
.ls-muted {
  margin: 0.35rem 0 0;
  color: #64748b;
  font-size: 0.72rem;
}
.ls-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}
.ls-kpi {
  padding: 0.45rem 0.5rem;
  border-radius: 0.55rem;
  background: #fff;
  border: var(--border-w) solid rgba(15, 23, 42, 0.08);
}
.ls-kpi span {
  display: block;
  color: #64748b;
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
}
.ls-kpi strong {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.95rem;
}
.ls-kpi strong.is-good,
.ls-table .is-good {
  color: #15803d;
}
.ls-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  flex: 1;
}
.ls-card,
.ls-menu-opt {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}
.ls-card {
  padding: 0.5rem 0.55rem;
  border-radius: 0.55rem;
  background: #fff;
  border: var(--border-w) solid rgba(15, 23, 42, 0.08);
}
.ls-card-letter {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.35rem;
  background: #eff4ff;
  color: #2563eb;
  font-weight: 700;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.ls-card strong {
  display: block;
  font-size: 0.7rem;
}
.ls-card span {
  display: block;
  color: #64748b;
  font-size: 0.6rem;
}
.ls-panel {
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  background: #fff;
  border: var(--border-w) solid rgba(15, 23, 42, 0.08);
}
.ls-feed {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}
.ls-feed li {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.7rem;
}
.ls-chip {
  display: inline-flex;
  padding: 0.08rem 0.38rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 0.58rem;
  font-weight: 700;
}
.ls-chip.is-active {
  background: #2563eb;
  color: #fff;
}
.ls-chip.is-ok {
  background: #dcfce7;
  color: #166534;
}
.ls-chip.is-warn {
  background: #ffedd5;
  color: #9a3412;
}
.ls-menu {
  position: absolute;
  top: 2.7rem;
  left: 3.3rem;
  z-index: 6;
  width: min(14.5rem, 50%);
  padding: 0.3rem;
  border-radius: 0.65rem;
  background: #fff;
  border: var(--border-w) solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 16px 40px -18px rgba(15, 23, 42, 0.45);
}
.ls-menu-opt {
  width: 100%;
  padding: 0.42rem 0.5rem;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  font: inherit;
  font-size: 0.7rem;
  text-align: left;
  cursor: default;
  color: inherit;
}
.ls-menu-opt:hover {
  background: #f1f5f9;
}
.ls-mods {
  list-style: none;
  margin: 0.4rem 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.ls-mods li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.6rem;
  border-radius: 0.55rem;
  background: #fff;
  border: var(--border-w) solid rgba(15, 23, 42, 0.08);
}
.ls-mods strong {
  display: block;
  font-size: 0.72rem;
}
.ls-mods span {
  color: #64748b;
  font-size: 0.62rem;
}
.ls-toggle {
  width: 2.4rem;
  height: 1.3rem;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  position: relative;
  cursor: default;
  flex-shrink: 0;
}
.ls-toggle i {
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s var(--motion-ease-out);
}
.ls-toggle.is-on {
  background: #2563eb;
}
.ls-toggle.is-on i {
  transform: translateX(1.05rem);
}
.ls-spend {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ls-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}
.ls-filters {
  display: flex;
  gap: 0.25rem;
}
.ls-btn {
  border: 0;
  border-radius: 0.4rem;
  padding: 0.3rem 0.55rem;
  background: #2563eb;
  color: #fff;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  cursor: default;
}
.ls-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 0.55rem;
  overflow: hidden;
  border: var(--border-w) solid rgba(15, 23, 42, 0.08);
}
.ls-table th,
.ls-table td {
  padding: 0.35rem 0.45rem;
  text-align: left;
  border-bottom: var(--border-w) solid rgba(15, 23, 42, 0.06);
  font-size: 0.68rem;
}
.ls-table th {
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  background: #f8fafc;
}
.ls-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.ls-table .is-warn {
  color: #c2410c;
  font-weight: 700;
}
.ls-table tr.is-selected td {
  background: rgba(37, 99, 235, 0.08);
}
.ls-toast {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  padding: 0.4rem 0.7rem;
  border-radius: 0.5rem;
  background: #0f172a;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
  z-index: 5;
}
.ls-pipe-toolbar {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}
.ls-pipe-toolbar .ls-btn {
  margin-left: auto;
}
.ls-pipe-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  gap: 0.5rem;
}
.ls-graph {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem;
  border-radius: 0.55rem;
  background:
    radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.12) 1px, transparent 0) 0 0 / 14px 14px,
    #fff;
  border: var(--border-w) solid rgba(15, 23, 42, 0.08);
  transition: opacity 0.3s ease;
}
.ls-graph.is-dim {
  opacity: 0.45;
}
.ls-node {
  width: 7.2rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.5rem;
  background: #fff;
  border: var(--border-w) solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 4px 12px -8px rgba(15, 23, 42, 0.4);
}
.ls-node.is-active {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18);
}
.ls-node span {
  display: block;
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
}
.ls-node strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
}
.ls-edge {
  width: 1.1rem;
  height: 2px;
  background: #94a3b8;
  flex-shrink: 0;
}
.ls-dry {
  width: 9.5rem;
  padding: 0.55rem;
  border-radius: 0.55rem;
  background: #fff;
  border: var(--border-w) solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 12px 28px -16px rgba(15, 23, 42, 0.45);
}
.ls-dry-steps {
  margin: 0.4rem 0 0;
  padding: 0 0 0 1rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.68rem;
}
.ls-dry-steps li.is-done {
  color: #15803d;
}
.ls-dry-steps li.is-run {
  color: #2563eb;
  font-weight: 600;
}
.ls-takeoff {
  display: grid;
  grid-template-columns: 1fr 8.5rem;
  gap: 0.45rem;
  height: 100%;
  min-height: 0;
}
.ls-plan {
  position: relative;
  border-radius: 0.55rem;
  overflow: hidden;
  background: #dbe4f0;
  border: var(--border-w) solid rgba(15, 23, 42, 0.1);
}
.ls-plan-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px) 0 0 / 20px 20px,
    #e8eef8;
}
.ls-annos {
  position: absolute;
  inset: 8%;
  width: 84%;
  height: 84%;
}
.ls-anno {
  fill: none;
  stroke: #2563eb;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  transition: stroke-dashoffset 0.9s var(--motion-ease-out);
}
.ls-anno.is-drawn {
  stroke-dashoffset: 0;
}
.ls-anno-b {
  stroke: #0d9488;
}
.ls-anno-dot {
  fill: #2563eb;
}
.ls-anno-label {
  fill: #1e3a8a;
  font-size: 11px;
  font-weight: 700;
}
.ls-cursor-tool {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  padding: 0.2rem 0.4rem;
  border-radius: 0.35rem;
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
}
.ls-materials {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.5rem;
  border-radius: 0.55rem;
  background: #fff;
  border: var(--border-w) solid rgba(15, 23, 42, 0.08);
  transform: translateX(8px);
  opacity: 0.92;
  transition:
    transform 0.35s var(--motion-ease-out),
    box-shadow 0.35s ease;
}
.ls-materials.is-open {
  transform: translateX(0);
  box-shadow: 0 10px 28px -16px rgba(15, 23, 42, 0.4);
}
.ls-materials ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
  flex: 1;
}
.ls-materials li {
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
  font-size: 0.68rem;
  padding: 0.3rem 0.35rem;
  border-radius: 0.35rem;
  background: #f8fafc;
}
.live-stage.is-static .ui-demo-cursor,
html[data-motion='reduce'] .live-stage .ui-demo-cursor {
  display: none;
}

/* dispatch live-call demo (screenshot + typed agent overlay) */
.dispatch-demo__boards {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.dispatch-demo__board {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.dispatch-demo__board.is-active {
  opacity: 1;
  z-index: 1;
}
.dispatch-demo__shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  /* soft right fade only so board state changes stay obvious */
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 68%,
    rgba(15, 23, 42, 0.08) 84%,
    rgba(15, 23, 42, 0.28) 100%
  );
}
.dispatch-demo__call-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: #94a3b8;
}
.dispatch-demo__call-dot[data-phase='ring'] {
  background: #ef4444;
  animation: dispatch-ring 0.9s ease infinite;
}
.dispatch-demo__call-dot[data-phase='live'] {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}
@keyframes dispatch-ring {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.55;
  }
}
.dispatch-demo__call-copy {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
  flex: 1;
}
.dispatch-demo__call-label {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dispatch-demo__call-sub {
  color: #64748b;
  font-size: 0.68rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dispatch-demo__call-timer {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 0.75rem;
  color: #334155;
  flex-shrink: 0;
}
.dispatch-demo__panel {
  position: absolute;
  top: 3%;
  right: 1.5%;
  bottom: 4%;
  width: min(26%, 14.25rem);
  z-index: 7;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: var(--border-w) solid rgba(15, 23, 42, 0.1);
  background: rgba(248, 250, 252, 0.96);
  color: #0f172a;
  box-shadow: 0 18px 40px -22px rgba(15, 23, 42, 0.65);
  opacity: 0;
  transform: translateX(12px);
  transition:
    opacity 0.35s var(--motion-ease-out),
    transform 0.35s var(--motion-ease-out);
  overflow: hidden;
}
.dispatch-demo__panel.is-open {
  opacity: 1;
  transform: translateX(0);
}
.dispatch-demo__panel-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.8rem;
  border-bottom: var(--border-w) solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.78);
}
.dispatch-demo__feed {
  flex: 1;
  overflow: auto;
  padding: 0.65rem 0.7rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  pointer-events: none;
  /* js eases scroll; keep native behavior off so it does not fight the tween */
  scroll-behavior: auto;
  /* auto-scroll only: never show an interactive scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.dispatch-demo__feed::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.dispatch-demo__bubble {
  display: grid;
  gap: 0.2rem;
  font-size: 0.78rem;
  line-height: 1.4;
}
.dispatch-demo__who {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
}
.dispatch-demo__bubble p {
  margin: 0;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  white-space: pre-wrap;
}
.dispatch-demo__bubble.is-caller p {
  background: #3b82f6;
  color: #fff;
}
.dispatch-demo__bubble.is-agent p {
  background: #fff;
  border: var(--border-w) solid rgba(15, 23, 42, 0.1);
  color: #0f172a;
}
.dispatch-demo__bubble p.is-typing::after {
  content: '';
  display: inline-block;
  width: 0.35rem;
  height: 0.85em;
  margin-left: 0.12rem;
  vertical-align: text-bottom;
  background: currentColor;
  opacity: 0.55;
  animation: dispatch-caret 0.9s step-end infinite;
}
@keyframes dispatch-caret {
  50% {
    opacity: 0;
  }
}
.dispatch-demo__tool {
  border: var(--border-w) solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
  background: #fff;
  font-size: 0.74rem;
  line-height: 1.35;
}
.dispatch-demo__tool.is-running {
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.06);
}
.dispatch-demo__tool.is-done {
  opacity: 0.92;
}
.dispatch-demo__tool-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.dispatch-demo__tool-status {
  color: #64748b;
  font-weight: 600;
  text-transform: capitalize;
}
.dispatch-demo__tool.is-running .dispatch-demo__tool-status {
  color: #2563eb;
}
.dispatch-demo__tool.is-done .dispatch-demo__tool-status {
  color: #15803d;
}
.dispatch-demo__tool-detail,
.dispatch-demo__tool-result {
  margin: 0;
  color: #334155;
}
.dispatch-demo__tool-result {
  margin-top: 0.25rem;
  font-weight: 600;
  color: #0f172a;
}
.dispatch-demo.is-static .dispatch-demo__panel {
  opacity: 1;
  transform: none;
  transition: none;
}
html[data-motion='reduce'] .dispatch-demo__call-dot {
  animation: none;
}

/* platform powerhouse (post-hero) */
.powerhouse {
  padding: var(--section-gap) 0 0;
}
.powerhouse > h2 {
  margin: 0 0 0.85rem;
  text-align: center;
  font-family: var(--font-hero);
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  letter-spacing: -0.02em;
  font-weight: 400;
  line-height: 1.15;
  max-width: 22ch;
  margin-inline: auto;
}
.powerhouse .section-lede {
  margin-bottom: 2rem;
}
.powerhouse-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.powerhouse-grid li {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  border: var(--border-w) solid var(--border);
  background: var(--surface);
}
.powerhouse-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.powerhouse-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
@media (min-width: 640px) {
  .powerhouse-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}
@media (min-width: 960px) {
  .powerhouse-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* pain section */
.pain {
  padding: clamp(2rem, 5vw, 2.75rem) 1.5rem;
  text-align: center;
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.1),
    rgba(167, 139, 250, 0.1)
  );
  border-block: var(--border-w) solid rgba(255, 255, 255, 0.06);
}
.pain-inner {
  max-width: 40rem;
  margin: 0 auto;
}
.pain p {
  margin: 0;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--muted);
  line-height: 1.55;
}

/* benefits */
.benefits {
  padding: var(--section-gap) 0 2rem;
}
.benefits > h2 {
  margin: 0 0 2.5rem;
  text-align: center;
  font-family: var(--font-hero);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  letter-spacing: -0.02em;
  font-weight: 400;
}
.benefit-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.benefit-row.reverse .benefit-copy {
  order: 1;
}
.benefit-row.reverse .benefit-visual {
  order: 2;
}
.benefit-copy h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  letter-spacing: -0.02em;
}
.benefit-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 32rem;
}
.benefit-copy .eyebrow {
  text-align: left;
  margin-bottom: 0.5rem;
}
@media (min-width: 860px) {
  .benefit-row {
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
  }
  .benefit-row.reverse .benefit-copy {
    order: 2;
  }
  .benefit-row.reverse .benefit-visual {
    order: 1;
  }
}
.depth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}
.depth-grid article {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: var(--border-w) solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(8px);
}
.depth-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
}
.depth-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* modules */
.modules-section {
  padding: var(--section-gap) 0 2rem;
}
.modules-section > h2 {
  margin: 0 0 0.75rem;
  text-align: center;
  font-family: var(--font-hero);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  letter-spacing: -0.02em;
  font-weight: 400;
}

/* flagship module spotlights (open rows, no card wrapper) */
.flagship-spotlight {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.flagship-spotlight.reverse .flagship-copy {
  order: 1;
}
.flagship-spotlight.reverse .flagship-visual {
  order: 2;
}
.flagship-badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-family: var(--font-hero);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.flagship-engine {
  display: block;
  margin-top: 0.85rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}
.flagship-engine-mark {
  display: inline-block;
  width: min(168px, 58%);
  height: auto;
  vertical-align: -0.12em;
  margin: 0 0.15rem;
}
.flagship-copy h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.flagship-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 34rem;
  line-height: 1.6;
}
.flagship-copy .module-chips {
  margin: 1.15rem 0 0;
}
.flagship-visual {
  width: 100%;
}
@media (min-width: 860px) {
  .flagship-spotlight {
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
  }
  .flagship-spotlight.reverse .flagship-copy {
    order: 2;
  }
  .flagship-spotlight.reverse .flagship-visual {
    order: 1;
  }
}

.module-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 1.3rem 1.3rem;
  padding: 0;
}
.module-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: var(--border-w) solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.74rem;
  color: var(--text);
}
/* how it works */
.how {
  padding: var(--section-gap) 0;
}
.how > h2 {
  margin: 0 0 2rem;
  text-align: center;
  font-family: var(--font-hero);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  font-weight: 400;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.steps li {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: var(--border-w) solid var(--border);
  background: var(--surface);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* pricing */
.pricing {
  padding: var(--section-gap) 0;
}
.pricing > h2 {
  margin: 0 0 0.75rem;
  text-align: center;
  font-family: var(--font-hero);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  font-weight: 400;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.pricing-plan {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  border: var(--border-w) solid var(--border);
  background: var(--surface);
}
.pricing-plan.featured {
  border-color: var(--accent-border);
  background: linear-gradient(180deg, var(--accent-muted), var(--surface) 55%);
  box-shadow: 0 18px 36px -28px var(--accent-glow);
}
.pricing-plan-name {
  margin: 0 0 0.5rem;
  font-family: var(--font-hero);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.pricing-plan:not(.featured) .pricing-plan-name {
  color: var(--muted);
}
.pricing-plan-price {
  margin: 0 0 0.35rem;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}
.pricing-plan-price .amount {
  font-size: clamp(1.85rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.pricing-plan-price .per {
  color: var(--muted);
  font-size: 0.95rem;
}
.pricing-plan-meta {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.pricing-plan-features {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.pricing-plan-features li {
  color: var(--text);
  font-size: 0.9rem;
  padding-left: 1.1rem;
  position: relative;
}
.pricing-plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}
.pricing-plan .btn {
  align-self: flex-start;
}
.pricing-addons {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: var(--border-w) solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.pricing-addons h3 {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.pricing-addons ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.pricing-addons li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.pricing-addons li strong {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.pricing-addons li span {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.pricing-addon-note {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.35;
}

/* faq */
.faq {
  padding: var(--section-gap) 0;
}
.faq > h2 {
  margin: 0 0 1.5rem;
  text-align: center;
  font-family: var(--font-hero);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  font-weight: 400;
}
.faq-list {
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.faq-list details {
  border-radius: var(--radius);
  border: var(--border-w) solid var(--border);
  background: var(--surface);
  overflow: hidden;
}
.faq-list summary {
  padding: 1rem 1.15rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: '+';
  float: right;
  color: var(--muted);
  font-weight: 400;
  transition: transform 0.32s var(--motion-ease-out);
}
.faq-list details.is-open summary::after,
.faq-list details[open] summary::after {
  content: '−';
}
.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.36s var(--motion-ease-out);
}
.faq-list details.is-open .faq-body {
  grid-template-rows: 1fr;
}
.faq-body-inner {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transform: scale(1.04);
  transform-origin: top center;
  transition:
    opacity 0.36s var(--motion-ease-out),
    transform 0.36s var(--motion-ease-out);
}
.faq-list details.is-open .faq-body-inner {
  opacity: 1;
  transform: scale(1);
}
.faq-list details p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
html[data-motion='reduce'] .faq-body,
html[data-motion='reduce'] .faq-body-inner,
html[data-motion='reduce'] .faq-list summary::after {
  transition: none;
}

/* cta / waitlist */
.cta {
  padding: var(--section-gap) 0 2rem;
  text-align: center;
}
.cta h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-hero);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  letter-spacing: -0.02em;
  font-weight: 400;
}
.cta-sub {
  max-width: 34rem;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.02rem;
}
.hero-actions {
  position: relative;
  max-width: 28rem;
  margin: 0 auto;
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.turnstile-slot {
  display: none;
  justify-content: center;
  width: 100%;
  min-height: 65px;
}
.turnstile-slot.is-visible {
  display: flex;
}
.waitlist-fields {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
}
.waitlist-fields input[type='email'] {
  flex: 1;
  width: auto;
}
.waitlist-fields button {
  width: auto;
  flex-shrink: 0;
}
.waitlist button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.waitlist {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 0.65rem;
  padding: 0.75rem;
  border-radius: calc(var(--radius) + 4px);
  border: var(--border-w) solid var(--border);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 var(--border-w) rgba(255, 255, 255, 0.02), 0 24px 48px -24px var(--accent-glow);
}
.waitlist input[type='email'] {
  width: 100%;
  min-width: 0;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}
.waitlist input[type='email']::placeholder {
  color: #64748b;
}
.waitlist input[type='email']:focus {
  outline: none;
}
.waitlist button {
  width: 100%;
  padding: 0.85rem 1.35rem;
  border: none;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.waitlist button:hover {
  background: var(--accent-hover);
}
.waitlist button:active {
  transform: scale(0.98);
}
.form-note {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.form-note:empty {
  display: none;
}
.form-note.success {
  color: var(--success);
}

/* footer */
.site-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
  border-top: var(--border-w) solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-brand .wordmark {
  font-size: calc(1.35rem * 1.35);
}
.footer-brand .wordmark,
.footer-brand .wordmark-tld {
  background-size: 100% 100%;
  background-position: 0% 50%;
  animation: none;
}
.footer-brand .wordmark-tld {
  font-size: 0.72rem;
}
.footer-tagline {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.footer-nav a:hover,
.footer-nav a.is-active {
  color: var(--text);
}
.footer-meta a {
  color: #4a6fd4;
}
.footer-meta a:hover {
  text-decoration: underline;
}
.footer-meta p {
  margin: 0.35rem 0 0;
}
@media (min-width: 720px) {
  .site-footer {
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: start;
  }
}

/* scroll reveal (rise + stagger, dashboard-style) */
.reveal {
  opacity: 0;
  transform: translateY(var(--motion-rise-distance)) scale(0.985);
  filter: blur(2px);
  transition:
    opacity var(--motion-rise-duration) var(--motion-ease-out),
    transform var(--motion-rise-duration) var(--motion-ease-out),
    filter var(--motion-rise-duration) var(--motion-ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* brief glow when navigating to a section via hash link (skip large module section) */
section[id]:not(.modules-section).scroll-target-active::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: calc(var(--radius) + 6px);
  pointer-events: none;
  animation: section-target-glow 1.15s var(--motion-ease-out) forwards;
}
@keyframes section-target-glow {
  0% {
    box-shadow:
      inset 0 0 0 0 rgba(96, 165, 250, 0),
      0 0 0 0 rgba(59, 130, 246, 0);
    opacity: 0;
  }
  18% {
    box-shadow:
      inset 0 0 0 2px rgba(96, 165, 250, 0.55),
      0 0 72px -10px rgba(59, 130, 246, 0.55);
    opacity: 1;
  }
  100% {
    box-shadow:
      inset 0 0 0 0 rgba(96, 165, 250, 0),
      0 0 0 0 rgba(59, 130, 246, 0);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.motion-force .site-header .brand {
    animation: brand-wordmark-fade-in var(--wordmark-enter-duration) var(--motion-ease-out) forwards;
    animation-duration: var(--wordmark-enter-duration) !important;
  }
  html.motion-force .hero h1 .wordmark {
    animation: wordmark-shine var(--wordmark-shine-duration) ease-in-out infinite !important;
    animation-delay: calc(var(--reveal-delay, 0ms) + var(--wordmark-anim-delay)) !important;
  }
  html:not([data-motion='full']) .site-header .brand {
    opacity: 1;
    animation: none;
  }
  html:not([data-motion='full']) .site-header .brand .wordmark,
  html:not([data-motion='full']) .site-header .brand .wordmark-tld,
  html:not([data-motion='full']) .footer-brand .wordmark,
  html:not([data-motion='full']) .footer-brand .wordmark-tld,
  html:not([data-motion='full']) .hero h1 .wordmark {
    opacity: 1;
    animation: none;
    background-size: 100% 100%;
    background-position: 0% 50%;
  }
  html:not([data-motion='full']) .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
    will-change: auto;
  }
  html:not([data-motion='full']) .browser-frame,
  html:not([data-motion='full']) .browser-frame:hover {
    transform: none;
    transition: none;
  }
  html:not([data-motion='full']) {
    scroll-behavior: auto;
  }
  html:not([data-motion='full']) section[id]:not(.modules-section).scroll-target-active::after {
    animation: none;
    display: none;
  }
  html:not([data-motion='full']) .top-nav a.is-active::after {
    display: none;
  }
}

html[data-motion='reduce'] .browser-frame,
html[data-motion='reduce'] .browser-frame:hover {
  transform: none;
  transition: none;
}

/* responsive */
@media (max-width: 860px) {
  .top-nav {
    display: none;
  }
  .header-actions .btn-sm {
    display: none;
  }
}

@media (max-width: 640px) {
  .waitlist {
    padding: 0.5rem;
  }
  .waitlist-fields {
    flex-direction: column;
  }
  .waitlist-fields button {
    width: 100%;
  }
}


/* draft.build real logo (svg wordmark) */
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.brand .brand-wordmark {
  display: block;
  height: 1.55rem;
  width: auto;
}
html[data-motion='full'] .site-header .brand {
  opacity: 0;
  animation: brand-wordmark-fade-in var(--wordmark-enter-duration) var(--motion-ease-out) forwards;
}
.hero-brand {
  margin: 0 0 1.1rem;
}
.hero-wordmark {
  display: block;
  width: min(100%, 22rem);
  height: auto;
}
.footer-brand .footer-wordmark {
  display: block;
  height: 1.35rem;
  width: auto;
  margin-bottom: 0.55rem;
}
/* kill biysk text-lockup styles when using the svg mark */
.brand .wordmark,
.brand .wordmark-tld,
.footer-brand .wordmark,
.footer-brand .wordmark-tld {
  display: none;
}

.hero-copy h1 {
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  max-width: 18ch;
  font-weight: 600;
}
.hero-wordmark {
  width: min(100%, 26rem);
  filter: drop-shadow(0 10px 28px rgba(36, 63, 143, 0.35));
}
.site-header .brand:focus-visible {
  outline: 2px solid rgba(189, 197, 221, 0.55);
  outline-offset: 4px;
  border-radius: 6px;
}

