/* ==========================================================================
   Dream — marketing site
   Home page styles. Implements the "Dream OS" design (dashed grid, glow
   display type, numbered cards, purple gradient bands) from
   `project/Dream Website Wireframes.dc.html`, turn 3 (3a + 3b).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Host+Grotesk:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Poppins:ital,wght@0,600;0,700;1,600&family=DM+Mono:ital,wght@0,400;0,500;1,400&display=swap');

.back-to-top {
  position: fixed; right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom)); z-index: 35;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 12px 16px;
  border: 1px solid var(--line-28); border-radius: 999px;
  background: var(--panel); color: var(--text);
  font: 600 13px/1 var(--font-sans); cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .2);
}
.back-to-top[hidden] { display: none; }
.back-to-top:hover { border-color: var(--purple-light); color: var(--shot-text); }
.back-to-top:focus-visible { outline: 2px solid var(--purple-light); outline-offset: 4px; }

:root {
  --purple: #752AED;
  --purple-hover: #5A21B5;
  --purple-light: #8B4BF0;
  --purple-deep: #3A0F7A;
  --grad: linear-gradient(100deg, var(--purple-light) 0%, var(--purple) 48%, var(--purple-deep) 100%);

  --bg: #060409;
  --panel: #0B0812;
  --shot-bg: #120D1C;
  --shot-text: #B99BF5;

  --line-08: rgba(255, 255, 255, 0.08);
  --line-10: rgba(255, 255, 255, 0.1);
  --line-12: rgba(255, 255, 255, 0.12);
  --line-14: rgba(255, 255, 255, 0.14);
  --line-28: rgba(255, 255, 255, 0.28);

  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.62);
  --text-faint: rgba(255, 255, 255, 0.45);
  --text-dim: rgba(255, 255, 255, 0.34);

  --font-sans: 'Host Grotesk', system-ui, -apple-system, sans-serif;
  --font-display: 'Poppins', 'Host Grotesk', system-ui, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --text-soft: rgba(255, 255, 255, 0.75);
  --veil-08: rgba(255, 255, 255, 0.08);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light theme tokens. Sections on the dark brand backsplash (.bg-splash)
   re-assert the dark tokens below so imagery and the white logo stay legible. */
html[data-theme="light"] {
  --bg: #F6F4FA;
  --panel: #FFFFFF;
  --shot-bg: #EFE9FB;
  --shot-text: #5A21B5;

  --line-08: rgba(18, 10, 34, 0.1);
  --line-10: rgba(18, 10, 34, 0.12);
  --line-12: rgba(18, 10, 34, 0.14);
  --line-14: rgba(18, 10, 34, 0.16);
  --line-28: rgba(18, 10, 34, 0.3);

  --text: #17102A;
  --text-muted: rgba(23, 16, 42, 0.66);
  --text-faint: rgba(23, 16, 42, 0.5);
  --text-dim: rgba(23, 16, 42, 0.4);
  --text-soft: rgba(23, 16, 42, 0.78);
  --veil-08: rgba(18, 10, 34, 0.07);
}
html[data-theme="light"] .bg-splash {
  --bg: #060409;
  --panel: #0B0812;
  --shot-bg: #120D1C;
  --shot-text: #B99BF5;
  --line-08: rgba(255, 255, 255, 0.08);
  --line-10: rgba(255, 255, 255, 0.1);
  --line-12: rgba(255, 255, 255, 0.12);
  --line-14: rgba(255, 255, 255, 0.14);
  --line-28: rgba(255, 255, 255, 0.28);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.62);
  --text-faint: rgba(255, 255, 255, 0.45);
  --text-dim: rgba(255, 255, 255, 0.34);
  --text-soft: rgba(255, 255, 255, 0.75);
  --veil-08: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
#modules { scroll-margin-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

/* Carousel panels stage off-canvas to the right. Clip that staging area
   without creating a scroll container, which would break sticky positioning. */
html { overflow-x: clip; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.site { width: 100%; overflow-x: clip; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- shared type / display ---------- */
.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  font: 700 12px/1 var(--font-sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(100deg, #C3ABFF, var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.display {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
.glow {
  text-shadow: 0 0 40px rgba(117, 42, 237, 0.8), 0 0 100px rgba(90, 33, 181, 0.6);
}
.hl {
  background: linear-gradient(100deg, var(--purple-light), var(--purple-deep));
  padding: 0 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.body-copy {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}
.mono-caption {
  font: 500 12px/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- backgrounds ---------- */
.bg-splash {
  background: var(--bg) url('../assets/brand/dream-backsplash.png') center / cover no-repeat;
  position: relative;
}
.bg-scrim::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 80% at 50% 50%, rgba(6, 4, 9, 0.35), rgba(6, 4, 9, 0.82) 80%);
  pointer-events: none;
}
.bg-scrim > * { position: relative; z-index: 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 6px;
  font: 700 13px/1 var(--font-sans);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--line-28);
  box-shadow: 0 0 30px rgba(117, 42, 237, 0.5);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 44px rgba(117, 42, 237, 0.75); }
.btn--grad { background: var(--grad); color: #fff; }
.btn--grad:hover { color: #fff; }
.btn--outline { background: transparent; box-shadow: none; }
.btn--outline:hover { box-shadow: none; }
.btn--lg { height: 52px; padding: 0 28px; font-size: 14px; }
.btn--full { width: 100%; }
.btn--get-started { gap: 8px; }
.btn--get-started .btn__arrow { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- header / nav ---------- */
.utility-bar {
  position: sticky;
  top: -34px;
  z-index: 31;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-height: 34px;
  padding: 4px 34px 0;
  background: transparent;
  border-bottom: 1px solid var(--line-08);
  transition: top 180ms var(--ease);
}
.utility-bar.is-visible { top: 0; }
.utility-bar.is-visible + .nav { top: 34px; }
@media (prefers-reduced-motion: reduce) {
  .utility-bar { transition: none; }
}
.utility-bar__login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 6px;
  color: var(--text-soft);
  font: 600 12px/1 var(--font-sans);
  transition: color 160ms ease;
}
.utility-bar__login span { font-size: 11px; opacity: .65; }
.utility-bar__login:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.utility-bar__login:focus-visible { outline: 2px solid var(--purple-light); outline-offset: -3px; border-radius: 4px; }
@media (max-width: 600px) {
  .utility-bar { padding: 4px 20px 0; }
}
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  padding: 22px 34px;
  pointer-events: none;
  transition: background-color 0.35s var(--ease), padding 0.35s var(--ease),
    box-shadow 0.35s var(--ease), border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
/* Scrolled state: the header condenses into a solid bar so the logo and
   nav actions stay legible over any section content */
.nav.is-scrolled {
  padding: 12px 34px;
  background: rgba(11, 8, 18, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-08);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
}
.nav__actions { margin-left: auto; display: flex; gap: 10px; pointer-events: auto; }
.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.03em;
  text-shadow: 0 0 26px rgba(117, 42, 237, 0.85), 0 0 60px rgba(90, 33, 181, 0.55);
  pointer-events: auto;
}
.burger {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-28);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: rgba(6, 4, 9, 0.6);
}
.burger span { width: 20px; height: 2px; border-radius: 1px; background: #fff; display: block; transition: opacity 0.15s var(--ease), transform 0.15s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.wordmark__img { height: 42px; width: auto; display: block; }
.wordmark__img--footer { height: 58px; }

.hero {
  min-height: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 190px 60px 90px;
  margin-top: -88px;
  overflow: hidden;
  text-align: left;
}
/* Pixelated duotone mouse-reactive backdrop (canvas painted by JS) */
.hero__fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
}
/* "Free." gets its own treatment: white text in a glowing purple box */
.hero__free {
  position: relative;
  display: inline-block;
  padding: 0 0.18em;
  background: linear-gradient(100deg, #752aed 0%, #5b1fc4 100%);
  border-radius: 0.12em;
  color: #fff;
  text-shadow: none;
  box-shadow: 0 0 34px rgba(117, 42, 237, 0.55);
}
.hero__inner {
  display: flex;
  align-items: center;
  gap: 64px;
  width: min(1320px, 100%);
  margin: 0 auto;
}
.hero__copy { flex: 0 1 46%; }
.hero__heading { font-size: 60px; font-weight: 800; }
.hero__heading-line { display: block; white-space: nowrap; }
.hero__lead { margin-top: 32px; font-size: 19px; max-width: 48ch; }
.hero__ctas { display: flex; gap: 12px; margin-top: 36px; position: relative; pointer-events: auto; }
.hero__tour-status { margin-top: 16px; max-width: 48ch; font-size: 14px; }
.hero__ctas .btn:disabled { opacity: 0.65; cursor: wait; transform: none; }
.hero__scroll {
  position: absolute;
  bottom: 36px;
  right: 36px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-14);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- hero product showcase ---------- */
.hero__shot {
  position: relative;
  flex: 1 1 54%;
  min-width: 0;
  perspective: 1400px;
  pointer-events: auto;
}
.hero__shot-frame {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line-28);
  border-radius: 14px;
  overflow: hidden;
  background: #0b0712;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 20px 60px -20px rgba(117, 42, 237, 0.35);
  transform: rotateY(0deg) rotateX(0deg);
  transform-origin: 50% 50%;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform;
}
/* JS drives the tilt via CSS vars once the pointer enters */
.hero__shot.is-live .hero__shot-frame {
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) scale(1);
  transition: transform 0.35s ease-out, box-shadow 0.5s var(--ease);
}
.hero__shot-bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-08);
  background: rgba(255, 255, 255, 0.04);
}
.hero__shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.hero__shot-frame img { display: block; width: 100%; height: auto; }
/* Flatten the showcase whenever tilt can't/shouldn't run: touch devices and reduced motion */
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .hero__shot-frame { transform: none; transition: none; will-change: auto; }
}
.hero__shot-glow {
  position: absolute;
  inset: 8% -6% -14% -6%;
  background: radial-gradient(55% 60% at 50% 60%, rgba(117, 42, 237, 0.45), transparent 70%);
  filter: blur(30px);
  z-index: 0;
}

/* Keep the brand and its small mark together without changing line height. */
.dream-brand-name { white-space: nowrap; }
.dream-trademark {
  position: relative;
  top: -.5em;
  vertical-align: baseline;
  font-family: inherit;
  font-weight: inherit;
  font-style: inherit;
  font-size: .55em;
  line-height: 0;
  letter-spacing: 0;
  margin-left: .08em;
}

/* ---------- marquee ---------- */
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquees { background: var(--panel); border-top: 1px solid var(--line-08); border-bottom: 1px solid var(--line-08); }
.marquee {
  padding: 13px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marq calc(var(--marquee-duration, 40s) * var(--marquee-repeats, 1)) linear infinite;
}
/* Two equal, non-shrinking groups make -50% exactly one seamless repeat. */
.marquee__track > span { display: block; flex: 0 0 auto; }
.marquee--dim .marquee__track { color: var(--text-muted); }
.marquee--grad { background: var(--grad); border-top: 1px solid var(--line-14); }
.marquee--grad .marquee__track { color: #E9DCFF; --marquee-duration: 34s; animation-direction: reverse; }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; transform: none; }
}

/* ---------- problem section ---------- */
.problem {
  padding: 150px 60px;
  display: flex;
  gap: 56px;
  align-items: flex-start;
  overflow: hidden;
}
.problem__lead { flex: 1.15; position: relative; }
.problem__heading { font-size: 70px; line-height: 1.08; }
/* Keep the highlight inside the line instead of painting the font's full
   inline box, which makes the highlighted line look closer to the one above. */
.problem__heading .hl {
  line-height: inherit;
  background-size: 100% 0.94em;
  background-position: center 48%;
  background-repeat: no-repeat;
}
.problem__list { flex: 1; display: flex; flex-direction: column; gap: 18px; }
.problem-card {
  background: var(--panel);
  border: 1px solid var(--line-10);
  border-radius: 16px;
  transition: border-color 0.3s var(--ease);
}
.problem-card__toggle {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
  padding: 26px 28px;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  letter-spacing: inherit;
}
.problem__cta { margin-top: 34px; }
/* Detail reveal animates via the grid-rows trick: 0fr (collapsed) -> 1fr (open) */
.problem-card__reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.problem-card.is-open .problem-card__reveal { grid-template-rows: 1fr; }
.problem-card__reveal > .problem-card__detail { overflow: hidden; min-height: 0; }
.problem-card__detail {
  padding: 0 28px;
  margin: -8px 0 0 58px;
  max-width: 46ch;
  opacity: 0;
  transition: opacity 0.3s var(--ease), padding 0.4s var(--ease);
}
.problem-card.is-open .problem-card__detail { padding-bottom: 24px; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .problem-card__reveal, .problem-card__detail { transition: none; }
}
/* active (expanded) card takes the purple "peak" treatment */
.problem-card.is-open { border-color: rgba(117, 42, 237, 0.55); }
.problem-card.is-open .badge { border-color: rgba(117, 42, 237, 0.6); color: var(--shot-text); }
.problem-card.is-open .problem-card__text {
  background: linear-gradient(100deg, #C3ABFF, var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 34px;
  padding: 0 9px;
  flex-shrink: 0;
  border: 1px solid var(--line-14);
  border-radius: 5px;
  background: var(--bg);
  font: 500 12px/1 var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--text);
}
.problem-card__title { font-size: 26px; color: var(--text-dim); margin: 0; }

/* ---------- stats band ---------- */
.stats {
  padding: 150px 60px;
  text-align: center;
  border-top: 1px solid var(--line-08);
}
.stats__heading { font-size: 56px; margin-top: 10px; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  width: min(1180px, 100%);
  margin: 56px auto 0;
}
.stat {
  padding: 44px 26px 40px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--line-10);
}
.stat__value {
  font-size: 84px;
  line-height: 1;
  background: linear-gradient(100deg, #c9a5f9 0%, #752aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  margin-top: 16px;
  font: 500 13px/1.5 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* ---------- statement band ---------- */
.statement {
  position: relative;
  overflow: hidden;
  padding: 210px 60px 190px;
  text-align: center;
  background-position: center 30%;
}
.statement__heading { font-size: 132px; line-height: 0.88; max-width: 16ch; margin: 0 auto; }
.statement > .statement__heading, .statement > .statement__modules { position: relative; z-index: 1; }
.statement__modules {
  margin: 30px 0 0;
  font: 500 14px/1 var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- asset management feature ---------- */
/* Tall wrapper gives the pinned carousel its scroll runway: the section
   sticks while the visitor scrolls through the five slides. */
.feature-scroll { position: relative; height: 400vh; }
.feature {
  position: sticky;
  top: 0;
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 34px;
  overflow: hidden;
  background-position: left center;
}
.feature-panel {
  position: relative;
  padding: 56px 60px;
  display: flex;
  gap: 48px;
  align-items: center;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--line-10);
}
.feature-panel__copy { flex: 1; }
.feature-panel__index { font-family: var(--font-mono); font-weight: 500; font-size: 96px; margin-bottom: 34px; }
.feature-panel__heading { font-size: 52px; line-height: 1.15; max-width: 16ch; text-transform: none; }
.feature-panel__body { margin-top: 28px; max-width: 42ch; }
.feature-panel__stat {
  font: 700 15px/1 var(--font-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 30px;
}
.shot {
  flex: 1;
  height: 420px;
  border-radius: 12px;
  background: var(--shot-bg);
  border: 1px solid var(--line-12);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot__label {
  padding: 24px;
  font: 500 12px/1.5 var(--font-mono);
  color: var(--shot-text);
}
.feature__progress { display: flex; align-items: center; gap: 14px; margin: 34px 26px 0; }
.feature__track { flex: 1; height: 5px; border-radius: 100px; background: var(--line-12); }
.feature__fill { width: 20%; height: 5px; border-radius: 100px; background: var(--grad); }
.feature__count { font: 500 12px/1 var(--font-mono); color: var(--text-faint); }
.feature__carousel-caption {
  font: 500 12px/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 16px 26px 0;
}

/* ---------- feature carousel motion (scroll-linked) ----------
   Panels are stacked in one grid cell; JS translates each panel on the X
   axis directly from scroll progress, so the next card slides over the
   current one exactly as fast as the visitor scrolls. */
.feature__stack { display: grid; }
.feature__stack .feature-panel {
  grid-area: 1 / 1;
  transform: translateX(110%);
  will-change: transform;
}
.feature__stack .feature-panel:first-child { transform: none; }
.feature__carousel-caption span { transition: color 0.3s var(--ease); }
.feature__carousel-caption span.is-active { color: #fff; }

/* ---------- pricing ---------- */
.pricing { padding: 150px 60px; overflow: hidden; }
.pricing__heading { font-size: 62px; margin-bottom: 16px; }
.pricing__lead { max-width: 56ch; margin-bottom: 44px; }

.plans, .compare {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  border: 1px solid var(--line-12);
  border-radius: 14px;
  overflow: hidden;
}
.plans > div, .compare > div { border-right: 1px solid var(--line-12); background: var(--panel); }
.plans > div:last-child, .compare > div:last-child { border-right: 0; }

.plan-col { padding: 34px 30px; }
.plan-col--intro p { font-size: 14px; margin-top: 12px; }
.plan-col__name { font-size: 30px; }
.plan-col__rule { height: 1px; background: var(--line-14); margin: 20px 0 14px; }
.plan-col__note { font-size: 13px; margin-bottom: 20px; color: var(--text-muted); }

.compare { margin-top: 22px; font-size: 15px; }
/* Fixed row height keeps every column's rows on the same baselines */
.compare .compare__row { min-height: 64px; }
.compare__labels .compare__row {
  padding: 10px 30px;
  border-bottom: 1px solid var(--line-08);
  color: var(--text-soft);
  display: flex;
  align-items: center;
}
.compare__labels .compare__row:first-child {
  font: 500 12px/1 var(--font-mono);
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.compare__labels .compare__row:last-child { border-bottom: 0; }
.compare__col { text-align: center; }
.compare__col .compare__row {
  padding: 10px 19px;
  border-bottom: 1px solid var(--line-08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.compare__col .compare__row:first-child {
  padding: 10px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
}
.compare__col .compare__row:last-child { border-bottom: 0; }
.tick, .cross {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 100px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.tick { background: var(--grad); }
.cross { background: var(--line-14); font-size: 13px; color: var(--text-faint); }

/* ---------- FAQ ---------- */
.faq { padding: 40px 60px 150px; overflow: hidden; position: relative; }
.faq__fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 340px;
  background: url('../assets/brand/dream-backsplash.png') center bottom / cover no-repeat;
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, transparent, #000 70%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 70%);
  pointer-events: none;
}
.faq__heading { font-size: 62px; margin-bottom: 40px; position: relative; }
.faq__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--line-10);
  border-radius: 12px;
  background: var(--panel);
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease);
}
.faq-item.is-open { border-color: rgba(117, 42, 237, 0.6); background: var(--shot-bg); }
/* Answer reveal animates via the grid-rows trick (same as problem cards) */
.faq-item__reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.faq-item.is-open .faq-item__reveal { grid-template-rows: 1fr; }
.faq-item__reveal > .faq-item__detail { overflow: hidden; min-height: 0; }
.faq-item__detail {
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.faq-item.is-open .faq-item__detail { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .faq-item__reveal, .faq-item__detail { transition: none; }
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 26px 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__q { flex: 1; font-size: 24px; }
.faq-item__icon { font-size: 20px; color: var(--text-soft); display: inline-block; transition: transform 0.16s var(--ease), color 0.16s var(--ease); }
.faq-item.is-open .faq-item__icon { color: var(--shot-text); transform: rotate(180deg); }
.faq-item__a {
  margin: 0 30px 26px 76px;
  max-width: 76ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-muted);
}

.faq-item__a a,
.objection__answer a {
  color: #B99BF5;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
html[data-theme="light"] .faq-item__a a,
html[data-theme="light"] .objection__answer a { color: #752AED; }
.faq-item__a a:hover,
.objection__answer a:hover { color: var(--text); }
.faq-item__a a:focus-visible,
.objection__answer a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }

/* ---------- CTA divider band ---------- */

/* ---------- footer ---------- */
.footer { padding: 22px; display: flex; gap: 18px; }
.footer-panel { background: var(--panel); border: 1px solid var(--line-10); border-radius: 16px; }
.footer__brand {
  width: 400px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 34px;
}
.footer__brand-wordmark { font-size: 44px; }
.footer__label {
  font: 700 12px/1 var(--font-sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 14px;
}
.footer__social { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--text-soft); }
.footer__social a { transition: color 0.16s var(--ease); }
.footer__social a:hover { color: var(--text); }

.footer__main { flex: 1; display: flex; flex-direction: column; gap: 18px; }

.newsletter { padding: 34px; display: flex; align-items: flex-end; gap: 26px; }
.newsletter__copy { flex: 1; }
.newsletter p { font-size: 15px; margin-bottom: 20px; }
.newsletter__fields { display: flex; gap: 26px; }
.field { flex: 1; }
.field input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-28);
  padding-bottom: 10px;
  color: var(--text);
  font: 16px var(--font-sans);
}
.field input::placeholder { color: var(--text-faint); }
.field input:focus { outline: none; border-bottom-color: var(--purple-light); }
.newsletter__submit {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--text);
  transition: background 0.16s var(--ease);
}
.newsletter__submit:hover { background: var(--veil-08); }
.newsletter__status { font-size: 13px; color: var(--shot-text); margin-top: 8px; }

.links { padding: 34px; display: flex; flex-wrap: wrap; gap: 32px; }
.links__col { flex: 1 1 150px; min-width: 0; }
.links__col:last-child { flex: none; }
.links__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 15px; color: var(--text-soft); }
.links__col a:hover { color: var(--text); }

.legal {
  display: flex;
  padding: 26px 40px;
  font: 500 12px/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.legal > * { flex: 1; }
.legal > *:nth-child(2) { text-align: center; }
.legal > *:nth-child(3) { text-align: right; }
.legal a:hover { color: var(--text); }

/* ---------- overlay nav (3b) ---------- */
.overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 4, 9, 0.5);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}
.overlay-nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 620px;
  max-width: 100%;
  z-index: 50;
  padding: 26px;
  background-position: right bottom;
  transform: translateX(100%);
  transition: transform 0.28s var(--ease);
  overflow-y: auto;
}
.site.nav-open .overlay-backdrop { opacity: 1; pointer-events: auto; }
.site.nav-open .overlay-nav { transform: translateX(0); }

.overlay-nav__top { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-bottom: 44px; }
.overlay-nav__close { font-size: 22px; color: #fff; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }

.overlay-nav__primary { margin-bottom: 44px; }
.overlay-link {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-14);
}
.overlay-link:last-child { border-bottom: 0; }
.overlay-link--current { background: var(--grad); border-bottom: 0; border-radius: 4px; }
.overlay-link__label { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 30px; }

.overlay-nav__grid { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 40px; }
.overlay-nav__grid a {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-14);
}
.overlay-nav__grid a:nth-child(odd) { border-right: 1px solid var(--line-14); padding-right: 22px; }
.overlay-nav__grid a:nth-child(even) { padding-left: 22px; }
.overlay-nav__grid a[target="_blank"] {
  display: flex;
  align-items: center;
}
.overlay-nav__grid a[target="_blank"] svg {
  flex-shrink: 0;
}

.overlay-nav__contact { font-size: 16px; color: rgba(255, 255, 255, 0.8); margin-bottom: 40px; }
.overlay-nav__contact a:hover { color: #fff; }
.overlay-nav__actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.overlay-nav__actions .btn { width: 100%; min-height: 54px; padding-inline: 12px; font-size: 15px; }

/* ==========================================================================
   Responsive layer — keeps the desktop design untouched above 1024px and
   reflows the layout on tablets/phones so there is never horizontal scroll.
   ========================================================================== */

@media (max-width: 1024px) {
  .hero__inner { flex-direction: column; gap: 48px; }
  .hero { text-align: center; }
  .hero__copy { flex: none; display: flex; flex-direction: column; align-items: center; }
  .hero__shot { flex: none; width: min(760px, 100%); }
  .hero__shot-frame { transform: none; }
  .hero__heading { font-size: 64px; }
  .statement__heading { font-size: 84px; }
  .problem { flex-direction: column; gap: 40px; }
  .problem__heading { font-size: 52px; }
  .feature-panel { flex-direction: column; padding: 40px 30px; align-items: stretch; }
  .feature-panel__heading { font-size: 40px; }
  .shot { height: 320px; }
  .pricing__heading { font-size: 46px; }
  .plans { grid-template-columns: 1fr 1fr; }
  .plans .plan-col--intro { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line-12); }
  .plans > div:nth-child(2) { border-right: 1px solid var(--line-12); }
  .compare { font-size: 13px; }
  .compare__labels .compare__row, .compare__col .compare__row { padding: 14px 12px; }
  .footer { flex-direction: column; }
  .footer__brand { width: auto; gap: 28px; }
}

@media (max-width: 720px) {
  .hero { height: auto; min-height: 640px; padding: 150px 24px 70px; }
  .wordmark__img { height: 26px; }
  .wordmark__img--footer { height: 44px; }
  .hero__heading { font-size: min(42px, 10vw); }
  .hero__lead { margin-top: 28px; font-size: 16px; }
  .hero__ctas { flex-direction: column; width: 100%; max-width: 340px; }
  .hero__scroll { display: none; }
  .nav { padding: 18px 20px; }
  .marquee { font-size: 12px; padding: 11px 0; }
  .problem { padding: 110px 24px; }
  .problem__heading { font-size: 38px; }
  .problem-card__toggle { padding: 20px; gap: 14px; }
  .problem-card__detail { padding: 0 20px; margin-left: 52px; }
  .problem-card.is-open .problem-card__detail { padding-bottom: 18px; }
  .problem-card__title { font-size: 20px; }
  .statement { padding: 140px 24px 130px; }
  .statement__heading { font-size: 48px; }
  .feature { padding: 60px 18px; }
  .feature-panel__index { font-size: 60px; margin-bottom: 22px; }
  .feature-panel__heading { font-size: 30px; }
  .shot { height: 230px; }
  .stats { padding: 110px 24px; }
  .stats__heading { font-size: 34px; }
  .stats__grid { grid-template-columns: 1fr; gap: 14px; margin-top: 34px; }
  .stat__value { font-size: 56px; }
  .pricing { padding: 110px 24px; }
  .pricing__heading { font-size: 34px; }
  .plans { grid-template-columns: 1fr; }
  .plans > div { border-right: 0; border-bottom: 1px solid var(--line-12); }
  .plans > div:last-child { border-bottom: 0; }
  .plan-col { padding: 26px 24px; }
  /* Comparison table: everything fits the viewport (no horizontal scroll);
     taller fixed rows leave room for long labels to wrap while keeping
     every column's rows on the same bands. */
  .compare { display: grid; grid-template-columns: 1.4fr 1fr 1fr; }
  .compare .compare__row { min-height: 84px; }
  .compare__labels .compare__row { padding: 10px; font-size: 12px; }
  .compare__col .compare__row { padding: 10px 6px; }
  .compare__col .compare__row:first-child { padding: 14px 6px; font-size: 15px; }
  .faq { padding: 40px 24px 110px; }
  .faq__heading { font-size: 34px; }
  .faq-item summary { padding: 18px 18px; gap: 14px; }
  .faq-item__q { font-size: 17px; }
  .faq-item__a { margin: 0 18px 20px 18px; }
  .newsletter { flex-direction: column; align-items: stretch; padding: 26px 22px; }
  .newsletter__fields { flex-direction: column; gap: 18px; }
  .newsletter__submit { align-self: flex-end; }
  .links { flex-direction: column; gap: 30px; padding: 26px 22px; }
  .footer__brand-wordmark { font-size: 34px; }
  .legal { flex-direction: column; gap: 10px; padding: 22px 24px; text-align: center; }
  .legal > *:nth-child(2), .legal > *:nth-child(3) { text-align: center; }
  .overlay-link__label { font-size: 22px; }
  .overlay-nav__grid a { font-size: 16px; }
}

/* Short viewports (e.g. phone landscape): shrink the pinned card so the
   sticky section never grows taller than the screen and clips content */
@media (max-height: 700px) {
  .feature { padding: 40px 34px; }
  .feature-panel { padding: 28px 36px; gap: 28px; }
  .feature-panel__index { font-size: 44px; margin-bottom: 12px; }
  .feature-panel__heading { font-size: 26px; }
  .feature-panel__body { margin-top: 12px; }
  .feature-panel__stat { margin-top: 14px; }
  .shot { height: 180px; }
  .feature__progress { margin-top: 16px; }
}
/* Very short viewports (phone landscape): copy only, no screenshot */
@media (max-height: 480px) {
  .feature { padding: 20px 34px; }
  .feature-panel { padding: 18px 24px; }
  .feature-panel__index { display: none; }
  .feature-panel__heading { font-size: 22px; }
  .feature-panel__body { margin-top: 8px; font-size: 14px; }
  .feature-panel__stat { margin-top: 10px; font-size: 12px; }
  .shot { display: none; }
  .feature__carousel-caption { display: none; }
  .feature__progress { margin-top: 12px; }
}

/* ---------- theme toggle (lives in the slide-out menu, always on dark) ---------- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 18px;
  margin-right: auto;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  font: 700 13px/1 var(--font-sans);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(6, 4, 9, 0.4);
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease);
}
.theme-toggle:hover { border-color: rgba(255, 255, 255, 0.5); }
.theme-toggle__icon { font-size: 16px; line-height: 1; }

/* Light mode: white brand mark needs inverting on the white footer panel */
/* Footer logo: Dream wordmarks swap by theme (see Dream 4 block) instead of inverting. */

/* Shared availability pill in navigation and footer. */
.tag-soon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  padding: 3px 8px;
  border: 1px solid rgba(185, 155, 245, 0.45);
  border-radius: 100px;
  font: 600 10px/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shot-text);
  background: rgba(117, 42, 237, 0.16);
  white-space: nowrap;
}

/* ==========================================================================
   Subpages (Asset Management / Help Desk / Reporting / Why Dream)
   ========================================================================== */

/* page enters with a subtle fade/slide-up */
@keyframes page-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.subpage { animation: page-enter 0.28s var(--ease) both; }

/* scroll progress bar */
.progress-rail { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress-rail span { display: block; height: 100%; width: 0; background: var(--grad); }

/* hero: split layout on the dark backsplash */
.page-hero {
  display: flex;
  align-items: center;
  gap: 60px;
  min-height: 620px;
  padding: 180px 60px 110px;
  margin-top: -88px;
  overflow: hidden;
}
.page-hero__copy { flex: 1.1; max-width: 640px; }
.page-hero__heading { font-size: 74px; margin: 18px 0 22px; }
.page-hero__sub { font-size: 19px; max-width: 46ch; }
.page-hero__actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.page-hero__visual { flex: 1; display: flex; justify-content: center; }
/* staggered fade-up: headline -> subhead -> CTAs */
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.page-hero__copy .eyebrow { animation: fade-up 0.5s var(--ease) both; }
.page-hero__heading { animation: fade-up 0.5s var(--ease) 0.08s both; }
.page-hero__sub { animation: fade-up 0.5s var(--ease) 0.18s both; }
.page-hero__actions { animation: fade-up 0.5s var(--ease) 0.28s both; }
.page-hero__visual { animation: fade-up 0.6s var(--ease) 0.2s both; }

/* ---------- animated UI mock panels ---------- */
.mock {
  width: min(460px, 100%);
  background: var(--panel);
  border: 1px solid var(--line-12);
  border-radius: 14px;
  padding: 18px 20px 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 60px rgba(117, 42, 237, 0.22);
}
.mock__bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-28); }
.mock__title { font: 500 13px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.mock__row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line-08); }
.mock__cell { font: 500 14px var(--font-mono); color: var(--text); }
.mock__pill {
  position: relative;
  min-width: 92px;
  text-align: center;
  padding: 5px 12px;
  border-radius: 100px;
  font: 600 11px/1.2 var(--font-sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shot-text);
  background: rgba(117, 42, 237, 0.18);
  border: 1px solid rgba(117, 42, 237, 0.4);
}
/* looping status swap: three stacked labels cross-fade */
.mock__pill--cycle i { font-style: normal; position: absolute; inset: 5px 0; opacity: 0; animation: pill-cycle 6s infinite; }
.mock__pill--cycle i:nth-child(2) { animation-delay: 2s; }
.mock__pill--cycle i:nth-child(3) { animation-delay: 4s; }
.mock__pill--cycle { color: transparent; }
.mock__pill--cycle i { color: var(--shot-text); }
@keyframes pill-cycle { 0% { opacity: 0; } 5% { opacity: 1; } 30% { opacity: 1; } 38% { opacity: 0; } 100% { opacity: 0; } }
.mock__meter { height: 6px; border-radius: 100px; background: var(--line-10); margin-top: 18px; overflow: hidden; }
.mock__meter-fill { display: block; height: 100%; width: 40%; border-radius: 100px; background: var(--grad); animation: meter-loop 3.2s var(--ease) infinite alternate; }
@keyframes meter-loop { from { width: 24%; } to { width: 86%; } }
.mock__foot { margin-top: 14px; font: 400 12px/1 var(--font-mono); color: var(--text-faint); }
.mock__lines { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 4px; }
.mock__lines span { display: block; height: 9px; border-radius: 100px; background: var(--line-10); }
.mock__chart { display: flex; align-items: flex-end; gap: 10px; height: 130px; margin: 10px 0 4px; }
.mock__chart i { flex: 1; border-radius: 5px 5px 0 0; background: var(--grad); height: var(--h); transform-origin: bottom; animation: bar-grow 2.6s var(--ease) infinite alternate; }
.mock__chart i:nth-child(2n) { animation-duration: 3.1s; }
.mock__chart i:nth-child(3n) { animation-duration: 3.7s; }
@keyframes bar-grow { from { transform: scaleY(0.55); } to { transform: scaleY(1); } }
.mock__nodes { display: flex; align-items: center; gap: 10px; padding: 26px 0 12px; }
.mock__node {
  padding: 10px 16px;
  border: 1px solid rgba(117, 42, 237, 0.5);
  border-radius: 8px;
  font: 600 12px/1 var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shot-text);
  background: rgba(117, 42, 237, 0.14);
  animation: node-pulse 3s var(--ease) infinite;
}
.mock__node:nth-child(3) { animation-delay: 1s; }
.mock__node:nth-child(5) { animation-delay: 2s; }
@keyframes node-pulse { 0%, 100% { box-shadow: 0 0 0 rgba(117, 42, 237, 0); } 50% { box-shadow: 0 0 26px rgba(117, 42, 237, 0.55); } }
.mock__link { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(117, 42, 237, 0.2), rgba(185, 155, 245, 0.8), rgba(117, 42, 237, 0.2)); background-size: 200% 100%; animation: link-flow 2.4s linear infinite; }
@keyframes link-flow { from { background-position: 200% 0; } to { background-position: 0 0; } }

/* ---------- problem intro band ---------- */
.page-problem { padding: 130px 60px 60px; max-width: 1060px; }
.page-problem__text { font-family: var(--font-sans); font-size: 30px; line-height: 1.35; color: var(--text); margin-top: 14px; max-width: 34ch; }

/* ---------- alternating feature rows ---------- */
.frow-list { padding: 40px 60px 60px; display: flex; flex-direction: column; gap: 110px; }
.frow { display: flex; align-items: center; gap: 70px; }
.frow__shot { flex: 1.4; display: flex; justify-content: center; }
.frow__shot .mock { width: min(520px, 100%); }
.frow--flip { flex-direction: row-reverse; }
.frow__copy { flex: 1; }
.frow--text {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line-28);
  border-radius: 16px;
  background: var(--panel);
}
.frow--text .frow__copy { max-width: 76ch; }
.frow__title { font-size: 38px; margin: 16px 0 14px; text-transform: none; }

/* ---------- scroll reveals ---------- */
[data-reveal] { opacity: 0; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal="up"] { transform: translateY(34px); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal="up"] + [data-reveal="up"] { transition-delay: 0.12s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .subpage, .page-hero__copy .eyebrow, .page-hero__heading, .page-hero__sub, .page-hero__actions, .page-hero__visual { animation: none; }
  .mock__pill--cycle i:first-child { opacity: 1; animation: none; }
  .mock__pill--cycle i { animation: none; }
  .mock__meter-fill, .mock__chart i, .mock__node, .mock__link { animation: none; }
}

/* ---------- Why Dream pillars ---------- */
.pillars { padding: 60px 60px 40px; }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.pillar { background: var(--panel); border: 1px solid var(--line-10); border-radius: 16px; padding: 30px 28px 34px; }
.pillar__title { font-size: 24px; margin: 18px 0 12px; }

/* ---------- closing CTA ---------- */
.page-cta { padding: 130px 60px 150px; text-align: center; }
.page-cta__heading { font-size: 58px; margin-bottom: 32px; }

/* home carousel panel links */
.feature-panel__link { display: inline-block; margin-top: 16px; font: 700 13px/1 var(--font-sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--shot-text); }
.feature-panel__link:hover { color: #fff; }

/* ---------- subpage responsive ---------- */
@media (max-width: 1024px) {
  .page-hero { flex-direction: column; text-align: center; padding: 160px 34px 80px; gap: 44px; }
  .page-hero__copy { max-width: 100%; }
  .page-hero__actions { justify-content: center; }
  .page-hero__heading { font-size: 56px; }
  .frow, .frow--flip { flex-direction: column; gap: 30px; }
  .frow__copy { text-align: left; width: 100%; }
  .pillars__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .page-hero { padding: 140px 24px 60px; }
  .page-hero__heading { font-size: 40px; }
  .page-problem { padding: 90px 24px 40px; }
  .page-problem__text { font-size: 22px; }
  .frow-list { padding: 30px 24px 40px; gap: 70px; }
  .frow__title { font-size: 28px; }
  .pillars { padding: 40px 24px 20px; }
  .page-cta { padding: 90px 24px 110px; }
  .page-cta__heading { font-size: 34px; }
}

/* current-page highlight for secondary (grid) menu links */
.overlay-nav__grid a.overlay-grid-link--current { color: var(--shot-text); }

/* ==========================================================================
   Problem section redesign — header on top, four cards inline beneath
   ========================================================================== */
.problem--grid { display: block; }
.problem--grid .problem__lead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.problem--grid .problem__heading { max-width: 16ch; }
.problem--grid .problem__cta { margin-top: 0; }
.problem__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pcard {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line-28);
  border-radius: 16px;
  padding: 24px 24px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.pcard:hover { border-color: rgba(117, 42, 237, 0.55); transform: translateY(-4px); }
.pcard .badge { margin-bottom: 14px; }
.pcard__title { font-size: 22px; line-height: 1.2; color: var(--text); margin: 0 0 12px; text-transform: none; }
.pcard__detail { font-size: 14.5px; }

/* shared art stage */
.pcard__art {
  position: relative;
  width: 100%;
  height: 130px;
  margin-bottom: 22px;
  border-radius: 10px;
  background: var(--veil-08);
  border: 1px solid var(--line-08);
  overflow: hidden;
}

/* 01 — three disagreeing spreadsheets */
.psheet {
  position: absolute;
  width: 62%;
  height: 74%;
  border-radius: 6px;
  background: var(--panel);
  border: 1px solid var(--line-12);
}
.psheet--back  { top: 12px; left: 12px; opacity: 0.45; animation: sheet-drift 4.2s var(--ease) infinite alternate; }
.psheet--mid   { top: 20px; left: 26%; opacity: 0.65; animation: sheet-drift 4.2s var(--ease) 0.5s infinite alternate-reverse; }
.psheet--front { top: 28px; left: 34%; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
@keyframes sheet-drift { from { transform: translateX(0) rotate(-1.2deg); } to { transform: translateX(-8px) rotate(0.8deg); } }
.psheet__row { display: block; height: 7px; border-radius: 100px; background: var(--line-12); width: 86%; }
.psheet__row--conflict { background: rgba(117, 42, 237, 0.55); animation: row-conflict 2.4s steps(1) infinite; }
.psheet__row--conflict-b { animation-delay: 1.2s; width: 64%; }
@keyframes row-conflict { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* 02 — repair status lost in email threads */
.pmail {
  position: absolute;
  inset: 18px 18px auto;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid var(--line-12);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pmail__line { display: block; height: 7px; width: var(--w); border-radius: 100px; background: var(--line-12); }
.pmail__status {
  position: absolute;
  bottom: 14px;
  left: 18px;
  padding: 5px 12px;
  border-radius: 100px;
  font: 600 11px/1.2 var(--font-sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shot-text);
  background: rgba(117, 42, 237, 0.16);
  border: 1px dashed rgba(117, 42, 237, 0.6);
  animation: status-wander 5s var(--ease) infinite;
}
@keyframes status-wander {
  0%, 100% { transform: translateX(0); opacity: 1; }
  40% { transform: translateX(90px); opacity: 1; }
  50% { opacity: 0.25; }
  60% { transform: translateX(40px); opacity: 1; }
}

/* 03 — ticket with a broken link to the device */
.pcard__art--ticket { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; }
.pticket, .pdevice {
  padding: 9px 12px;
  border-radius: 7px;
  font: 600 10.5px/1 var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line-12);
  white-space: nowrap;
}
.plink { flex: 1; height: 12px; min-width: 40px; }
.plink path { stroke: rgba(117, 42, 237, 0.8); stroke-width: 2; fill: none; stroke-dasharray: 7 6; animation: link-break 3.2s steps(1) infinite; }
@keyframes link-break { 0%, 100% { opacity: 1; } 45% { opacity: 0.15; } }

/* 04 — cost tags piling up vs Free */
.pcard__art--cost { display: flex; align-items: center; justify-content: space-between; padding: 0 18px; }
.ptags { display: flex; flex-direction: column; gap: 7px; }
.ptag {
  padding: 5px 10px;
  border-radius: 6px;
  font: 600 10.5px/1.2 var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--panel);
  border: 1px solid var(--line-12);
  opacity: 0;
  animation: tag-pile 4.8s var(--ease) infinite;
}
.ptag:nth-child(2) { animation-delay: 0.5s; }
.ptag:nth-child(3) { animation-delay: 1s; }
@keyframes tag-pile { 0% { opacity: 0; transform: translateY(-6px); } 12%, 78% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; } }
.pfree {
  padding: 8px 16px;
  border-radius: 100px;
  font: 700 12px/1.2 var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad);
  animation: free-pulse 2.6s var(--ease) infinite;
}
@keyframes free-pulse { 0%, 100% { box-shadow: 0 0 0 rgba(117, 42, 237, 0); } 50% { box-shadow: 0 0 24px rgba(117, 42, 237, 0.6); } }

@media (prefers-reduced-motion: reduce) {
  .psheet, .psheet__row--conflict, .pmail__status, .plink path, .ptag, .pfree { animation: none; }
  .ptag { opacity: 1; }
  .pcard:hover { transform: none; }
}

/* responsive: 2-up, then 1-up */
@media (max-width: 1180px) {
  .problem__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .problem__grid { grid-template-columns: 1fr; }
  .problem--grid .problem__lead { margin-bottom: 40px; }
}

/* ==========================================================================
   Content-page blocks: proof band, objection, comparison tables, pricing,
   customer stories, webinar, sign up
   ========================================================================== */

/* proof band under the hero */
.proofband { border-top: 1px solid rgba(117, 42, 237, 0.3); border-bottom: 1px solid rgba(117, 42, 237, 0.3); background: rgba(117, 42, 237, 0.06); }
.proofband__inner { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; padding: 26px 40px; }
.proofband__item { font: 600 14px/1.4 var(--font-sans); letter-spacing: 0.07em; text-transform: uppercase; color: var(--shot-text); }
.proofband__item + .proofband__item::before { content: "\2022"; margin-right: 18px; color: var(--text-faint); }

/* problem block title */
.page-problem__title { font-size: 42px; margin: 16px 0 22px; max-width: 22ch; }

/* objection handler */
.objection { padding: 60px 60px 40px; }
.objection__card {
  max-width: 900px;
  margin: 0 auto;
  padding: 44px 48px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid rgba(117, 42, 237, 0.35);
  border-left: 4px solid var(--purple);
}
.objection__quote { font-family: var(--font-sans); font-size: 27px; line-height: 1.3; color: var(--text); margin-bottom: 16px; font-weight: 600; }
.objection__answer { max-width: 62ch; }

/* closing CTA note */
.page-cta__note { margin-top: 18px; color: var(--text-muted); }

/* comparison table */
.cmp { padding: 60px 60px; }
.cmp__scroll { max-width: 1000px; margin: 0 auto; overflow-x: auto; border: 1px solid var(--line-10); border-radius: 16px; background: var(--panel); }
.cmp__table { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp__table th, .cmp__table td { text-align: left; padding: 15px 22px; border-bottom: 1px solid var(--line-08); font: 400 15px/1.45 var(--font-sans); color: var(--text-muted); }
.cmp__table thead th { font: 700 13px/1.2 var(--font-sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--text); border-bottom: 1px solid var(--line-12); }
.cmp__table thead th:nth-child(2) { color: var(--shot-text); }
.cmp__table tbody th { font-weight: 600; color: var(--text); width: 38%; }
.cmp__table tbody tr:last-child th, .cmp__table tbody tr:last-child td { border-bottom: none; }
.cmp__yes { color: var(--shot-text) !important; font-weight: 600 !important; }
.cmp__note { max-width: 1000px; margin: 18px auto 0; font: 400 14px/1.5 var(--font-sans); color: var(--text-faint); }

/* verdicts: where each side wins */
.verdicts { padding: 40px 60px 60px; }
.verdicts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1100px; margin: 0 auto; }
.verdicts__col { border: 1px solid var(--line-10); border-radius: 16px; padding: 34px 32px; background: var(--panel); }
.verdicts__col--dream { border-color: rgba(117, 42, 237, 0.5); }
.verdicts__title { font-size: 24px; margin-bottom: 18px; }
.verdicts__list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.verdicts__list li { padding-left: 22px; position: relative; }
.verdicts__list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--line-28); }
.verdicts__col--dream .verdicts__list li::before { background: var(--grad); }
.verdicts__coda { max-width: 1100px; margin: 22px auto 0; color: var(--text-muted); }

/* vs mock + compare hub cards */
.mock--vs .mock__nodes { justify-content: center; padding: 34px 0 20px; }
.vs-mark { font: 700 13px/1 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.mock__node--plain { border-color: var(--line-12); background: var(--veil-08); color: var(--text); animation: none; }
.vsgrid { padding: 40px 60px 40px; }
.vsgrid__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 1100px; margin: 0 auto; }
.vscard { display: block; border: 1px solid var(--line-10); border-radius: 16px; padding: 32px 30px; background: var(--panel); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.vscard:hover { border-color: rgba(117, 42, 237, 0.55); transform: translateY(-4px); }
.vscard__vs { display: flex; align-items: center; gap: 12px; font: 700 17px/1 var(--font-display); color: var(--text); margin-bottom: 14px; }
.vscard__vs em { font: 700 11px/1 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); font-style: normal; }
.vscard__blurb { margin-bottom: 18px; }
.vscard__go, .story__go { font: 700 13px/1 var(--font-sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--shot-text); }
.vsgrid__rules { max-width: 1100px; margin: 26px auto 0; color: var(--text-faint); font-size: 14px; }

/* pricing */
.page-hero--price { justify-content: center; text-align: center; }
.page-hero__copy--center { max-width: 720px; margin: 0 auto; }
.page-hero--price .page-hero__sub { margin-left: auto; margin-right: auto; }
.page-hero--price .page-hero__actions { justify-content: center; }
.price-zero { font-size: clamp(120px, 18vw, 220px); line-height: 0.95; margin: 10px 0 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.noasterisk { padding: 20px 60px 40px; }
.noasterisk__grid { display: flex; flex-wrap: wrap; gap: 12px; max-width: 1000px; margin: 0 auto; justify-content: center; }
.noasterisk__item { padding: 12px 20px; border-radius: 100px; border: 1px solid rgba(117, 42, 237, 0.4); background: rgba(117, 42, 237, 0.08); font: 600 14px/1.2 var(--font-sans); color: var(--text); }
.included { padding: 70px 60px 40px; max-width: 860px; margin: 0 auto; }
.included__title { font-size: 54px; margin: 14px 0 8px; }
.included__sub { color: var(--text-faint); margin-bottom: 30px; }
.included__list { list-style: none; display: flex; flex-direction: column; }
.included__item { display: flex; gap: 14px; align-items: baseline; padding: 15px 4px; border-bottom: 1px solid var(--line-08); color: var(--text); }
.included__check { color: var(--shot-text); font-weight: 700; }

/* sub-page FAQ reuse */
.subfaq { padding: 80px 60px 40px; max-width: 860px; margin: 0 auto; width: 100%; }
.subfaq__list { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }

/* customer stories */
.stories { padding: 70px 60px 40px; }
.stories__filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 30px; }
.chip { padding: 9px 18px; border-radius: 100px; border: 1px solid var(--line-12); background: transparent; color: var(--text-muted); font: 600 13px/1.2 var(--font-sans); cursor: pointer; transition: all 0.25s var(--ease); }
.chip:hover { border-color: rgba(117, 42, 237, 0.5); color: var(--text); }
.chip.is-active { border-color: rgba(117, 42, 237, 0.7); background: rgba(117, 42, 237, 0.14); color: var(--shot-text); }
.stories__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.story { display: block; border: 1px solid var(--line-10); border-radius: 16px; padding: 34px 32px; background: var(--panel); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.story:hover { border-color: rgba(117, 42, 237, 0.55); transform: translateY(-4px); }
.story.is-hidden { display: none; }
.story__outcome { font-size: 28px; line-height: 1.2; color: var(--text); margin-bottom: 16px; }
.story__org { font: 600 14px/1.4 var(--font-sans); color: var(--text-muted); margin-bottom: 16px; }
.story__loc { color: var(--text-faint); font-weight: 400; margin-left: 8px; }
.stories__note { margin-top: 26px; color: var(--text-faint); font-size: 14px; max-width: 70ch; }

/* webinar */
.webform { padding: 70px 60px 20px; }
.webform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1000px; margin: 0 auto; }
.webform__card { border: 1px solid rgba(117, 42, 237, 0.4); border-radius: 16px; padding: 34px 32px; background: var(--panel); display: flex; flex-direction: column; gap: 14px; }
.webform__next { border: 1px solid var(--line-10); border-radius: 16px; padding: 34px 32px; background: var(--panel); }
.webform__date { font-size: 34px; margin: 12px 0 8px; }
.webform__topic { margin-top: 14px; color: var(--text-muted); }
.webform__status { font: 500 14px/1.4 var(--font-sans); color: var(--shot-text); min-height: 1em; }
.webform__fine { font: 400 13px/1.5 var(--font-sans); color: var(--text-faint); }
.sessions { padding: 60px 60px 40px; }
.sessions__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1100px; margin: 22px auto 0; }
.session { display: block; border: 1px solid var(--line-10); border-radius: 16px; padding: 30px 28px; background: var(--panel); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.session:hover { border-color: rgba(117, 42, 237, 0.55); transform: translateY(-4px); }
.session__title { font-size: 21px; margin: 14px 0 10px; }
.sessions__note { max-width: 1100px; margin: 22px auto 0; color: var(--text-faint); font-size: 14px; }

/* sign up */
.page-hero--signup { align-items: flex-start; }
.signup__form { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; max-width: 440px; }
.signup__form .field select {
  width: 100%; background: transparent; border: none; outline: none;
  color: var(--text-muted); font: 400 15px/1.4 var(--font-sans); padding: 0;
}
.signup__form .field select option { color: #111; }
.page-hero__visual--rail { align-self: center; }
.rail { display: flex; flex-direction: column; gap: 14px; width: min(420px, 100%); }
.rail__item { border: 1px solid var(--line-10); border-radius: 14px; padding: 20px 22px; background: var(--veil-08); }
.rail__head { font: 700 15px/1.3 var(--font-sans); color: var(--text); margin-bottom: 6px; }
.steps { padding: 80px 60px 40px; }
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1100px; margin: 26px auto 0; }
.steps__grid--two { grid-template-columns: repeat(2, 1fr); }
.step { border: 1px solid var(--line-10); border-radius: 16px; padding: 30px 28px; background: var(--panel); }
.step__title { font-size: 22px; margin: 16px 0 10px; }
.quietline { padding: 30px 60px 110px; text-align: center; }
.quietline p { color: var(--text-faint); font-size: 15px; }
.quietline a { color: var(--shot-text); text-decoration: underline; }

/* dense asset mock */
.mock--dense { width: min(500px, 100%); }
.mock__row--slim { padding: 7px 0; }
.mock__row--slim .mock__cell { font-size: 12.5px; }
.mock__row--slim .mock__pill { min-width: 78px; padding: 3px 10px; font-size: 10px; }

/* responsive for the new blocks */
@media (max-width: 1024px) {
  .page-hero--signup { align-items: center; }
  .signup__form { margin-left: auto; margin-right: auto; text-align: left; }
}
@media (max-width: 900px) {
  .verdicts__grid, .vsgrid__grid, .stories__grid, .webform__grid { grid-template-columns: 1fr; }
  .sessions__grid, .steps__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .proofband__inner { padding: 20px 24px; gap: 10px; flex-direction: column; }
  .proofband__item + .proofband__item::before { content: none; }
  .objection { padding: 40px 24px 20px; }
  .objection__card { padding: 28px 24px; }
  .objection__quote { font-size: 21px; }
  .cmp { padding: 40px 24px; }
  .cmp__table th, .cmp__table td { padding: 12px 14px; font-size: 13.5px; }
  .verdicts { padding: 20px 24px 40px; }
  .vsgrid, .stories, .webform, .sessions, .steps, .included, .subfaq { padding-left: 24px; padding-right: 24px; }
  .included__title { font-size: 36px; }
  .page-problem__title { font-size: 28px; }
  .story__outcome { font-size: 22px; }
  .quietline { padding: 20px 24px 80px; }
}

/* non-link story cards until case studies ship */
.story { cursor: default; }
.story__go--soon { color: var(--text-faint); }

/* ---------- real product screenshots in frows / page heroes ---------- */
.shot--frow {
  flex: none;
  width: min(560px, 100%);
  height: auto;
  box-shadow: 0 24px 60px -30px rgba(10, 8, 30, 0.45);
}
/* keep each screenshot's natural aspect ratio; never crop UI */
.shot--frow img { height: auto; object-fit: unset; }
.frow__shot .shot--frow { width: min(520px, 100%); }
/* the short-viewport .shot display:none rule targets the home carousel only */
@media (max-height: 480px) {
  .shot--frow { display: block; }
}

/* ---------- generated illustration card art (home problem grid) ---------- */
.pcard__art--img {
  height: auto;
  min-height: 200px;
  aspect-ratio: 10 / 7;
  overflow: hidden;
  border-radius: 10px;
  padding: 0;
  background: #F4EAFF;
}
.pcard__art--img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ---------- design-system card art (home problem grid) ---------- */
.pcard__art--dsys { display: flex; align-items: center; justify-content: center; background: var(--veil-08); }
.dart { position: relative; width: 100%; height: 100%; }

/* 01 · conflicting spreadsheets */
.dart--sheets { display: block; }
.dart__sheet {
  position: absolute; width: 54%; padding: 16px 10px 10px;
  background: var(--panel); border: 1px solid var(--line-12); border-radius: 6px;
  display: flex; flex-direction: column; gap: 6px;
}
.dart__sheet::before {
  content: ""; position: absolute; top: 5px; left: 8px; width: 18px; height: 4px;
  border-radius: 2px; background: var(--purple-light); opacity: 0.7;
}
.dart__sheet--a { top: 14px; left: 8%; transform: rotate(-4deg); opacity: 0.55; }
.dart__sheet--b { top: 26px; left: 26%; transform: rotate(2deg); opacity: 0.75; }
.dart__sheet--c { top: 18px; left: 42%; transform: rotate(6deg); }
.dart__tab {
  position: absolute; top: 3px; right: 8px;
  font: 500 8px/1 var(--font-mono); color: var(--text-faint);
}
.dart__cellrow { display: block; height: 6px; border-radius: 3px; background: var(--line-12); }
.dart__cellrow--bad { background: color-mix(in srgb, #E5484D 55%, transparent); }

/* 02 · email thread with no answer */
.dart--thread { display: flex; flex-direction: column; gap: 7px; justify-content: center; padding: 0 14px; }
.dart__msg {
  align-self: flex-start; max-width: 78%;
  padding: 5px 10px; border-radius: 9px 9px 9px 2px;
  background: var(--panel); border: 1px solid var(--line-12);
  font: 500 10px/1.3 var(--font-mono); color: var(--text-faint);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dart__msg--in { align-self: flex-end; border-radius: 9px 9px 2px 9px; opacity: 0.75; }
.dart__msg--ask {
  color: var(--shot-text); border-color: var(--purple);
  background: color-mix(in srgb, var(--purple) 14%, transparent);
}
/* 03 · ticket and device, link severed */
.dart--gap { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 14px; }
.dart__card {
  flex: 1; max-width: 42%; padding: 10px;
  background: var(--panel); border: 1px solid var(--line-12); border-radius: 8px;
  display: flex; flex-direction: column; gap: 6px;
}
.dart__label { font: 500 9px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--shot-text); }
.dart__line { display: block; width: var(--w, 60%); height: 5px; border-radius: 3px; background: var(--line-12); }
.dart__cut {
  width: 34px; height: 0; flex: none;
  border-top: 2px dashed var(--line-28);
  position: relative;
}
.dart__cut::after {
  content: "\00d7"; position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  font: 600 12px/1 var(--font-mono); color: #E5484D;
}
/* 04 · priced tools vs $0 */
.dart--cost { display: flex; align-items: center; justify-content: center; gap: 16px; }
.dart__stack { display: flex; flex-direction: column; gap: 5px; }
.dart__price {
  padding: 4px 10px; border-radius: 6px;
  background: var(--panel); border: 1px solid var(--line-12);
  font: 500 10px/1.2 var(--font-mono); color: var(--text-faint);
  text-decoration: line-through; text-decoration-color: color-mix(in srgb, #E5484D 70%, transparent);
}
.dart__stack .dart__price:nth-child(1) { transform: rotate(-2deg) translateX(-4px); }
.dart__stack .dart__price:nth-child(3) { transform: rotate(2deg) translateX(3px); }
.dart__free {
  width: 52px; height: 52px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font: 700 16px/1 var(--font-display); color: #fff;
  background: var(--grad); box-shadow: 0 8px 24px -8px var(--purple);
}

/* ---------- contact page textarea (matches .field input) ---------- */
.field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-28);
  padding: 12px 2px; font: 500 15px/1.5 var(--font-sans); color: var(--text); resize: vertical;
}
.field textarea::placeholder { color: var(--text-faint); }
.field textarea:focus { outline: none; border-bottom-color: var(--purple-light); }

/* ---------- feature carousel: scale panel + screenshot to the window ----------
   The section is pinned to 100vh, so everything inside must fit the window
   at any height. Replace fixed .shot heights with fluid, viewport-derived
   sizing so the card never grows past the bottom of the screen. */
.feature { padding-top: clamp(20px, 6vh, 90px); padding-bottom: clamp(20px, 6vh, 90px); }

/* Row layout (desktop): screenshot shrinks with the window, caps at 420px */
.shot { height: min(420px, calc(100vh - 430px)); min-height: 150px; }

/* Shrink the copy column progressively on shorter windows so it also fits */
@media (max-height: 820px) {
  .feature-panel { padding: 32px 40px; gap: 32px; }
  .feature-panel__index { font-size: 56px; margin-bottom: 16px; }
  .feature-panel__heading { font-size: 34px; }
  .feature-panel__body { margin-top: 14px; }
  .feature-panel__stat { margin-top: 16px; }
  .feature__progress { margin-top: 20px; }
}
@media (max-height: 700px) {
  .feature-panel__index { font-size: 44px; margin-bottom: 12px; }
  .feature-panel__heading { font-size: 26px; }
}

/* Column layout (tablet/phone): copy sits above the shot, so let the shot
   flex into whatever height is left inside the viewport-capped panel */
@media (max-width: 1024px) {
  .feature-panel { max-height: calc(100vh - 150px); }
  .shot { flex: 1 1 0; height: auto; min-height: 110px; max-height: 320px; }
}
@media (max-width: 720px) {
  .feature-panel { max-height: calc(100vh - 130px); }
  .shot { max-height: 240px; }
}

/* ---------- carousel copy: two columns on stacked layouts ----------
   When the panel stacks (copy above shot), spread the copy across two
   columns — eyebrow + heading left, body + stat + link right — so the
   text block is shorter and the screenshot gets more vertical room. */
@media (max-width: 1024px) and (min-width: 641px) {
  .feature-panel__copy {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    column-gap: 36px;
    align-items: start;
  }
  .feature-panel__index { grid-column: 1 / -1; font-size: 44px; margin-bottom: 10px; }
  .feature-panel__copy .eyebrow { grid-column: 1; }
  .feature-panel__heading { grid-column: 1; font-size: 30px; }
  .feature-panel__body { grid-column: 2; grid-row: 2 / span 2; margin-top: 0; }
  .feature-panel__stat { grid-column: 2; margin-top: 14px; }
  .feature-panel__link { grid-column: 2; }
  /* the shorter copy block frees room for a taller screenshot */
  .shot { max-height: 380px; }
}

/* stacked carousel: drop the stat line (e.g. "Live reports, no exports"),
   keep the Learn More link, give the space to the shot */
@media (max-width: 1024px) {
  .feature-panel__stat { display: none; }
  .shot { max-height: 460px; }
}
@media (max-width: 640px) {
  .shot { max-height: 320px; }
}

/* stacked carousel: compact copy, guaranteed-tall screenshot */
@media (max-width: 1024px) {
  .feature-panel { padding: 26px 28px; gap: 20px; }
  .feature-panel__index { font-size: 34px; margin-bottom: 8px; }
  .feature-panel__heading { font-size: 26px; }
  .feature-panel__body { font-size: 14px; }
  .feature-panel__stat { font-size: 12px; margin-top: 12px; }
  .shot { min-height: 220px; }
}
@media (max-width: 640px) {
  .feature-panel__heading { font-size: 22px; }
  .shot { min-height: 190px; }
}

/* ==========================================================================
   Subpage Visual Redesign Overrides
   ========================================================================== */

/* Hero visual floating animation */
@keyframes hero-float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}
.page-hero__visual > * {
  animation: hero-float 6s ease-in-out infinite;
  transform-style: preserve-3d;
}
@media (prefers-reduced-motion: reduce) {
  .page-hero__visual > * { animation: none; }
}

/* Proofband redesign */
.proofband {
  background: radial-gradient(circle at 50% 50%, rgba(117, 42, 237, 0.12), transparent 70%);
  border-top: 1px solid rgba(117, 42, 237, 0.25);
  border-bottom: 1px solid rgba(117, 42, 237, 0.25);
}
.proofband__item {
  font: 700 15px/1.4 var(--font-sans);
  color: var(--text);
  text-shadow: 0 0 16px rgba(117, 42, 237, 0.5);
  letter-spacing: 0.05em;
}

/* Objection block redesign */
.objection__card {
  position: relative;
  max-width: 960px;
  padding: 64px 80px;
  border-radius: 24px;
  background: radial-gradient(circle at top left, rgba(117, 42, 237, 0.15), transparent 60%), var(--panel);
  border: 1px solid rgba(117, 42, 237, 0.3);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-align: center;
  border-left: 1px solid rgba(117, 42, 237, 0.3);
}
.objection__card::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 32px;
  font-family: var(--font-display);
  font-size: 160px;
  line-height: 1;
  color: var(--purple);
  opacity: 0.15;
  pointer-events: none;
}
.objection__card--question::before { content: none; }
.objection__quote {
  position: relative;
  z-index: 1;
  font-size: 38px;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.objection__answer {
  position: relative;
  z-index: 1;
  font-size: 18px;
}
@media (max-width: 720px) {
  .objection__card { padding: 40px 32px; text-align: left; }
  .objection__quote { font-size: 26px; }
  .objection__card::before { left: 12px; font-size: 100px; }
}

/* Verdicts redesign */
.verdicts__col {
  border-radius: 20px;
  padding: 48px 44px;
  background: linear-gradient(180deg, var(--panel), var(--bg));
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}
.verdicts__col--dream {
  background: radial-gradient(120% 120% at top left, rgba(117, 42, 237, 0.12), transparent), var(--panel);
  border: 1px solid rgba(117, 42, 237, 0.4);
  box-shadow: 0 30px 60px -15px rgba(117, 42, 237, 0.15);
}
.verdicts__col--dream::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad);
}
.verdicts__title { font-size: 28px; color: var(--text); }

/* VSCard (Compare Grid) redesign */
.vscard {
  border-radius: 20px;
  padding: 44px 40px;
  background: linear-gradient(180deg, var(--panel), var(--bg));
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  z-index: 1;
}
.vscard::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 19px;
  background: radial-gradient(80% 80% at 50% 100%, rgba(117, 42, 237, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: -1;
  pointer-events: none;
}
.vscard:hover {
  border-color: rgba(117, 42, 237, 0.6);
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -15px rgba(117, 42, 237, 0.2);
}
.vscard:hover::before { opacity: 1; }
.vscard__vs { font-size: 26px; }

/* Story card redesign */
.story {
  border-radius: 20px;
  padding: 44px 40px;
  background: linear-gradient(145deg, var(--panel), var(--bg));
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  z-index: 1;
}
.story::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  border-radius: 19px;
  background: radial-gradient(circle at top right, rgba(117, 42, 237, 0.08), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.story:hover {
  border-color: rgba(117, 42, 237, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4);
}
.story__outcome { color: var(--text); font-weight: 600; }

/* Step card redesign */
.step {
  border-radius: 20px;
  padding: 44px 40px;
  background: var(--panel);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}
.step::after {
  content: "";
  position: absolute;
  top: -50px; right: -50px; width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(117, 42, 237, 0.15), transparent 70%);
  pointer-events: none;
}
.step__title { font-size: 28px; }

/* Session card redesign */
.session {
  border-radius: 20px;
  padding: 40px 36px;
  background: linear-gradient(180deg, var(--panel), var(--bg));
}
.session:hover {
  border-color: rgba(117, 42, 237, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(117, 42, 237, 0.15);
}

/* Pillar card redesign */
.pillar {
  border-radius: 20px;
  padding: 44px 40px;
  background: linear-gradient(180deg, var(--panel), var(--bg));
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad);
  opacity: 0.8;
}

/* Comparison Table redesign */
.cmp__scroll {
  border: 1px solid rgba(117, 42, 237, 0.3);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border-radius: 20px;
}
.cmp__table thead th {
  padding: 28px 24px;
  border-bottom: 1px solid rgba(117, 42, 237, 0.3);
}
.cmp__table thead th:nth-child(2) {
  background: rgba(117, 42, 237, 0.08);
  border-bottom: 2px solid var(--purple);
}
.cmp__table tbody td:nth-child(2) {
  background: rgba(117, 42, 237, 0.04);
}
.cmp__table tbody tr:hover td, .cmp__table tbody tr:hover th {
  background: var(--veil-08);
}
.cmp__table tbody tr:hover td:nth-child(2) {
  background: rgba(117, 42, 237, 0.1);
}

/* Webform card redesign */
.webform__card {
  border: 1px solid rgba(117, 42, 237, 0.4);
  border-radius: 24px;
  padding: 48px 44px;
  background: linear-gradient(145deg, var(--panel), var(--bg));
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.webform__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad);
  border-radius: 24px 24px 0 0;
}
.webform__next {
  border-radius: 24px;
  padding: 48px 44px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}

/* Mock element refinement */
.mock {
  border-radius: 16px;
  background: rgba(11, 8, 18, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 40px rgba(117, 42, 237, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
html[data-theme="light"] .mock {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(18, 10, 34, 0.1);
  box-shadow: 0 30px 80px rgba(18, 10, 34, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 0 40px rgba(117, 42, 237, 0.08);
}
html[data-theme="light"] .bg-splash .mock {
  background: rgba(11, 8, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 40px rgba(117, 42, 237, 0.15);
}
.mock--placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(117, 42, 237, 0.15) 50%, transparent 60%);
  background-size: 200% 200%;
  animation: mock-shine 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes mock-shine {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Shot--frow refinement */
.shot--frow {
  border-radius: 12px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6), 0 0 40px rgba(117, 42, 237, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
html[data-theme="light"] .shot--frow {
  border: 1px solid rgba(18, 10, 34, 0.08);
  box-shadow: 0 30px 80px -20px rgba(18, 10, 34, 0.15), 0 0 40px rgba(117, 42, 237, 0.08);
}
html[data-theme="light"] .bg-splash .shot--frow {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6), 0 0 40px rgba(117, 42, 237, 0.15);
}

/* Larger product windows keep the interface legible instead of presenting
   wide screenshots as small thumbnails. The crop trims empty outer chrome
   while keeping the central product details visible. */
.frow {
  width: 100%;
  max-width: 1190px;
  margin-inline: auto;
  gap: clamp(30px, 3vw, 40px);
}
.frow__shot {
  flex: 1.75;
  min-width: 0;
}
.frow__copy {
  flex: 0.85;
  max-width: 430px;
}
.frow__shot .shot--frow {
  width: min(720px, 100%);
  aspect-ratio: 1.28;
  overflow: hidden;
}
.frow__shot .shot--frow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
@media (min-width: 1025px) {
  .frow__shot {
    justify-content: flex-end;
  }
  .frow--flip .frow__shot {
    justify-content: flex-start;
  }
}

/* Match the subpage hero product windows to the larger feature treatment.
   The fixed frame crops outer browser chrome so the actual product UI reads
   clearly beside the hero copy. */
.page-hero__visual {
  flex: 1.2;
  min-width: 0;
}
.page-hero__visual .shot--frow {
  width: min(700px, 100%);
  aspect-ratio: 1.28;
  overflow: hidden;
}
.page-hero__visual .shot--frow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Chip filter refinement */
.chip {
  padding: 10px 22px;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(117, 42, 237, 0.2);
}
.chip.is-active {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(117, 42, 237, 0.5);
}

/* Subfaq enhancement */
.faq-item {
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.faq-item.is-open {
  box-shadow: 0 12px 24px -6px rgba(117, 42, 237, 0.15);
}

/* Plans (Pricing) redesign */
.plans {
  border-radius: 20px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(117, 42, 237, 0.3);
}
.plan-col:nth-child(2) {
  background: radial-gradient(120% 120% at top center, rgba(117, 42, 237, 0.1), transparent), var(--panel);
  position: relative;
}
.plan-col:nth-child(2)::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad);
}

/* ---------- primary navigation login action ---------- */
.btn--login {
  background: color-mix(in srgb, var(--panel) 72%, transparent);
  border-color: var(--line-28);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--login:hover {
  border-color: var(--purple-light);
  box-shadow: 0 0 24px color-mix(in srgb, var(--purple) 35%, transparent);
}
@media (max-width: 720px) {
  .nav__actions { gap: 6px; }
  .nav__actions .btn { height: 40px; padding: 0 12px; font-size: 10px; }
  .nav__actions .btn--get-started { gap: 4px; padding: 0 4px; }
  .nav__actions .burger { width: 40px; height: 40px; }
}

/* ---------- request-demo modal ---------- */
.demo-modal {
  width: min(940px, calc(100% - 32px));
  max-height: min(820px, calc(100dvh - 32px));
  padding: 0;
  border: 1px solid var(--line-14);
  border-radius: 18px;
  color: var(--text);
  background: var(--panel);
  box-shadow: 0 32px 100px color-mix(in srgb, var(--bg) 82%, transparent), 0 0 60px color-mix(in srgb, var(--purple) 24%, transparent);
  overflow: auto;
}
.demo-modal::backdrop {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.demo-modal__shell { display: grid; grid-template-columns: 0.82fr 1.18fr; min-height: 590px; }
.demo-modal__intro {
  position: relative;
  padding: 52px 42px;
  overflow: hidden;
  background: var(--bg) url('../assets/brand/dream-backsplash.png') center / cover no-repeat;
  color: var(--text);
}
.demo-modal__intro::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, color-mix(in srgb, var(--bg) 20%, transparent), color-mix(in srgb, var(--bg) 82%, transparent));
}
.demo-modal__intro > * { position: relative; z-index: 1; }
.demo-modal__number { font: 500 12px/1 var(--font-mono); color: var(--shot-text); letter-spacing: 0.12em; }
.demo-modal__title { margin: 24px 0 22px; font-size: clamp(42px, 5vw, 68px); line-height: 0.9; }
.demo-modal__intro .body-copy { color: var(--text-soft); }
.demo-modal__content {
  --panel: #fff;
  --text: #17102a;
  --text-soft: #494354;
  --text-faint: #625b6e;
  --line-14: rgba(18, 10, 34, 0.16);
  color-scheme: light;
  position: relative;
  padding: 32px 46px 40px;
  background: var(--panel);
  color: var(--text);
}
.demo-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-14);
  border-radius: 6px;
  color: var(--text);
  background: transparent;
  font: 500 18px/1 var(--font-sans);
  cursor: pointer;
}
.demo-modal__close:hover { border-color: var(--purple-light); }
.demo-form { display: grid; gap: 20px; margin-top: 28px; }
.demo-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.demo-form label { display: grid; gap: 8px; font: 500 11px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--line-28);
  border-radius: 0;
  color: var(--text);
  background: transparent;
  font: 500 15px/1.4 var(--font-sans);
}
.demo-form textarea { min-height: 92px; resize: vertical; }
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus { outline: 0; border-bottom-color: var(--purple-light); }
.demo-form select option { color: var(--text); background: var(--panel); }
.demo-form__status { min-height: 22px; margin: 0; color: var(--shot-text); font: 500 14px/1.5 var(--font-sans); }
.demo-modal[open] { animation: demo-modal-in 0.28s var(--ease) both; }
@keyframes demo-modal-in { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
@media (max-width: 720px) {
  .demo-modal { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 12px; }
  .demo-modal__shell { grid-template-columns: 1fr; }
  .demo-modal__intro { padding: 34px 26px; }
  .demo-modal__title { font-size: 42px; margin: 18px 0 14px; }
  .demo-modal__content { padding: 34px 26px 28px; }
  .demo-form__row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-modal[open] { animation: none; }
}

/* ==========================================================================
   Subpage Problem sections — operational-breakdown layout
   Uses the existing Dream palette and typography; only the composition changes.
   ========================================================================== */
.page-problem--redesign {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: min(860px, 100dvh);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 130px) clamp(24px, 7vw, 104px) 58px;
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(circle at 79% 36%, rgba(117, 42, 237, 0.16), transparent 31rem),
    var(--bg);
  color: var(--text);
}
.page-problem--redesign::before {
  position: absolute;
  z-index: -1;
  width: 52vw;
  height: 52vw;
  top: 21%;
  right: -25vw;
  border: 1px solid rgba(185, 155, 245, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 4rem rgba(185, 155, 245, 0.025),
    0 0 0 8rem rgba(117, 42, 237, 0.035);
  content: "";
  transform: rotate(-18deg);
  pointer-events: none;
}
.page-problem--redesign .page-problem__index {
  position: absolute;
  top: clamp(78px, 10vw, 144px);
  right: clamp(24px, 7vw, 104px);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font: 700 10px/1 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.page-problem--redesign .page-problem__index strong {
  color: var(--shot-text);
  font-size: 18px;
}
.page-problem--redesign .page-problem__index i {
  width: 48px;
  border-top: 1px solid var(--line-14);
}
.page-problem--redesign .page-problem__intro {
  margin-bottom: clamp(54px, 8vw, 108px);
}
.page-problem--redesign .page-problem__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 15px;
  color: var(--shot-text);
  background: none;
  font: 700 12px/1 var(--font-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  -webkit-text-fill-color: currentColor;
}
.page-problem__signal {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--shot-text);
  box-shadow: 0 0 0 5px rgba(185, 155, 245, 0.11);
}
.page-problem--redesign .page-problem__context {
  margin: 0;
  color: var(--text-muted);
  font: 400 13px/1.3 var(--font-sans);
  letter-spacing: 0.02em;
}
.page-problem--redesign .page-problem__context span {
  padding: 0 8px;
  color: var(--purple);
  font-size: 20px;
  vertical-align: -1px;
}
.page-problem--redesign .page-problem__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 0.78fr);
  gap: clamp(46px, 9vw, 140px);
  align-items: start;
}
.page-problem--redesign .page-problem__headline-rule {
  width: 72px;
  margin-bottom: 25px;
  border-top: 3px solid var(--purple);
}
.page-problem--redesign .page-problem__title {
  max-width: 100%;
  overflow-wrap: anywhere;
  margin: 0;
  color: var(--text);
  font: 700 clamp(36px, 4.5vw, 72px)/0.94 var(--font-display);
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-wrap: balance;
}
.page-problem--redesign .page-problem__headline {
  min-width: 0;
}
.page-problem--redesign .page-problem__narrative {
  min-width: 0;
  padding-top: 6px;
  container-type: inline-size;
}
.page-problem--redesign .page-problem__motif {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  align-items: stretch;
  margin-bottom: 40px;
}
.page-problem__node-wrap {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: stretch;
}
.page-problem__node {
  display: grid;
  gap: 13px;
  width: 100%;
  min-width: 0;
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line-14);
  background: color-mix(in srgb, var(--panel) 86%, transparent);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}
.page-problem__node span {
  color: var(--shot-text);
  font: 700 11px/1 var(--font-mono);
  letter-spacing: 0.1em;
}
.page-problem__node strong {
  align-self: end;
  color: var(--text);
  font: 600 14px/1.3 var(--font-sans);
  overflow-wrap: anywhere;
}
.page-problem__connector {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 3px;
  width: 24px;
  color: var(--purple);
}
.page-problem__connector i {
  flex: 1;
  border-top: 1px dashed var(--purple);
  opacity: 0.7;
}
.page-problem__connector b {
  font: 400 13px/1 var(--font-sans);
}
.page-problem__node-wrap:nth-child(2) .page-problem__connector {
  display: none;
}
@container (min-width: 600px) {
  .page-problem--redesign .page-problem__motif {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-problem__node-wrap:nth-child(2) .page-problem__connector {
    display: flex;
  }
}
.page-problem--redesign .page-problem__text {
  max-width: 48ch;
  margin: 0;
  color: var(--text);
  font: 400 clamp(18px, 2vw, 24px)/1.45 var(--font-sans);
  letter-spacing: -0.015em;
}
.page-problem__resolution {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: clamp(66px, 12vw, 160px);
  color: var(--shot-text);
}
.page-problem__resolution span {
  font: 700 11px/1 var(--font-mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}
.page-problem__resolution i {
  width: min(130px, 14vw);
  border-top: 1px solid var(--shot-text);
  opacity: 0.5;
}
.page-problem__resolution b {
  color: var(--purple);
  font: 400 24px/1 var(--font-sans);
}
.page-problem__resolution em {
  color: var(--text-muted);
  font: 400 12px/1 var(--font-sans);
  font-style: normal;
}
.page-problem--no-title .page-problem__grid {
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 0.78fr);
}
.page-problem--no-title .page-problem__headline {
  min-height: 1px;
}

@media (max-width: 760px) {
  .page-problem--redesign {
    min-height: 0;
    padding: 60px 24px 48px;
  }
  .page-problem--redesign .page-problem__index {
    top: 24px;
    right: 24px;
  }
  .page-problem--redesign .page-problem__intro {
    margin-bottom: 54px;
  }
  .page-problem--redesign .page-problem__grid,
  .page-problem--no-title .page-problem__grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .page-problem--redesign .page-problem__narrative {
    padding: 0;
  }
  .page-problem--redesign .page-problem__motif {
    margin-bottom: 30px;
  }
  .page-problem__node {
    min-width: 0;
    flex: 1;
  }
  .page-problem__connector {
    width: 24px;
  }
  .page-problem__resolution {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px 14px;
  }
  .page-problem__resolution i {
    order: 3;
    width: 100%;
  }
}
@media (max-width: 430px) {
  .page-problem--redesign .page-problem__motif {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .page-problem__node-wrap {
    min-width: 0;
  }
  .page-problem__node {
    width: 100%;
    min-height: 77px;
  }
  .page-problem__connector {
    display: none;
  }
  .page-problem--redesign .page-problem__text {
    font-size: 18px;
  }
  .page-problem__resolution em {
    flex-basis: 100%;
  }
}

/* ==========================================================================
   Pricing Interactive Elements
   ========================================================================== */

.price-calculator {
  max-width: 480px;
  margin: 24px auto 32px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line-14);
  border-radius: 12px;
  text-align: left;
}
.pricing-problem-cta {
  margin-top: 56px;
}

.price-calculator__label {
  display: block;
  margin-bottom: 16px;
  font: 500 18px/1 var(--font-sans);
  color: var(--text);
}

.price-calculator__count {
  font-family: var(--font-mono);
  color: var(--shot-text);
  font-size: 24px;
}

.price-calculator__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 32px;
  background: linear-gradient(to right, var(--purple) 0 var(--slider-progress, 10%), var(--shot-text) var(--slider-progress, 10%) 100%) center / 100% 8px no-repeat;
  border-radius: 3px;
  outline: none;
  margin-bottom: 16px;
  transition: background 0.2s;
}

.price-calculator__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--purple);
  cursor: pointer;
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--line-14);
  transition: transform 0.1s;
}

.price-calculator__slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.price-calculator__slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--purple);
  cursor: pointer;
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--line-14);
  transition: transform 0.1s;
}

.price-calculator__slider::-moz-range-thumb:hover {
  transform: scale(1.1);
}

.price-calculator__slider:focus-visible {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--purple);
}

.price-calculator__note {
  font: 400 13px/1.4 var(--font-sans);
  color: var(--text-muted);
  margin: 0;
}

.price-zero--ticker {
  background: none;
  line-height: 1.1;
}
.price-zero__window {
  display: inline-block;
  width: 1.6em;
  height: 1.1em;
  overflow: hidden;
  vertical-align: bottom;
}
.price-zero__reel {
  display: flex;
  flex-direction: column;
}
.price-zero__reel > span {
  display: block;
  flex-shrink: 0;
  height: 1.1em;
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .price-calculator__slider,
  .price-calculator__slider::-webkit-slider-thumb,
  .price-calculator__slider::-moz-range-thumb { transition: none; }
}

/* ==========================================================================
   Dream 4 — four module identity
   Brand stays purple; module colors are applied only to module content/nav.
   --mod is the pure module color; --mod-ink is a legible text tint that
   brightens on dark surfaces and uses the pure color on light surfaces.
   ========================================================================== */
:root {
  --mod-helpdesk: #CC3F63;
  --mod-assets: #7B2FDF;
  --mod-academy: #4266D2;
  --mod-commerce: #48956A;
}
.mod-helpdesk { --mod: var(--mod-helpdesk); --mod-ink: #F0839F; }
.mod-assets   { --mod: var(--mod-assets);   --mod-ink: #B78BFA; }
.mod-academy  { --mod: var(--mod-academy);  --mod-ink: #8FA9F5; }
.mod-commerce { --mod: var(--mod-commerce); --mod-ink: #83CFA2; }
html[data-theme="light"] .mod-helpdesk { --mod-ink: #B3304F; }
html[data-theme="light"] .mod-assets   { --mod-ink: #6A22C9; }
html[data-theme="light"] .mod-academy  { --mod-ink: #3252B8; }
html[data-theme="light"] .mod-commerce { --mod-ink: #2F7550; }
html[data-theme="light"] .bg-splash .mod-helpdesk, .bg-splash .mod-helpdesk { --mod-ink: #F0839F; }
html[data-theme="light"] .bg-splash .mod-assets, .bg-splash .mod-assets { --mod-ink: #B78BFA; }
html[data-theme="light"] .bg-splash .mod-academy, .bg-splash .mod-academy { --mod-ink: #8FA9F5; }
html[data-theme="light"] .bg-splash .mod-commerce, .bg-splash .mod-commerce { --mod-ink: #83CFA2; }

.mod-dot {
  display: inline-block; flex-shrink: 0;
  width: 10px; height: 10px; border-radius: 3px;
  background: var(--mod, var(--purple));
}

/* ---------- logo (Dream-only wordmark) ----------
   Footer swaps white wordmark (dark) for navy/purple wordmark (light); no inversion. */
.wordmark--light-only { display: none; }
html[data-theme="light"] .footer .wordmark--dark-only { display: none; }
html[data-theme="light"] .footer .wordmark--light-only { display: block; }
.footer__brand-wordmark { display: inline-block; }

/* ---------- overlay nav modules ---------- */
.overlay-link--module .mod-dot { order: 1; margin-left: auto; width: 12px; height: 12px; }
.overlay-link--module .ext-icon {
  flex-shrink: 0;
  /* Offset the row's 22px gap to sit 8px from the Academy label. */
  margin-left: -14px;
  width: 18px; height: 18px;
  align-self: center;
}
.overlay-link--module:hover .overlay-link__label,
.overlay-link--module:focus-visible .overlay-link__label { color: var(--mod-ink); }
.overlay-link--module.overlay-link--current {
  background: linear-gradient(100deg, color-mix(in srgb, var(--mod) 88%, #fff 0%), color-mix(in srgb, var(--mod) 55%, #060409));
}
.overlay-link--module.overlay-link--current .overlay-link__label { color: #fff; }
.overlay-link--module.overlay-link--current .mod-dot { background: #fff; }
.overlay-nav__grid a[aria-current="page"] { color: var(--shot-text); }
.links__col .mod-link { display: inline-flex; align-items: center; gap: 10px; }
.links__col .mod-link:hover { color: var(--mod-ink); }
.links__col .mod-link svg { opacity: 0.7; }

/* ---------- hero: Dream 4 release ---------- */
.hero__release {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 26px; padding: 8px 12px;
  border: 1px solid var(--purple-light); border-radius: 12px;
  background: color-mix(in srgb, var(--purple) 24%, var(--panel));
  color: var(--text);
}
.hero__release-label { font: 500 11px/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.hero__release-name { font: 600 clamp(19px, 1.8vw, 23px)/1.1 var(--font-display); letter-spacing: -.03em; white-space: nowrap; }
@media (max-width: 420px) {
  .hero__release { gap: 10px; padding: 7px 10px; }
  .hero__release-label { font-size: 10px; }
}
.hero__modules {
  list-style: none; margin: 26px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.hero__modules li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 13px; border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--mod) 55%, transparent);
  background: color-mix(in srgb, var(--mod) 14%, rgba(6, 4, 9, 0.6));
  font: 600 13px/1 var(--font-sans); letter-spacing: 0.02em;
  color: var(--text);
}
.hero__heading { line-height: 1.02; }

/* ---------- modules section ---------- */
.modules4 {
  padding: 92px clamp(24px, 4vw, 72px) 64px;
  border-bottom: 1px solid var(--line-08);
}
.modules4__head,
.modules4__grid,
.modules4__support { width: min(100%, 1480px); margin-inline: auto; }
.modules4__head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 12px 60px;
  align-items: end;
  margin-bottom: 34px;
}
.modules4__head .eyebrow { grid-column: 1 / -1; margin: 0; }
.modules4__heading { font-size: clamp(42px, 3.2vw, 60px); line-height: 1.06; }
.modules4__lead { max-width: 46ch; padding-bottom: 4px; }
.modules4__free {
  margin: 28px 0 0;
  text-align: center;
  font: 500 clamp(18px, 2vw, 24px)/1.4 var(--font-sans);
  color: var(--text);
}
.modules4__free a { color: var(--shot-text); font-weight: 700; text-decoration: underline; text-underline-offset: .18em; }
.modules4__free a:hover { color: var(--text); }
.modules4__free a:focus-visible { outline: 2px solid var(--shot-text); outline-offset: 4px; border-radius: 2px; }
.modules4__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(258px, auto);
  gap: 12px;
}
.mcard {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: clamp(94px, 8vw, 130px) minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  column-gap: 22px;
  align-content: start;
  padding: 28px 30px 26px 0;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line-10);
  transition: transform 220ms var(--ease), border-color 320ms var(--ease);
}
.mcard::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: clamp(94px, 8vw, 130px);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--mod) 32%, transparent), color-mix(in srgb, var(--mod) 7%, transparent) 72%),
    var(--panel);
  border-right: 1px solid color-mix(in srgb, var(--mod) 42%, transparent);
  pointer-events: none;
}
.mcard::after {
  content: '';
  position: absolute;
  left: -70px;
  bottom: -88px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 23px, color-mix(in srgb, var(--mod) 55%, transparent) 24px 25px, transparent 26px 46px);
  opacity: .65;
  pointer-events: none;
}
a.mcard:hover, a.mcard:focus-visible {
  transform: translateY(-3px);
}
.mcard > .mcard__border {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 2px solid var(--mod);
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
}
a.mcard:hover > .mcard__border,
a.mcard:focus-visible > .mcard__border {
  opacity: 1;
  animation: module-border-draw 700ms linear both;
}
@keyframes module-border-draw {
  0% { clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0); }
  25% { clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0); }
  50% { clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%); }
  75% { clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%); }
  100% { clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0); }
}
.mcard:focus-within { outline: 2px solid var(--mod-ink); outline-offset: 3px; }
a.mcard:focus-visible { outline: 2px solid var(--mod-ink); outline-offset: 3px; }
.mcard__index {
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: start;
  justify-self: center;
  font: 500 30px/1 var(--font-mono);
  color: var(--mod-ink);
  letter-spacing: -.04em;
}
.mcard__name {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 700 11px/1 var(--font-sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mod-ink);
}
.mcard__name::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 2px;
  background: var(--mod);
}
.mcard__title {
  grid-column: 2;
  margin-top: 14px;
  max-width: 28ch;
  font: 600 clamp(22px, 1.65vw, 28px)/1.18 var(--font-display);
  letter-spacing: -.025em;
  text-transform: none;
}
.mcard__body {
  grid-column: 2;
  margin-top: 12px;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.48;
}
.mcard__link {
  grid-column: 2;
  align-self: end;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 12px/1.2 var(--font-sans);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--mod-ink);
}
.mcard__link span, .mcard__link svg { transition: transform 220ms var(--ease); }
a.mcard:hover .mcard__link span,
a.mcard:hover .mcard__link svg,
.mcard__link:hover span,
.mcard__link:focus-visible span { transform: translate(3px, -2px); }
.mcard__link:focus-visible { outline: 2px solid var(--mod-ink); outline-offset: 5px; border-radius: 2px; }
.mcard > * { position: relative; z-index: 1; }
.modules4__support {
  margin-top: 12px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 26px;
  align-items: start;
  border: 1px solid var(--line-12);
  border-radius: 12px;
}
.modules4__support ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.modules4__support li { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--text-muted); line-height: 1.4; }
.modules4__support li > a, .modules4__plain { font: 600 15px/1.2 var(--font-sans); color: var(--text); }
.modules4__support li > a:hover { color: var(--shot-text); }
.modules4__support li > a:focus-visible { outline: 2px solid var(--purple-light); outline-offset: 3px; }

/* ---------- statement / carousel module accents ---------- */
.statement__modules span { color: var(--mod-ink); }
.statement__support {
  position: relative; z-index: 1; margin-top: 16px;
  font: 400 13px/1.5 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-faint);
}
.feature-panel[class*="mod-"] { border-color: color-mix(in srgb, var(--mod) 38%, transparent); }
.feature-panel[class*="mod-"] .feature-panel__index { color: var(--mod-ink); }
.feature-panel__module {
  display: inline-flex; align-items: center; gap: 10px;
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  color: var(--mod-ink);
}
.feature-panel[class*="mod-"] .feature-panel__link { color: var(--mod-ink); }
.shot--academy {
  background:
    radial-gradient(60% 70% at 70% 30%, color-mix(in srgb, var(--mod-academy) 35%, transparent), transparent),
    var(--shot-bg);
}
.academy-art { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 30px; }
.academy-art img { width: 110px; height: auto; object-fit: contain; }
.academy-art p {
  display: flex; flex-direction: column; gap: 6px; align-items: center;
  font: 500 14px/1.3 var(--font-mono); color: var(--text-soft);
}
.academy-art p span { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mod-ink, #8FA9F5); }
.shot--academy { --mod-ink: #8FA9F5; }
.shot--academy > img { object-fit: contain; object-position: center; }
.eyebrow--module {
  display: inline-flex; align-items: center; gap: 10px;
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  color: var(--mod-ink);
}

@media (max-width: 1024px) {
  .modules4 { padding: 80px 34px 64px; }
  .modules4__head { gap: 14px 34px; }
  .modules4__heading { font-size: 44px; }
  .mcard { grid-template-columns: 78px minmax(0, 1fr); padding-right: 20px; }
  .mcard::before { width: 78px; }
  .mcard__title { font-size: 22px; }
  .modules4__support { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 767px) {
  .modules4 { padding: 66px 20px 64px; }
  .modules4__head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 26px; }
  .modules4__heading { font-size: clamp(32px, 9vw, 42px); }
  .modules4__lead { font-size: 15px; }
  .modules4__grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 10px; }
  .modules4__grid::after { display: none; }
  .mcard {
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    column-gap: 0;
    padding: 21px 20px 22px;
  }
  .mcard::before {
    inset: 0 auto 0 0;
    width: 5px;
    border-right: 0;
    background: var(--mod);
  }
  .mcard::after { left: auto; right: -112px; bottom: -125px; opacity: .42; }
  .mcard__index { grid-row: 1; justify-self: start; font-size: 16px; line-height: 1; }
  .mcard__name { grid-row: 1; }
  .mcard__title { margin-top: 17px; font-size: 23px; }
  .mcard__body { font-size: 14px; margin-top: 10px; }
  .mcard__link { margin-top: 17px; }
  .modules4__support { padding: 22px; }
  .modules4__support ul { grid-template-columns: 1fr; gap: 18px; }
  .hero__modules li { font-size: 12px; padding: 8px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .mcard, .mcard__link span, .mcard__link svg { transition: none; }
  a.mcard:hover, a.mcard:focus-visible { transform: none; }
  a.mcard:hover > .mcard__border,
  a.mcard:focus-visible > .mcard__border { animation: none; clip-path: none; }
}

/* ---------- carousel screenshot clarity ----------
   Detail crops are cut from the original captures at native pixels
   (~1050–1100px wide), so the ~600px frame shows them at ~1.8x density
   instead of shrinking a full 1844px window ~3x. Each links to the full image. */
.shot { position: relative; }
.shot--detail > img { object-fit: cover; object-position: left top; }
.shot__meta {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  pointer-events: none;
}
.shot__tag, .shot__full {
  pointer-events: auto;
  padding: 7px 10px; border-radius: 6px;
  background: rgba(11, 8, 18, 0.84); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font: 500 11px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
}
.shot__tag {
  pointer-events: none;
  display: inline-flex; align-items: center; gap: 7px;
  border: 0; border-radius: 999px;
  background: var(--shot-bg); color: var(--shot-text);
  font: 400 12px/1.3 var(--font-sans);
  letter-spacing: 0; text-transform: none;
}
.shot__tag::before {
  content: "ⓘ";
  font-size: 14px; line-height: 1;
}
.shot__full { margin-left: auto; transition: background 0.16s var(--ease); }
.shot__full:hover { background: var(--purple); }
.shot__full:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 640px) { .shot__tag { display: none; } }

/* Hero: detail label + full-image link sit in a frame footer below the
   screenshot (not overlaid), so dashboard buttons stay unobscured. */
.hero__shot-frame .hero__shot-meta {
  position: static;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid var(--line-08);
  background: rgba(255, 255, 255, 0.04);
}
@media (max-width: 640px) { .hero__shot-frame .hero__shot-meta .shot__tag { display: none; } }

/* ---------- full screenshot viewer ---------- */
.image-viewer {
  width: min(1400px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: #15101f;
  color: #fff;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.65);
  overflow: auto;
}
.image-viewer::backdrop {
  background: rgba(8, 5, 15, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.image-viewer__content { padding: clamp(12px, 2vw, 24px); }
.image-viewer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.image-viewer__title { font: 600 clamp(16px, 2vw, 22px)/1.3 var(--font-sans); }
.image-viewer__close {
  flex: none;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  font: 600 12px/1.2 var(--font-sans);
}
.image-viewer__close:hover { background: var(--purple); }
.image-viewer__close:focus-visible, .image-viewer__original:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.image-viewer__stage { display: grid; justify-items: center; }
.image-viewer__image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 135px);
  object-fit: contain;
}
.image-viewer__image[hidden], .image-viewer__original[hidden] { display: none; }
.image-viewer__status { font: 500 14px/1.5 var(--font-sans); }
.image-viewer__status:not(:empty) { padding: 28px 12px; }
.image-viewer__original { color: #d5bcff; text-decoration: underline; margin-bottom: 16px; }
@media (max-width: 640px) {
  .image-viewer { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .image-viewer__image { max-height: calc(100dvh - 125px); }
}

/* ---------- fluid subpage hero headings (2026-09-26) ----------
   One shared scale for every active .page-hero__heading. Viewport clamp is
   the fallback; where container queries are supported the size also tracks
   the copy column width (cqi), so a narrow split column never produces a
   tall one-word-per-line stack. Split hero stacks at <=1100px. */
.page-hero__copy { container-type: inline-size; min-width: 0; }
.page-hero__heading {
  font-size: clamp(34px, 2.2rem + 2.6vw, 72px);
  line-height: 0.95;
  overflow-wrap: normal;
  hyphens: manual;
}
@supports (font-size: 1cqi) {
  .page-hero__heading { font-size: clamp(34px, 11cqi, 72px); }
}
@media (max-width: 1100px) {
  .page-hero { flex-direction: column; text-align: center; padding: 160px 34px 80px; gap: 44px; }
  .page-hero__copy { max-width: 760px; width: 100%; margin: 0 auto; }
  .page-hero__actions { justify-content: center; }
  .page-hero__sub { margin-left: auto; margin-right: auto; }
  .page-hero__heading { font-size: clamp(34px, 5.6vw, 60px); }
  @supports (font-size: 1cqi) { .page-hero__heading { font-size: clamp(34px, 8.4cqi, 60px); } }
}
@media (max-width: 720px) {
  .page-hero { padding: 140px 24px 60px; }
  .page-hero__heading { font-size: clamp(30px, 9vw, 42px); line-height: 1; }
  @supports (font-size: 1cqi) { .page-hero__heading { font-size: clamp(30px, 10.5cqi, 42px); } }
}

/* ---------- stacked header imagery uses the full width (2026-09-26) ----------
   Once heroes stack, the side-by-side caps (700px/760px wide, fixed 1.28
   aspect crop) left a small boxy frame in a wide column. Stacked header
   screenshots now span the available width at their natural aspect ratio:
   no crop, no distortion. Desktop two-column layout is unchanged. */
@media (max-width: 1100px) {
  .page-hero__visual { flex: none; width: 100%; align-self: stretch; }
  .page-hero__visual .shot--frow { width: min(1040px, 100%); aspect-ratio: auto; margin-inline: auto; }
  .page-hero__visual .shot--frow img { height: auto; object-fit: contain; }
}
@media (max-width: 1024px) {
  .hero__shot { width: min(1040px, 100%); align-self: stretch; margin-inline: auto; }
}

/* ---------- module-tinted subpage hero (Help Desk, Assets) ----------
   Opt-in via `.page-hero--module` + a `.mod-*` class on the hero. Adds a soft
   module-color wash over the backsplash (above the scrim, below content) and
   a blurred glow directly behind the hero screenshot. Other subpages keep the
   brand purple. Hero stays on the dark backsplash in both themes. */
.page-hero--module::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(48% 62% at 74% 52%, color-mix(in srgb, var(--mod) 46%, transparent), transparent 72%),
    radial-gradient(40% 50% at 8% 100%, color-mix(in srgb, var(--mod) 14%, transparent), transparent 70%);
}
.page-hero--module > .page-hero__copy,
.page-hero--module > .page-hero__visual { position: relative; z-index: 2; isolation: isolate; }
.page-hero--module .page-hero__visual::before {
  content: '';
  position: absolute;
  inset: -8% -10% -18% -10%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(56% 58% at 50% 55%, color-mix(in srgb, var(--mod) 78%, transparent), transparent 70%);
  filter: blur(38px);
}
.page-hero--module .page-hero__visual .shot--frow {
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.75), 0 18px 60px -22px color-mix(in srgb, var(--mod) 55%, transparent);
}
@media (max-width: 1100px) {
  .page-hero--module::after {
    background:
      radial-gradient(70% 38% at 50% 74%, color-mix(in srgb, var(--mod) 40%, transparent), transparent 72%),
      radial-gradient(60% 30% at 50% 0%, color-mix(in srgb, var(--mod) 10%, transparent), transparent 70%);
  }
  .page-hero--module .page-hero__visual::before { inset: 0 -2% -8% -2%; filter: blur(30px); }
}

/* ---------- Commerce conceptual diagram (purchase -> account + locations) ---------- */
.cdiag { margin: 0; width: 100%; padding: 28px; border: 1px solid var(--line-12); border-radius: 14px; background: radial-gradient(80% 90% at 20% 50%, color-mix(in srgb, var(--mod) 18%, transparent), transparent 70%), var(--panel); display: flex; flex-direction: column; gap: 22px; text-align: left; }
.cdiag__cap { font: 500 11px/1.4 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.cdiag__flow { display: grid; grid-template-columns: 1fr 56px 1.1fr; align-items: center; }
.cdiag__targets { display: flex; flex-direction: column; gap: 14px; }
.cdiag__wire { height: 2px; background: linear-gradient(90deg, var(--mod), color-mix(in srgb, var(--mod) 30%, transparent)); position: relative; }
.cdiag__wire::after { content: ''; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: var(--mod); }
.cdiag__node { padding: 16px 18px; border: 1px solid var(--line-14); border-radius: 10px; background: var(--bg); display: flex; flex-direction: column; gap: 6px; }
.cdiag__node.is-active { border-color: var(--mod); box-shadow: 0 0 28px color-mix(in srgb, var(--mod) 35%, transparent); }
.cdiag__k { font: 500 11px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mod-ink); }
.cdiag__node strong { font: 600 16px/1.25 var(--font-sans); color: var(--text); }
.shot--cdiag, .page-hero__visual .cdiag { height: auto; background: none; border: 0; }
.shot--cdiag { padding: 0; }
@media (max-width: 640px) {
  .cdiag { padding: 20px; }
  .cdiag__flow { grid-template-columns: 1fr; gap: 0; }
  .cdiag__wire { width: 2px; height: 28px; margin: 0 auto; background: var(--mod); }
  .cdiag__wire::after { right: -4px; top: auto; bottom: -8px; border-left-color: transparent; border-top-color: var(--mod); }
}

/* ==========================================================================
   Connected by design — record map (.connect--record)
   Editorial head on the left, an ordered chain of linked records on the
   right joined by a single accent rail. Accent follows the page module
   (--mod / --mod-ink), falling back to brand purple.
   ========================================================================== */
.connect--record {
  --c-acc: var(--mod, var(--purple));
  --c-ink: var(--mod-ink, var(--shot-text));
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  width: min(1240px, calc(100% - 120px));
  margin: 80px auto;
  padding: clamp(48px, 6vw, 88px) 0;
  border-top: 1px solid var(--line-12);
  border-bottom: 1px solid var(--line-12);
  text-align: left;
}
.connect--record::before {
  content: ''; position: absolute; top: -1px; left: 0; width: 96px; height: 2px; background: var(--c-acc);
}
.connect__head { position: sticky; top: 110px; }
.connect__eyebrow { display: inline-flex; align-items: center; gap: 10px; background: none; color: var(--c-ink); -webkit-background-clip: initial; background-clip: initial; }
.connect__signal { width: 8px; height: 8px; border-radius: 50%; background: var(--c-acc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-acc) 22%, transparent); }
.connect__title { font-size: clamp(34px, 4.4vw, 58px); line-height: 0.95; color: var(--text); }
.connect__lede { margin-top: 24px; max-width: 38ch; font-size: 17px; line-height: 1.55; color: var(--text-muted); }

.connect__map {
  position: relative;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line-12);
  border-radius: 18px;
  background:
    radial-gradient(120% 70% at 0% 0%, color-mix(in srgb, var(--c-acc) 10%, transparent), transparent 60%),
    var(--panel);
}
.connect__maplabel { font: 500 11px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 26px; }
/* Content stays visible without JS. Motion runs once, never on a timer loop. */
.connect__body { position: relative; }
.connect__select {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; border-radius: inherit; background: transparent; cursor: pointer;
}
.connect__select:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 4px; }
.is-interactive .connect__body, .is-interactive .connect__num {
  transition: transform 240ms var(--ease), border-color 240ms var(--ease),
    background-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.connect__map.is-interactive .connect__step.is-selected .connect__body {
  transform: translateY(-3px);
  border-color: var(--c-acc);
  background: color-mix(in srgb, var(--c-acc) 9%, var(--bg));
  box-shadow: 0 8px 24px color-mix(in srgb, var(--c-acc) 12%, transparent);
}
.connect__map.is-interactive .connect__step.is-selected .connect__num {
  background: var(--c-acc); color: #fff;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--c-acc) 15%, transparent);
}
.connect__map.is-entering .connect__body,
.connect__map.is-entering .connect__num {
  animation: connect-arrive 650ms var(--ease) var(--step-delay) backwards;
}
.connect__map.is-entering .connect__step::after {
  transform-origin: top;
  animation: connect-link 650ms var(--ease) var(--step-delay) backwards;
}
.connect__map.is-entering .connect__outcome {
  animation: connect-arrive 650ms var(--ease) 600ms backwards;
}
@keyframes connect-arrive {
  from { opacity: .3; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes connect-link {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .connect__map.is-interactive .connect__body,
  .connect__map.is-interactive .connect__num,
  .connect__map.is-entering .connect__outcome,
  .connect__map.is-entering .connect__step::after {
    animation: none; transition: none; transform: none;
  }
  .connect__map.is-interactive .connect__step.is-selected .connect__body { transform: none; }
}
.connect__chain, .connect__branches { list-style: none; margin: 0; padding: 0; }
.connect__chain { position: relative; display: flex; flex-direction: column; gap: 14px; }
/* the rail joining every record */
.connect__chain::before {
  content: ''; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px;
  background: linear-gradient(180deg, var(--c-acc), color-mix(in srgb, var(--c-acc) 30%, transparent));
}
.connect__step { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 18px; align-items: start; }
.connect__num {
  position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font: 500 12px/1 var(--font-mono); color: var(--c-ink);
  background: var(--panel); border: 1px solid color-mix(in srgb, var(--c-acc) 60%, transparent);
}
.connect__body { padding: 14px 18px 16px; border-radius: 12px; border: 1px solid var(--line-10); background: var(--bg); min-width: 0; }
.connect__k { display: block; font: 500 11px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-ink); margin-bottom: 8px; }
.connect__name { margin: 0; font: 600 20px/1.15 var(--font-display); letter-spacing: -0.01em; color: var(--text); }
.connect__detail { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--text-muted); }
.connect__step--origin .connect__num { background: var(--c-acc); border-color: var(--c-acc); color: #fff; }
.connect__step--origin .connect__body { border-color: color-mix(in srgb, var(--c-acc) 55%, transparent); }
.connect__step--result .connect__body { border-style: dashed; border-color: color-mix(in srgb, var(--c-acc) 50%, transparent); }

/* Commerce: one purchase forks into account + locations */
.connect__fork { position: relative; padding-left: 58px; }
.connect__forklabel { margin: 4px 0 12px; }
.connect__fork::before {
  content: ''; position: absolute; left: 20px; top: 6px; width: 30px; height: 2px; background: var(--c-acc);
}
.connect__branches { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.connect__branches .connect__step { grid-template-columns: 1fr; gap: 0; }
.connect__branches .connect__num { position: absolute; top: -14px; right: 14px; width: 30px; height: 30px; font-size: 11px; }
.connect--forked .connect__chain::before { bottom: auto; height: calc(100% - 40px); }

.connect__outcome {
  display: flex; gap: 14px; align-items: baseline;
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-10);
  font-size: 17px; line-height: 1.45; color: var(--text);
}
.connect__outcome-mark { font: 600 18px/1 var(--font-mono); color: var(--c-ink); flex-shrink: 0; }

@media (max-width: 1024px) {
  .connect--record { grid-template-columns: 1fr; width: calc(100% - 48px); margin: 56px auto; gap: 36px; }
  .connect__head { position: static; }
}
@media (max-width: 560px) {
  .connect__map { padding: 22px 16px; }
  .connect__step { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
  .connect__num { width: 32px; height: 32px; }
  .connect__chain::before { left: 15px; }
  .connect__fork { padding-left: 44px; }
  .connect__fork::before { left: 16px; width: 22px; }
  .connect__branches { grid-template-columns: 1fr; gap: 20px; }
  .connect__name { font-size: 18px; }
}
.connect--forked .connect__chain::before { display: none; }
.connect--forked .connect__step--origin::after {
  content: ''; position: absolute; left: 19px; top: 40px; bottom: -21px; width: 2px; background: var(--c-acc);
}
@media (max-width: 560px) { .connect--forked .connect__step--origin::after { left: 15px; top: 32px; } }
/* rail runs node to node and stops at the final record */
.connect__chain::before { display: none; }
.connect__chain > .connect__step:not(:last-child)::after {
  content: ''; position: absolute; left: 19px; top: 40px; bottom: -14px; width: 2px;
  background: color-mix(in srgb, var(--c-acc) 70%, transparent);
}
@media (max-width: 560px) { .connect__chain > .connect__step:not(:last-child)::after { left: 15px; top: 32px; } }

/* ---------- hero module preview tabs (2026-10-03) ----------
   Module chips are tabs; the frame keeps one fixed stage (the dashboard's
   2800x2164 ratio) so switching never shifts layout. */
.hero__tab {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 13px; border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--mod) 40%, transparent);
  background: color-mix(in srgb, var(--mod) 9%, rgba(6, 4, 9, 0.6));
  font: 600 13px/1 var(--font-sans); letter-spacing: 0.02em;
  color: var(--text-soft);
  transition: border-color .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.hero__tab:hover { color: var(--text); transform: translateY(-1px); }
.hero__tab[aria-selected="true"] {
  color: var(--text);
  border-color: var(--mod);
  background: color-mix(in srgb, var(--mod) 24%, rgba(6, 4, 9, 0.6));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--mod) 35%, transparent), 0 8px 24px -10px color-mix(in srgb, var(--mod) 70%, transparent);
}
.hero__tab:focus-visible { outline: 2px solid var(--mod-ink); outline-offset: 3px; }
.hero__stage { position: relative; aspect-ratio: 2800 / 2164; background: #0b0712; overflow: hidden; }
.hero__panel {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(10px) scale(.985);
  transition: opacity .42s var(--ease), transform .5s cubic-bezier(.2,.7,.2,1);
  background: radial-gradient(70% 60% at 50% 45%, color-mix(in srgb, var(--mod) 16%, transparent), transparent 75%);
}
.hero__panel.is-active { opacity: 1; transform: none; }
.hero__panel[hidden] { display: none; }
.hero__shot-frame .hero__panel img { width: 100%; height: 100%; object-fit: contain; }
.hero__panel--contain { padding: 4%; }
.hero__panel--contain img { border-radius: 8px; border: 1px solid var(--line-12); box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); height: auto !important; max-height: 100%; }
.hero__panel--diagram { padding: 6%; }
.hero__panel--diagram .cdiag { background: radial-gradient(80% 90% at 20% 50%, color-mix(in srgb, var(--mod) 18%, transparent), transparent 70%), #0b0812; }
.hero__shot-frame { transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s var(--ease); }
.hero__shot[data-active="assets"] .hero__shot-frame { border-color: color-mix(in srgb, var(--mod-assets) 55%, transparent); }
.hero__shot[data-active="academy"] .hero__shot-frame { border-color: color-mix(in srgb, var(--mod-academy) 55%, transparent); }
.hero__shot[data-active="commerce"] .hero__shot-frame { border-color: color-mix(in srgb, var(--mod-commerce) 55%, transparent); }
.hero__shot[data-active="helpdesk"] .hero__shot-frame { border-color: color-mix(in srgb, var(--mod-helpdesk) 45%, transparent); }
.hero__shot-glow { transition: background .5s var(--ease); }
.hero__shot[data-active="helpdesk"] .hero__shot-glow { background: radial-gradient(55% 60% at 50% 60%, color-mix(in srgb, var(--mod-helpdesk) 38%, transparent), transparent 70%); }
.hero__shot[data-active="assets"] .hero__shot-glow { background: radial-gradient(55% 60% at 50% 60%, color-mix(in srgb, var(--mod-assets) 45%, transparent), transparent 70%); }
.hero__shot[data-active="academy"] .hero__shot-glow { background: radial-gradient(55% 60% at 50% 60%, color-mix(in srgb, var(--mod-academy) 40%, transparent), transparent 70%); }
.hero__shot[data-active="commerce"] .hero__shot-glow { background: radial-gradient(55% 60% at 50% 60%, color-mix(in srgb, var(--mod-commerce) 38%, transparent), transparent 70%); }
.hero__explore[hidden], .shot__full[hidden] { display: none; }
@media (max-width: 640px) {
  .hero__tab { font-size: 12px; padding: 10px 11px; }
  .hero__panel--diagram { padding: 3%; }
  .hero__panel--diagram .cdiag { padding: 12px; gap: 10px; }
  .hero__panel--diagram .cdiag__flow { grid-template-columns: 1fr 22px 1.1fr; }
  .hero__panel--diagram .cdiag__wire { width: auto; height: 2px; margin: 0; background: linear-gradient(90deg, var(--mod), color-mix(in srgb, var(--mod) 30%, transparent)); }
  .hero__panel--diagram .cdiag__wire::after { right: -2px; top: -4px; bottom: auto; border-color: transparent; border-left-color: var(--mod); }
  .hero__panel--diagram .cdiag__targets { gap: 8px; }
  .hero__panel--diagram .cdiag__node { padding: 8px 9px; }
  .hero__panel--diagram .cdiag__node strong { font-size: 12px; }
  .hero__panel--diagram .cdiag__k, .hero__panel--diagram .cdiag__cap { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__panel, .hero__tab, .hero__shot-glow { transition: none; transform: none; }
}

/* ---------- homepage pill: Dream 4 launch link ---------- */
.hero__release:hover { border-color: var(--text-soft); }
.hero__release:focus-visible { outline: 2px solid #C3ABFF; outline-offset: 4px; }

/* ---------- official module icons (user-supplied, unaltered SVGs) ----------
   .mod-dot renders the module's official icon as a CSS mask so it tints with
   the module color (or white on current/filled states) without editing the files. */
.mod-dot {
  width: 18px; height: 18px; border-radius: 0;
  -webkit-mask: var(--mod-icon) center / contain no-repeat;
  mask: var(--mod-icon) center / contain no-repeat;
}
.mod-helpdesk { --mod-icon: url('../assets/brand/modules/help-desk.svg'); }
.mod-assets   { --mod-icon: url('../assets/brand/modules/assets.svg'); }
.mod-academy  { --mod-icon: url('../assets/brand/modules/academy.svg'); }
.mod-commerce { --mod-icon: url('../assets/brand/modules/commerce.svg'); }
.overlay-link--module .mod-dot { width: 24px; height: 24px; }

/* ---------- Homepage module cards: official icon rail art ----------
   Uses the supplied module SVGs unaltered: crisp full-color mark in the rail,
   plus an oversized low-opacity echo (CSS mask tinted with the module color). */
.mcard.mod-helpdesk { --mcard-icon: url('../assets/brand/modules/help-desk.svg'); }
.mcard.mod-assets   { --mcard-icon: url('../assets/brand/modules/assets.svg'); }
.mcard.mod-academy  { --mcard-icon: url('../assets/brand/modules/academy.svg'); }
.mcard.mod-commerce { --mcard-icon: url('../assets/brand/modules/commerce.svg'); }
.mcard::before {
  background:
    var(--mcard-icon) center bottom 30px / clamp(44px, 3.6vw, 56px) no-repeat,
    radial-gradient(120% 55% at 50% 100%, color-mix(in srgb, var(--mod) 30%, transparent), transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--mod) 22%, transparent), color-mix(in srgb, var(--mod) 5%, transparent) 70%),
    var(--panel);
}
.mcard::after {
  left: -58px;
  bottom: -44px;
  width: 184px;
  height: 184px;
  border-radius: 0;
  background: var(--mod);
  -webkit-mask: var(--mcard-icon) center / contain no-repeat;
  mask: var(--mcard-icon) center / contain no-repeat;
  opacity: .1;
  transform: rotate(-8deg);
  transition: transform 420ms var(--ease), opacity 420ms var(--ease);
  z-index: 0;
}
a.mcard:hover::after, .mcard:focus-within::after { transform: rotate(-4deg) scale(1.05); opacity: .16; }
html[data-theme="light"] .mcard::after { opacity: .13; }
@media (max-width: 1024px) {
  .mcard::before { background-size: 40px, auto, auto, auto; background-position: center bottom 24px, 0 0, 0 0, 0 0; }
  .mcard::after { width: 120px; height: 120px; left: -44px; bottom: -34px; }
}
@media (max-width: 767px) {
  .mcard::before { background: var(--mod); }
  .mcard::after { left: auto; right: -34px; bottom: -30px; width: 130px; height: 130px; opacity: .06; }
  html[data-theme="light"] .mcard::after { opacity: .08; }
}
@media (prefers-reduced-motion: reduce) {
  .mcard::after { transition: none; }
  a.mcard:hover::after, .mcard:focus-within::after { transform: rotate(-8deg); }
}

/* Module page headers show full 2800x2164 dashboard captures: match the
   frame to the capture so nothing is cropped. */
.page-hero--module .page-hero__visual .shot--frow { aspect-ratio: 2800 / 2164; height: auto; }
.page-hero--module .page-hero__visual .shot--frow img { height: auto; object-fit: contain; }

/* Feature-row detail crops: native-pixel crops are top-anchored so column
   headers and filter chips stay visible inside the 1.28 frame. */
.frow__shot .shot--frow.shot--detail img { object-position: center top; }

/* ---------- Typographic line breaking (orphan control) ----------
   Headings and pull quotes balance their lines; running copy uses `pretty`
   to avoid a lone last word. Progressive enhancement: unsupported browsers
   wrap normally. Deliberately excludes nav, buttons, chips/tabs, form fields,
   compare/table UI, marquees, module names/numerals, and the homepage
   nowrap hero lines (`.hero__heading-line` keeps white-space: nowrap). */
.subpage h1, .subpage h2, .subpage h3,
.display, .objection__quote, .story__outcome, .connect__title, .connect__name,
.d4-intro__title, .d4-mod__title, .d4-close__title, .d4-hero__tag,
.faq-item__q, .problem-card__title {
  text-wrap: balance;
}
.body-copy, .page-hero__sub, .page-problem__text, .connect__lede,
.connect__detail, .connect__outcome, .objection__answer, .faq-item__a,
.problem-card__detail, .feature-panel__body, .hero__lead, .stories__note,
.d4-intro__lead, .d4-mod__text {
  text-wrap: pretty;
}
/* Objection pull quote: cap the measure so balance yields two even lines
   instead of one long line plus a stranded final word. */
.objection__quote { max-width: 24ch; margin-inline: auto; overflow-wrap: break-word; }
@media (max-width: 720px) { .objection__quote { margin-inline: 0; } }

/* ---------- security & compliance ---------- */
.trust { padding: 150px 60px; border-top: 1px solid var(--line-08); }
.trust__head { text-align: center; max-width: 760px; margin: 0 auto; }
.trust__heading { font-size: 56px; margin-top: 10px; }
.trust__lead { margin: 22px auto 0; max-width: 52ch; text-wrap: pretty; }
.trust__grid {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px;
  width: min(1180px, 100%); margin: 56px auto 0;
}
.trust-card {
  display: flex; align-items: center; gap: 30px;
  padding: 30px; border-radius: 18px;
  background: var(--panel); border: 1px solid var(--line-10);
  transition: border-color 0.3s var(--ease);
}
.trust-card:hover { border-color: rgba(117, 42, 237, 0.55); }
.trust-card__logo {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line-12); border-radius: 12px; padding: 12px;
  width: 200px; height: 128px;
}
.trust-card__logo img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.trust-card__copy { min-width: 0; }
.trust-card__title { font: 600 24px/1.15 var(--font-display); letter-spacing: -0.02em; color: var(--text); text-wrap: balance; }
.trust-card__title sup { font-size: 0.5em; vertical-align: super; line-height: 0; }
.trust-card__body { margin-top: 10px; text-wrap: pretty; }
@media (max-width: 1024px) {
  .trust__grid { grid-template-columns: 1fr; max-width: 640px; }
}
@media (max-width: 720px) {
  .trust { padding: 100px 22px; }
  .trust__heading { font-size: 40px; }
  .trust__grid { margin-top: 40px; gap: 18px; }
  .trust-card { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px; }
  .trust-card__logo { width: 100%; height: 120px; }
}

/* ---------- release comparison (home): inverted lavender band ----------
   Light lavender in both themes; Dream 4 cells stay dark so body copy is white. */
.release-cmp {
  --rc-ink: #1B1230; --rc-muted: #4A3F63; --rc-faint: #6E6388; --rc-line: rgba(58, 15, 122, .14);
  background: #EEE8FB; color: var(--rc-ink);
  padding: 120px 34px 128px; scroll-margin-top: 80px;
}
.release-cmp__wrap { max-width: 1180px; margin: 0 auto; position: relative; z-index: 1; }
/* release-cmp ambient lighting: decorative, scoped, never intercepts pointer */
.release-cmp { position: relative; isolation: isolate; overflow: hidden; --rc-mx: 50%; --rc-my: 30%; --rc-spot: 0; }
.release-cmp__fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.release-cmp__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; animation: rc-drift 26s ease-in-out infinite alternate; }
.release-cmp__glow--a { width: 620px; height: 620px; left: 50%; top: -220px; margin-left: -310px; background: radial-gradient(circle, rgba(117, 42, 237, .38), transparent 68%); }
.release-cmp__glow--b { width: 520px; height: 520px; left: -160px; top: 34%; background: radial-gradient(circle, rgba(185, 155, 245, .55), transparent 70%); animation-duration: 32s; animation-delay: -9s; }
.release-cmp__glow--c { width: 560px; height: 560px; right: -180px; bottom: -160px; background: radial-gradient(circle, rgba(90, 33, 181, .26), transparent 70%); animation-duration: 38s; animation-delay: -17s; }
.release-cmp__spot { position: absolute; inset: 0; opacity: var(--rc-spot); transition: opacity .6s var(--ease); background: radial-gradient(520px circle at var(--rc-mx) var(--rc-my), rgba(117, 42, 237, .14), transparent 65%); }
.release-cmp.is-paused .release-cmp__glow { animation-play-state: paused; }
@keyframes rc-drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(60px, 40px, 0) scale(1.08); } 100% { transform: translate3d(-50px, 20px, 0) scale(.95); } }
@media (hover: none), (pointer: coarse) { .release-cmp__spot { display: none; } .release-cmp__glow { animation: none; will-change: auto; } }
@media (prefers-reduced-motion: reduce) { .release-cmp__glow { animation: none; } .release-cmp__spot { display: none; } }
.release-cmp__head { display: grid; justify-items: center; gap: 24px; text-align: center; margin-bottom: 56px; }
.release-cmp__head .eyebrow { grid-column: 1 / -1; margin: 0; background: none; color: #5A21B5; -webkit-text-fill-color: #5A21B5; }
.release-cmp__lockup { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 42px); margin: 0; }
.release-cmp__lockup img { width: clamp(160px, 24vw, 292px); height: auto; }
.release-cmp__rule { width: 1px; height: clamp(64px, 10vw, 112px); background: linear-gradient(transparent, rgba(117, 42, 237, .35), transparent); }
.release-cmp__number { font: 600 clamp(100px, 15vw, 176px)/1 var(--font-display); letter-spacing: -.06em; color: #752AED; text-shadow: 0 0 65px rgba(117, 42, 237, .2); }
.release-cmp__aside { display: grid; gap: 22px; justify-items: center; }
.release-cmp__footer { display: flex; justify-content: center; width: 100%; margin-top: 36px; text-align: center; }
.release-cmp__lead { font-size: 17px; line-height: 1.6; color: var(--rc-muted); max-width: 44ch; }
.release-cmp__link {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 100px;
  background: #17102A; color: #fff; font: 600 14px/1 var(--font-sans);
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.release-cmp__link:hover { transform: translateY(-2px); background: #3A0F7A; }
.release-cmp__link:focus-visible { outline: 2px solid #752AED; outline-offset: 4px; }
.release-cmp__cols { display: grid; grid-template-columns: 230px minmax(0, 1fr) minmax(0, 1.25fr); gap: 0 12px; padding: 0 12px 12px; font: 500 11px/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--rc-faint); }
.release-cmp__cols span:last-child { color: #752AED; }
.release-cmp__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.release-cmp__item {
  display: grid; grid-template-columns: 230px minmax(0, 1fr) minmax(0, 1.25fr); gap: 0; align-items: stretch;
  padding: 0; overflow: hidden; border-radius: 20px; background: rgba(255, 255, 255, .72); border: 1px solid var(--rc-line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.release-cmp__item:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(58, 15, 122, .35); }
.release-cmp__area { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 18px 14px; font: 600 19px/1.15 var(--font-display); letter-spacing: -.02em; color: var(--rc-ink); }
.release-cmp__area span { font: 500 12px/1 var(--font-mono); letter-spacing: .1em; color: #752AED; }
.release-cmp__soon { display: inline-block; padding: 4px 9px; border-radius: 100px; border: 1px dashed currentColor; font: 500 10px/1 var(--font-mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: #2F7550; }
.release-cmp__lbl { font: 500 10px/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 9px; }
.release-cmp__then { padding: 18px 14px; font-size: 15px; line-height: 1.5; color: var(--rc-muted); }
.release-cmp__then .release-cmp__lbl { color: var(--rc-faint); }
.release-cmp__now { padding: 18px 20px; border-radius: 0; background: #120C1E; font-size: 15.5px; line-height: 1.5; color: #ffffff; }
.release-cmp__now .release-cmp__lbl { color: #B99BF5; }
.release-cmp__now p:not(.release-cmp__lbl) { color: #ffffff; }
.release-cmp__item--soon .release-cmp__now { background: #1E1630; }
@media (max-width: 900px) {
  .release-cmp__head { grid-template-columns: 1fr; }
  .release-cmp__cols { display: none; }
  .release-cmp__item { grid-template-columns: 1fr 1fr; }
  .release-cmp__area { grid-column: 1 / -1; padding: 18px 20px; }
  .release-cmp__then { padding: 18px 20px; }
}
@media (max-width: 600px) {
  .release-cmp { padding: 80px 16px 88px; }
  .release-cmp__head { margin-bottom: 36px; }
  .release-cmp__item { grid-template-columns: 1fr; gap: 0; }
  .release-cmp__then { padding: 0 20px 18px; }
}
@media (prefers-reduced-motion: reduce) { .release-cmp__item, .release-cmp__link { transition: none; } .release-cmp__item:hover { transform: none; } }

/* ---------- free platform + optional add-ons ---------- */
.freeplan { display: grid; gap: 22px; }
.freeplan__main {
  display: grid; grid-template-columns: minmax(260px, 0.9fr) 1.4fr; gap: 56px;
  padding: 48px; border: 1px solid var(--line-12); border-radius: 18px; background: var(--panel);
}
.freeplan__zero {
  font-size: 140px; line-height: 0.9; margin: 16px 0 18px;
  background: linear-gradient(100deg, #C3ABFF, var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.freeplan__terms { max-width: 32ch; margin-bottom: 28px; color: var(--text-soft); }
.freeplan__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; align-content: center; }
.freeplan__list li {
  padding: 15px 0 15px 28px; border-bottom: 1px solid var(--line-08); position: relative;
  font-size: 15px; line-height: 1.4; color: var(--text);
}
.freeplan__list li::before { content: '\2713'; position: absolute; left: 0; color: var(--shot-text); font-weight: 700; }
.freeplan__soon { margin-left: 8px; font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.addons {
  display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 32px; align-items: center;
  padding: 26px 48px; border-top: 1px solid var(--line-12); border-bottom: 1px solid var(--line-12);
}
.addons .mono-caption { color: var(--shot-text); margin-bottom: 10px; display: block; }
.addons__head .body-copy, .addons__item .body-copy { font-size: 14px; }
.addons__name { font: 600 17px/1.2 var(--font-sans); color: var(--text); margin-bottom: 6px; }
@media (max-width: 960px) {
  .freeplan__main { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }
  .freeplan__zero { font-size: 104px; }
  .addons { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .addons__cta { justify-self: start; }
}
@media (max-width: 560px) { .freeplan__list { grid-template-columns: 1fr; } }

/* ---------- Commerce partner brands (scoped) ---------- */
.partners { padding: 110px 60px 90px; }
.partners__head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.partners__title { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.02; text-transform: none; }
.partners__lede { margin: 20px auto 0; max-width: 58ch; text-wrap: pretty; }
.partners__groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; width: min(1240px, 100%); margin: 0 auto; }
.partner-group { padding: 26px; border: 1px solid var(--line-10); border-radius: 18px; background: var(--panel); }
.partner-group__title { margin: 0 0 18px; font: 600 18px/1.25 var(--font-sans); color: var(--text); }
.partner-group__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.partner-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 118px; padding: 18px 14px 12px; border-radius: 12px; background: #FBFAFD; border: 1px solid rgba(18, 10, 34, 0.08); transition: transform 0.2s var(--ease), border-color 0.2s var(--ease); }
.partner-card:hover { transform: translateY(-2px); border-color: rgba(117, 42, 237, 0.35); }
.partner-card img { width: auto; max-width: 82%; height: 44px; object-fit: contain; }
.partner-card[data-brand="hp"] img { height: 52px; }
.partner-card[data-brand="newline"] { background: #FFFFFF; }
.partner-card[data-brand="twt-audio"] img, .partner-card[data-brand="clear-touch"] img { height: 40px; }
.partner-card__name { font: 500 11px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(23, 16, 42, 0.55); }
.partner-group__list > .partner-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 1100px) { .partners__groups { grid-template-columns: 1fr; max-width: 680px; } }
@media (max-width: 767px) { .partners { padding: 72px 20px 60px; } .partner-group { padding: 20px; } .partner-card { min-height: 100px; } }
@media (prefers-reduced-motion: reduce) { .partner-card { transition: none; } .partner-card:hover { transform: none; } }

