/* ═══════════════════════════════════════════════════════════════════════════
   Lumis — Sales site v2
   Dark cinematic · perspective UI · performance + a11y polish
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg:              #080808;
  --bg-raised:       #0d0d0d;
  --surface:         #111111;
  --surface-hover:   #191919;
  --surface-bright:  #202020;
  --border:          rgba(255, 255, 255, 0.06);
  --border-hover:    rgba(255, 255, 255, 0.12);

  --text:            #d9d9d9;
  --text-muted:      #7c7c7c;
  --text-faint:      #464646;

  /* Plugin identity — blue accents on neutral charcoal */
  --accent:          #2979ff;
  --accent-hover:    #5ea3ff;
  --accent-subtle:   rgba(126,173,252, 0.10);
  --accent-border:   rgba(126,173,252, 0.30);
  --accent-glow:     rgba(126,173,252, 0.30);
  --accent-2:        #6fa3fb;
  --accent-grad:     linear-gradient(135deg, #6fa3fb 0%, #7eadfc 55%, #6fa3fb 100%);
  --glass-bg:        rgba(18,18,18, 0.55);
  --glass-border:    rgba(144,184,252, 0.16);

  --font-heading:    'Space Grotesk', system-ui, sans-serif;
  --font-body:       'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:       ui-monospace, 'SF Mono', 'Cascadia Mono', 'Consolas', monospace;

  --container:       1320px;
  --radius:          10px;
  --radius-lg:       16px;
  --radius-sm:       6px;

  --space-xs:   0.5rem;
  --space-sm:   0.75rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2.5rem;
  --space-2xl:  4rem;
  --space-3xl:  6rem;
  --space-section: clamp(5rem, 10vw, 9rem);

  /* Motion — strong ease-out, respect prefers-reduced-motion below */
  --ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* room for v2 sticky CTA */
  padding-bottom: 4.5rem;
}

/* Skip link + focus rings */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 2000;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.skip-link:focus {
  left: 0.75rem;
  outline: none;
}
.skip-link:focus-visible {
  left: 0.75rem;
  outline: 2px solid #fff;
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
.pricing-toggle-btn:focus-visible,
.faq-item summary:focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: 3px;
}
.btn:focus-visible {
  outline-offset: 4px;
}

html.reduce-motion .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
html.reduce-motion .hero-bg-overlay {
  animation: none !important;
}
html.reduce-motion .wow-rail-inner.reveal .wow-rail-card,
html.reduce-motion .pricing-grid.reveal .price-card,
html.reduce-motion .moment.reveal.visible .moment-screen .screen-wrap,
html.reduce-motion .moment.reveal.visible .screen-glow,
html.reduce-motion .hero-speed.reveal.visible .hero-speed-vs,
html.reduce-motion .hero-speed.reveal.visible .hero-speed-card,
html.reduce-motion .qp-demo.visible .qp-demo-bar {
  animation: none !important;
}
html.reduce-motion {
  scroll-behavior: auto;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg-overlay {
    animation: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .wow-rail-inner.reveal .wow-rail-card,
  .pricing-grid.reveal .price-card,
  .moment.reveal.visible .moment-screen .screen-wrap,
  .moment.reveal.visible .screen-glow,
  .hero-speed.reveal.visible .hero-speed-vs,
  .hero-speed.reveal.visible .hero-speed-card,
  .qp-demo.visible .qp-demo-bar {
    animation: none !important;
  }
  .audience-card:hover,
  .price-card:hover,
  .moment:hover .screen-tilt-right,
  .moment:hover .screen-tilt-left,
  .moment:hover .screen-front {
    transform: none;
  }
}

img, video, svg { display: block; max-width: 100%; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
code { font-family: var(--font-mono); font-size: 0.875em; background: var(--surface); padding: 0.15em 0.4em; border-radius: 4px; }
::selection { background: rgba(105,105,105, 0.35); color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ── Top Bar ────────────────────────────────────────────────────────────── */
.top-bar {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
}

/* ── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 2px; left: 0; right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(8,8,8, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.nav-logo-icon {
  flex-shrink: 0;
  opacity: 0.92;
  transition: opacity 0.2s;
}
.nav-logo:hover .nav-logo-icon { opacity: 1; }
.nav-logo-mark {
  display: none;
}
.nav-links {
  display: flex;
  gap: var(--space-lg);
  margin-left: auto;
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.25s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-hover), transparent);
  transition: width 0.35s var(--ease-out-strong);
  pointer-events: none;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta { margin-left: var(--space-sm); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  border: none; cursor: pointer;
  transition: background 0.2s, box-shadow 0.25s, transform 0.15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #fff; font-weight: 600; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 0 32px var(--accent-glow); }
.btn-ghost { background: rgba(255,255,255,0.06); color: #fff; border: 1px solid rgba(255,255,255,0.1); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border-hover); }
.btn-outline:hover { background: var(--surface); border-color: var(--accent-border); color: var(--accent-hover); }
.btn-lg { padding: 0.85rem 2rem; font-size: 0.95rem; }
.btn-sm { padding: 0.45rem 1.1rem; font-size: 0.8rem; }
.btn-block { width: 100%; }

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(105,105,105, 0.12);
  border: 1px solid var(--accent-border);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
}

/* ── Section Headers ────────────────────────────────────────────────────── */
.section-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}
.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fff;
}
.section-sub {
  margin-top: var(--space-sm);
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO — Platform bar + full-bleed
   ═══════════════════════════════════════════════════════════════════════════ */
.hero-platform-bar {
  position: absolute;
  top: calc(6.5rem + env(safe-area-inset-top, 0px));
  left: 0; right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  padding: 0.35rem 1rem 0;
}
.hero-platform-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(105,105,105, 0.2);
  border: 1px solid rgba(105,105,105, 0.4);
  padding: 0.45rem 1.5rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 8% center;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  transform-origin: center center;
  background:
    linear-gradient(180deg, rgba(8,8,8,0.4) 0%, rgba(8,8,8,0.15) 35%, rgba(8,8,8,0.6) 70%, var(--bg) 100%),
    linear-gradient(90deg, rgba(8,8,8,0.7) 0%, transparent 50%, rgba(8,8,8,0.3) 100%);
}

@keyframes hero-breathe {
  0% { transform: scale(1); }
  100% { transform: scale(1.028); }
}

html:not(.reduce-motion) .hero-bg-overlay {
  animation: hero-breathe 28s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: min(900px, 100%);
  width: 100%;
  padding: clamp(7rem, 16vh, 12rem) 0 clamp(4rem, 8vh, 6rem);
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #fff;
  margin-top: var(--space-lg);
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}
.hero-sub {
  margin-top: var(--space-md);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}
.hero-sub strong {
  color: rgba(255,255,255,0.92);
  font-weight: 600;
}

/* Speed strip — standalone section right below the hero */
.speed-strip {
  padding: clamp(1rem, 3vw, 2rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: var(--bg);
}
.speed-strip .hero-speed {
  margin-top: 0;
}

/* Speed card — two-panel comparison */
.hero-speed {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.8rem, 3vw, 2.5rem);
}
.hero-speed-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: min(52rem, 100%);
  width: 100%;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(0,0,0,0.15),
    0 24px 48px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  transition:
    box-shadow 0.5s var(--ease-out-strong),
    border-color 0.45s ease;
}
.hero-speed.reveal.visible .hero-speed-card {
  animation: hero-speed-card-in 0.9s var(--ease-reveal) both;
}
@keyframes hero-speed-card-in {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(12px);
    box-shadow:
      0 4px 6px rgba(0,0,0,0.1),
      0 12px 28px rgba(0,0,0,0.2);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    box-shadow:
      0 4px 6px rgba(0,0,0,0.15),
      0 24px 48px rgba(0,0,0,0.35);
  }
}
.hero-speed-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 8px 24px rgba(0,0,0,0.25),
    0 32px 64px rgba(0,0,0,0.45),
    0 0 60px rgba(105,105,105, 0.08);
}
.hero-speed-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.2rem, 3vw, 2rem);
  gap: 0.6rem;
  min-width: 0;
  overflow: hidden;
}
.hero-speed-before {
  background: rgba(30,32,38,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.hero-speed-after {
  background: rgba(12, 16, 28, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 0 30px rgba(105,105,105,0.06), 0 0 20px rgba(105,105,105,0.08);
  border-left: 1px solid rgba(105,105,105,0.15);
}
.hero-speed-label {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.4);
}
.hero-speed-after .hero-speed-label {
  color: rgba(105,105,105,0.7);
}
.hero-speed-num {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-speed-before .hero-speed-num {
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  color: rgba(255,255,255,0.85);
}
.hero-speed-after .hero-speed-num {
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  color: var(--accent-hover);
  text-shadow: 0 0 30px var(--accent-glow);
}
.hero-speed-desc {
  font-size: 0.74rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.35);
  max-width: min(15rem, 100%);
  width: 100%;
}
.hero-speed-after .hero-speed-desc {
  color: rgba(255,255,255,0.45);
  max-width: min(24rem, 100%);
}
.hero-speed-after .hero-speed-desc strong {
  color: rgba(255,255,255,0.75);
  font-weight: 600;
}
@keyframes hero-vs-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(105,105,105, 0);
  }
  50% {
    box-shadow: 0 0 22px 4px rgba(105,105,105, 0.22);
  }
}
.hero-speed-vs {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  background: rgba(40,42,50,0.95);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  letter-spacing: 0.02em;
}
.hero-speed.reveal.visible .hero-speed-vs {
  animation: hero-vs-glow 3.2s ease-in-out infinite;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-xl);
}
.hero-note {
  margin-top: var(--space-lg);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.hero-dock-note {
  margin-top: var(--space-md);
  margin-left: auto;
  margin-right: auto;
  max-width: min(36rem, 100%);
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.38);
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.hero-dock-note strong {
  color: rgba(255,255,255,0.62);
  font-weight: 600;
}

/* Wow rail — surface drag + relight legacy scenes */
.wow-rail {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background:
    linear-gradient(180deg, rgba(105,105,105, 0.07) 0%, transparent 60%),
    var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.wow-rail-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}

@keyframes wow-rail-card-in {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wow-rail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
  transition:
    border-color 0.4s var(--ease-out-strong),
    box-shadow 0.45s var(--ease-out-strong),
    transform 0.45s var(--ease-out-strong);
}
.wow-rail-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(105,105,105, 0.12),
    0 0 48px rgba(105,105,105, 0.1);
}
.wow-rail-inner.reveal.visible .wow-rail-card {
  animation: wow-rail-card-in 0.78s var(--ease-out-strong) both;
}
.wow-rail-inner.reveal.visible .wow-rail-card:nth-child(1) { animation-delay: 0.04s; }
.wow-rail-inner.reveal.visible .wow-rail-card:nth-child(2) { animation-delay: 0.11s; }
.wow-rail-inner.reveal.visible .wow-rail-card:nth-child(3) { animation-delay: 0.18s; }
.wow-rail-inner.reveal.visible .wow-rail-card:nth-child(4) { animation-delay: 0.25s; }

/* v2 — slightly wider stagger on large screens (P3) */
@media (min-width: 960px) {
  .wow-rail-inner.reveal.visible .wow-rail-card:nth-child(1) { animation-delay: 0.1s; }
  .wow-rail-inner.reveal.visible .wow-rail-card:nth-child(2) { animation-delay: 0.22s; }
  .wow-rail-inner.reveal.visible .wow-rail-card:nth-child(3) { animation-delay: 0.34s; }
  .wow-rail-inner.reveal.visible .wow-rail-card:nth-child(4) { animation-delay: 0.46s; }
}

.wow-rail-card-pro {
  border-left: 3px solid var(--accent);
  padding-left: calc(var(--space-lg) - 2px);
  background: linear-gradient(
    145deg,
    rgba(105,105,105, 0.14) 0%,
    var(--surface) 52%
  );
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.32),
    0 0 40px rgba(105,105,105, 0.08);
}
.wow-rail-card-pro:hover {
  border-color: var(--accent-border);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(105,105,105, 0.2),
    0 0 56px rgba(105,105,105, 0.16);
}
.wow-rail-card-pro .wow-rail-kicker {
  color: #b8c4ea;
}
.wow-rail-card h3 em {
  font-style: normal;
  color: var(--accent-hover);
}
.wow-rail-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-hover);
  margin-bottom: 0.45rem;
}
.wow-rail-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.22;
  margin-bottom: 0.55rem;
}
.wow-rail-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 36rem;
}
.wow-rail-card p strong {
  color: var(--text);
  font-weight: 600;
}
.moment-copy p strong {
  color: #e9e9e9;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOMENTS — Full-width WOW sections (Apple/GSG feel)
   ═══════════════════════════════════════════════════════════════════════════ */
.moments {
  padding: clamp(4rem, 8vw, 7rem) 0 0;
  background: var(--bg);
}
.moment {
  padding: clamp(3.25rem, 7vw, 6rem) 0;
}
.moment:nth-child(even) {
  background: var(--bg-raised);
}

.moment-inner {
  display: grid;
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  align-items: start;
}
#scrim-softbox { scroll-margin-top: 90px; }
.scrim-feature { grid-template-columns: minmax(0, 1fr); }
.scrim-feature-copy { display:grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items:center; }
.scrim-feature-copy h2 { margin-bottom:0; }
.scrim-feature-copy .moment-lead { max-width:430px; font-size:1.05rem; }
.scrim-feature-film { margin:0; min-width:0; }
.scrim-feature-film video { display:block; width:100%; height:auto; aspect-ratio:16 / 9; background:#0b0c10; border:1px solid #282c35; border-radius:14px; }
.scrim-feature-film figcaption { display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; padding:16px 2px 0; color:var(--text-muted); font-size:14px; }
.scrim-feature-film figcaption a { color:var(--accent-hover); text-decoration:none; }
.scrim-feature-film figcaption a:hover { text-decoration:underline; }
@media (max-width:700px) {
  .scrim-feature-copy { grid-template-columns:1fr; gap:1rem; }
  .scrim-feature-copy .moment-lead { font-size:1rem; }
  .scrim-feature-film video { border-radius:8px; }
}
/* Text + compact media column (no endless vertical UI strips) */
.moment-inner.moment-screen-right {
  grid-template-columns: minmax(0, 1fr) minmax(240px, min(400px, 36vw));
}
.moment-inner.moment-screen-left {
  grid-template-columns: minmax(240px, min(400px, 36vw)) minmax(0, 1fr);
}
.moment-center {
  grid-template-columns: 1fr;
  text-align: center;
  align-items: center;
  justify-items: center;
}

.moment-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #fff;
  margin-bottom: var(--space-lg);
}
.moment-copy h2 em {
  font-style: normal;
  color: var(--accent-hover);
}
.moment-copy p {
  font-size: clamp(0.92rem, 1.15vw, 1.02rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 540px;
}
.moment-copy p + p {
  margin-top: var(--space-md);
}
.moment-lead {
  font-size: clamp(0.96rem, 1.2vw, 1.06rem);
  color: rgba(217,217,217, 0.92);
  line-height: 1.68;
}
.moment-copy .moment-lead strong {
  color: #f0f0f0;
  font-weight: 600;
}
.moment-copy-prose-wide p {
  max-width: min(600px, 100%);
}
.moment-copy-center {
  max-width: 700px;
  margin: 0 auto;
}
.moment-copy-center p {
  max-width: 580px;
  margin: 0 auto;
}

.moment-tier {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-top: var(--space-md);
}
.moment-tier-inline {
  margin-top: 0;
  margin-left: 0.25rem;
  vertical-align: 0.12em;
}

.moment-trio-desc {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0.35rem 0 0.5rem;
  max-width: none;
}
.moment-trio-desc strong {
  color: var(--text);
  font-weight: 600;
}

.moment-screen {
  position: relative;
  perspective: 1200px;
  width: 100%;
}
/* Unified “device card” frame for screenshots & WebP loops */
.moments .moment-screen > .screen-wrap {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.42);
  background: var(--surface);
  overflow: hidden;
}
.moment-screen .panel-wrap,
.moment-screen .scrim-anim-wrap,
.moment-screen .nightsky-anim-wrap,
.moment-screen .dome-motion-anim-wrap {
  max-height: min(420px, 56vh);
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.moment-screen .panel-wrap img,
.moment-screen .scrim-anim-wrap img,
.moment-screen .nightsky-anim-wrap img,
.moment-screen .dome-motion-anim-wrap img {
  max-height: min(420px, 56vh);
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
}
.moment-screen .scrim-anim-wrap picture,
.moment-screen .nightsky-anim-wrap picture,
.moment-screen .dome-motion-anim-wrap picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: min(420px, 56vh);
}

/* Dome motion loop beside copy */
.moment-dome-motion .moment-screen .dome-motion-anim-wrap,
.moment-dome-motion .moment-screen .dome-motion-anim-wrap picture,
.moment-dome-motion .moment-screen .dome-motion-anim-wrap img {
  max-height: min(520px, 64vh);
}
.moment-screen-wide {
  max-width: 880px;
  margin: var(--space-xl) auto 0;
}
.moment-screen-wide .panel-wrap {
  max-height: min(440px, 52vh);
}
.moment-screen-wide .panel-wrap img {
  max-height: min(440px, 52vh);
}

/* Light Mixer — landscape capture, full column read */
.moment-mixer .moment-mixer-stage {
  width: 100%;
  max-width: min(1180px, 100%);
  margin: var(--space-xl) auto 0;
}
.moment-mixer-screen {
  max-width: 100%;
  margin: 0 auto;
}
/* Landscape mixer PNG: don’t crush width — show full table */
.moment-mixer-screen .panel-wrap {
  max-height: min(520px, 62vh);
  width: 100%;
}
.moment-mixer-screen .panel-wrap img {
  max-height: min(520px, 62vh);
  width: 100%;
  object-fit: contain;
  object-position: center top;
}
/* Mixer sub-feature cards (drawer / folders / Kelvin) inside the mixer moment */
.moment-mixer-sub {
  margin-top: var(--space-2xl);
  text-align: left;
  width: 100%;
}

/* Trio at the end */
.moment-trio-wrap {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(4rem, 8vw, 7rem);
}
.moment-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.moment-trio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  transition:
    border-color 0.4s var(--ease-out-strong),
    transform 0.45s var(--ease-out-strong),
    box-shadow 0.45s var(--ease-out-strong);
}
.moment-trio-card:hover {
  border-color: rgba(105,105,105, 0.22);
  transform: translateY(-8px);
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(105,105,105, 0.1),
    0 0 40px rgba(105,105,105, 0.08);
}
.moment-trio-thumb {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--space-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  max-height: 200px;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.moment-trio-thumb img {
  max-height: 200px;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.moment-trio-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* Quick Pie demo (CSS recreation of the floating popup) */
.moment-dark {
  background: var(--bg) !important;
}
.qp-demo {
  max-width: 540px;
  margin: var(--space-2xl) auto 0;
  text-align: center;
}
.qp-demo-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #111111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  box-shadow:
    0 8px 40px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.03),
    0 0 30px rgba(105,105,105,0.08);
  position: relative;
  transition:
    border-color 0.35s ease,
    box-shadow 0.45s var(--ease-out-strong);
}
.qp-demo.visible .qp-demo-bar {
  animation: qp-bar-float 4.5s ease-in-out infinite;
}
.qp-demo.visible .qp-demo-bar:hover {
  border-color: rgba(105,105,105, 0.35);
  box-shadow:
    0 14px 48px rgba(0,0,0,0.55),
    0 0 0 1px rgba(105,105,105, 0.15),
    0 0 40px rgba(105,105,105,0.14);
}
.qp-demo-bar::before {
  content: '';
  position: absolute;
  top: -1px; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-hover), transparent);
  opacity: 0.3;
}
.qp-demo-grip {
  width: 6px; height: 16px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0.15;
  background-image: radial-gradient(circle, rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 4px 4px;
  background-position: center;
  border-radius: 2px;
}
.qp-demo-btn {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 7px;
  border: 1px solid transparent;
  color: #4b4b4b;
  cursor: default;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease;
}
.qp-demo-btn svg { width: 17px; height: 17px; }
.qp-demo-active {
  background: rgba(105,105,105,0.10);
  border-color: rgba(105,105,105,0.40);
  color: var(--accent-hover);
}
.qp-demo-div {
  width: 1px; height: 18px;
  background: rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.qp-demo-label {
  font-size: 0.6rem;
  font-weight: 500;
  color: #616161;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.qp-demo-slider {
  width: 64px; height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.07);
  position: relative;
  flex-shrink: 0;
}
.qp-demo-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: rgba(105,105,105,0.50);
  border-radius: 2px;
}
.qp-demo-thumb {
  position: absolute;
  top: 50%;
  width: 10px; height: 10px;
  margin-top: -5px; margin-left: -5px;
  border-radius: 50%;
  background: var(--accent);
  border: 1.5px solid rgba(255,255,255,0.15);
  box-shadow: 0 0 6px rgba(105,105,105,0.3);
}
.qp-demo-val {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: #818181;
  min-width: 24px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.qp-demo-caption {
  display: block;
  margin-top: var(--space-lg);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DEMO SHOWCASE — video + before/after (HDR Light Studio–style)
   ═══════════════════════════════════════════════════════════════════════════ */
.demo-showcase {
  padding: var(--space-section) 0;
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.demo-video-frame {
  max-width: 900px;
  margin: 0 auto var(--space-2xl);
}
.demo-video-el {
  width: 100%;
  max-height: min(520px, 58vh);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow:
    0 4px 6px rgba(0,0,0,0.12),
    0 24px 48px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  background: #000;
  object-fit: contain;
  display: block;
  margin-inline: auto;
}
.demo-video-fallback {
  display: none;
  margin-top: var(--space-md);
  font-size: 0.78rem;
  color: var(--text-faint);
  text-align: center;
  line-height: 1.5;
}
.demo-video-fallback.is-visible { display: block; }

.compare-block {
  max-width: 920px;
  margin: 0 auto;
}
.compare-block-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-md);
}
.compare-viewport {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  line-height: 0;
}
.compare-img-after {
  width: 100%;
  height: auto;
  vertical-align: top;
}
.compare-clip {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}
.compare-img-before {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--compare-img-w, 100%);
  max-width: none;
  object-fit: cover;
  object-position: center;
}
/* Temporary: fakes a duller "before" while both slots share the same
   placeholder render. Remove once a real unlit frame is in the before slot. */
.compare-placeholder-dim {
  filter: brightness(0.52) saturate(0.88) contrast(0.95);
}
.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  margin-left: -1.5px;
  background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(105,105,105,0.9), rgba(255,255,255,0.15));
  box-shadow: 0 0 20px rgba(105,105,105,0.35);
  pointer-events: none;
  z-index: 2;
}
.compare-range-label {
  display: block;
  margin-top: var(--space-md);
}
.compare-range {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--surface);
  border-radius: 3px;
  border: 1px solid var(--border);
  cursor: pointer;
}
.compare-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 12px var(--accent-glow);
}
.compare-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid rgba(255,255,255,0.2);
}
.compare-legend {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-sm);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}
.compare-note {
  margin-top: var(--space-lg);
  font-size: 0.72rem;
  color: var(--text-faint);
  line-height: 1.55;
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Summary bar */
.summary-bar {
  padding: var(--space-3xl) 0;
  background: var(--bg);
}
.summary-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  padding: var(--space-xl) var(--space-2xl);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
}
.summary-bar-stat {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--accent-hover);
  white-space: nowrap;
  line-height: 1;
}
.summary-bar-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* AI Positioning Bar */
.ai-bar {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ai-bar-text {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.65;
  letter-spacing: -0.01em;
  max-width: 680px;
  margin: 0 auto;
}
.ai-bar-em {
  display: block;
  color: #fff;
  font-weight: 600;
  margin-top: 0.3rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PERSPECTIVE SCREEN FRAMES (reused by moments)
   ═══════════════════════════════════════════════════════════════════════════ */
@keyframes panel-frame-in {
  from {
    opacity: 0.35;
    filter: blur(12px);
    box-shadow:
      0 16px 48px rgba(0, 0, 0, 0.45),
      0 0 0 0 rgba(105,105,105, 0);
  }
  to {
    opacity: 1;
    filter: blur(0);
    box-shadow:
      0 30px 100px rgba(0, 0, 0, 0.6),
      0 0 1px rgba(255, 255, 255, 0.08),
      0 0 50px rgba(105,105,105, 0.1);
  }
}
@keyframes screen-glow-breathe {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.42; }
}
@keyframes qp-bar-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.screen-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.08);
  box-shadow:
    0 30px 100px rgba(0,0,0,0.6),
    0 0 1px rgba(255,255,255,0.08);
  transition:
    transform 0.65s var(--ease-reveal),
    box-shadow 0.45s var(--ease-out-strong),
    border-color 0.35s ease,
    filter 0.5s var(--ease-reveal),
    opacity 0.5s var(--ease-reveal);
}
.moment.reveal.visible .moment-screen .screen-wrap {
  animation: panel-frame-in 1s var(--ease-out-strong) both;
}
.moment.reveal.visible .screen-glow {
  animation: screen-glow-breathe 4.5s ease-in-out infinite;
}
.screen-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.screen-tilt-right {
  transform: rotateY(-8deg) rotateX(2deg);
}
.screen-tilt-left {
  transform: rotateY(8deg) rotateX(2deg);
}
/* Tighter perspective for tall UI loops — stays inside the layout */
.screen-tilt-mild {
  transform: rotateY(-4deg) rotateX(1.5deg);
}
.screen-front {
  transform: rotateX(4deg);
}

.moment:hover .screen-tilt-mild {
  transform: rotateY(-2deg) rotateX(0.75deg);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.55), 0 0 40px rgba(105,105,105, 0.12);
}
.moment:hover .screen-tilt-right {
  transform: rotateY(-4deg) rotateX(1deg);
  box-shadow: 0 40px 120px rgba(0,0,0,0.7), 0 0 60px var(--accent-glow);
}
.moment:hover .screen-tilt-left {
  transform: rotateY(4deg) rotateX(1deg);
  box-shadow: 0 40px 120px rgba(0,0,0,0.7), 0 0 60px var(--accent-glow);
}
.moment:hover .screen-front {
  transform: rotateX(1deg);
  box-shadow: 0 40px 120px rgba(0,0,0,0.7), 0 0 60px var(--accent-glow);
}
.moment-trio-card:hover .screen-wrap {
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px var(--accent-glow);
}

/* Focused panel screenshots (narrow/tall UI crops) */
.panel-wrap {
  background: #111111;
}
.panel-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Animated scrim & nightsky — sizing owned by .moment-screen rules above */
.scrim-anim-wrap,
.nightsky-anim-wrap {
  background: var(--surface);
}

.panel-thumb {
  background: var(--surface);
}
.panel-thumb img {
  max-height: 200px;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.screen-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.screen-glow {
  position: absolute;
  bottom: -25%;
  left: 5%; right: 5%;
  height: 55%;
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.25;
  pointer-events: none;
  z-index: -1;
}
.glow-blue { background: var(--accent); }
.glow-warm { background: #ff8844; }

/* ═══════════════════════════════════════════════════════════════════════════
   SHOWCASE GALLERY
   ═══════════════════════════════════════════════════════════════════════════ */
.showcase {
  padding: var(--space-section) 0;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.showcase-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: default;
}
.showcase-wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}
.showcase-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.showcase-item:hover img { transform: scale(1.05); }
.showcase-label {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.showcase-item:hover .showcase-label {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════════
   COMPATIBILITY
   ═══════════════════════════════════════════════════════════════════════════ */
.compat {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.compat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}
.compat-item { text-align: center; padding: var(--space-lg); }
.compat-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: var(--space-xs);
}
.compat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ROI SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.roi {
  padding: var(--space-section) 0;
  background: var(--bg);
}
.roi-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.roi-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  margin-bottom: var(--space-lg);
}
.roi-copy p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
}
.roi-copy strong { color: #fff; }
.roi-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
.roi-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.roi-stat:hover {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 1px rgba(105,105,105,0.08);
}
.roi-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}
.roi-stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}
/* ═══════════════════════════════════════════════════════════════════════════
   AUDIENCE / WHO IT'S FOR
   ═══════════════════════════════════════════════════════════════════════════ */
.audience {
  padding: var(--space-section) 0;
  background: var(--bg-raised);
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.audience-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: border-color 0.25s, transform 0.3s;
}
.audience-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.audience-icon {
  display: block;
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
}
.audience-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.4rem;
}
.audience-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════════════════════ */
.pricing {
  padding: var(--space-section) 0;
  background: var(--bg);
}

/* Billing toggle */
.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  max-width: 340px;
  margin: 0 auto var(--space-2xl);
}
.pricing-toggle-btn {
  flex: 1;
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.pricing-toggle-btn.active {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(105,105,105,0.35);
}
.pricing-toggle-btn:hover:not(.active) {
  color: #fff;
  background: rgba(255,255,255,0.04);
}

.pricing-banner {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: var(--space-2xl);
}
.pricing-banner-icon { font-size: 1rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: stretch;
}
@keyframes pricing-card-in {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pricing-card-in-featured {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1.03);
  }
}
.price-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  background: var(--surface);
  position: relative;
  transition:
    border-color 0.35s var(--ease-out-strong),
    box-shadow 0.4s var(--ease-out-strong),
    transform 0.4s var(--ease-out-strong);
}
.price-card:hover {
  border-color: var(--border-hover);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: translateY(-4px);
}
.pricing-grid.reveal.visible .price-card {
  animation: pricing-card-in 0.75s var(--ease-out-strong) both;
}
.pricing-grid.reveal.visible .price-card:nth-child(1) { animation-delay: 0.06s; }
.pricing-grid.reveal.visible .price-card:nth-child(2) { animation-delay: 0.14s; }
.pricing-grid.reveal.visible .price-card:nth-child(3) { animation-delay: 0.22s; }
.price-card-featured {
  border-color: var(--accent-border);
  background: linear-gradient(180deg, rgba(105,105,105, 0.08) 0%, var(--surface) 42%);
  box-shadow:
    0 0 60px rgba(105,105,105, 0.1),
    0 16px 48px rgba(0, 0, 0, 0.25);
  transform: scale(1.03);
}
.pricing-grid.reveal.visible .price-card-featured {
  animation-name: pricing-card-in-featured;
}
.price-card-featured:hover {
  border-color: var(--accent);
  box-shadow:
    0 0 72px rgba(105,105,105, 0.18),
    0 20px 56px rgba(0, 0, 0, 0.32);
  transform: scale(1.03) translateY(-4px);
}
.price-card-badge {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 0.2rem 0.85rem;
  border-radius: 50px;
  white-space: nowrap;
}
.price-card-header { margin-bottom: var(--space-lg); }
.price-tier {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
}
.price-tier-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}
.price-amount-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 0.25rem;
}
.price-amount {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-period {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-muted);
}
.price-detail {
  display: block;
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-bottom: var(--space-lg);
}
.price-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1 1 auto;
  margin-bottom: var(--space-xl);
}
.price-features li {
  font-size: 0.84rem;
  color: var(--text-muted);
  padding-left: 1.4rem;
  position: relative;
}
.price-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.45em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}
.price-feature-all {
  font-weight: 500;
  color: var(--text) !important;
  margin-top: 0.25rem;
}
.price-feature-all::before { background: transparent !important; }
.pricing-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-faint);
  max-width: 620px;
  margin: var(--space-2xl) auto 0;
  line-height: 1.65;
}

/* Plan compare — GSG-style check grid (Pro vs Studio, not feature-gated) */
.plan-compare {
  margin: var(--space-2xl) auto 0;
  max-width: 880px;
}
.plan-compare-lead {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 36rem;
  margin: 0 auto var(--space-xl);
}
.plan-compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.plan-compare-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.plan-compare-table thead th {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  text-align: center;
  padding: 0.35rem 1rem 1rem;
  width: 22%;
}
.plan-compare-table thead th.plan-compare-feat {
  width: auto;
  text-align: left;
}
.plan-compare-table tbody th[scope="row"] {
  font-weight: 400;
  color: var(--text);
  text-align: left;
  padding: 0.78rem 1.1rem 0.78rem 0;
  border-top: 1px solid var(--border);
}
.plan-compare-table td {
  text-align: center;
  vertical-align: middle;
  padding: 0.78rem 0.75rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}
.plan-compare-section th {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  text-align: left;
  padding: 1.65rem 0 0.55rem;
  border-top: none;
}
.plan-compare-section + tr th,
.plan-compare-section + tr td {
  border-top: none;
}
.cmp-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 1.5px solid #9dff88;
  color: #9dff88;
  vertical-align: middle;
}
.cmp-yes::after {
  content: "";
  width: 0.26rem;
  height: 0.46rem;
  margin-top: -0.12rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.cmp-text {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CHANGELOG
   ═══════════════════════════════════════════════════════════════════════════ */
.changelog {
  padding: var(--space-section) 0;
}
.changelog-list {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}
.changelog-entry {
  padding-left: var(--space-lg);
  border-left: 1px solid var(--border);
}
.changelog-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}
.changelog-version {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
}
.changelog-date {
  font-size: 0.72rem;
  color: var(--text-faint);
}
.changelog-entry ul { padding-left: 1rem; }
.changelog-entry li {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: 0.8rem;
  position: relative;
}
.changelog-entry li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--text-faint);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════════════════ */
.faq {
  padding: var(--space-section) 0;
  background: var(--bg-raised);
}
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-faint);
  transition: transform 0.25s, color 0.25s;
  flex-shrink: 0;
  margin-left: var(--space-md);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-item summary:hover { color: var(--accent-hover); }
.faq-answer { padding: 0 0 var(--space-lg); }
.faq-answer p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════════════════════════════════════ */
.final-cta {
  position: relative;
  padding: var(--space-section) 0;
  text-align: center;
  overflow: hidden;
}
.final-cta-bg {
  position: absolute;
  inset: 0;
}
.final-cta-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 8% center;
  opacity: 0.22;
}
.final-cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 30%, transparent 70%, var(--bg) 100%);
}
.final-cta .container {
  position: relative;
  z-index: 1;
}
.final-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fff;
}
.final-cta p {
  margin-top: var(--space-md);
  color: var(--text-muted);
  font-size: 1rem;
}
.final-cta .btn { margin-top: var(--space-xl); }

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.footer {
  padding: var(--space-3xl) 0 var(--space-2xl);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
}
.footer-tagline {
  margin-top: var(--space-sm);
  font-size: 0.8rem;
  color: var(--text-faint);
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: var(--space-md);
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.2rem 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}
.footer-bottom p {
  font-size: 0.72rem;
  color: var(--text-faint);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .moment-inner.moment-screen-right,
  .moment-inner.moment-screen-left {
    grid-template-columns: 1fr;
  }
  .moment-screen {
    max-width: min(420px, 100%);
    margin-inline: auto;
  }
  .moment-screen-left .moment-screen { order: -1; }
  .moment-screen-right .moment-screen { order: -1; }
  .moment-screen-left .screen-tilt-left,
  .moment-screen-right .screen-tilt-right,
  .moment-screen .screen-tilt-mild {
    transform: rotateX(3deg);
  }
  .moment-copy p { max-width: 100%; }
  .moment-trio { grid-template-columns: 1fr; }
  .qp-demo-bar { gap: 5px; padding: 6px 10px; }
  .qp-demo-slider { width: 44px; }
  .qp-demo-label { display: none; }

  .showcase-grid { grid-template-columns: 1fr 1fr; }
  .showcase-wide { grid-column: span 2; }

  .roi-inner { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .price-card-featured { transform: none; }
  .pricing-grid.reveal.visible .price-card-featured {
    animation-name: pricing-card-in;
  }
  .price-card-featured:hover {
    transform: translateY(-4px);
  }
  .compat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }

  .summary-bar-inner { flex-direction: column; text-align: center; }
}

/* v2 — sticky purchase CTA (P3) */
.site-sticky-cta {
  position: fixed;
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 950;
  padding: 0.55rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.2s var(--ease-out-strong), box-shadow 0.2s ease;
}
.site-sticky-cta:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 12px 40px rgba(105,105,105, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12);
}
html.reduce-motion .site-sticky-cta:hover {
  transform: translateX(-50%);
}

@media (max-width: 640px) {
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  /* v2: transform/opacity menu instead of display:none open (P2) */
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: calc(4.5rem + env(safe-area-inset-top, 0px)) clamp(1.25rem, 4vw, 2.5rem) var(--space-xl);
    background: rgba(8,8,8, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    gap: var(--space-sm);
    z-index: 900;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.32s var(--ease-out-strong),
      opacity 0.28s ease,
      visibility 0.32s;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links a {
    font-size: 1.05rem;
    padding: var(--space-sm) 0;
  }

  .hero-content h1 { font-size: clamp(2.4rem, 9vw, 3.4rem); }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  .hero-speed-side { padding: 1rem 0.8rem; }
  .hero-speed-desc { font-size: 0.68rem; }

  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-wide { grid-column: span 1; aspect-ratio: 16 / 10; }

  .compat-grid { grid-template-columns: 1fr 1fr; }
  .roi-stats { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .demo-video-el { max-height: 56vh; object-fit: cover; }
}
/* ===== V3 MODERN LAYER ===== */
/* Appended modernization pass: ambient depth, glass cards, gradient
   accents, livelier CTAs. Overrides only - legacy rules above untouched. */

/* -- Ambient background depth ------------------------------------------- */
body {
  background:
    radial-gradient(1100px 600px at 75% -100px, rgba(126,173,252, 0.07), transparent 60%),
    radial-gradient(900px 700px at -10% 35%, rgba(111,163,251, 0.05), transparent 55%),
    radial-gradient(1000px 800px at 110% 90%, rgba(111,163,251, 0.045), transparent 55%),
    var(--bg);
  /* no background-attachment: fixed — it forces repaints on every scroll frame */
}

/* Fine film grain so big dark surfaces stop reading flat. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

::selection { background: rgba(126,173,252, 0.35); color: #fff; }

* { scrollbar-width: thin; scrollbar-color: #2b2b2b var(--bg); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #242424; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #3c3c3c; }

/* -- Navigation: glass bar + animated link underline --------------------- */
.nav {
  background: rgba(8,8,8, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav.scrolled {
  background: rgba(8,8,8, 0.78);
  border-bottom-color: rgba(126,173,252, 0.14);
}
.nav-links a { position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-grad);
  transition: right 0.28s var(--ease-out-strong);
}
.nav-links a:hover::after { right: 0; }

/* -- Buttons: gradient primary with glow, glass ghost --------------------- */
.btn-primary {
  background: var(--accent-grad);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset,
              0 8px 28px rgba(106,160,251, 0.32);
  border: 0;
  transition: transform 0.22s var(--ease-out-strong),
              box-shadow 0.22s var(--ease-out-strong),
              filter 0.22s var(--ease-out-strong);
}
.btn-primary:hover {
  background: var(--accent-grad);
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset,
              0 14px 40px rgba(106,160,251, 0.45);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.22s var(--ease-out-strong),
              border-color 0.22s var(--ease-out-strong),
              background 0.22s var(--ease-out-strong);
}
.btn-ghost:hover {
  background: rgba(126,173,252, 0.10);
  border-color: rgba(126,173,252, 0.45);
  transform: translateY(-2px);
}

/* -- Headings: subtle luminous gradient ----------------------------------- */
.hero h1,
.section-header h2,
.moment-copy h2,
.roi-copy h2,
.final-cta h2 {
  background: linear-gradient(180deg, #ffffff 55%, #b9cef0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff; /* fallback */
}
.moment-copy h2 em,
.hero h1 em,
.section-header h2 em {
  -webkit-text-fill-color: initial;
  background: linear-gradient(120deg, #9dc0fc, #9dc0fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* -- Section tag pill ------------------------------------------------------ */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.32em 0.95em;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: rgba(126,173,252, 0.07);
  color: #b0cdfd;
  box-shadow: 0 0 24px rgba(126,173,252, 0.10);
}
.section-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-grad);
  box-shadow: 0 0 10px rgba(126,173,252, 0.9);
}

/* -- Glass cards: wow rail, trio, pricing ---------------------------------- */
.wow-rail-card,
.moment-trio-card,
.price-card {
  position: relative;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  backdrop-filter: blur(14px) saturate(135%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease-out-strong),
              border-color 0.3s var(--ease-out-strong),
              box-shadow 0.3s var(--ease-out-strong);
}
.wow-rail-card::before,
.moment-trio-card::before,
.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg,
              rgba(144,184,252, 0.35),
              rgba(144,184,252, 0.04) 38%,
              transparent 60%,
              rgba(111,163,251, 0.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out-strong);
}
.wow-rail-card:hover,
.moment-trio-card:hover,
.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(126,173,252, 0.22);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(126,173,252, 0.08),
              0 0 56px rgba(106,160,251, 0.10);
}
.wow-rail-card:hover::before,
.moment-trio-card:hover::before,
.price-card:hover::before { opacity: 1; }

/* Featured pricing card gets a permanent gradient ring + lift. */
.price-card-featured {
  border-color: rgba(126,173,252, 0.30);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55),
              0 0 64px rgba(106,160,251, 0.16);
  background: linear-gradient(180deg,
              rgba(126,173,252, 0.08),
              rgba(18,18,18, 0.6) 38%);
}
.price-card-featured::before { opacity: 1; }
.price-card-badge {
  background: var(--accent-grad);
  color: #fff;
  border: 0;
  box-shadow: 0 4px 18px rgba(106,160,251, 0.45);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* -- Showcase gallery ------------------------------------------------------- */
.showcase-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.32s var(--ease-out-strong),
              border-color 0.32s var(--ease-out-strong),
              box-shadow 0.32s var(--ease-out-strong);
}
.showcase-item:hover {
  transform: translateY(-4px);
  border-color: rgba(126,173,252, 0.28);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.55),
              0 0 44px rgba(106,160,251, 0.12);
}
.showcase-label {
  background: rgba(8,8,8, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  padding: 0.3em 0.9em;
}

/* -- Summary / AI bars: luminous strip --------------------------------------- */
.summary-bar-inner {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 200px at 50% -80px, rgba(126,173,252, 0.12), transparent 70%),
    var(--glass-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.summary-bar-stat {
  background: linear-gradient(120deg, #ffffff, #9dc0fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* -- Hero polish --------------------------------------------------------------- */
.hero-bg-overlay {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(8,8,8, 0.84) 0%,
      rgba(8,8,8, 0.72) 34%,
      rgba(8,8,8, 0.78) 70%,
      var(--bg) 100%);
}
.hero-glow,
.final-cta-glow {
  position: absolute;
  z-index: 0;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 42%;
  pointer-events: auto;
  background: radial-gradient(closest-side, rgba(126,173,252, 0.5), rgba(126,173,252, 0.16) 55%, transparent 100%);
}
.final-cta-bg { z-index: 0; }
.hero-speed-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}
.hero-speed-num { text-shadow: 0 0 36px rgba(126,173,252, 0.35); }
.hero-speed-after .hero-speed-num {
  background: linear-gradient(120deg, #9dc0fc, #9dc0fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-platform-label {
  border: 1px solid var(--glass-border);
  background: rgba(8,8,8, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  box-shadow: 0 0 30px rgba(126,173,252, 0.12);
}

/* -- Sticky CTA: glass pill ------------------------------------------------------ */
.site-sticky-cta {
  background: var(--accent-grad);
  border: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset,
              0 10px 34px rgba(106,160,251, 0.42);
  transition: transform 0.22s var(--ease-out-strong),
              filter 0.22s var(--ease-out-strong),
              box-shadow 0.22s var(--ease-out-strong);
}
.site-sticky-cta:hover {
  filter: brightness(1.12);
  transform: translateX(-50%) translateY(-2px) !important;
}

/* -- Changelog version chip ---------------------------------------------------------- */
.changelog-version {
  background: rgba(126,173,252, 0.10);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 0.18em 0.8em;
  color: #b0cdfd;
}

/* -- Compat strip ------------------------------------------------------------------- */
.compat-item {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  background: var(--glass-bg);
}
.compat-value { color: #c7dcfe; }

/* -- Final CTA glow ------------------------------------------------------------------ */
.final-cta-overlay {
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(8,8,8, 0.78) 40%, rgba(8,8,8, 0.9) 100%);
}

/* -- Reduced motion: kill the new transforms/blur-heavy hovers ------------------------- */
@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover,
  .btn-ghost:hover,
  .wow-rail-card:hover,
  .moment-trio-card:hover,
  .price-card:hover,
  .showcase-item:hover,
  .site-sticky-cta:hover { transform: none; }
}
@media (max-width: 720px) {
  body::after { display: none; } /* grain off on small screens - perf */
}

/* Standalone license and legal pages */
.beta-card {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-xl);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
}
/* `.btn` sets display, which beats the UA's [hidden]{display:none} — the
   account page's download link used to sit visible with href="#" before a
   key was entered. Make hidden mean hidden for every styled element. */
[hidden] { display: none !important; }
.compare-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-top: 0.65rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* -- Shop (v2): two-plan pricing, seat picker and pages ---------------- */
.pricing-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
}
.pricing-grid-2 .price-card {
  transform: none;
  border-color: rgba(126,173,252, 0.28);
  background: linear-gradient(180deg,
              rgba(126,173,252, 0.08),
              rgba(18,18,18, 0.6) 38%);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.45),
              0 0 48px rgba(106,160,251, 0.10);
}
.pricing-grid-2 .price-card::before { opacity: 1; }
.pricing-grid-2 .price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(126,173,252, 0.40);
}
.pricing-grid-2.reveal.visible .price-card-featured {
  animation-name: pricing-card-in;
}
.pricing-banner strong { color: #fff; }
.pricing-banner code {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.8rem;
  padding: 0.1em 0.45em;
}
.price-features li strong { color: var(--text); }
.price-features a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.price-invoice-link {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-faint);
}
.price-invoice-link a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.price-invoice-link a:hover { color: var(--accent-hover); }
.buy-btn[disabled] { opacity: 0.55; cursor: progress; }
.buy-btn.is-unavailable { opacity: 0.45; cursor: not-allowed; }
.checkout-error {
  text-align: center;
  font-size: 0.82rem;
  color: #ffb3b3;
  margin: 0.75rem auto 0;
  max-width: 560px;
}
.checkout-error:empty { display: none; }

.promo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  max-width: 420px;
  margin: 0 auto var(--space-xl);
}
.promo-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.promo-input {
  flex: 1;
  min-width: 180px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #fff;
  font: 500 0.9rem/1.2 var(--font-mono);
  padding: 0.55rem 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.promo-input:focus {
  outline: none;
  border-color: var(--accent-border);
}

.seat-picker {
  margin: 0 0 1rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(126,173,252, 0.28);
  border-radius: var(--radius);
  background: rgba(126,173,252, 0.07);
}
.seat-picker label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.5rem;
}
.seat-picker-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.seat-step {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}
.seat-step:hover { border-color: var(--accent-border); color: var(--accent-hover); }
#seat-count {
  width: 56px; height: 32px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8,8,8, 0.55);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  -moz-appearance: textfield;
}
#seat-count::-webkit-inner-spin-button, #seat-count::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.seat-total { margin-left: auto; font-size: 0.78rem; color: #c7dcfe; font-family: var(--font-mono); }

.key-box {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(126,173,252, 0.35);
  background: rgba(126,173,252, 0.08);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 0.75rem;
  align-items: center;
}
.key-box-label {
  grid-column: 1 / -1;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.key-box-key {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: #fff;
  background: transparent;
  padding: 0;
  word-break: break-all;
  user-select: all;
}
.key-copy.is-done { color: #bad3fd; }

/* Standalone pages (/thanks, /account) */
.page {
  min-height: 100vh;
  padding: calc(var(--space-3xl) + 56px) 0 var(--space-3xl);
}
.page .beta-card { max-width: 680px; }
.page h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 0.5rem; }
.page .lead { color: var(--text-muted); margin-bottom: var(--space-xl); max-width: 640px; }
.page-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 0;
}
.page-meta div {
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}
.page-meta dt { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.page-meta dd { margin: 0.2rem 0 0; font-size: 0.9rem; color: var(--text); }
.page-spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: page-spin 0.9s linear infinite;
  vertical-align: -3px;
  margin-right: 0.5rem;
}
@keyframes page-spin { to { transform: rotate(360deg); } }
html.reduce-motion .page-spinner { animation: none; }
.page-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.25rem; }
.acct-seats { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.25rem; }
.acct-seat {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}
.acct-seat-name { color: var(--text); font-size: 0.92rem; }
.acct-seat-seen { color: var(--text-muted); font-size: 0.8rem; white-space: nowrap; }
.acct-seat-release { padding: 0.35rem 0.7rem; font-size: 0.8rem; }
.acct-seat-empty { color: var(--text-muted); font-size: 0.9rem; margin: 0.25rem 0 0; }
@media (max-width: 560px) {
  .acct-seat { grid-template-columns: 1fr auto; }
  .acct-seat-seen { grid-column: 1; }
}

/* -- Works with your software ------------------------------------------------ */
.works {
  padding: var(--space-section) 0 var(--space-2xl);
  border-top: 1px solid var(--border);
}
.works .section-header { margin-bottom: var(--space-2xl); }
.works-logos {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-xl);
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
}
.works-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
}
.works-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.works-mark svg { width: 36px; height: 36px; display: block; }
.works-brand {
  width: 56px;
  height: 64px;
  object-fit: contain;
  display: block;
}
.works-legal {
  max-width: 640px;
  margin: var(--space-xl) auto 0;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-faint);
  line-height: 1.5;
}
.works-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}
.works-meta {
  font-size: 0.75rem;
  color: var(--text-faint);
}
.works-logo.is-soon .works-meta {
  color: #ff7a24;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.hero-platform-label.is-soon {
  color: #ffb088;
  border-color: rgba(255, 122, 36, 0.45);
  background: rgba(255, 122, 36, 0.12);
  box-shadow: none;
}

/* -- What the pros say ------------------------------------------------------- */
.pros {
  padding: var(--space-2xl) 0 var(--space-section);
  border-top: 1px solid var(--border);
}
.pros-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xl);
}
.pros-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-lg);
}
.pros-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pros-still {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1rem;
}
.pros-mark {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.7rem;
}
.pros-quote {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #ededed;
  flex: 1;
  margin-bottom: 1.1rem;
}
.pros-who {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.8rem;
}
.pros-who span:first-child { color: #fff; font-weight: 500; }
.pros-who span:last-child { color: var(--text-muted); }

@media (max-width: 960px) {
  .pricing-grid-2 { grid-template-columns: 1fr; max-width: 420px; }
  .works-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
  .pros-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .pros-grid { grid-template-columns: 1fr; }
}

.site-sticky-cta { transition: transform 0.2s var(--ease-out-strong), box-shadow 0.2s ease, opacity 0.2s ease; }
.site-sticky-cta.is-hidden { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(12px); }
@media (max-width: 640px) {
  .plan-compare-table {
    min-width: 0;
    font-size: 0.82rem;
  }
  .plan-compare-table thead th,
  .plan-compare-table td {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }
  .plan-compare-table tbody th[scope="row"] {
    padding-right: 0.5rem;
  }
  .pricing-banner {
    display: block;
    left: auto;
    transform: none;
    border-radius: 14px;
    line-height: 1.6;
    padding: 0.7rem 1rem;
  }
  .pricing-banner-icon { display: none; }
}

/* "Back to site" link on standalone pages (account, legal) */
.page-back { display: flex; width: fit-content; align-items: center; gap: .4rem; margin-bottom: var(--space-lg); color: var(--text-muted); font-size: .9rem; text-decoration: none; }
.page-back:hover, .page-back:focus-visible { color: #fff; }

/* ── Motion: disclosures ─────────────────────────────────────────────────── */
:root { --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  :is(.micro-feature, .faq-item)::details-content {
    block-size: 0;
    transition: block-size 0.45s var(--ease-in-out), content-visibility 0.45s allow-discrete;
  }
  :is(.micro-feature, .faq-item)[open]::details-content { block-size: auto; }
  :is(.micro-feature, .faq-item).is-moving::details-content { overflow: clip; }
}
.feature-group[open] > .group-body,
.micro-feature[open] > .micro-feature-body,
.faq-item[open] > :not(summary) {
  animation: disclose-in 0.55s var(--ease-reveal) both;
}
@keyframes disclose-in {
  from { opacity: 0; translate: 0 -12px; }
  to { opacity: 1; translate: none; }
}
.group-toggle { transition: transform 0.45s var(--ease-in-out), color 0.25s ease; }
@media (prefers-reduced-motion: reduce) {
  :is(.micro-feature, .faq-item)::details-content { transition: none; }
  .feature-group[open] > .group-body,
  .micro-feature[open] > .micro-feature-body,
  .faq-item[open] > :not(summary) { animation: none; }
}

/* Homepage package 1: small-screen navigation, hero and demo only.
   Scoped overrides keep saved desktop draft transforms intact. */
@media (max-width: 960px) {
  .home-responsive .nav { background: #080808; }
  .home-responsive .nav-inner { position: relative; gap: 0.5rem; }
  .home-responsive .nav-logo { margin-right: auto; }
  .home-responsive .nav-account { margin-left: 0; }
  .home-responsive .nav-toggle { display: flex; flex-shrink: 0; }
  .home-responsive .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0; bottom: auto;
    display: flex; flex-direction: column;
    width: 100%; margin: 0; padding: 1rem 1.25rem;
    max-height: calc(100vh - 5rem);
    max-height: calc(100dvh - 5rem);
    overflow-y: auto;
    background: #080808;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--border);
    gap: 0.25rem; z-index: 1;
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
  }
  .home-responsive .nav-links.open {
    transform: none; opacity: 1; visibility: visible; pointer-events: auto;
  }
  .home-responsive .nav-links a { font-size: 1rem; padding: 0.75rem 0; }
  .home-responsive .nav-cta { display: none; }
  .home-responsive.compact-purchase-ready .nav:not(.menu-open) .nav-cta {
    display: inline-flex; flex-shrink: 0;
    padding: 0.5rem 0.6rem; font-size: 0.75rem; white-space: nowrap;
  }
  .home-responsive #site-sticky-cta { display: none !important; }
  .home-responsive .hero .hero-content {
    width: 100%; max-width: 760px;
    padding-inline: 1.25rem !important;
    margin-inline: auto !important;
    transform: none !important;
  }
  .home-responsive .hero .hero-actions,
  .home-responsive .hero .hero-actions > .btn { transform: none !important; }
  .home-responsive .hero .hero-actions > .btn { max-width: 100%; }
  .home-responsive #see-it-work {
    transform: none !important;
    margin-top: 0 !important;
    padding-top: 2rem !important;
  }
  .home-responsive #see-it-work > .container {
    width: 100%; max-width: 760px;
    padding-inline: 1.25rem !important;
    margin-inline: auto !important; margin-bottom: 0 !important;
    transform: none !important;
  }
  .home-responsive #see-it-work .film,
  .home-responsive #see-it-work video { width: 100%; max-width: 100%; }
}

/* Approved homepage ending: one centered CTA / navigation / brand composition. */
.home-responsive .final-cta {
  padding: clamp(3rem, 6vw, 5rem) 0 3.5rem;
  min-height: 0;
}
.home-responsive .final-cta > .container,
.home-responsive .footer > .footer-inner {
  width: 100%; max-width: 940px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.home-responsive .final-cta h2 {
  white-space: normal !important;
  overflow-wrap: break-word;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.12;
  max-width: 800px; margin-inline: auto;
}
.home-responsive .final-cta p { margin-top: 1.25rem; }
.home-responsive .final-cta .btn { margin-top: 1.75rem; }
.home-responsive .footer { padding: 3rem 0 1.75rem; }
.home-responsive .footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 2rem;
  margin-inline: auto;
}
.home-responsive .footer .footer-grid > .footer-col { min-width: 0; }
.home-responsive .footer .footer-grid > .footer-col:nth-child(4) { order: 1; }
.home-responsive .footer .footer-grid > .footer-col:nth-child(2) { order: 2; }
.home-responsive .footer .footer-grid > .footer-col:nth-child(3) { order: 3; }
.home-responsive .footer .footer-grid > .footer-col:first-child {
  order: 4; grid-column: 1 / -1;
  text-align: center; padding-top: 0;
}
.home-responsive .footer .footer-grid > .footer-col:first-child .nav-logo {
  display: flex; align-items: center; justify-content: center;
  gap: 0.65rem; margin: 0 auto;
}
.home-responsive .footer .footer-grid > .footer-col:first-child .footer-tagline {
  max-width: 36rem; margin: 1rem auto 0;
  color: #969baa; line-height: 1.7;
}
.home-responsive .footer .footer-col h4 {
  color: #aeb3c2; margin-bottom: 0.75rem;
}
.home-responsive .footer .footer-col a {
  color: #aeb3c2; overflow-wrap: anywhere; line-height: 1.7;
}
.home-responsive .footer .footer-col a:hover,
.home-responsive .footer .footer-col a:focus-visible { color: #fff; }
.home-responsive .footer .footer-bottom {
  text-align: center; margin-top: 1.75rem; padding-top: 1.25rem;
}
.home-responsive .footer .footer-bottom p { color: #858b9b; line-height: 1.7; }
.home-responsive.ending-in-view #site-sticky-cta { display: none !important; }
@media (max-width: 640px) {
  .home-responsive .final-cta { padding: 3rem 0; }
  .home-responsive .footer { padding-top: 2rem; }
  .home-responsive .footer .footer-grid { gap: 2rem 0.75rem; }
}

/* Homepage package 2: testimonial flow and pricing separation; draft stays intact. */
.home-responsive #pros{transform:none!important;margin-top:0!important;padding-block:4rem!important}
.home-responsive #pros>.container,.home-responsive #pros .pros-grid,.home-responsive #pros .pros-card{transform:none!important}
.home-responsive #pros .pros-grid{gap:2rem}
.home-responsive #pros .pros-card{display:flex;flex-direction:column;align-items:center;gap:1rem}
.home-responsive #pros .pros-still{transform:none!important;position:static!important;width:88px!important;height:110px!important;object-fit:contain;margin:0!important;flex:none}
.home-responsive #pros .pros-quote{margin:0;flex:1}
.home-responsive #pros .pros-who{margin-top:0}
.home-responsive #pricing{transform:none!important;margin-top:0!important;padding-top:3rem!important}
.home-responsive #pricing .pricing-banner,.home-responsive #pricing .pricing-toggle{transform:none!important;max-width:100%;box-sizing:border-box}
.home-responsive #pricing .pricing-banner{white-space:normal;overflow-wrap:anywhere;margin-inline:auto}
@media(max-width:960px){
 .home-responsive #paint .current-feature:has(iframe:is([data-demo-src*="quickpie"],[src*="quickpie"])) .moment-inner,
 .home-responsive #mixer .moment-inner,.home-responsive #scene-assets .moment-inner{grid-template-columns:minmax(0,1fr)!important;gap:1.5rem!important}
 .home-responsive #paint .current-feature:has(iframe:is([data-demo-src*="quickpie"],[src*="quickpie"])) .moment-copy,
 .home-responsive #paint .current-feature:has(iframe:is([data-demo-src*="quickpie"],[src*="quickpie"])) .moment-screen,
 .home-responsive #mixer .moment-copy,.home-responsive #mixer .moment-screen,
 .home-responsive #scene-assets .moment-copy,.home-responsive #scene-assets .moment-screen,
 .home-responsive #scene-assets .assets-stage,.home-responsive #reference-board .reference-intro,
 .home-responsive #reference-board .workflow-stage{transform:none!important;grid-column:auto!important;min-width:0;max-width:100%;margin-inline:0!important}
 .home-responsive #mixer iframe,.home-responsive #scene-assets iframe,.home-responsive #reference-board iframe{width:100%!important;max-width:100%!important}
 .home-responsive #pros{padding-block:3rem!important}
 .home-responsive #pricing .pricing-banner{padding:1rem;line-height:1.5}
}

.home-responsive #pricing .pricing-banner{left:auto;display:flex;width:fit-content;flex-wrap:wrap;justify-content:center}

@media(max-width:960px){
.home-responsive #paint .current-feature:has(iframe:is([data-demo-src*="quickpie"],[src*="quickpie"])) .moment-inner,.home-responsive #mixer .moment-inner,.home-responsive #scene-assets .moment-inner{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
.home-responsive #paint .current-feature:has(iframe:is([data-demo-src*="quickpie"],[src*="quickpie"])) .moment-copy,.home-responsive #paint .current-feature:has(iframe:is([data-demo-src*="quickpie"],[src*="quickpie"])) .moment-screen,.home-responsive #mixer .moment-copy,.home-responsive #mixer .moment-screen,.home-responsive #scene-assets .moment-copy,.home-responsive #scene-assets .moment-screen{width:100%!important;max-width:100%!important;grid-column:1!important;grid-row:auto!important}
}

.home-responsive #pricing .promo-row{transform:none!important;position:relative;inset:auto!important;max-width:min(420px,100%);margin:0 auto 2rem!important}

/* Preserve desktop offsets; reserve only the space needed to prevent collisions. */
@media(max-width:960px){.home-responsive #scene-assets-detail .moment-inner{margin-top:0!important}}
.home-responsive #pricing + #works{margin-top:var(--homepage-works-clearance,0px)!important}

@media(max-width:960px){.home-responsive #scene-assets-detail .moment-copy>h2 em{display:block}}

/* Keep individual promo controls below the offer; preserve saved draft values. */
.home-responsive #pricing .promo-label,
.home-responsive #pricing .promo-input{transform:none!important}

/* Static account/legal pages have two links and no collapsed mobile menu. */
@media (max-width: 640px) {
  .subpage-nav .nav-inner { padding: 0 18px; gap: 12px; }
  .subpage-nav .nav-links {
    position: static; inset: auto; flex-direction: row; align-items: center;
    gap: 16px; margin: 0 0 0 auto; padding: 0; background: transparent;
    backdrop-filter: none; -webkit-backdrop-filter: none; transform: none;
    opacity: 1; visibility: visible; pointer-events: auto; transition: none;
    z-index: auto;
  }
  .subpage-nav .nav-links a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0;
    font-size: 12px; line-height: 1.3; white-space: nowrap;
  }
}

.pricing-key-access { margin-top: .65rem; }
.pricing-key-access a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
