/*
 * Home page rebuild (2026-10-06) — bespoke component styles, loaded only on
 * the front page (see divinex-blocks.php's conditional enqueue). Reusable
 * generic primitives (responsive grids, asymmetric split, extra container
 * widths) live in tokens.css instead; this file is specifically the
 * hand-built recreations of Home's 5 unique interactive React components
 * plus the styling for its other 5 sections, all traced against the real
 * Next.js source (src/components/home/*.tsx, src/components/ascend/panels.tsx)
 * per the homepage desktop-parity audit.
 */

/* ============================== KEYFRAMES ============================== */
/* Ported verbatim (timing/easing) from src/app/globals.css. */
@keyframes dx-travel {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes dx-pulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.35); }
}
@keyframes dx-shimmer {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
@keyframes hero-advance {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes dx-flow {
  to { stroke-dashoffset: -200; }
}
@keyframes dx-drift {
  0%, 100% { transform: translateY(0) rotate(var(--drift-rot, 0deg)); }
  50% { transform: translateY(-5px) rotate(var(--drift-rot, 0deg)); }
}
@keyframes dx-spin {
  to { transform: rotate(360deg); }
}

/* ======================= 1. HERO ======================= */
.dx-home-hero { position: relative; overflow: hidden; background: var(--dx-cobalt-shade-65); }
.dx-home-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(130% 110% at 15% 0%, var(--dx-cobalt) 0%, var(--dx-cobalt-shade-35) 50%, var(--dx-cobalt-shade-65) 100%);
}
.dx-home-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, var(--dx-cobalt-shade-65), transparent 60%);
}
.dx-hero-inner {
  position: relative;
  z-index: 1; margin: 0 auto; max-width: 1280px;
  display: flex; flex-direction: column; gap: 40px;
  padding: 80px 16px;
}
@media (min-width: 640px) { .dx-hero-inner { padding: 112px 24px; } }
@media (min-width: 1024px) { .dx-hero-inner { flex-direction: row; align-items: center; gap: 32px; padding-top: 128px; padding-bottom: 128px; } }
.dx-hero-copy { color: #fff; }
@media (min-width: 1024px) { .dx-hero-copy { width: 53%; } }
.dx-hero-copy h1 {
  margin: 0; font-family: var(--dx-font-sans); font-weight: 700;
  font-size: 2.25rem; line-height: 1.1; letter-spacing: -0.025em; color: #fff;
  text-wrap: balance;
}
@media (min-width: 640px) { .dx-hero-copy h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .dx-hero-copy h1 { line-height: 1.08; } }
.dx-hero-copy h1 span { display: block; }
.dx-hero-body {
  margin-top: 20px; max-width: 36rem; font-family: var(--dx-font-sans);
  font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, 0.78);
}
@media (min-width: 640px) { .dx-hero-body { font-size: 20px; } }
.dx-hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.dx-hero-ctas .dx-btn-jade {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 999px;
  background: var(--dx-jade); color: #012621; padding: 14px 28px;
  font-family: var(--dx-font-sans); font-size: 18px; font-weight: 600; text-decoration: none;
  cursor: pointer; border: none;
}
.dx-hero-ctas .dx-btn-jade:hover { background: var(--dx-jade-shade-35); color: #fff; }
.dx-hero-ctas .dx-link-quiet {
  font-family: var(--dx-font-sans); font-size: 16px; font-weight: 600;
  color: rgba(255, 255, 255, 0.9); text-decoration: underline; text-underline-offset: 4px;
}
.dx-hero-ctas .dx-link-quiet:hover { color: #fff; }
.dx-hero-footnote { margin-top: 16px; font-size: 16px; color: rgba(255, 255, 255, 0.6); font-family: var(--dx-font-sans); }
.dx-hero-stage-slot { display: none; height: 480px; }
@media (min-width: 1024px) { .dx-hero-stage-slot { display: block; width: 47%; } }

/* --- Interactive hero stage (InteractiveHeroStage.tsx) --- */
.dx-stage-root { position: relative; display: flex; height: 100%; width: 100%; flex-direction: column; justify-content: center; }
.dx-stage-frame {
  position: relative; aspect-ratio: 6 / 5; width: 100%; overflow: hidden; border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: 0 60px 140px -50px rgba(0, 0, 0, 0.7);
}
.dx-stage-glow {
  position: absolute; inset: -20%; pointer-events: none; opacity: 0.55; filter: blur(6px);
  background: radial-gradient(38% 38% at var(--gx, 60%) var(--gy, 32%), rgba(0, 166, 143, 0.35), transparent 70%);
}
.dx-stage-parallax { position: absolute; inset: 0; transition: transform 0.3s ease-out; will-change: transform; }
.dx-stage-scene {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s cubic-bezier(.2,.8,.2,1), transform 0.7s cubic-bezier(.2,.8,.2,1);
  opacity: 0; transform: scale(0.94); pointer-events: none;
}
.dx-stage-scene.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }
.dx-stage-scene svg { height: 78%; width: 78%; }
.dx-stage-caption { position: absolute; left: 24px; right: 24px; bottom: 20px; }
.dx-stage-caption .flow {
  margin: 0; font-family: var(--dx-font-mono, monospace); font-size: 11px; letter-spacing: 0.1em;
  color: var(--dx-jade-tint-40); text-transform: uppercase; opacity: 0; transition: opacity 0.5s ease;
}
.dx-stage-caption .story {
  margin: 4px 0 0; font-family: var(--dx-font-display); font-size: 18px; color: #fff; font-style: italic;
  opacity: 0; transition: opacity 0.5s ease; text-wrap: balance;
}
.dx-stage-scene.is-active .dx-stage-caption .flow,
.dx-stage-scene.is-active .dx-stage-caption .story { opacity: 0.9; }
.dx-stage-tabs { margin-top: 16px; display: flex; gap: 10px; }
/*
 * Scoped as .dx-stage-tabs .dx-stage-tab (specificity 0,2,0), not a bare
 * .dx-stage-tab — Hello Elementor's reset.css carries an unscoped
 * [type=button],[type=submit],button{background-color:transparent;
 * border:1px solid #c36;border-radius:3px;font-size:1rem;padding:.5rem 1rem}
 * rule (confirmed outside its @media print block). Its effective
 * specificity against a <button> is 0,1,0 via [type=button] — exactly tied
 * with a bare single class, and reset.css loads after this stylesheet, so
 * it would win every tie. Scoping under the real parent wrapper (already
 * present in the markup, no HTML change needed) beats it unambiguously on
 * specificity alone, regardless of load order — no !important. Same
 * pattern applied to every other custom <button> below.
 */
.dx-stage-tabs .dx-stage-tab {
  flex: 1; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.2);
  padding: 8px 12px; text-align: left; backdrop-filter: blur(4px); cursor: pointer; transition: border-color 0.2s ease;
  font-family: var(--dx-font-sans);
}
.dx-stage-tabs .dx-stage-tab:hover { border-color: rgba(255,255,255,0.25); }
.dx-stage-tabs .dx-stage-tab.is-active { border-color: rgba(0,166,143,0.4); background: rgba(0,166,143,0.1); }
.dx-stage-tab .num { display: block; font-family: var(--dx-font-mono, monospace); font-size: 10px; letter-spacing: 0.08em; color: var(--dx-jade-tint-40); opacity: 0.85; }
.dx-stage-tab .name { display: block; margin-top: 2px; font-size: 12px; line-height: 1.2; font-weight: 700; color: #fff; }
@media (min-width: 640px) { .dx-stage-tab .name { font-size: 16px; } }
.dx-stage-tab .bar { display: block; margin-top: 6px; height: 2px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,0.15); }
.dx-stage-tab .bar-fill { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); border-radius: 999px; background: var(--dx-jade); }
.dx-stage-tab.is-active .bar-fill.is-running { animation: hero-advance 7s linear forwards; }

/* ======================= 2. WHAT WE HELP YOU DO ======================= */
.dx-whhy { background: var(--dx-cream); padding: 64px 0; border-bottom: 1px solid rgba(0,44,61,0.1); }
@media (min-width: 640px) { .dx-whhy { padding: 80px 0; } }
.dx-whhy-title { text-align: center; font-family: var(--dx-font-display); font-size: 1.875rem; font-style: italic; color: var(--dx-ink); margin: 0; }
@media (min-width: 640px) { .dx-whhy-title { font-size: 2.25rem; } }
.dx-whhy-grid { margin-top: 56px; display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 640px) { .dx-whhy-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.dx-whhy-step { position: relative; text-align: center; }
@media (min-width: 640px) { .dx-whhy-step { text-align: left; } }
.dx-whhy-line { position: absolute; top: 28px; left: calc(50% + 32px); display: none; height: 2px; width: calc(100% - 60px); background: rgba(0,127,175,0.15); }
@media (min-width: 640px) { .dx-whhy-line { display: block; } }
.dx-whhy-line-fill { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--dx-jade); transition: transform 0.3s ease; }
.dx-whhy-step.is-lit-line .dx-whhy-line-fill { transform: scaleX(1); }
.dx-whhy-num {
  margin: 0 auto; display: flex; height: 56px; width: 56px; align-items: center; justify-content: center;
  border-radius: 999px; border: 2px solid rgba(0,127,175,0.5); background: #fff; color: var(--dx-cobalt-shade-35);
  font-size: 1.25rem; font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,0.05); transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
@media (min-width: 640px) { .dx-whhy-num { margin: 0; } }
.dx-whhy-step.is-lit .dx-whhy-num { border-color: var(--dx-jade); background: var(--dx-jade); color: #012621; }
.dx-whhy-label { margin-top: 16px; font-family: var(--dx-font-sans); font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; color: var(--dx-ink); transition: color 0.2s ease; }
.dx-whhy-step.is-active .dx-whhy-label { color: var(--dx-cobalt-shade-35); }
.dx-whhy-body { margin-top: 8px; font-family: var(--dx-font-sans); font-size: 18px; color: rgba(0,44,61,0.95); }

/* ======================= 3. SOLUTIONS ======================= */
.dx-solutions { background: #fff; padding: 64px 0; border-bottom: 1px solid rgba(0,44,61,0.1); }
@media (min-width: 640px) { .dx-solutions { padding: 96px 0; } }
.dx-solutions-title { text-align: center; font-family: var(--dx-font-display); font-size: 1.5rem; font-style: italic; color: var(--dx-ink); margin: 0; }
@media (min-width: 640px) { .dx-solutions-title { font-size: 1.875rem; } }
.dx-solutions-hero {
  position: relative; display: block; margin-top: 40px; aspect-ratio: 21 / 9; overflow: hidden; border-radius: 16px; text-decoration: none;
}
.dx-solutions-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dx-solutions-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,44,61,0.9), rgba(0,44,61,0.15) 60%, transparent); }
.dx-solutions-hero-caption { position: absolute; left: 24px; bottom: 24px; color: #fff; }
@media (min-width: 640px) { .dx-solutions-hero-caption { left: 32px; bottom: 32px; } }
.dx-solutions-hero-caption b { display: block; font-family: var(--dx-font-mono, monospace); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.85; font-weight: 400; }
.dx-solutions-hero-caption span { font-family: var(--dx-font-display); font-size: 1.5rem; }
@media (min-width: 640px) { .dx-solutions-hero-caption span { font-size: 1.875rem; } }
.dx-solutions-grid { margin-top: 48px; display: grid; grid-template-columns: 1fr; gap: 40px 32px; }
@media (min-width: 640px) { .dx-solutions-grid { grid-template-columns: repeat(3, 1fr); } }
.dx-solutions-grid a { display: block; text-decoration: none; }
.dx-solutions-grid .n { font-family: var(--dx-font-mono, monospace); font-size: 16px; color: rgba(0,127,175,0.5); }
.dx-solutions-grid h3 { margin: 8px 0 0; font-size: 1.25rem; font-weight: 600; color: var(--dx-ink); }
.dx-solutions-grid a:hover h3 { color: var(--dx-cobalt-shade-35); }
.dx-solutions-grid p { margin: 8px 0 0; font-size: 18px; color: rgba(0,44,61,0.95); }
.dx-solutions-footer { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(0,44,61,0.1); padding-top: 24px; }
.dx-solutions-footer-left { display: flex; align-items: center; gap: 12px; }
.dx-solutions-footer-left img { height: 48px; width: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.dx-solutions-footer-left h3 { margin: 0; font-family: var(--dx-font-display); font-size: 1.125rem; font-weight: 600; color: var(--dx-ink); }
.dx-solutions-footer-left p { margin: 0; font-size: 16px; color: rgba(0,44,61,0.95); }
.dx-solutions-footer-link { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 600; color: var(--dx-cobalt-shade-35); text-decoration: none; }
.dx-solutions-footer-link:hover { color: var(--dx-cobalt); }

/* ======================= 4. ASCEND ======================= */
.dx-ascend { position: relative; overflow: hidden; background: var(--dx-cobalt-shade-65); color: #fff; border-bottom: 1px solid rgba(255,255,255,0.1); }
.dx-ascend-dots { position: absolute; inset: 0; pointer-events: none; opacity: 0.05; background-image: radial-gradient(rgba(245,242,236,0.5) 0.5px, transparent 0.5px); background-size: 28px 28px; }
.dx-ascend-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 400px at 82% 15%, rgba(77,141,255,0.14), transparent 70%); }
.dx-ascend-inner { position: relative; margin: 0 auto; max-width: 1180px; padding: 64px 16px; }
@media (min-width: 640px) { .dx-ascend-inner { padding: 80px 24px; } }
.dx-ascend-row { display: flex; flex-direction: column; align-items: center; gap: 40px; }
@media (min-width: 1024px) { .dx-ascend-row { flex-direction: row; gap: 56px; } }
.dx-ascend-copy { }
@media (min-width: 1024px) { .dx-ascend-copy { flex: 0 0 36%; } }
.dx-ascend-eyebrow { margin: 0; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: #4d8dff; }
.dx-ascend-promise { margin: 12px 0 0; font-family: var(--dx-font-sans); font-size: 1.875rem; font-weight: 800; text-transform: uppercase; letter-spacing: -0.025em; text-wrap: balance; }
@media (min-width: 640px) { .dx-ascend-promise { font-size: 2.25rem; } }
.dx-ascend-promise em { font-family: var(--dx-font-display); font-weight: 500; font-style: italic; color: var(--dx-jade-tint-40); }
.dx-ascend-body { margin-top: 16px; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.8); }
.dx-ascend-caps { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.dx-ascend-caps li { display: flex; align-items: flex-start; gap: 10px; font-size: 18px; color: rgba(255,255,255,0.85); }
.dx-ascend-caps li::before { content: ""; margin-top: 6px; height: 6px; width: 6px; flex-shrink: 0; border-radius: 999px; background: var(--dx-jade); }
.dx-ascend-cta { margin-top: 28px; }
.dx-ascend-cta a {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--dx-jade);
  padding: 12px 24px; font-size: 18px; font-weight: 600; color: #012621; text-decoration: none; transition: background 0.2s ease, color 0.2s ease;
}
.dx-ascend-cta a:hover { background: var(--dx-jade-shade-35); color: #fff; }
.dx-ascend-stage-wrap { position: relative; display: flex; width: 100%; min-width: 0; align-items: center; justify-content: center; height: 200px; }
@media (min-width: 640px) { .dx-ascend-stage-wrap { height: 310px; } }
@media (min-width: 768px) { .dx-ascend-stage-wrap { height: 370px; } }
@media (min-width: 1024px) { .dx-ascend-stage-wrap { height: 340px; flex: 1 1 auto; } }
@media (min-width: 1280px) { .dx-ascend-stage-wrap { height: 400px; } }
.dx-ascend-stage {
  position: relative; height: 500px; width: 960px; max-width: none; flex-shrink: 0; transform-origin: center;
  filter: drop-shadow(0 40px 90px rgba(0,0,0,0.5)) drop-shadow(0 0 70px rgba(77,141,255,0.2));
  transform: scale(0.36);
}
@media (min-width: 640px) { .dx-ascend-stage { transform: scale(0.58); } }
@media (min-width: 768px) { .dx-ascend-stage { transform: scale(0.7); } }
@media (min-width: 1024px) { .dx-ascend-stage { transform: scale(0.6); } }
@media (min-width: 1280px) { .dx-ascend-stage { transform: scale(0.72); } }
.dx-ascend-moment { position: absolute; inset: 0; transition: transform 0.7s ease, opacity 0.7s ease; transform: scale(0.95); opacity: 0; pointer-events: none; }
.dx-ascend-moment.is-active { transform: scale(1); opacity: 1; pointer-events: auto; }
.dx-ascend-steppers { position: relative; margin: 0 auto; display: flex; max-width: 768px; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding-bottom: 56px; }
@media (min-width: 640px) { .dx-ascend-steppers { gap: 12px; } }
/* Scoped under .dx-ascend-steppers (0,2,0) — see .dx-stage-tabs comment above for why bare single classes lose to Hello Elementor's button reset. */
.dx-ascend-steppers .dx-ascend-step-btn {
  display: flex; align-items: center; gap: 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); background: transparent;
  padding: 6px 12px; font-size: 16px; font-weight: 600; color: rgba(255,255,255,0.55); cursor: pointer; transition: all 0.2s ease;
  font-family: var(--dx-font-sans);
}
.dx-ascend-steppers .dx-ascend-step-btn:hover { border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.85); }
.dx-ascend-steppers .dx-ascend-step-btn.is-active { border-color: var(--dx-jade); background: rgba(0,166,143,0.15); color: var(--dx-jade-tint-40); }
.dx-ascend-steppers .dx-ascend-step-btn .dot { height: 6px; width: 6px; border-radius: 999px; background: rgba(255,255,255,0.25); }
.dx-ascend-steppers .dx-ascend-step-btn.is-active .dot { background: var(--dx-jade); }
.dx-ascend-steppers .dx-ascend-replay { margin-left: 4px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); padding: 6px 14px; font-family: var(--dx-font-mono, monospace); font-size: 12px; letter-spacing: 0.05em; color: rgba(255,255,255,0.8); text-transform: uppercase; cursor: pointer; }

/* --- ASCEND panel frame (shared by all 5 moments: panels.tsx FRAME/WindowChrome) --- */
.dx-ap-frame { display: flex; height: 100%; width: 100%; flex-direction: column; overflow: hidden; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); background: #0b0c10; box-shadow: 0 50px 110px -25px rgba(0,0,0,0.65); }
.dx-ap-chrome { display: flex; flex-shrink: 0; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,0.08); background: rgba(9,10,13,0.9); padding: 14px 20px; }
.dx-ap-chrome .dots { display: flex; gap: 6px; }
.dx-ap-chrome .dots span { display: inline-block; height: 10px; width: 10px; border-radius: 999px; background: rgba(255,255,255,0.1); }
.dx-ap-chrome .label { border-radius: 4px; background: rgba(255,255,255,0.05); padding: 4px 12px; font-family: var(--dx-font-mono, monospace); font-size: 12px; color: #71717a; }
.dx-ap-body { display: flex; flex: 1; align-items: center; justify-content: center; padding: 40px; }

/* Scan panel */
.dx-ap-scan .wrap { width: 100%; max-width: 36rem; }
.dx-ap-scan .head { margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.dx-ap-scan .head .icon { display: flex; height: 44px; width: 44px; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid rgba(16,185,129,0.3); background: rgba(5,150,105,0.2); font-size: 20px; color: #34d399; }
.dx-ap-scan .head p.t1 { margin: 0; font-size: 18px; font-weight: 600; color: #fff; }
.dx-ap-scan .head p.t2 { margin: 0; font-size: 16px; color: #71717a; }
.dx-ap-scan .row { margin-bottom: 10px; display: flex; align-items: center; gap: 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.03); color: #71717a; opacity: 0.45; padding: 14px 20px; font-size: 18px; }
.dx-ap-scan .row.is-current { border-color: rgba(16,185,129,0.3); background: rgba(16,185,129,0.1); color: #6ee7b7; opacity: 1; }
.dx-ap-scan .row.is-done { border-color: rgba(34,197,94,0.2); background: rgba(34,197,94,0.1); color: #34d399; opacity: 1; }
.dx-ap-scan .bar { margin-top: 16px; height: 8px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,0.08); }
.dx-ap-scan .bar-fill { height: 100%; border-radius: 999px; background: #10b981; transition: width 0.5s ease; }

/* Score panel */
.dx-ap-score .wrap { display: flex; width: 100%; flex-direction: column; align-items: center; gap: 32px; padding: 32px 32px; }
@media (min-width: 640px) { .dx-ap-score .wrap { flex-direction: row; padding: 32px 56px; } }
.dx-ap-score .gauge { position: relative; height: 160px; width: 160px; flex-shrink: 0; }
.dx-ap-score .gauge svg { height: 100%; width: 100%; transform: rotate(-90deg); }
.dx-ap-score .gauge-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dx-ap-score .gauge-label b { font-size: 2.25rem; color: #fff; }
.dx-ap-score .gauge-label span { font-size: 16px; color: #71717a; }
.dx-ap-score .gauge-tier { margin-top: 8px; text-align: center; font-family: var(--dx-font-mono, monospace); font-size: 12px; letter-spacing: 0.05em; color: #fbbf24; text-transform: uppercase; }
.dx-ap-score .cats { min-width: 0; width: 100%; flex: 1; }
.dx-ap-score .cat { margin-bottom: 16px; }
.dx-ap-score .cat-row { display: flex; justify-content: space-between; font-size: 18px; color: #d4d4d8; }
.dx-ap-score .cat-bar { height: 8px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,0.06); }
.dx-ap-score .cat-bar-fill { height: 100%; border-radius: 999px; }

/* Constraint panel (already content-verified, restyled to shared frame classes) */
.dx-ap-constraint .wrap { width: 100%; max-width: 32rem; }
.dx-ap-constraint .intro { margin-bottom: 24px; font-size: 18px; line-height: 1.6; color: #a1a1aa; }
.dx-ap-constraint .box { border-radius: 12px; border: 1px solid rgba(239,68,68,0.15); background: rgba(239,68,68,0.07); padding: 32px; }
.dx-ap-constraint .box p.label { margin: 0; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: #71717a; }
.dx-ap-constraint .box p.value { margin: 8px 0 0; font-size: 30px; font-weight: 700; color: #fca5a5; }
.dx-ap-constraint .box p.note { margin: 8px 0 0; font-size: 16px; color: #71717a; }

/* Plan panel */
.dx-ap-plan .wrap { display: grid; width: 100%; grid-template-columns: 1fr; gap: 24px; padding: 32px 24px; }
@media (min-width: 640px) { .dx-ap-plan .wrap { grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 32px 48px; } }
.dx-ap-plan .phase { opacity: 0.35; }
.dx-ap-plan .phase.is-first { opacity: 1; }
.dx-ap-plan .phase-head { margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.dx-ap-plan .phase-num { display: flex; height: 36px; width: 36px; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgba(16,185,129,0.3); background: rgba(16,185,129,0.15); font-size: 18px; font-weight: 700; color: #34d399; }
.dx-ap-plan .phase-label { font-size: 16px; letter-spacing: 0.05em; text-transform: uppercase; color: #71717a; }
.dx-ap-plan .phase-title { margin: 0 0 12px; font-size: 1.25rem; font-weight: 600; color: #fff; }
.dx-ap-plan .phase p.item { margin: 0 0 8px; font-size: 18px; color: #71717a; }

/* Create panel */
.dx-ap-create .wrap { display: flex; width: 100%; flex: 1; flex-direction: column; min-height: 0; }
@media (min-width: 640px) { .dx-ap-create .wrap { flex-direction: row; } }
.dx-ap-create .side { display: flex; width: 100%; flex-shrink: 0; flex-direction: column; border-bottom: 1px solid rgba(255,255,255,0.08); background: rgba(15,23,41,0.4); padding: 24px; }
@media (min-width: 640px) { .dx-ap-create .side { width: 35%; border-bottom: none; border-right: 1px solid rgba(255,255,255,0.08); } }
.dx-ap-create .side-head { margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.dx-ap-create .side-head .avatar { display: flex; height: 32px; width: 32px; align-items: center; justify-content: center; border-radius: 8px; background: #9333ea; font-size: 13px; font-weight: 700; color: #fff; }
.dx-ap-create .side-head b { display: block; font-size: 16px; color: #fff; }
.dx-ap-create .side-head span { font-size: 11px; color: #c084fc; }
.dx-ap-create .bubble-in { margin-bottom: 12px; border-radius: 12px 12px 12px 4px; background: rgba(255,255,255,0.06); padding: 12px 16px; font-size: 16px; color: #e4e4e7; }
.dx-ap-create .bubble-out { margin-left: auto; margin-bottom: 12px; max-width: 90%; border-radius: 12px 12px 4px 12px; background: rgba(0,166,143,0.15); padding: 12px 16px; font-size: 16px; color: #99f6e4; text-align: right; }
.dx-ap-create .generating { margin-top: auto; display: flex; align-items: center; gap: 8px; border-radius: 12px; border: 1px solid rgba(168,85,247,0.2); background: rgba(168,85,247,0.1); padding: 12px 16px; font-size: 16px; color: #d8b4fe; }
.dx-ap-create .spinner { display: inline-block; height: 14px; width: 14px; border-radius: 999px; border: 2px solid rgba(216,180,254,0.3); border-top-color: #d8b4fe; animation: dx-spin 0.8s linear infinite; }
.dx-ap-create .main { flex: 1; padding: 24px; }
@media (min-width: 640px) { .dx-ap-create .main { padding: 32px; } }
.dx-ap-create .main-head { margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.dx-ap-create .main-head .emoji { display: flex; height: 36px; width: 36px; align-items: center; justify-content: center; border-radius: 8px; background: rgba(34,197,94,0.15); font-size: 18px; }
.dx-ap-create .main-head .tag { border-radius: 999px; border: 1px solid rgba(34,197,94,0.25); background: rgba(34,197,94,0.1); padding: 2px 10px; font-size: 11px; font-weight: 600; color: #4ade80; }
.dx-ap-create .main-head p { margin: 4px 0 0; font-size: 16px; color: #71717a; }
.dx-ap-create .beat { display: flex; align-items: center; gap: 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.03); padding: 12px 16px; margin-bottom: 10px; }
.dx-ap-create .beat .n { font-family: var(--dx-font-mono, monospace); font-size: 12px; color: #52525b; }
.dx-ap-create .beat .t { font-size: 16px; color: #d4d4d8; }
.dx-ap-create .other-types { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 20px; }
.dx-ap-create .other-types span { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.03); padding: 6px 12px; font-size: 12px; color: #a1a1aa; }

/* ======================= 5. HOW THE GROWTH SYSTEM WORKS ======================= */
.dx-hgsw { background: #fff; padding: 64px 0; border-bottom: 1px solid rgba(0,44,61,0.1); }
@media (min-width: 640px) { .dx-hgsw { padding: 96px 0; } }
.dx-hgsw-head { margin: 0 auto; max-width: 42rem; text-align: center; }
.dx-hgsw-eyebrow { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: 0.2em; color: var(--dx-cobalt); text-transform: uppercase; }
.dx-hgsw-head h2 { margin: 12px 0 0; font-family: var(--dx-font-display); font-size: 1.875rem; font-weight: 600; color: var(--dx-ink); }
@media (min-width: 640px) { .dx-hgsw-head h2 { font-size: 2.25rem; } }
.dx-hgsw-head p:not(.dx-hgsw-eyebrow) { margin-top: 12px; font-size: 18px; line-height: 28px; color: rgba(0,44,61,0.95); }
.dx-hgsw-tabs { margin-top: 32px; display: flex; justify-content: center; }
.dx-hgsw-tablist { display: inline-flex; border-radius: 999px; border: 1px solid rgba(0,44,61,0.15); background: rgba(0,44,61,0.03); padding: 4px; }
/* Scoped under .dx-hgsw-tablist (0,2,0) — see .dx-stage-tabs comment above. */
.dx-hgsw-tablist .dx-hgsw-tab { border-radius: 999px; padding: 10px 20px; font-size: 16px; font-weight: 600; color: rgba(0,44,61,0.95); background: none; border: none; cursor: pointer; transition: all 0.2s ease; font-family: var(--dx-font-sans); }
.dx-hgsw-tablist .dx-hgsw-tab[data-view="scattered"].is-active { background: var(--dx-cobalt); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.dx-hgsw-tablist .dx-hgsw-tab[data-view="connected"].is-active { background: var(--dx-jade); color: #012621; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.dx-hgsw-stage { margin: 56px auto 0; max-width: 56rem; display: grid; }
.dx-hgsw-panel { grid-column: 1; grid-row: 1; transform-origin: center; transition: all 0.5s ease; }
.dx-hgsw-panel[data-panel="scattered"] { transform: scale(1); opacity: 1; }
.dx-hgsw-panel[data-panel="scattered"].is-hidden { transform: scale(0.85); opacity: 0; pointer-events: none; }
.dx-hgsw-panel[data-panel="connected"] { transform: scale(0.92); opacity: 0; pointer-events: none; }
.dx-hgsw-panel[data-panel="connected"].is-shown { transform: scale(1); opacity: 1; pointer-events: auto; }
.dx-hgsw-scattered-head { margin-bottom: 32px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.dx-hgsw-scattered-head img { height: 80px; width: 80px; flex-shrink: 0; border-radius: 12px; object-fit: cover; object-position: 15% 35%; }
.dx-hgsw-scattered-head p { margin: 0; font-family: var(--dx-font-mono, monospace); font-size: 18px; letter-spacing: 0.05em; color: var(--dx-cobalt-shade-35); text-transform: uppercase; }
.dx-hgsw-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.dx-hgsw-chips span { display: inline-block; border-radius: 999px; border: 1px solid var(--dx-cobalt-tint-40); background: rgba(178,217,231,0.4); padding: 14px 24px; font-size: 18px; font-weight: 600; color: var(--dx-cobalt-shade-35); }
.dx-hgsw-connected-label { margin-bottom: 32px; text-align: center; font-family: var(--dx-font-mono, monospace); font-size: 18px; letter-spacing: 0.05em; color: var(--dx-jade-shade-35); text-transform: uppercase; }
.dx-hgsw-journey { margin: 0 auto; display: flex; max-width: 48rem; flex-wrap: wrap; align-items: flex-start; justify-content: center; }
.dx-hgsw-stagewrap { display: flex; align-items: center; }
/* Scoped under .dx-hgsw-journey (0,2,0) — see .dx-stage-tabs comment above. */
.dx-hgsw-journey .dx-hgsw-stagebtn { display: flex; flex-direction: column; align-items: center; gap: 8px; border-radius: 8px; padding: 12px; text-align: center; background: none; border: none; cursor: pointer; transition: background 0.2s ease; font-family: var(--dx-font-sans); }
.dx-hgsw-journey .dx-hgsw-stagebtn:hover { background: rgba(0,166,143,0.05); }
.dx-hgsw-journey .dx-hgsw-stagebtn.is-active { background: rgba(0,166,143,0.1); }
.dx-hgsw-journey .dx-hgsw-stagebtn .circle { display: flex; height: 44px; width: 44px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgba(0,166,143,0.4); background: rgba(0,166,143,0.1); font-size: 18px; font-weight: 700; color: var(--dx-jade-shade-35); transition: all 0.2s ease; }
.dx-hgsw-journey .dx-hgsw-stagebtn.is-active .circle { border-color: var(--dx-jade); background: var(--dx-jade); color: #012621; }
.dx-hgsw-journey .dx-hgsw-stagebtn .lbl { font-size: 16px; font-weight: 600; color: var(--dx-ink); }
@media (min-width: 640px) { .dx-hgsw-journey .dx-hgsw-stagebtn .lbl { font-size: 18px; } }
.dx-hgsw-connector { margin-top: 22px; height: 1px; width: 24px; transform-origin: left; transform: scaleX(0); background: rgba(0,166,143,0.4); transition: transform 0.3s ease-out; }
@media (min-width: 640px) { .dx-hgsw-connector { width: 40px; } }
.dx-hgsw-connector.is-traced { transform: scaleX(1); }
.dx-hgsw-stagecopy { margin: 24px auto 0; min-height: 3.5rem; max-width: 32rem; text-align: center; }
.dx-hgsw-stagecopy p { margin: 0; font-size: 18px; color: rgba(0,44,61,0.95); }
.dx-hgsw-stagecopy p.placeholder { font-size: 16px; }

/* ======================= 6. WHO WE HELP ======================= */
.dx-whw { background: var(--dx-cream); border-bottom: 1px solid rgba(0,44,61,0.1); }
.dx-whw-inner { margin: 0 auto; max-width: 1152px; padding: 64px 16px; }
@media (min-width: 640px) { .dx-whw-inner { padding: 80px 24px; } }
.dx-whw-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; }
@media (min-width: 1024px) { .dx-whw-photo { aspect-ratio: auto; height: 100%; } }
.dx-whw-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dx-whw-copy h2 { margin: 0; font-family: var(--dx-font-display); font-size: 1.875rem; font-weight: 600; color: var(--dx-ink); }
@media (min-width: 640px) { .dx-whw-copy h2 { font-size: 2.25rem; } }
.dx-whw-groups { margin-top: 40px; display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 640px) { .dx-whw-groups { grid-template-columns: repeat(2, 1fr); } }
.dx-whw-groups a { display: block; text-decoration: none; }
.dx-whw-groups h3 { margin: 0; font-size: 1.125rem; line-height: 28px; font-weight: 600; color: var(--dx-cobalt-shade-35); }
.dx-whw-groups a:hover h3 { color: var(--dx-cobalt); }
.dx-whw-groups p { margin: 6px 0 0; font-size: 18px; line-height: 28px; color: rgba(0,44,61,0.95); }
.dx-whw-foot { margin-top: 40px; border-top: 1px solid rgba(0,44,61,0.1); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.dx-whw-foot p { margin: 0; font-size: 18px; line-height: 28px; color: rgba(0,44,61,0.95); }
.dx-whw-foot p.affinity { font-weight: 500; color: var(--dx-jade-shade-35); }

/* ======================= 7. TRUSTED BY ======================= */
.dx-trustedby { background: #fff; padding: 64px 0; border-bottom: 1px solid rgba(0,44,61,0.1); }
@media (min-width: 640px) { .dx-trustedby { padding: 96px 0; } }
.dx-trustedby-title { text-align: center; font-family: var(--dx-font-display); font-size: 1.5rem; font-style: italic; color: var(--dx-ink); margin: 0; }
@media (min-width: 640px) { .dx-trustedby-title { font-size: 1.875rem; } }
.dx-trustedby-grid { margin-top: 48px; }
.dx-trustedby-card { display: flex; flex-direction: column; align-items: center; border-radius: 16px; border: 1px solid rgba(0,44,61,0.1); background: rgba(247,243,234,0.5); padding: 24px 16px; text-align: center; }
.dx-trustedby-card .logowrap { position: relative; height: 80px; width: 100%; }
.dx-trustedby-card .logowrap img { width: 100%; height: 100%; object-fit: contain; }
.dx-trustedby-card p { margin-top: 16px; font-size: 16px; line-height: 1.375; color: rgba(0,44,61,0.95); }

/* ======================= 8. PHILOSOPHY MOMENT ======================= */
.dx-philosophy { position: relative; isolation: isolate; display: flex; min-height: 560px; align-items: center; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.1); background: var(--dx-cobalt-shade-65); }
.dx-philosophy-dots { position: absolute; inset: 0; pointer-events: none; opacity: 0.3; background-image: radial-gradient(rgba(245,242,236,0.5) 0.5px, transparent 0.5px); background-size: 28px 28px; }
.dx-philosophy-field { position: absolute; inset: 0; height: 100%; width: 100%; pointer-events: none; transition: transform 0.3s ease-out; }
.dx-philosophy-field svg { height: 100%; width: 100%; }
.dx-philosophy-glow { position: absolute; inset: 0; pointer-events: none; transition: transform 0.3s ease-out; background: radial-gradient(45% 55% at 75% 30%, rgba(77,141,255,0.16), transparent 70%); }
.dx-philosophy-tint { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to right, var(--dx-cobalt-shade-65), rgba(0,44,61,0.5) 50%, rgba(0,44,61,0.7)); }
.dx-philosophy-inner { position: relative; margin: 0 auto; width: 100%; max-width: 1152px; padding: 64px 16px; }
@media (min-width: 640px) { .dx-philosophy-inner { padding: 64px 24px; } }
.dx-philosophy-copy { max-width: 42rem; }
.dx-philosophy-eyebrow { margin: 0; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: var(--dx-cobalt); }
.dx-philosophy-copy h2 { margin: 20px 0 0; font-size: 2.25rem; font-weight: 700; letter-spacing: -0.025em; color: #fff; text-wrap: balance; }
@media (min-width: 640px) { .dx-philosophy-copy h2 { font-size: 3rem; } }
.dx-philosophy-lines { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.dx-philosophy-lines p { margin: 0; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.8); }
@media (min-width: 640px) { .dx-philosophy-lines p { font-size: 20px; } }
.dx-philosophy-mission { margin-top: 24px; border-left: 2px solid var(--dx-jade); padding-left: 20px; font-family: var(--dx-font-display); font-size: 1.5rem; line-height: 1.3; color: var(--dx-jade-tint-40); font-style: italic; text-wrap: balance; }
@media (min-width: 640px) { .dx-philosophy-mission { font-size: 1.875rem; } }

/*
 * ======================= 9. FAQ =======================
 * Real section (FaqSection.tsx): border-t border-ink/10 bg-cream text-ink,
 * max-w-3xl px-4 py-14 sm:px-6 sm:py-20 — left-aligned, not centered (the
 * generic WP page template's FAQ sections center everything; this one
 * doesn't, matching the real component exactly). Card styles live in
 * tokens.css's new .dx-faq-card primitive.
 */
.dx-home-faq { background: var(--dx-cream); color: var(--dx-ink); padding: 56px 0; border-top: 1px solid rgba(0,44,61,0.1); }
@media (min-width: 640px) { .dx-home-faq { padding: 80px 0; } }
.dx-home-faq-eyebrow { margin: 0; font-family: var(--dx-font-sans); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: var(--dx-accent-strong); }
.dx-home-faq h2 { margin: 8px 0 0; font-family: var(--dx-font-display); font-size: 1.875rem; font-weight: 600; letter-spacing: -0.025em; color: var(--dx-ink); text-wrap: balance; }
@media (min-width: 640px) { .dx-home-faq h2 { font-size: 2.25rem; } }

/* ======================= 10. FINAL CTA ======================= */
.dx-final-cta { position: relative; overflow: hidden; background: linear-gradient(110deg, var(--dx-cobalt-shade-65) 0%, var(--dx-cobalt-shade-35) 45%, var(--dx-jade-shade-35) 75%, var(--dx-jade) 100%); }
.dx-final-cta-inner { position: relative; margin: 0 auto; max-width: 768px; padding: 64px 16px; text-align: center; }
@media (min-width: 640px) { .dx-final-cta-inner { padding: 80px 24px; } }
.dx-final-cta-inner h2 { margin: 0; font-size: 1.875rem; font-weight: 700; letter-spacing: -0.025em; color: #fff; text-wrap: balance; }
@media (min-width: 640px) { .dx-final-cta-inner h2 { font-size: 2.25rem; } }
.dx-final-cta-inner .ctas { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.dx-final-cta-inner .ctas a { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--dx-jade); padding: 14px 28px; font-size: 18px; font-weight: 600; color: #012621; text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
.dx-final-cta-inner .ctas a:hover { background: var(--dx-jade-shade-35); color: #fff; }

/* Scattered chips idle drift (HowGrowthSystemWorks.tsx per-chip timing). Paused while the Connected panel is shown. */
.dx-hgsw-chips span:nth-child(1) { --drift-rot: -1deg; animation: dx-drift 3.4s ease-in-out 0.00s infinite; }
.dx-hgsw-chips span:nth-child(2) { --drift-rot: 0deg; animation: dx-drift 3.9s ease-in-out 0.18s infinite; }
.dx-hgsw-chips span:nth-child(3) { --drift-rot: 1deg; animation: dx-drift 4.4s ease-in-out 0.36s infinite; }
.dx-hgsw-chips span:nth-child(4) { --drift-rot: -1deg; animation: dx-drift 4.9s ease-in-out 0.54s infinite; }
.dx-hgsw-chips span:nth-child(5) { --drift-rot: 0deg; animation: dx-drift 3.4s ease-in-out 0.72s infinite; }
.dx-hgsw-chips span:nth-child(6) { --drift-rot: 1deg; animation: dx-drift 3.9s ease-in-out 0.90s infinite; }
.dx-hgsw-chips span:nth-child(7) { --drift-rot: -1deg; animation: dx-drift 4.4s ease-in-out 1.08s infinite; }
.dx-hgsw-chips span:nth-child(8) { --drift-rot: 0deg; animation: dx-drift 4.9s ease-in-out 1.26s infinite; }
.dx-hgsw-panel[data-panel="scattered"].is-hidden .dx-hgsw-chips span { animation: none; }

/* Hero funnel diagram labels: real SVG uses var(--font-mono) (JetBrains Mono); the generated SVG had a generic "monospace". Targets <text> directly so it overrides the inherited inline style. */
.dx-stage-scene svg text { font-family: var(--dx-font-mono); }
