/* Home page polish: larger brand mark, compact footer and accessible carousels. */
.viewer-mobile-module-title { display: none; }
.site-header {
  padding-block: 1.1rem 1.35rem;
}

.brand-centered {
  display: inline-flex;
  width: min(600px, 72vw);
  height: 140px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand-logo-stage,
.brand-logo-img,
.brand-logo-animation {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-logo-stage { position: relative; display: block; overflow: hidden; }
.brand-logo-img { position: relative; z-index: 1; max-width: none; transition: opacity .2s ease, filter .3s ease; }
.brand-logo-stage.is-animating .brand-logo-img { opacity: 0; }
.brand-logo-animation {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* The animation has a transparent canvas; a shadow on the video itself makes
     that canvas visible as a coloured rectangle. Keep the colour correction only. */
  filter: invert(1) hue-rotate(180deg);
  transition: opacity .35s ease;
  opacity: 0;
  pointer-events: none;
  transform: scale(4.3);
  transform-origin: center;
}
.brand-logo-stage.is-animating .brand-logo-animation { opacity: 1; }
.brand-logo-stage.is-logo-finished .brand-logo-animation { opacity: 1; }
.brand-logo-stage.is-logo-finished .brand-logo-img { opacity: 0; }
.brand-logo-animation.is-finished { opacity: 0; }

/* The animated mark stays the home link; once its intro completes a small,
   deliberately separate control reveals the focused page menu. */
.brand-menu-wrap { position:relative; display:flex; flex-direction:column; align-items:center; }.brand-page-menu-toggle { display:flex; align-items:center; gap:.35rem; margin-top:-.8rem; padding:.28rem .62rem; border:1px solid rgba(167,139,250,.32); border-radius:999px; color:#c4b5fd; background:rgba(15,13,25,.68); font:800 .62rem 'DM Sans',sans-serif; letter-spacing:.08em; text-transform:uppercase; cursor:pointer; opacity:0; transform:translateY(-5px); pointer-events:none; transition:opacity .3s ease,transform .3s ease,background .2s ease; }.brand-page-menu-toggle b { font-size:1rem; line-height:.65; transition:transform .25s ease; }.brand-menu-wrap.is-menu-ready .brand-page-menu-toggle { opacity:1; transform:none; pointer-events:auto; }.brand-page-menu-toggle:disabled { cursor:default; }.brand-page-menu-toggle:hover { background:rgba(124,58,237,.22); }.brand-menu-wrap.is-menu-open .brand-page-menu-toggle b { transform:rotate(180deg); }.brand-page-menu { position:absolute; z-index:80; top:calc(100% + .38rem); width:min(340px,calc(100vw - 2rem)); padding:.42rem; border:1px solid rgba(196,181,253,.35); border-radius:15px; background:rgba(20,18,30,.96); box-shadow:0 22px 55px rgba(0,0,0,.4); opacity:0; visibility:hidden; transform:translateY(-8px) scale(.98); transform-origin:top center; transition:opacity .22s ease,visibility .22s step-end,transform .28s cubic-bezier(.2,.8,.2,1); backdrop-filter:blur(18px); }.brand-menu-wrap.is-menu-open .brand-page-menu { opacity:1; visibility:visible; transform:none; transition:opacity .22s ease,transform .28s cubic-bezier(.2,.8,.2,1); }.brand-page-menu a { display:flex; flex-direction:column; gap:.08rem; padding:.62rem .75rem; border-radius:10px; color:#fff; text-align:left; text-decoration:none; transition:background .18s ease,transform .18s ease; }.brand-page-menu a:hover,.brand-page-menu a:focus-visible { outline:0; background:rgba(124,58,237,.2); transform:translateX(3px); }.brand-page-menu a span { font-size:.78rem; font-weight:800; }.brand-page-menu a small { color:#aaa5b7; font-size:.66rem; }
.brand-centered { border:0; padding:0; color:inherit; background:transparent; cursor:pointer; }
.brand-menu-hint { margin-top:-.45rem; color:#cbb9f8; font:700 .66rem/1.2 'DM Sans',sans-serif; letter-spacing:.08em; text-align:center; text-transform:uppercase; opacity:.9; transition:opacity .35s ease,visibility .35s step-end; }
.brand-menu-hint.is-hidden { opacity:0; visibility:hidden; pointer-events:none; }

/* Keep each carousel usable without displaying an ugly native scrollbar. */
.home-carousel {
  display: flex !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.home-carousel::-webkit-scrollbar { display: none; }
.home-carousel:focus-visible { outline: 2px solid #b57bff; outline-offset: 5px; }
.home-carousel > * { scroll-snap-align: start; scroll-snap-stop: always; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  margin: 1rem 0 .45rem;
}
.carousel-controls .swipe-hint-pill { max-width: min(100%, 420px); }

/* 01: a concise horizontal foundation overview. */
.foundation-carousel { gap: 1.25rem; padding: .35rem .2rem 1rem; }
.foundation-carousel .stat-card {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  min-width: 0;
}

/* Every logo occupies the same visual frame even when the supplied artwork has
   a different aspect ratio or transparent padding. */
.marquee-track { gap: 2.2rem; }
.marquee-track img {
  width: 172px;
  height: 58px;
  object-fit: contain;
  object-position: center;
  flex: 0 0 172px;
}

/* 03: three platform modules are visible per desktop page. */
.feature-grid-expanded.home-carousel {
  grid-template-columns: none !important;
  gap: 1.4rem;
  padding: .3rem .2rem 1rem;
}
.feature-grid-expanded.home-carousel .feature-card-deep {
  flex: 0 0 calc((100% - 2.8rem) / 3);
  min-width: 0;
}
.platform-modules-carousel .feature-card-deep { flex-basis: calc((100% - 5.6rem) / 5); }
.platform-modules-carousel { counter-reset: module-card; }
.platform-modules-carousel .feature-card-deep { counter-increment: module-card; position:relative; }
.platform-modules-carousel .feature-card-deep::after { content: counter(module-card, decimal-leading-zero); position:absolute; top:.7rem; right:.75rem; color:rgba(196,181,253,.62); font-size:.62rem; font-weight:800; letter-spacing:.08em; }

/* 07: show each side of a comparison as a readable slide. */
.comparison-grid.home-carousel {
  grid-template-columns: none !important;
  gap: 1.25rem;
  padding: .3rem .2rem 1rem;
}
.comparison-grid.home-carousel .comparison-card { flex: 0 0 calc((100% - 1.25rem) / 2); min-width: 0; }

/* 06 and 08 inherit their existing cards but use the same hidden-scrollbar treatment. */
.embedded-gallery-grid.home-carousel,
.pricing-grid.home-carousel { scrollbar-width: none; -ms-overflow-style: none; }
.embedded-gallery-grid.home-carousel::-webkit-scrollbar,
.pricing-grid.home-carousel::-webkit-scrollbar { display: none; }
.pricing-grid.home-carousel { max-width: none; }

/* The architecture panel has a little more breathing room from its edge. */
#panel-explorer .collapsible-content-inner { padding-inline: clamp(1rem, 2.3vw, 2.15rem); }
#panel-explorer .tab-pane.active { gap: clamp(1.25rem, 2.5vw, 2rem); }
#panel-explorer .tab-content { padding-inline: .25rem; }

/* Remove the empty footer lane by keeping all footer content in one compact grid. */
.dd-footer-inner { padding-block: 2.4rem 1.45rem; }
.dd-footer-top { margin-bottom: 1.6rem; }
.dd-footer-middle { margin: 0; padding: 0; }
@media (min-width: 768px) {
  .dd-footer-top {
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) minmax(0, 2.5fr) minmax(250px, .9fr);
    align-items: start;
    gap: clamp(1.5rem, 4vw, 4rem);
  }
  .dd-footer-brand-col { width: auto; }
  .dd-footer-nav-cols { min-width: 0; gap: 1.5rem; }
  .dd-footer-widgets { width: 100%; }
}

@media (max-width: 768px) {
  .site-header { padding-block: .55rem .75rem; }
  .brand-centered { width: min(355px, 82vw); height: 68px; }
  .brand-page-menu-toggle { margin-top:-.25rem; }.brand-page-menu { top:calc(100% + .3rem); }
  .foundation-carousel .stat-card,
  .feature-grid-expanded.home-carousel .feature-card-deep,
  .comparison-grid.home-carousel .comparison-card,
  .embedded-gallery-grid.home-carousel .gallery-card-embedded,
  .pricing-grid.home-carousel .pricing-card { flex-basis: min(86%, 330px); }
  .brand-menu-hint { margin-top:-.1rem; font-size:.52rem; }
  .carousel-controls { margin-top: .75rem; }
  .carousel-controls .swipe-hint-pill { font-size: .71rem; }
  .dd-footer-middle { margin: 0 0 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-carousel { scroll-behavior: auto; }
}

/* Compact platform directory: three section cards remain visible until one is chosen. */
.section-browser {
  position: relative;
  margin-top: 1.1rem;
}
.section-browser .section-wheel-track {
  height: min(76vh, 720px);
  max-height: min(76vh, 720px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: auto;
  scroll-snap-type: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: .2rem .45rem 1rem;
  mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 94%, transparent);
}
/* The rail intentionally owns its whole surface so wheel and trackpad input
   never leaks through to the long homepage behind it. */
.section-browser:not(.is-focused) .section-wheel-track { pointer-events: auto; }
.section-browser .section-wheel-track::-webkit-scrollbar { display: none; }
.section-browser .collapsible-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  margin-inline: auto;
}
.section-browser .collapsible-header { min-height: 72px; }

@media (min-width: 721px) {
  /* Leave genuine page-scroll gutters either side of the map. */
  .section-browser { margin-inline: clamp(3rem, 9vw, 13rem); }
}

@media (max-width: 720px) {
  /* The controls browse the map; a swipe remains normal page scrolling. */
  .section-browser .section-wheel-track { touch-action: pan-y; overscroll-behavior: auto; }
}
/* Additional operational copy should not make the compact map cards uneven.
   The complete description is visible once the visitor enters a section. */
.section-browser:not(.is-focused) .collapsible-desc {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.section-browser:not(.is-focused) .collapsible-section { position:relative; }
.section-browser:not(.is-focused) .collapsible-section::after { content:attr(data-section-number); position:absolute; z-index:2; top:.65rem; right:4.35rem; color:rgba(196,181,253,.58); font-size:.62rem; font-weight:800; letter-spacing:.1em; pointer-events:none; }

.demo-availability-banner { display:grid; gap:.2rem; max-width:920px; margin:0 auto 1rem; padding:.72rem 1rem; border:1px solid rgba(167,139,250,.35); border-radius:12px; color:#eee8ff; background:linear-gradient(100deg,rgba(124,58,237,.22),rgba(23,20,36,.86)); box-shadow:0 10px 28px rgba(0,0,0,.18); text-align:center; }
.demo-availability-banner strong { font-size:.82rem; }.demo-availability-banner span { color:#c5bdd5; font-size:.72rem; }
.section-browser-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 1rem, 1180px);
  margin: 0 auto .65rem;
  padding: 0 .35rem;
  color: var(--muted-foreground);
  font-size: .78rem;
}
.section-browser-wheel-actions { display: inline-flex; align-items: center; gap: .4rem; }
.section-wheel-arrow {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(196, 160, 255, .35);
  border-radius: 50%;
  background: rgba(28, 20, 44, .78);
  color: #e8dcff;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.section-wheel-arrow:hover { transform: translateY(-1px); background: rgba(124, 58, 237, .38); border-color: #b990ff; }
.section-browser-toolbar strong {
  color: #e9ddff;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.section-browser-toolbar span { display: inline-flex; align-items: center; gap: .45rem; }
.section-browser-toolbar span::before { content: '↕'; color: #a78bfa; font-size: 1rem; }
.section-browser-exit {
  display: none;
  position: sticky;
  top: .8rem;
  z-index: 5;
  margin: .6rem clamp(1rem, 5vw, 3rem) .8rem auto;
  padding: .55rem .9rem;
  border: 1px solid rgba(196, 160, 255, .4);
  border-radius: 999px;
  background: rgba(20, 16, 34, .94);
  color: #f1eaff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .32);
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
}
.section-browser.is-focused .section-browser-toolbar { display: none; }
.section-browser.is-focused .section-browser-exit { display: block; }
.section-browser.is-focused .section-wheel-track {
  height: auto;
  max-height: none;
  overflow: visible;
  padding: 0 .45rem 1rem;
  mask-image: none;
  pointer-events: auto;
}
.section-browser.is-focused { min-height: 0; }
.section-browser.is-focused .collapsible-section { display: none; }
.section-browser.is-focused .collapsible-section.is-menu-active {
  display: block;
  min-height: 100%;
  animation: sectionReveal .42s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes sectionReveal {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.section-browser.is-focused .collapsible-section.is-menu-active .collapsible-header { cursor: pointer; }
.section-browser.is-focused .collapsible-section.is-menu-active .collapsible-toggle-text::after { content: ' — select to close'; color: #aa8ee5; font-weight: 500; }
.section-browser-active .sections-controls { display: none; }

/* Two small companion surfaces occupy the hero's otherwise empty space. They
   are visual product cues only — neither works as a control. */
.hero-visual { overflow: visible; }
.hero-shot-stack { position: relative; z-index: 3; }
.hero-shot-stack .shot-primary { position: relative; z-index: 3; }
.companion-app-previews {
  position: absolute;
  z-index: 2;
  /* Anchor the two companion apps to the dashboard frame: their lower halves
     tuck beneath it while the useful portion rises into the hero void. */
  top: -14rem;
  right: -4%;
  width: min(96%, 570px);
  height: 320px;
}
.bizdump-preview, .bizcalc-preview {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .19);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .45);
  transform-origin: center;
  cursor: default;
  transition: transform .42s cubic-bezier(.16, 1, .3, 1), box-shadow .42s ease, opacity .3s ease;
}
.bizdump-preview {
  top: 60px;
  right: 11%;
  width: 79%;
  height: 245px;
  border-radius: 10px;
  background: #f4f6fb;
  color: #212938;
  opacity: .9;
  transform: translate(-6%, 18px) rotate(-1.2deg);
}
.bizdump-titlebar { display: flex; align-items: center; gap: .38rem; height: 29px; padding: 0 .55rem; background: #e9ecf3; border-bottom: 1px solid #d4d9e4; font-size: .54rem; }
.bizdump-app-icon { width: 18px; height: 18px; object-fit: contain; flex: 0 0 auto; }
.bizdump-window-dots { margin-left: auto; color: #6b7280; letter-spacing: .2em; }
.bizdump-path { padding: .35rem .65rem; border-bottom: 1px solid #e0e4ec; color: #566176; font-size: .48rem; }
.bizdump-path b { padding: 0 .2rem; color: #8992a3; }
.bizdump-content { display: grid; grid-template-columns: .7fr 1.4fr; height: calc(100% - 51px); font-size: .47rem; }
.bizdump-content aside { display: grid; align-content: start; gap: .28rem; padding: .55rem .45rem; background: #f1f4f8; border-right: 1px solid #dde2ea; color: #57637a; }
.bizdump-content aside .is-selected { border-left: 2px solid #2786d9; padding-left: .25rem; color: #1f4d81; background: #dceeff; }
.bizdump-content > div { display: grid; align-content: start; gap: .35rem; padding: .46rem .65rem; }
.bizdump-content p { margin: 0 0 .1rem; padding-bottom: .25rem; border-bottom: 1px solid #e1e5ed; color: #596579; }
.bizdump-content > div > span { color: #323b4a; }
.bizdump-content > div > span::first-letter { color: #eaae18; }
.bizcalc-preview {
  right: -2%;
  bottom: -3px;
  width: 37%;
  min-width: 200px;
  height: 362px;
  padding-bottom: .55rem;
  border-color: rgba(142, 94, 255, .5);
  border-radius: 11px;
  background: #0d1530;
  color: #eff3ff;
  transform: translate(5%, 36px) rotate(1.2deg);
  display: flex;
  flex-direction: column;
}
.bizcalc-titlebar { display: flex; align-items: center; gap: .36rem; padding: .45rem .55rem; background: #111b36; border-bottom: 1px solid rgba(166, 134, 255, .28); font-size: .5rem; }
.bizcalc-menu { color: #a8b7d0; font-size: .72rem; line-height: 1; }
.bizcalc-titlebar > span:last-child { margin-left: auto; color: #9ba7c3; letter-spacing: .18em; }
.bizcalc-app-icon { width: 19px; height: 19px; object-fit: contain; flex: 0 0 auto; }
.bizcalc-display { padding: .5rem .7rem .35rem; color: #fff; text-align: right; font-size: 1.28rem; font-weight: 700; }
.bizcalc-tools { display: grid; grid-template-columns: repeat(5, 1fr); gap: .18rem; padding: .38rem .45rem; border-block: 1px solid rgba(255, 255, 255, .08); color: #dbc8ff; font-size: .38rem; text-align: center; }
.bizcalc-tools span { padding: .22rem .1rem; border-radius: 4px; background: rgba(105, 57, 187, .27); border: 1px solid rgba(167, 121, 255, .3); }
.bizcalc-keys { display: grid; flex: 1; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(7, 1fr); gap: .22rem; padding: .45rem; }
.bizcalc-keys b { display: grid; place-items: center; min-height: 18px; border: 1px solid rgba(132, 154, 203, .23); border-radius: 4px; background: #121e39; color: #dbe5fb; font-size: .51rem; font-weight: 500; }
.bizcalc-keys b:nth-child(4n),.bizcalc-keys b:nth-child(28) { background: #321169; border-color: rgba(179, 118, 255, .45); color: #fff; }
.bizdump-preview:hover { z-index: 6; opacity: 1; transform: translate(-6%, -62px) rotate(0) scale(1.035); box-shadow: 0 28px 70px rgba(0, 0, 0, .62), 0 0 28px rgba(120, 173, 255, .18); }
.bizcalc-preview:hover { z-index: 7; transform: translate(5%, -58px) rotate(0) scale(1.045); box-shadow: 0 30px 75px rgba(0, 0, 0, .65), 0 0 28px rgba(139, 74, 255, .42); }

/* Analytics is intentionally a visual, interactive app preview and never requests live data. */
.analytics-demo-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: clamp(.7rem, 3vw, 2rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}
.analytics-demo-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.analytics-demo-backdrop { position: absolute; inset: 0; background: rgba(3, 3, 7, .78); backdrop-filter: blur(8px); }
.analytics-demo-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: min(840px, calc(100vh - 1.5rem));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(147, 119, 207, .34);
  border-radius: 16px;
  background: #15151d;
  color: #e8e6f0;
  box-shadow: 0 28px 100px rgba(0, 0, 0, .65);
  transform: translateY(12px) scale(.985);
  transition: transform .26s cubic-bezier(.16, 1, .3, 1);
}
.analytics-demo-modal.is-open .analytics-demo-shell { transform: translateY(0) scale(1); }
.analytics-demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, .075);
  background: #182033;
}
.analytics-demo-eyebrow, .analytics-panel-title span { color: #9188ae; font-size: .68rem; font-weight: 700; letter-spacing: .08em; }
.analytics-demo-header h2 { margin: .15rem 0 0; font-size: 1.25rem; color: #f1eff8; }
.analytics-demo-header p { margin: .25rem 0 0; color: #9e9baa; font-size: .82rem; }
.analytics-value-motion { display: flex; align-items: center; gap: .38rem; margin-left: auto; color: #b9f7da; }
.analytics-value-spark { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(38, 206, 134, .13); color: #54e79f; font-size: .9rem; font-weight: 800; }
.analytics-cash-stack { position: relative; display: block; width: 31px; height: 24px; }
.analytics-cash-stack i { position: absolute; right: 0; width: 28px; height: 13px; border: 1px solid rgba(114, 246, 177, .45); border-radius: 3px; background: linear-gradient(135deg, #156d4b, #25966d); box-shadow: inset 0 0 0 2px rgba(220, 255, 239, .12); }
.analytics-cash-stack i::after { content: '$'; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(235, 255, 246, .84); font-size: .56rem; font-style: normal; font-weight: 800; }
.analytics-cash-stack i:nth-child(1) { bottom: 0; }
.analytics-cash-stack i:nth-child(2) { bottom: 5px; right: 2px; }
.analytics-cash-stack i:nth-child(3) { bottom: 10px; right: 4px; }
.analytics-value-caption { color: #a3b9af; font-size: .65rem; font-weight: 700; letter-spacing: .035em; white-space: nowrap; }
.analytics-demo-header-actions { display: flex; align-items: center; gap: .5rem; }
.analytics-demo-filter, .analytics-demo-close, .analytics-panel-title button, .analytics-demo-footer button {
  border: 1px solid rgba(255, 255, 255, .1);
  background: #20202c;
  color: #dcd9e8;
  border-radius: 7px;
  padding: .5rem .7rem;
  font: inherit;
  font-size: .76rem;
  cursor: pointer;
}
.analytics-demo-close { width: 34px; height: 34px; padding: 0; font-size: 1.4rem; line-height: 1; }
.analytics-demo-tabs { display: flex; gap: .1rem; overflow-x: auto; padding: 0 .85rem; border-bottom: 1px solid rgba(255, 255, 255, .075); scrollbar-width: none; }
.analytics-demo-tabs::-webkit-scrollbar { display: none; }
.analytics-demo-tabs button { flex: 0 0 auto; border: 0; border-bottom: 2px solid transparent; background: transparent; padding: .8rem .65rem; color: #9995a7; cursor: pointer; font: inherit; font-size: .76rem; }
.analytics-demo-tabs button.is-active { color: #b891ff; border-bottom-color: #8b3ff2; }
.analytics-demo-body { overflow: auto; padding: 1rem 1.35rem 1.3rem; scrollbar-width: thin; scrollbar-color: #4c3a68 transparent; }
.analytics-demo-note { display: flex; align-items: center; gap: .42rem; color: #8f8b9d; font-size: .73rem; }
.analytics-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #26ce86; box-shadow: 0 0 9px rgba(38, 206, 134, .75); }
.analytics-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin: .85rem 0; }
.analytics-kpis article, .analytics-panel { border: 1px solid rgba(255, 255, 255, .08); border-radius: 9px; background: #1a1a24; }
.analytics-kpis article { padding: .9rem; }
.analytics-kpis span { display: block; color: #9692a3; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; }
.analytics-kpis strong { display: block; margin: .4rem 0 .28rem; color: #f4f2fa; font-size: 1.3rem; }
.analytics-kpis small { color: #9692a3; font-size: .7rem; }
.analytics-kpis small.positive, .analytics-table em { color: #26ce86; font-style: normal; }
.analytics-demo-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: .8rem; }
.analytics-panel { padding: 1rem; }
.analytics-panel-title { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.analytics-panel-title h3 { margin: .2rem 0 0; color: #e9e7f1; font-size: .92rem; }
.analytics-panel-title > strong { color: #26ce86; font-size: .9rem; }
.analytics-panel-title button { padding: .35rem .5rem; color: #c3a5ff; font-size: .68rem; }
.analytics-chart { height: 145px; display: flex; align-items: end; gap: .8rem; padding: .8rem .2rem 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.analytics-chart span { position: relative; flex: 1; min-width: 16px; height: var(--bar); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #a855f7, #6037dc); }
.analytics-chart span:nth-child(2n) { background: linear-gradient(180deg, #37bfed, #5953e9); }
.analytics-chart b { position: absolute; top: calc(100% + .35rem); left: 50%; transform: translateX(-50%); color: #858194; font-size: .62rem; font-weight: 500; }
.analytics-chart-legend { display: flex; gap: .9rem; padding-top: .7rem; color: #9692a3; font-size: .7rem; }
.analytics-chart-legend i { display: inline-block; width: 8px; height: 8px; margin-right: .3rem; border-radius: 2px; background: #a855f7; }
.analytics-chart-legend span:last-child i { background: #37bfed; }
.analytics-ranking-row { display: grid; grid-template-columns: 1fr auto; gap: .35rem .6rem; padding: .7rem 0 .1rem; color: #aaa6b7; font-size: .75rem; }
.analytics-ranking-row b { color: #e7e4ee; font-weight: 600; }
.analytics-ranking-row i { grid-column: 1 / -1; display: block; height: 4px; border-radius: 99px; background: linear-gradient(90deg, #8745e8 var(--rank), rgba(255,255,255,.07) var(--rank)); }
.analytics-table-panel { margin-top: .8rem; }
.analytics-table { margin-top: .8rem; }
.analytics-table > div { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: .5rem; padding: .55rem .2rem; border-top: 1px solid rgba(255, 255, 255, .06); color: #aaa6b7; font-size: .74rem; }
.analytics-table strong { color: #e8e6f0; font-weight: 600; }
.analytics-table-head { padding-top: 0 !important; border-top: 0 !important; color: #858193 !important; font-size: .65rem !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.analytics-demo-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1.35rem; border-top: 1px solid rgba(255, 255, 255, .075); color: #8f8b9d; font-size: .73rem; }
.analytics-demo-footer button { color: #fff; background: linear-gradient(135deg, #7c3aed, #9333ea); border-color: transparent; }

/* The dashboard comes alive briefly when the demo opens, then settles into a
   calm operational view. No live data is fetched or implied by the motion. */
.analytics-demo-modal.is-open .analytics-kpis article { animation: analyticsCardIn .48s cubic-bezier(.16, 1, .3, 1) both; }
.analytics-demo-modal.is-open .analytics-kpis article:nth-child(2) { animation-delay: .055s; }
.analytics-demo-modal.is-open .analytics-kpis article:nth-child(3) { animation-delay: .11s; }
.analytics-demo-modal.is-open .analytics-kpis article:nth-child(4) { animation-delay: .165s; }
.analytics-demo-modal.is-open .analytics-chart span { animation: analyticsBarGrow .62s cubic-bezier(.16, 1, .3, 1) both; transform-origin: bottom; }
.analytics-demo-modal.is-open .analytics-chart span:nth-child(2) { animation-delay: .04s; }
.analytics-demo-modal.is-open .analytics-chart span:nth-child(3) { animation-delay: .08s; }
.analytics-demo-modal.is-open .analytics-chart span:nth-child(4) { animation-delay: .12s; }
.analytics-demo-modal.is-open .analytics-chart span:nth-child(5) { animation-delay: .16s; }
.analytics-demo-modal.is-open .analytics-chart span:nth-child(6) { animation-delay: .2s; }
.analytics-demo-modal.is-open .analytics-chart span:nth-child(7) { animation-delay: .24s; }
.analytics-demo-modal.is-open .analytics-ranking-row i { animation: analyticsRankFill .65s cubic-bezier(.16, 1, .3, 1) both; transform-origin: left; }
.analytics-demo-modal.is-open .analytics-ranking-row:nth-child(3) i { animation-delay: .07s; }
.analytics-demo-modal.is-open .analytics-ranking-row:nth-child(4) i { animation-delay: .14s; }
.analytics-demo-modal.is-open .analytics-ranking-row:nth-child(5) i { animation-delay: .21s; }
.analytics-demo-modal.is-open .analytics-cash-stack { animation: analyticsCashBounce 1.55s cubic-bezier(.35, .05, .2, 1) .42s both; }
.analytics-demo-modal.is-open .analytics-value-spark { animation: analyticsSpark 1.55s ease-in-out .42s both; }
@keyframes analyticsCardIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes analyticsBarGrow { from { transform: scaleY(.04); } to { transform: scaleY(1); } }
@keyframes analyticsRankFill { from { transform: scaleX(.04); } to { transform: scaleX(1); } }
@keyframes analyticsCashBounce { 0%, 100% { transform: translateY(0); } 36% { transform: translateY(-6px) rotate(-2deg); } 60% { transform: translateY(0) rotate(0); } 78% { transform: translateY(-2px); } }
@keyframes analyticsSpark { 0%, 100% { transform: scale(1); box-shadow: none; } 36% { transform: scale(1.14); box-shadow: 0 0 18px rgba(84, 231, 159, .42); } 60% { transform: scale(1); } }

@media (max-width: 1100px) {
  /* The hero becomes one column at this point, so keep the visual cue from
     overlapping the copy rather than squeezing it into the tablet layout. */
  .companion-app-previews { display: none; }
}

@media (max-width: 720px) {
  /* Keep the page directory available while browsing the long mobile page. */
  .section-browser-toolbar {
    position: sticky;
    top: 0;
    z-index: 20;
    padding-block: .55rem;
    background: rgba(11, 11, 14, .94);
    box-shadow: 0 8px 16px rgba(11, 11, 14, .72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .section-browser .section-wheel-track { height:auto; max-height: 420px; padding-inline: .2rem; }
  .section-browser .collapsible-header { min-height: 98px; }
  .section-browser-toolbar { width: calc(100% - .4rem); }
  .section-browser-toolbar span { display: none; }
  .section-browser-toolbar { gap: .5rem; }
  .section-wheel-arrow { width: 28px; height: 28px; }
  /* The mobile hero gets a short companion-app shelf before the dashboard
     screenshot, instead of trying to layer them over a narrow image. */
  .hero-visual { overflow: hidden; padding: .55rem; }
  .companion-app-previews {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    width: 100%;
    height: 157px;
    margin: 0 0 .5rem;
  }
  .hero-shot-stack { z-index: auto; }
  .hero-shot-stack .shot-primary { z-index: auto; }
  .bizdump-preview { top: 12px; left: 1px; right: auto; width: 72%; height: 128px; transform: translate(0) rotate(-1deg); }
  .bizcalc-preview { right: -1px; bottom: 0; width: 50%; min-width: 150px; height: 174px; padding-bottom: .35rem; transform: translate(0) rotate(1deg); }
  .bizdump-preview:hover { transform: translate(0, -8px) rotate(0) scale(1.015); }
  .bizcalc-preview:hover { transform: translate(0, -8px) rotate(0) scale(1.025); }
  .bizcalc-display { padding: .38rem .55rem .25rem; font-size: 1.05rem; }
  .bizcalc-tools { padding: .28rem .35rem; }
  .bizcalc-keys { gap: .16rem; padding: .32rem; }
  .bizcalc-keys b { min-height: 15px; font-size: .45rem; }
  .hero-badges { flex-wrap: nowrap; gap: .25rem; margin-bottom: .8rem; }
  .hero-badges .badge { min-width: 0; justify-content: center; white-space: nowrap; padding: .28rem .28rem; font-size: clamp(.43rem, 2.25vw, .58rem); letter-spacing: .035em; }
  .hero-badges .badge-green .pulse-dot { width: 5px; height: 5px; }
  .app-drawer-bubble-btn {
    position: fixed !important;
    top: max(12px, env(safe-area-inset-top)) !important;
    left: 8px;
    z-index: 1100;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(168, 85, 247, .6);
    border-radius: 50%;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .48), 0 0 14px rgba(168, 85, 247, .24);
  }
  .app-drawer-bubble-btn .bubble-btn-icon { width: 28px; height: 28px; }
  .app-drawer-bubble-btn .bubble-logo-img { width: 18px; height: 18px; }
  .app-drawer-bubble-btn .bubble-btn-arrow { display: none; }
  .app-drawer-shell { height: 100svh; align-items: flex-start; }
  .app-drawer-sidebar {
    height: min(78svh, 650px);
    min-height: 410px;
    transform: translateY(-105%);
    border-right: 0;
    border-bottom: 1px solid rgba(168, 85, 247, .36);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 18px 52px rgba(0, 0, 0, .68);
  }
  .app-drawer-overlay.is-open .app-drawer-sidebar { transform: translateY(0); }
  .lightbox-modal { padding: .55rem; }
  .lightbox-content { max-height: calc(100svh - 1.1rem); padding: .55rem; border-radius: 14px; }
  .lightbox-image-wrapper { max-height: calc(100svh - 8.2rem); }
  .lightbox-image-wrapper img { width: 160%; max-width: none; }
  .shot-primary::after { content: 'Tap to inspect full app view'; opacity: 1; font-size: .62rem; }
  .analytics-demo-modal { padding: .35rem; }
  .analytics-demo-shell { max-height: calc(100vh - .7rem); border-radius: 11px; }
  .analytics-demo-header { align-items: flex-start; padding: .9rem; }
  .analytics-demo-header-actions { flex-wrap: wrap; justify-content: flex-end; }
  .analytics-demo-filter { display: none; }
  .analytics-demo-body { padding: .85rem; }
  .analytics-kpis, .analytics-demo-grid { grid-template-columns: 1fr 1fr; }
  .analytics-revenue-panel, .analytics-ranking-panel { grid-column: 1 / -1; }
  .analytics-chart { gap: .45rem; }
  .analytics-demo-footer { padding: .75rem .9rem; }
}

/* Website onboarding keeps the integration story as scannable cards, then
   borrows the compact logo-rail language used by the project pages. */
.website-onboarding-content { display:grid; gap:1.15rem; }
.website-onboarding-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.website-onboarding-card { min-height:170px; padding:1.35rem; }
.website-onboarding-card .eyebrow { margin:0 0 .45rem; }
.website-onboarding-card h3 { margin:0; color:#fff; font-size:clamp(1.15rem,2vw,1.5rem); line-height:1.25; }
.website-platform-carousel { display:grid; gap:.65rem; }
.website-platform-carousel .eyebrow { margin:0; color:#c4b5fd; text-align:center; }
.website-platform-rail { display:flex; justify-content:center; gap:.75rem; overflow-x:auto; padding:.25rem; scroll-behavior:smooth; scroll-snap-type:x proximity; scrollbar-width:none; -ms-overflow-style:none; }
.website-platform-rail::-webkit-scrollbar { display:none; }
.website-platform-icon { flex:0 0 128px; display:grid; place-items:center; min-height:90px; padding:.75rem; border:1px solid rgba(167,139,250,.26); border-radius:14px; background:linear-gradient(145deg,rgba(124,58,237,.14),rgba(20,20,31,.78)); scroll-snap-align:start; }
.website-platform-icon img { width:52px; height:52px; object-fit:contain; filter:drop-shadow(0 5px 9px rgba(0,0,0,.24)); }
@media(max-width:700px) { .website-onboarding-grid { grid-template-columns:1fr; }.website-onboarding-card { min-height:0; }.website-platform-rail { justify-content:flex-start; }.website-platform-icon { flex-basis:calc((100% - .8rem) / 2.5); min-height:78px; } }

@media (max-width: 860px) {
  .analytics-value-caption { display: none; }
}

/* Mobile only: this is deliberately part of the header, rather than part of
   the viewport. It stays planted on the header's left edge, then scrolls away
   with that header instead of following the visitor down the page. */
@media (max-width: 768px) {
  .app-drawer-bubble-btn {
    position: absolute !important;
    top: 50% !important;
    left: -14px !important;
    right: auto;
    z-index: 2;
    width: 48px;
    min-width: 0;
    height: 48px;
    margin: 0;
    padding: 0;
    gap: 0;
    justify-content: center;
    border: 1px solid rgba(168, 85, 247, .6);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 5px 18px rgba(0, 0, 0, .48), 0 0 14px rgba(168, 85, 247, .24);
  }
  .app-drawer-bubble-btn:hover { transform: translateY(-50%); }
  .app-drawer-bubble-btn .bubble-btn-icon { width: 28px; height: 28px; }
  .app-drawer-bubble-btn .bubble-logo-img { width: 18px; height: 18px; }
  .app-drawer-bubble-btn .bubble-btn-text,
  .app-drawer-bubble-btn .bubble-btn-sub,
  .app-drawer-bubble-btn .bubble-btn-arrow { display: none; }

  /* The Companion preview is a handset inside the marketing page. Keeping it
     below the page width prevents it from reading as a blown-up app screen. */
  .demo-mobile-active .demo-wrapper {
    width: min(100%, 320px) !important;
    max-width: 320px !important;
  }
  .demo-mobile-active .demo-display-area,
  .demo-mobile-active .demo-real-iframe { height: 532px !important; }
}

/* First-party analytics consent: no analytics starts before an explicit
   choice. The saved decision is local to this browser and can be honoured by
   the tracker when it is configured. */
.analytics-consent-banner {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 1900;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .85rem;
  width: min(610px, calc(100% - 2rem));
  padding: .85rem 1rem;
  border: 1px solid rgba(166, 121, 255, .5);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(25, 18, 42, .98), rgba(17, 22, 37, .98));
  box-shadow: 0 20px 60px rgba(0, 0, 0, .55), 0 0 28px rgba(124, 58, 237, .18);
  color: #f6f2ff;
  opacity: 0;
  transform: translate(-50%, 14px);
  transition: opacity .24s ease, transform .28s cubic-bezier(.16, 1, .3, 1);
}
.analytics-consent-banner.is-visible { opacity: 1; transform: translate(-50%, 0); }
.analytics-consent-banner[hidden] { display: none; }
.analytics-consent-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 12px; background: rgba(139, 92, 246, .22); color: #c4b5fd; font-size: 1.2rem; font-weight: 800; }
.analytics-consent-copy p { margin: 0 0 .1rem; color: #bca8f6; font-size: .67rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.analytics-consent-copy h2 { margin: 0; font-size: .92rem; line-height: 1.2; }
.analytics-consent-copy span { display: block; margin-top: .25rem; color: #b4b0c1; font-size: .72rem; line-height: 1.35; }
.analytics-consent-actions { display: flex; align-items: center; gap: .45rem; }
.analytics-consent-actions button { min-height: 34px; border-radius: 8px; padding: .48rem .66rem; font: inherit; font-size: .72rem; font-weight: 800; cursor: pointer; }
.analytics-consent-decline { border: 1px solid rgba(255, 255, 255, .14); background: transparent; color: #d6d1e2; }
.analytics-consent-accept { border: 1px solid transparent; background: linear-gradient(135deg, #7c3aed, #9333ea); color: #fff; box-shadow: 0 6px 16px rgba(124, 58, 237, .32); }
.analytics-consent-actions button:focus-visible { outline: 2px solid #c4b5fd; outline-offset: 2px; }

@media (max-width: 620px) {
  .analytics-consent-banner { grid-template-columns: auto 1fr; gap: .7rem; width: min(100% - 1rem, 420px); padding: .8rem; }
  .analytics-consent-actions { grid-column: 1 / -1; justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  .section-browser .section-wheel-track { scroll-behavior: auto; }
  .section-browser.is-focused .collapsible-section.is-menu-active { animation: none; }
  .analytics-demo-modal, .analytics-demo-shell { transition: none; }
  .analytics-consent-banner { transition: none; }
  .analytics-demo-modal.is-open .analytics-kpis article,
  .analytics-demo-modal.is-open .analytics-chart span,
  .analytics-demo-modal.is-open .analytics-ranking-row i,
  .analytics-demo-modal.is-open .analytics-cash-stack,
  .analytics-demo-modal.is-open .analytics-value-spark { animation: none; }
}

/* Only the mobile renderer creates this second, deliberately placed preview. */
.viewer-mobile-inline-preview { display: none; }

/* Mobile containment and app-drawer polish. These rules intentionally only
   affect the phone layout; the desktop composition stays as-is. */
@media (max-width: 720px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-shell,
  main,
  .hero,
  .hero-copy,
  .hero-visual {
    min-width: 0;
    max-width: 100%;
  }

  .hero-copy { overflow: hidden; }

  /* Allow longer labels to wrap while keeping the hero within the handset. */
  .hero-badges {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    overflow: visible;
  }
  .hero-badges .badge { flex: 0 0 auto; }

  /* Give the two companion apps enough room to read as real mini windows,
     while keeping the full composition inside the hero frame. */
  .companion-app-previews {
    height: 326px;
    overflow: visible;
    margin-bottom: -124px;
    z-index: 5;
  }
  .hero-shot-stack { position: relative; padding-top: 120px; z-index: 2; }
  .bizdump-preview {
    top: 13px;
    left: 4px;
    width: 83%;
    height: 220px;
    z-index: 1;
  }
  .bizcalc-preview {
    top: 64px;
    right: 3px;
    bottom: auto;
    width: 56%;
    min-width: 0;
    height: 297px;
    z-index: 2;
  }
  .bizcalc-display { padding: .5rem .7rem .3rem; font-size: 1.35rem; }
  .bizcalc-tools { padding: .38rem .45rem; }
  .bizcalc-keys { gap: .22rem; padding: .42rem; }
  .bizcalc-keys b { min-height: 19px; font-size: .54rem; }
  .bizdump-preview,
  .bizcalc-preview { cursor: pointer; touch-action: manipulation; transition: transform .28s cubic-bezier(.2,.9,.2,1), box-shadow .28s ease; }
  .bizdump-preview.is-popped { transform: translate(-2px, -24px) rotate(-.2deg) scale(1.035); z-index: 4; box-shadow: 0 22px 42px rgba(0,0,0,.52); }
  .bizcalc-preview.is-popped { transform: translate(2px, -32px) rotate(.2deg) scale(1.05); z-index: 4; box-shadow: 0 24px 48px rgba(0,0,0,.58); }

  /* Use dynamic viewport units so browser chrome and a page scrollbar never
     leave a right-hand sliver or an empty band beneath the drawer. */
  .app-drawer-overlay,
  .app-drawer-shell,
  .app-drawer-sidebar,
  .app-drawer-viewer {
    width: 100dvw;
    min-width: 100dvw;
    max-width: 100dvw;
  }
  .app-drawer-overlay { overflow: hidden; }
  .app-drawer-overlay { position: fixed; inset: 0; height: 100dvh; max-height: 100dvh; }
  .app-drawer-shell { height: 100dvh; max-height: 100dvh; overflow: hidden; }
  .app-drawer-sidebar {
    height: 100dvh;
    min-height: 0;
    max-height: 100dvh;
    border-radius: 0;
    transform: translateY(-101%);
  }
  .app-drawer-overlay.is-open .app-drawer-sidebar { transform: translateY(0); }
  .app-drawer-viewer { position: absolute; inset: 0; height: 100dvh; max-height: 100dvh; }
  .app-drawer-overlay.is-open { overscroll-behavior: none; }
  .app-drawer-sidebar,
  .viewer-scroll-body { overscroll-behavior: contain; touch-action: pan-y; }

  /* A phone puts the real app view straight after the core module explanation.
     It is eager-loaded so the nested drawer scroller cannot defer it away. */
  .viewer-preview-card { display: none; }
  .viewer-mobile-inline-preview { display: block; margin-top: 1.15rem; }
  .viewer-mobile-preview-label { margin: 0 0 .45rem; color: #a78bfa; font-size: .66rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
  .viewer-screenshot-wrap { max-height: none; aspect-ratio: 16 / 9; }
  .viewer-screenshot-wrap img { object-fit: contain; }
  .viewer-preview-gallery.is-multiple .viewer-screenshot-wrap { aspect-ratio: 16 / 9; max-height: none; }

  .viewer-preview-carousel.is-multiple { padding:0 2.25rem; }
  .viewer-preview-gallery.is-multiple { display:flex; overflow-x:auto; }
  .viewer-preview-gallery.is-multiple .viewer-screenshot-wrap { flex:0 0 100%; }
  .viewer-preview-carousel .viewer-screenshot-wrap img { object-fit:cover; }
  .viewer-preview-arrow { width:30px; height:30px; }

  /* Keep the module browser toolbar visibly fixed, with every control spaced
     inside the handset width rather than allowing its category to overlap. */
  .viewer-top-bar {
    position: sticky;
    top: 0;
    z-index: 5;
    height: auto;
    min-height: 53px;
    padding: .48rem .55rem;
    gap: .3rem;
  }
  .viewer-top-left { gap: .3rem; flex: 1 1 auto; }
  .viewer-module-heading { display: none; }
  .viewer-details-main .viewer-mobile-module-title { display: block; margin: 0 0 .8rem; color: #fff; font-size: 1rem; }
  .viewer-mobile-back-btn { flex: 0 0 auto; padding: 4px 6px; font-size: .68rem; }
  .viewer-category-tag {
    min-width: 0;
    max-width: 148px;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: .18rem .38rem;
    font-size: .5rem;
    letter-spacing: .045em;
  }
  .viewer-top-right { gap: .25rem; }
  .viewer-nav-btn { gap: 2px; padding: 5px 6px; font-size: .63rem; }
  .viewer-close-btn { width: 28px; height: 28px; }
}

/* Final mobile hero composition override: later than the older phone rules. */
@media (max-width: 720px) {
  .hero-visual { position: relative; overflow: hidden; min-height: 430px; padding: .45rem; }
  .companion-app-previews { position: absolute; inset: 0 0 auto 0; display: block; width: 100%; height: 290px; margin: 0; z-index: 3; }
  .hero-shot-stack { position: relative; z-index: 2; min-height: 410px; padding: 126px 0 0; }
  .hero-shot-stack .shot-primary { position: relative; z-index: 2; width: 100%; aspect-ratio: 16 / 10; }
  .hero-shot-stack .shot-float { display: none; }
  .bizdump-preview { top: 16px; left: 4%; right: auto; width: 78%; height: 174px; transform: rotate(-1.1deg); z-index: 1; }
  .bizcalc-preview { top: 72px; right: 2%; bottom: auto; width: 44%; min-width: 0; height: 270px; transform: rotate(1.1deg); z-index: 4; }
  .bizdump-preview.is-popped { transform: translate(-2px, -10px) rotate(-.2deg) scale(1.02); }
  .bizcalc-preview.is-popped { transform: translate(2px, -12px) rotate(.2deg) scale(1.025); }
  .bizcalc-display { padding: .42rem .58rem .26rem; font-size: 1.12rem; }
  .bizcalc-tools { padding: .27rem .34rem; }
  .bizcalc-keys { gap: .15rem; padding: .3rem; }
  .bizcalc-keys b { min-height: 15px; font-size: .44rem; }
}


/* Final mobile homepage composition: desktop-like app proportions and crisp finished logo. */
@media (max-width:720px) {
  /* Let the animation play, then return to the clean static mark instead of
     leaving the video frame as the finished logo. */
  .brand-logo-stage.is-logo-finished .brand-logo-animation {
    opacity:0 !important;
  }
  .brand-logo-stage.is-logo-finished .brand-logo-img {
    opacity:1 !important;
    filter:invert(1) hue-rotate(180deg) !important;
  }

  /* Keep the same visual relationship as desktop instead of the tall/narrow
     mobile override that distorted BizCalc and BizDump. */
  .hero-visual {
    min-height:445px;
  }
  .companion-app-previews {
    position:absolute;
    inset:8px 2% auto 2%;
    width:96%;
    height:300px;
    overflow:visible;
  }
  .bizdump-preview {
    top:38px;
    left:2%;
    right:auto;
    width:79%;
    height:205px;
    transform:translate(-2%,10px) rotate(-1deg);
  }
  .bizcalc-preview {
    top:58px;
    right:1%;
    bottom:auto;
    width:46%;
    min-width:0;
    height:278px;
    transform:translate(2%,12px) rotate(1deg);
  }
  .hero-shot-stack {
    min-height:420px;
    padding-top:145px;
  }
}


/* Desktop homepage hero only: a little more breathing room without changing the
   centered masthead, later sections, controls, font sizes or mobile layout. */
@media (min-width:1200px) {
  .hero.container {
    width:min(1340px,calc(100% - 2.5rem));
  }
}

/* 2026 editorial hero refresh: remove the giant card, let the product speak. */
#main-page .hero { grid-template-columns:minmax(0,.97fr) minmax(0,1.03fr); gap:clamp(1.5rem,3vw,3.9rem); padding-block:clamp(3.5rem,7vw,6rem) 3.5rem; }
#main-page .hero-copy-refined { position:relative; isolation:isolate; padding:clamp(1.1rem,2.6vw,2.75rem) clamp(.35rem,2.2vw,2.2rem); background:none; border:0; border-radius:0; box-shadow:none; }
#main-page .hero-copy-refined::before { content:""; position:absolute; z-index:-1; width:min(42vw,390px); height:min(42vw,390px); left:-15%; top:8%; background:radial-gradient(circle,rgba(107,57,185,.135),transparent 72%); pointer-events:none; }
#main-page .hero-kicker { display:flex; gap:.85rem; align-items:center; margin:0 0 1.3rem; color:#c0afd9; font-size:.68rem; font-weight:800; letter-spacing:.21em; text-transform:uppercase; }
#main-page .hero-kicker span { width:32px; height:1px; background:linear-gradient(90deg,#a88bea,rgba(168,139,234,0)); }
#main-page .hero-copy-refined h1 { font-size:clamp(2.65rem,4.25vw,4.85rem); line-height:1.06; letter-spacing:-.066em; font-weight:760; text-wrap:balance; }
#main-page .hero-copy-refined h1 span { color:#e6dcf5; font-weight:650; }
#main-page .hero-copy-refined h1 em { font-style:normal; color:#bca0fb; font-weight:760; }
#main-page .hero-lead { margin:1.6rem 0 .55rem; font-size:clamp(1.1rem,1.65vw,1.32rem); font-weight:650; line-height:1.43; color:#f2ecfd; max-width:35ch; }
#main-page .hero-copy-refined .hero-text { max-width:55ch; margin:.55rem 0 1.7rem; font-size:clamp(.92rem,1vw,1.02rem); line-height:1.78; color:#afa7c3; }
#main-page .hero-copy-refined .hero-actions,#main-page .hero-copy-refined .hero-actions-top { align-items:center; justify-content:flex-start; }
#main-page .hero-copy-refined .hero-actions { align-items:flex-start; gap:.75rem; }
#main-page .hero-copy-refined .hero-actions-top { gap:.65rem; }
#main-page .hero-copy-refined .hero-actions-top a { min-height:45px; padding:.73rem 1.3rem; font-size:.87rem; }
#main-page .hero-module-link { display:inline-flex; align-items:center; gap:.3rem; padding:.3rem 0; color:#d7c4f5; text-decoration:none; font-size:.86rem; font-weight:750; }
#main-page .hero-module-link:hover,#main-page .hero-module-link:focus-visible { color:#fff; text-decoration:underline; text-underline-offset:5px; }
#main-page .hero-module-link .dd-squiggle-arrow { transition:transform .2s ease; }
#main-page .hero-module-link:hover .dd-squiggle-arrow { transform:translateX(4px); }
#main-page .hero-copy-refined .hero-points { display:flex; flex-wrap:wrap; gap:.4rem 0; margin:1.9rem 0 0; padding:1.25rem 0 0; border-top:1px solid rgba(184,150,226,.19); }
#main-page .hero-copy-refined .hero-points li { flex:0 1 auto; padding:0 1rem; font-size:.73rem; font-weight:700; letter-spacing:.02em; color:#aa9dbf; }
#main-page .hero-copy-refined .hero-points li:first-child { padding-left:0; }
#main-page .hero-copy-refined .hero-points li + li { border-left:1px solid rgba(184,150,226,.3); }
#main-page .hero-copy-refined .hero-points li::before { content:none; }
#main-page .hero-visual.card { background:radial-gradient(ellipse at 65% 40%,rgba(85,43,137,.11),transparent 68%),rgba(18,16,28,.55); border-color:rgba(175,133,233,.13); box-shadow:0 25px 90px rgba(0,0,0,.21); }
@media(max-width:1100px) {
 #main-page .hero { grid-template-columns:1fr; gap:1.25rem; padding-block:2rem 1rem; }
 #main-page .hero-copy-refined { padding:1rem .6rem 1.4rem; }
 #main-page .hero-copy-refined h1 { font-size:clamp(2.7rem,6.7vw,4.7rem); }
}
@media(max-width:720px) {
 #main-page .hero { padding-top:1.15rem; }
 #main-page .hero-copy-refined { padding:.75rem .55rem 1rem; overflow:visible; }
 #main-page .hero-kicker { font-size:.58rem; letter-spacing:.15em; margin-bottom:1rem; }
 #main-page .hero-kicker span { width:22px; }
 #main-page .hero-copy-refined h1 { font-size:clamp(2.35rem,10.6vw,3.55rem); letter-spacing:-.055em; }
 #main-page .hero-lead { font-size:1.04rem; margin:1.15rem 0 .45rem; }
 #main-page .hero-copy-refined .hero-text { font-size:.88rem; line-height:1.65; margin-bottom:1.3rem; }
 #main-page .hero-copy-refined .hero-actions,#main-page .hero-copy-refined .hero-actions-top { width:100%; }
 #main-page .hero-copy-refined .hero-actions-top { flex-direction:row; flex-wrap:wrap; }
 #main-page .hero-copy-refined .hero-actions-top a { flex:1 1 135px; width:auto; font-size:.78rem; padding:.6rem .7rem; }
 #main-page .hero-copy-refined .hero-actions-bottom { width:auto; }
 #main-page .hero-copy-refined .hero-points { margin-top:1.2rem; padding-top:.9rem; gap:.4rem 0; }
 #main-page .hero-copy-refined .hero-points li { font-size:.67rem; padding-inline:.6rem; }
}

/* A quiet second route from the main site into the simplified sales story. */
#main-page .hero-copy-refined .hero-actions-bottom {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  column-gap:clamp(1rem,2.7vw,2rem);
  row-gap:.4rem;
}
#main-page .hero-simple-link {
  display:inline-flex;
  align-items:center;
  gap:.22rem;
  min-height:30px;
  padding:.25rem 0;
  color:#d6c0f3;
  text-decoration:none;
  font-size:.78rem;
  font-weight:750;
  border-bottom:1px solid rgba(184,155,230,.35);
}
#main-page .hero-simple-link span { color:#8e859e; font-weight:500; }
#main-page .hero-simple-link:hover,
#main-page .hero-simple-link:focus-visible { color:#fff; border-bottom-color:#d9b7ff; }
@media(max-width:720px) {
  #main-page .hero-copy-refined .hero-actions-bottom { align-items:flex-start; column-gap:1rem; }
  #main-page .hero-simple-link { font-size:.73rem; }
}
