/* ==========================================================================
   RevXForge — Homepage layout layer
   Loaded only by index.html, after styles.css. Layout, composition, card,
   dashboard and image treatments for the homepage. Uses the shared tokens
   from styles.css only — no new colors, fonts or type scales.
   ========================================================================== */

/* ── Section rhythm ───────────────────────────────────────────────────── */
.home section { padding-block: clamp(4.5rem, 9vw, 7rem); }
.home section.home-problem { background: var(--canvas); }
.home section.faq-section.home-faq { background: var(--canvas); }

/* Scroll progress (sits just under the fixed header) */
.hm-progress { position: fixed; top: 68px; left: 0; right: 0; height: 2px; z-index: 999; pointer-events: none; }
.hm-progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }

/* Shared floating UI card */
.hm-card {
  background: var(--brand-bg);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(17,17,17,0.16), 0 2px 8px rgba(17,17,17,0.06);
  font-family: var(--font-body);
  color: var(--text-primary);
}
.hm-live {
  position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.hm-live::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--accent); opacity: 0; animation: hmPing 2s var(--ease-out) infinite;
}
@keyframes hmPing { 0% { transform: scale(0.5); opacity: 0.8; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes hmBob { from { transform: translateY(0); } to { transform: translateY(-8px); } }

/* Cursor spotlight (position set by home.js) */
.hm-spot { position: relative; overflow: hidden; }
.hm-spot::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(205,62,45,0.13), transparent 65%);
  transition: opacity 0.3s var(--ease-out);
}
.hm-spot:hover::after { opacity: 1; }

/* ── Hero (dark, cinematic) ───────────────────────────────────────────── */
.home section.home-hero {
  min-height: 94vh;
  padding-block: calc(68px + clamp(3rem, 7vw, 5.5rem)) clamp(4rem, 8vw, 6rem);
  background: var(--text-primary);
}
.hx-hero .page-hero-bg { left: 36%; background-position: center 35%; }
.hx-hero .page-hero-scrim {
  background:
    linear-gradient(90deg, rgba(17,17,17,1) 0%, rgba(17,17,17,0.97) 36%, rgba(17,17,17,0.74) 60%, rgba(17,17,17,0.5) 100%),
    linear-gradient(0deg, rgba(17,17,17,0.95) 0%, rgba(17,17,17,0) 38%);
}
.hx-hero-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 30% 40%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 70% at 30% 40%, #000 10%, transparent 75%);
}
.hx-hero-glow {
  position: absolute; z-index: 1; pointer-events: none;
  width: 760px; height: 760px; left: -260px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(205,62,45,0.24) 0%, rgba(205,62,45,0) 65%);
}
.hx-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.hx-hero .page-hero-inner { max-width: 640px; }
@media (max-width: 1199px) {
  .hx-hero-layout { grid-template-columns: 1fr; }
  .hx-hero .page-hero-inner { max-width: 680px; }
  .hx-console-wrap { max-width: 560px; }
}
.hx-hero .page-hero-kicker { background: rgba(205,62,45,0.14); border-color: var(--accent-border); }
.hx-hero h1 { color: #fff; letter-spacing: -0.02em; font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
.hx-hero .hero-body p { color: rgba(255,255,255,0.74); }
.hx-hero .page-hero-actions .btn--primary { box-shadow: 0 10px 30px rgba(205,62,45,0.4); }
.hx-hero .page-hero-actions .btn--ghost { border-color: rgba(255,255,255,0.4); }

/* Diagnostic console */
.hx-console-wrap { position: relative; padding: 2.25rem 1rem 3rem 3rem; }
.hx-console {
  position: relative; z-index: 2;
  padding: 1.25rem 1.4rem 1.1rem;
  border-radius: 20px;
  background: rgba(17,17,17,0.62);
  border: 1px solid rgba(255,255,255,0.14);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 40px 90px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.06);
  color: #fff; font-family: var(--font-body);
  transition: transform 0.4s var(--ease-out);
}
.hx-console-head { display: flex; align-items: center; gap: 0.6rem; padding-bottom: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.hx-dots { display: inline-flex; gap: 5px; }
.hx-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.22); }
.hx-dots i:first-child { background: var(--accent); }
.hx-console-title { flex: 1; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: rgba(255,255,255,0.82); }
.hx-console-body { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 1.4rem; align-items: center; padding-top: 1.2rem; }
.hx-ring { position: relative; width: 140px; height: 140px; }
.hx-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hx-ring circle { fill: none; }
.hx-ring-track { stroke: rgba(255,255,255,0.1); stroke-width: 10; }
.hx-ring-fill {
  stroke: var(--accent); stroke-width: 10; stroke-linecap: round;
  stroke-dasharray: 314.16; stroke-dashoffset: 314.16;
  transition: stroke-dashoffset 1.8s var(--ease-out) 0.3s;
}
.hx-console-wrap.in .hx-ring-fill { stroke-dashoffset: 118; }
.hx-ring-inner { fill: rgba(255,255,255,0.04) !important; stroke: rgba(255,255,255,0.08); stroke-width: 1; }
.hx-ring-label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; line-height: 1.15; color: #fff;
}
.hx-dims { display: flex; flex-direction: column; gap: 0.6rem; }
.hx-dims li { display: grid; grid-template-columns: 88px minmax(0, 1fr) 8px; align-items: center; gap: 0.65rem; font-size: 0.74rem; font-weight: 500; color: rgba(255,255,255,0.7); }
.hx-dims b { position: relative; display: block; height: 6px; border-radius: 99px; background: rgba(255,255,255,0.1); overflow: hidden; }
.hx-dims b::after {
  content: ''; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: rgba(255,255,255,0.85);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease-out);
}
.hx-dims li:nth-child(2) b::after { transition-delay: 0.08s; } .hx-dims li:nth-child(3) b::after { transition-delay: 0.16s; }
.hx-dims li:nth-child(4) b::after { transition-delay: 0.24s; } .hx-dims li:nth-child(5) b::after { transition-delay: 0.32s; }
.hx-dims li:nth-child(6) b::after { transition-delay: 0.4s; }
.hx-console-wrap.in .hx-dims b::after { transform: scaleX(1); }
.hx-dims em { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.hx-dims li.is-flag { color: #fff; font-weight: 700; }
.hx-dims li.is-flag b::after { background: var(--accent); }
.hx-dims li.is-flag em { background: var(--accent); box-shadow: 0 0 0 4px rgba(205,62,45,0.25); animation: hxPulse 1.8s var(--ease-in-out) infinite; }
@keyframes hxPulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(205,62,45,0.3); } 50% { box-shadow: 0 0 0 7px rgba(205,62,45,0); } }
.hx-console-foot { margin-top: 1.1rem; padding-top: 0.9rem; border-top: 1px solid rgba(255,255,255,0.08); }
.hx-console-foot svg { display: block; width: 100%; height: 56px; overflow: visible; }
.hx-trend-area { fill: rgba(205,62,45,0.18); }
.hx-trend-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 2s var(--ease-out) 0.5s; }
.hx-console-wrap.in .hx-trend-line { stroke-dashoffset: 0; }
.hx-float { position: absolute; z-index: 3; margin: 0; }
.hx-float--flag {
  top: 0.75rem; right: 0;
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.55rem 1rem;
  background: var(--brand-bg); color: var(--accent); border-radius: 99px;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 700;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  animation: hmBob 6s var(--ease-in-out) infinite alternate;
}
.hx-float--photo {
  left: 0; bottom: 0; width: 170px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden;
  border: 3px solid rgba(255,255,255,0.9); box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  animation: hmBob 8s var(--ease-in-out) 1s infinite alternate;
}
.hx-float--photo img { width: 100%; height: 100%; object-fit: cover; }

/* Capability strip */
.home .marquee-section {
  position: relative; background: var(--text-primary);
  border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ── The Problem (dashboard vs. context console) ──────────────────────── */
.home section.hx-problem { position: relative; overflow: hidden; padding-block: clamp(5rem, 10vw, 8rem); }
.hp-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 45% 55% at 85% 35%, rgba(205,62,45,0.07), transparent 70%),
    linear-gradient(rgba(17,17,17,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,17,0.035) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 75% at 75% 40%, #000 15%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 75% at 75% 40%, #000 15%, transparent 75%);
}
.hp .container { position: relative; }
.hp-grid {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
}
.hp-copy .section-header { margin-bottom: 1.5rem; }
.hp-copy .copy-block p:first-child { font-size: 1.08rem; color: var(--text-primary); }
.hp-copy .copy-block p:last-child {
  margin-top: 1.4rem; padding: 1.25rem 1.4rem;
  background: var(--brand-bg); border: 1px solid var(--panel-border); border-left: 3px solid var(--accent);
  border-radius: 12px; box-shadow: 0 12px 32px rgba(17,17,17,0.06);
}

/* Dashboard console */
.hp-dash {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 1.1rem 1.2rem 1.25rem; border-radius: 22px;
  background: var(--text-primary); color: #fff; font-family: var(--font-body);
  box-shadow: 0 40px 90px rgba(17,17,17,0.28), 0 4px 14px rgba(17,17,17,0.08);
}
.hp-dash-photo { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: 0.22; filter: saturate(0.6); }
.hp-dash::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, rgba(17,17,17,0.82) 0%, rgba(17,17,17,0.94) 60%);
}
.hp-dash-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.hp-dash-head .hx-dots i { background: rgba(255,255,255,0.22); }
.hp-dash-head .hx-dots i:first-child { background: var(--accent); }
.hp-toggle {
  position: relative; flex: 1; display: grid; grid-template-columns: 1fr 1fr;
  padding: 4px; border-radius: 99px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
}
.hp-toggle button {
  position: relative; z-index: 1; padding: 0.55rem 0.8rem; border-radius: 99px;
  font-size: 0.76rem; font-weight: 600; line-height: 1.25; color: rgba(255,255,255,0.6); transition: color 0.35s ease;
}
.hp-toggle button.is-on { color: #fff; }
.hp-toggle-thumb {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 99px;
  background: rgba(255,255,255,0.14); transition: transform 0.5s var(--ease-out), background 0.5s ease;
}
.hp-dash[data-mode="needs"] .hp-toggle-thumb { transform: translateX(100%); background: var(--accent); box-shadow: 0 6px 18px rgba(205,62,45,0.45); }

.hp-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.hp-tile { position: relative; height: 188px; perspective: 1000px; }
.hp-face {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  padding: 0.95rem 1rem 0.85rem; border-radius: 14px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  transition: transform 0.7s var(--ease-out); transition-delay: calc(var(--i) * 0.09s);
}
.hp-face--shows { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); }
.hp-face--needs { background: rgba(205,62,45,0.12); border: 1px solid var(--accent-border); transform: rotateY(180deg); }
.hp-dash[data-mode="needs"] .hp-face--shows, .hp-tile.is-peek .hp-face--shows { transform: rotateY(-180deg); }
.hp-dash[data-mode="needs"] .hp-face--needs, .hp-tile.is-peek .hp-face--needs { transform: rotateY(0deg); }
.hp-dash[data-mode="needs"] .hp-tile.is-peek .hp-face--shows { transform: rotateY(0deg); }
.hp-dash[data-mode="needs"] .hp-tile.is-peek .hp-face--needs { transform: rotateY(180deg); }
.hp-tile.is-peek .hp-face { transition-delay: 0s; }
.hp-tile-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.4rem; }
.hp-tile-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.hp-pill {
  display: inline-block; padding: 0.22rem 0.6rem; border-radius: 99px; font-style: normal;
  font-size: 0.7rem; font-weight: 600; color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.14);
}
.hp-pill::first-letter { text-transform: uppercase; }
.hp-pill.is-good { color: #fff; background: rgba(255,255,255,0.16); }
.hp-flag { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(205,62,45,0.25); }
.hp-face--needs p {
  max-width: none; margin: 0 0 0.3rem; font-family: var(--font-display); font-weight: 600;
  font-size: 0.98rem; line-height: 1.3; color: #fff;
}
.hp-face--needs p::first-letter { text-transform: uppercase; }
.hp-chart { display: block; width: 100%; height: 64px; margin-top: auto; overflow: visible; }
.hp-chart rect { fill: rgba(255,255,255,0.55); }
.hp-chart rect.is-risk { fill: var(--accent); }
.hp-face--needs .hp-chart rect:not(.is-risk) { fill: rgba(255,255,255,0.25); }
.hp-area { fill: rgba(255,255,255,0.1); }
.hp-line { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hp-line--muted { stroke: rgba(255,255,255,0.45); }
.hp-line--risk { stroke: var(--accent); stroke-dasharray: 6 5; animation: hmFlow 1.4s linear infinite; }
.hp-target, .hp-ceiling { stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.hp-target { stroke: rgba(255,255,255,0.35); stroke-dasharray: 4 5; }
.hp-ceiling { stroke: var(--accent); stroke-dasharray: 6 4; }
.hp-funnel { fill: rgba(255,255,255,0.55); }
.hp-funnel--muted { fill: rgba(255,255,255,0.22); }
.hp-funnel.is-risk { fill: var(--accent); }
@keyframes hmFlow { to { stroke-dashoffset: -22; } }

/* The gap: seeing a number ↔ understanding it */
.hp-gap {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.8rem;
  margin-top: 1rem; padding: 0.85rem 1rem; border-radius: 12px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
}
.hp-gap > span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.75); white-space: nowrap; }
.hp-gap-track { display: flex; align-items: center; height: 8px; }
.hp-gap-track i { display: block; height: 100%; flex: 1; background: rgba(255,255,255,0.75); transition: flex 0.8s var(--ease-out), background 0.6s ease; }
.hp-gap-left { border-radius: 99px 0 0 99px; }
.hp-gap-right { border-radius: 0 99px 99px 0; }
.hp-gap-hole {
  display: block; height: 100%; flex: 0.9;
  background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 11px);
  transition: flex 0.8s var(--ease-out), opacity 0.6s ease;
}
.hp-dash[data-mode="needs"] .hp-gap-hole { flex: 0; opacity: 0; }
.hp-dash[data-mode="needs"] .hp-gap-track i { background: var(--accent); }

.hp-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.hp-cta .btn--primary { box-shadow: 0 10px 28px rgba(205,62,45,0.3); }

@media (max-width: 960px) {
  .hp-grid { grid-template-columns: 1fr; }
  .hp-stage { max-width: 680px; }
}
@media (max-width: 600px) {
  .hp-dash { padding: 0.9rem 0.9rem 1rem; border-radius: 18px; }
  .hp-dash-head { gap: 0.6rem; }
  .hp-dash-head .hx-dots { display: none; }
  .hp-toggle button { padding: 0.5rem 0.55rem; font-size: 0.68rem; }
  .hp-tiles { grid-template-columns: 1fr; gap: 0.6rem; }
  .hp-tile { height: 158px; }
  .hp-gap { grid-template-columns: 1fr 1fr; row-gap: 0.55rem; }
  .hp-gap-track { grid-column: 1 / -1; grid-row: 1; }
  .hp-gap > span:last-child { text-align: right; }
  .hp-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hp-face, .hp-gap-track i, .hp-gap-hole, .hp-toggle-thumb { transition: none; }
  .hp-line--risk { animation: none; }
}

/* Resource paths */
.hx-paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.hm-path {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 2.25rem;
  min-height: 160px; padding: 1.4rem 1.4rem 1.5rem;
  background: var(--brand-bg); border: 1px solid var(--panel-border); border-radius: 16px;
  font-size: 1rem; font-weight: 600; color: var(--text-primary);
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.hm-path::before {
  content: ''; position: absolute; right: 1.5rem; bottom: 1.7rem; width: 9px; height: 9px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg); opacity: 0.35; transition: transform 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}
.hm-path:hover { border-color: var(--accent-border); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(17,17,17,0.09); color: var(--accent); }
.hm-path:hover::before { transform: translateX(4px) rotate(45deg); opacity: 1; }
.hm-path:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hm-path-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: 12px; background: var(--accent-subtle); color: var(--accent);
  transition: transform 0.3s var(--ease-out);
}
.hm-path:hover .hm-path-icon { transform: rotate(-6deg) scale(1.06); }
.hm-path-icon svg { width: 22px; height: 22px; }
.hm-path-label { padding-right: 1.5rem; }
.hm-path--primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 16px 40px rgba(205,62,45,0.28); }
.hm-path--primary .hm-path-icon { background: rgba(255,255,255,0.16); color: #fff; }
.hm-path--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; box-shadow: 0 20px 44px rgba(205,62,45,0.36); }
.hm-path--primary::after { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.16), transparent 65%); }

/* ── What You’ll Actually Find Here (feature bento) ───────────────────── */
.home section.hx-find { position: relative; overflow: hidden; background: var(--panel); padding-block: clamp(5rem, 10vw, 8rem); }
.hx-find-texture {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 45% 50% at 100% 0%, rgba(205,62,45,0.07), transparent 70%),
    linear-gradient(rgba(17,17,17,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,17,0.035) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hx-find .container { position: relative; }
.hx-find-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end; margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.hx-find-head .section-header { margin-bottom: 0; }
.hx-find-head .section-header h2 { margin-bottom: 0; }
.hx-find-head .copy-block p { font-size: 1.08rem; color: var(--text-primary); padding-left: 1.25rem; border-left: 3px solid var(--accent); }
.hx-find-grid {
  list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "bench diag calc" "frame diag research"; gap: 1rem;
}
.hx-f-bench { grid-area: bench; } .hx-f-calc { grid-area: calc; } .hx-f-diag { grid-area: diag; }
.hx-f-frame { grid-area: frame; } .hx-f-research { grid-area: research; }
.hx-feature {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: var(--brand-bg); border: 1px solid var(--panel-border); border-radius: 18px;
  padding-bottom: 3.6rem;
  transition: opacity 0.65s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s var(--ease-out);
}
.hx-feature.reveal:not(.in) { transform: translateY(28px); }
.hx-feature:hover { transform: translateY(-5px); border-color: var(--accent-border); box-shadow: 0 24px 54px rgba(17,17,17,0.1); }
.hx-feature:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.hx-feature-media { display: block; height: 150px; background-size: cover; background-position: center; transition: transform 0.9s var(--ease-out); }
.hx-feature:hover .hx-feature-media { transform: scale(1.07); }
.hx-feature-icon {
  position: absolute; z-index: 2; left: 1.3rem; top: 124px;
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: 12px; background: var(--brand-bg); border: 1px solid var(--accent-border); color: var(--accent);
  box-shadow: 0 10px 24px rgba(17,17,17,0.12);
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.hx-feature-icon svg { width: 22px; height: 22px; }
.hx-feature:hover .hx-feature-icon { background: var(--accent); color: #fff; transform: rotate(-6deg); }
.hx-feature p { position: relative; padding: 2.4rem 1.4rem 0; max-width: none; font-size: 0.95rem; line-height: 1.65; }
.hx-feature p strong { color: var(--text-primary); font-size: 1.02rem; }
.hx-feature-link { color: inherit; }
.hx-feature-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.hx-feature-link:focus-visible { outline: none; }
.hx-feature-arrow {
  position: absolute; right: 1.3rem; bottom: 1.2rem; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--panel-border); transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.hx-feature-arrow::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px;
  border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: translate(-65%, -50%) rotate(45deg);
}
.hx-feature:hover .hx-feature-arrow { background: var(--accent); border-color: var(--accent); transform: translateX(3px); }
.hx-feature:hover .hx-feature-arrow::after { border-color: #fff; }

/* Featured: the diagnostic */
.hx-f-diag {
  background: var(--text-primary); border-color: var(--text-primary); color: #fff;
  justify-content: flex-end; padding: 1.75rem; min-height: 560px; isolation: isolate;
}
.hx-f-diag .hx-feature-media { position: absolute; inset: 0; height: auto; z-index: -2; }
.hx-f-diag::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(17,17,17,0.35) 0%, rgba(17,17,17,0.55) 40%, rgba(17,17,17,0.94) 78%);
}
.hx-f-diag .hx-feature-icon { top: 1.75rem; left: 1.75rem; background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 12px 30px rgba(205,62,45,0.4); }
.hx-f-diag p { padding: 0; font-size: 1.05rem; color: rgba(255,255,255,0.8); }
.hx-f-diag p strong { color: #fff; font-family: var(--font-display); font-size: 1.45rem; display: block; margin-bottom: 0.5rem; line-height: 1.2; }
.hx-f-diag:hover { border-color: var(--accent); box-shadow: 0 30px 70px rgba(17,17,17,0.3); }
.hx-f-diag .hx-feature-cta { position: relative; z-index: 2; align-self: flex-start; margin-top: 1.5rem; box-shadow: 0 10px 30px rgba(205,62,45,0.4); }
.hx-diag-meter { position: absolute; top: 2.3rem; right: 1.75rem; display: flex; gap: 5px; }
.hx-diag-meter i { width: 26px; height: 6px; border-radius: 99px; background: rgba(255,255,255,0.4); }
.hx-diag-meter i.is-flag { background: var(--accent); animation: hxBlink 1.6s var(--ease-in-out) infinite; }
@keyframes hxBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ── Built for the Way Revenue Leaders Actually Decide (interactive decision tool) */
.home section.hx-decide.hd {
  position: relative; overflow: hidden; background: var(--canvas);
  padding-block: clamp(5.5rem, 10vw, 8.5rem) clamp(6.5rem, 12vw, 10rem);
}
.hd-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 40% 55% at 100% 20%, rgba(205,62,45,0.08), transparent 70%),
    linear-gradient(rgba(17,17,17,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,17,0.035) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 45%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 80% at 70% 45%, #000 20%, transparent 75%);
}
.hd .container { position: relative; }
.hd-grid {
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start;
}

/* Intro column (existing copy) */
.hd-intro { position: sticky; top: calc(68px + 2rem); }
.hd-intro .section-header { margin-bottom: 1.5rem; }
.hd-intro .copy-block { max-width: none; }
.hd-intro .hd-lead { font-size: 1.06rem; color: var(--text-primary); margin-bottom: 1.5rem; }
.hd-trust {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 1rem; align-items: start;
  padding: 1.4rem 1.5rem; background: var(--text-primary); border-radius: 18px;
  box-shadow: 0 22px 50px rgba(17,17,17,0.18);
}
.hd-trust::after {
  content: ''; position: absolute; right: -90px; top: -90px; width: 240px; height: 240px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(205,62,45,0.3), transparent 70%);
}
.hd-trust-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px;
  background: rgba(205,62,45,0.16); border: 1px solid var(--accent-border); color: var(--accent);
}
.hd-trust-icon svg { width: 22px; height: 22px; }
.hd-intro .hd-trust p { margin: 0; max-width: none; font-size: 0.95rem; line-height: 1.7; color: rgba(255,255,255,0.74); }
.hd-trust p a { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 2px; transition: color 0.2s ease; }
.hd-trust p a:hover { color: var(--accent); }

/* Tool shell */
.hd-tool {
  position: relative; overflow: hidden;
  background: var(--brand-bg); border: 1px solid var(--panel-border); border-radius: 24px;
  box-shadow: 0 40px 90px rgba(17,17,17,0.14), 0 4px 14px rgba(17,17,17,0.05);
}
.hd-tool-head { position: relative; isolation: isolate; padding: 1.5rem 1.75rem 1.4rem; color: #fff; background: var(--text-primary); }
.hd-tool-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: 0.35; }
.hd-tool-head::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(17,17,17,0.94) 0%, rgba(17,17,17,0.78) 60%, rgba(17,17,17,0.6) 100%);
}
.hd-tool-title { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.hd-tool-title h3 { color: #fff; font-size: clamp(1.2rem, 2vw, 1.45rem); }
.hd-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; margin-bottom: 1rem; }
.hd-steps li {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.5); transition: color 0.3s ease;
}
.hd-steps li span {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3); font-size: 0.75rem; font-weight: 700;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.hd-steps li.is-active, .hd-steps li.is-done { color: #fff; }
.hd-steps li.is-active span { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(205,62,45,0.25); }
.hd-steps li.is-done span { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.5); }
.hd-progress { height: 3px; border-radius: 3px; background: rgba(255,255,255,0.14); overflow: hidden; }
.hd-progress i {
  display: block; height: 100%; width: 33.34%; background: var(--accent); border-radius: inherit;
  box-shadow: 0 0 10px rgba(205,62,45,0.7); transition: width 0.5s var(--ease-out);
}
.hd-tool[data-step="2"] .hd-progress i { width: 66.67%; }
.hd-tool[data-step="3"] .hd-progress i { width: 100%; }

.hd-tool-body { padding: 1.5rem 1.75rem 1.75rem; min-height: 380px; }
.hd-panel { animation: hdIn 0.45s var(--ease-out); }
@keyframes hdIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Step 1: challenge cards */
.hd-challenges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.hd-challenge {
  position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; gap: 0.85rem; align-items: center;
  width: 100%; padding: 1rem 1rem 1rem 0.95rem; text-align: left;
  background: var(--canvas); border: 1px solid var(--panel-border); border-radius: 14px;
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.hd-challenge:hover { background: var(--brand-bg); border-color: var(--accent-border); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(17,17,17,0.08); }
.hd-challenge:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hd-challenge[aria-pressed="true"] { background: var(--accent-subtle); border-color: var(--accent); }
.hd-ch-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-bg); border: 1px solid var(--accent-border); color: var(--accent);
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.hd-ch-icon svg { width: 20px; height: 20px; }
.hd-challenge:hover .hd-ch-icon, .hd-challenge[aria-pressed="true"] .hd-ch-icon { background: var(--accent); color: #fff; transform: rotate(-6deg); }
.hd-ch-text { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.hd-ch-text strong { font-family: var(--font-display); font-size: 1rem; color: var(--text-primary); }
.hd-ch-text span { font-size: 0.82rem; line-height: 1.45; color: var(--text-secondary); }
.hd-ch-arrow { position: relative; width: 18px; height: 18px; }
.hd-ch-arrow::after {
  content: ''; position: absolute; left: 3px; top: 5px; width: 7px; height: 7px;
  border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg);
  opacity: 0.45; transition: transform 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}
.hd-challenge:hover .hd-ch-arrow::after { opacity: 1; transform: translateX(3px) rotate(45deg); }

/* Panel top bar */
.hd-panel-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.hd-link-btn {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.1rem;
  font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); transition: color 0.2s ease;
}
.hd-link-btn:hover { color: var(--accent); }
.hd-link-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.hd-chosen {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.85rem 0.4rem 0.45rem;
  background: var(--accent-subtle); border: 1px solid var(--accent-border); border-radius: 99px;
  font-size: 0.82rem; font-weight: 700; color: var(--accent);
}
.hd-chosen .hd-ch-icon { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; border: none; transform: none; }
.hd-chosen .hd-ch-icon svg { width: 14px; height: 14px; }

/* Step 2: accordion */
.hd-accordion { display: flex; flex-direction: column; gap: 0.6rem; }
.hd-acc { border: 1px solid var(--panel-border); border-radius: 14px; background: var(--brand-bg); transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.hd-acc.is-open { border-color: var(--accent-border); box-shadow: 0 12px 30px rgba(17,17,17,0.07); }
.hd-acc-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%;
  padding: 1rem 1.15rem; text-align: left; font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--text-primary);
  border-radius: 14px; transition: color 0.2s ease;
}
.hd-acc-btn:hover, .hd-acc.is-open .hd-acc-btn { color: var(--accent); }
.hd-acc-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hd-acc-toggle {
  position: relative; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--panel-border);
  transition: transform 0.35s var(--ease-out), background 0.3s ease, border-color 0.3s ease;
}
.hd-acc-toggle::before, .hd-acc-toggle::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 10px; height: 2px; border-radius: 2px;
  background: var(--accent); transform: translate(-50%, -50%); transition: opacity 0.25s ease, background 0.25s ease;
}
.hd-acc-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.hd-acc.is-open .hd-acc-toggle { transform: rotate(180deg); background: var(--accent); border-color: var(--accent); }
.hd-acc.is-open .hd-acc-toggle::before { background: #fff; }
.hd-acc.is-open .hd-acc-toggle::after { opacity: 0; }
.hd-acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease-out); }
.hd-acc.is-open .hd-acc-panel { grid-template-rows: 1fr; }
.hd-acc-inner { overflow: hidden; }
.hd-acc-content { padding: 0 1.15rem 1.15rem; }
.hd-acc-content p { max-width: none; font-size: 0.93rem; line-height: 1.7; }
.hd-acc-content p a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.hd-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hd-chip {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.85rem;
  border: 1.5px solid var(--panel-border); border-radius: 99px; background: var(--canvas);
  font-size: 0.85rem; font-weight: 600; color: var(--text-primary);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.hd-chip span { display: inline-block; }
.hd-chip span::first-letter { text-transform: uppercase; }
.hd-chip::before {
  content: ''; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--panel-border); background: var(--brand-bg);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.hd-chip:hover { border-color: var(--accent-border); transform: translateY(-1px); }
.hd-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hd-chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-subtle); color: var(--accent); }
.hd-chip[aria-pressed="true"]::before {
  border-color: var(--accent);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2l2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.hd-panel-actions { display: flex; justify-content: flex-end; margin-top: 1.25rem; }

/* Step 3: recommendation + CTA */
.hd-next {
  position: relative; padding: 1.35rem 1.4rem; border-radius: 16px;
  background: var(--canvas); border: 1px solid var(--panel-border); border-left: 3px solid var(--accent);
}
.hd-next-label {
  display: inline-block; margin-bottom: 0.6rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
}
.hd-next p { max-width: none; font-size: 0.97rem; line-height: 1.7; }
.hd-next-framework { color: var(--text-primary); font-weight: 500; }
.hd-next-diagnostic { margin-top: 0.85rem; padding-top: 0.85rem; border-top: 1px solid var(--panel-border); }
.hd-summary { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.hd-summary span {
  padding: 0.3rem 0.7rem; border-radius: 99px; background: var(--brand-bg); border: 1px solid var(--panel-border);
  font-size: 0.75rem; font-weight: 600; color: var(--text-secondary);
}
.hd-summary span::first-letter { text-transform: uppercase; }
.hd-summary span.is-dim { background: var(--accent); border-color: var(--accent); color: #fff; }
.hd-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.4rem; }
.hd-cta .btn--primary { box-shadow: 0 10px 28px rgba(205,62,45,0.32); }
.hd-restart { margin-top: 1rem; }

@media (max-width: 960px) {
  .hd-grid { grid-template-columns: 1fr; }
  .hd-intro { position: static; }
}
@media (max-width: 600px) {
  .hd-tool { border-radius: 18px; }
  .hd-tool-head { padding: 1.2rem 1.15rem 1.1rem; }
  .hd-steps li { flex-direction: column; align-items: flex-start; gap: 0.35rem; font-size: 0.7rem; }
  .hd-tool-body { padding: 1.15rem; min-height: 0; }
  .hd-challenges { grid-template-columns: 1fr; gap: 0.6rem; }
  .hd-challenge { padding: 0.85rem; }
  .hd-trust { grid-template-columns: 1fr; padding: 1.2rem; }
  .hd-cta .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.3; }
  .hd-panel-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hd-panel { animation: none; }
  .hd-acc-panel, .hd-progress i { transition: none; }
}

/* ── Core Content Areas (dark dimension explorer) ─────────────────────── */
.home section.home-areas {
  position: relative; overflow: hidden;
  background: var(--text-primary);
  padding-block: clamp(6rem, 12vw, 9rem);
  clip-path: polygon(0 clamp(24px, 4vw, 64px), 100% 0, 100% calc(100% - clamp(24px, 4vw, 64px)), 0 100%);
  margin-block: -1px;
}
.hm-areas-texture {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 10% 15%, rgba(205,62,45,0.18), transparent 70%),
    radial-gradient(ellipse 45% 35% at 95% 90%, rgba(205,62,45,0.12), transparent 70%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
}
.home-areas .container { position: relative; }
.home-areas .section-header { margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem); }
.home-areas .section-header h2 { color: #fff; }

.hm-explorer {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
}

/* Dimension list (the six existing cards) */
.home-areas .pillars-grid.hm-dim-list { display: flex; flex-direction: column; gap: 0.7rem; }
.home-areas .hm-dim {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.15rem;
  padding: 1.1rem 1.25rem 1.1rem 1.15rem;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  cursor: pointer;
  transition: opacity 0.65s var(--ease-out), transform 0.35s var(--ease-out), background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.home-areas .hm-dim.reveal:not(.in) { transform: translateY(28px); }
.home-areas .hm-dim:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); transform: translateX(4px); box-shadow: none; }
.home-areas .hm-dim:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.home-areas .hm-dim.is-active {
  background: linear-gradient(90deg, rgba(205,62,45,0.16) 0%, rgba(255,255,255,0.05) 65%);
  border-color: var(--accent-border);
  box-shadow: 0 18px 44px rgba(0,0,0,0.4);
  transform: translateX(6px);
}
.home-areas .hm-dim::before { top: 14px; bottom: 14px; left: 0; right: auto; width: 3px; height: auto; border-radius: 0 3px 3px 0; }
.home-areas .hm-dim.is-active::before { opacity: 1; }
.hm-dim-thumb { display: none; }
.hm-dim-meta { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.home-areas .hm-dim .pillar-number { margin: 0; font-size: 0.68rem; color: rgba(255,255,255,0.45); transition: color 0.3s ease; }
.home-areas .hm-dim.is-active .pillar-number { color: var(--accent); }
.home-card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(205,62,45,0.1); border: 1px solid var(--accent-border); color: var(--accent);
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.home-card-icon svg { width: 21px; height: 21px; }
.home-areas .hm-dim.is-active .home-card-icon { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(205,62,45,0.4); transform: rotate(-6deg); }
.home-areas .hm-dim h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.2rem; }
.home-areas .hm-dim p { color: rgba(255,255,255,0.58); font-size: 0.9rem; line-height: 1.55; max-width: none; transition: color 0.3s ease; }
.home-areas .hm-dim.is-active p { color: rgba(255,255,255,0.82); }
.hm-dim-arrow {
  position: relative; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.hm-dim-arrow::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px;
  border-top: 2px solid rgba(255,255,255,0.6); border-right: 2px solid rgba(255,255,255,0.6);
  transform: translate(-65%, -50%) rotate(45deg);
}
.hm-dim:hover .hm-dim-arrow { border-color: var(--accent-border); }
.hm-dim.is-active .hm-dim-arrow { background: var(--accent); border-color: var(--accent); transform: translateX(3px); }
.hm-dim.is-active .hm-dim-arrow::after { border-color: #fff; }
.hm-dim-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; }
.hm-dim-progress i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.hm-explorer.is-auto .hm-dim.is-active .hm-dim-progress i.run { animation: hmProg var(--hm-dur, 6s) linear forwards; }
@keyframes hmProg { to { transform: scaleX(1); } }

/* Stage */
.hm-stage { position: sticky; top: calc(68px + 1.5rem); display: flex; flex-direction: column; gap: 1rem; }
.hm-stage-visual {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 5 / 4; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 34px 90px rgba(0,0,0,0.55);
}
.hm-stage-img {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.1);
  transition: opacity 0.9s var(--ease-out), transform 7s linear;
}
.hm-stage-img.is-active { opacity: 1; transform: scale(1); }
.hm-stage-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(17,17,17,0.5) 0%, rgba(17,17,17,0.1) 30%, rgba(17,17,17,0.55) 60%, rgba(17,17,17,0.92) 100%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(205,62,45,0.25), transparent 70%);
}
.hm-stage-steps { position: absolute; left: 1.35rem; top: 1.35rem; display: flex; gap: 6px; width: 45%; }
.hm-stage-steps i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.28); transition: background 0.4s ease, box-shadow 0.4s ease; }
.hm-stage-steps i.is-active { background: var(--accent); box-shadow: 0 0 12px rgba(205,62,45,0.7); }
.hm-stage-num { position: absolute; right: 1.5rem; top: 1rem; width: 50%; height: 7rem; }
.hm-stage-num span {
  position: absolute; right: 0; top: 0;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 7vw, 6.5rem); line-height: 1; letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.6);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}
.hm-stage-num span.is-active { opacity: 1; transform: none; }
.hm-stage-panel {
  position: absolute; left: 1.25rem; bottom: 1.25rem; width: min(60%, 400px); padding: 0.9rem 1.1rem 1rem;
  background: rgba(17,17,17,0.42); border: 1px solid rgba(255,255,255,0.16); border-radius: 14px;
  -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.hm-stage-panel-head { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.85rem; }
.hm-stage-label {
  display: none; font-family: var(--font-body); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: #fff;
}
.hm-stage-label.is-active { display: inline; animation: hmLabelIn 0.5s var(--ease-out); }
@keyframes hmLabelIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.hm-charts { position: relative; aspect-ratio: 400 / 170; }
.hm-chart { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: 0; transition: opacity 0.45s var(--ease-out); }
.hm-chart.is-active { opacity: 1; }

/* Chart marks */
.hm-chart rect { fill: rgba(255,255,255,0.6); transform-box: fill-box; }
.hm-chart rect.is-accent { fill: var(--accent); }
.hm-chart--funnel rect { transform-origin: center; transform: scaleX(0); transition: transform 0.9s var(--ease-out); }
.hm-chart--segments rect { transform-origin: left center; transform: scaleX(0); transition: transform 0.9s var(--ease-out); fill: rgba(255,255,255,0.45); }
.hm-chart--segments rect.is-accent { fill: var(--accent); }
.hm-chart--bars rect { transform-origin: center bottom; transform: scaleY(0); transition: transform 0.9s var(--ease-out); }
.hm-chart.is-active rect { transform: none; }
.hm-chart rect:nth-of-type(2) { transition-delay: 0.06s; } .hm-chart rect:nth-of-type(3) { transition-delay: 0.12s; }
.hm-chart rect:nth-of-type(4) { transition-delay: 0.18s; } .hm-chart rect:nth-of-type(5) { transition-delay: 0.24s; }
.hm-chart rect:nth-of-type(6) { transition-delay: 0.3s; } .hm-chart rect:nth-of-type(7) { transition-delay: 0.36s; }
.hm-chart rect:nth-of-type(8) { transition-delay: 0.42s; } .hm-chart rect:nth-of-type(9) { transition-delay: 0.48s; }
.hm-chart rect:nth-of-type(10) { transition-delay: 0.54s; } .hm-chart rect:nth-of-type(11) { transition-delay: 0.6s; }
.hm-chart rect:nth-of-type(12) { transition-delay: 0.66s; }
.hm-chart rect.hm-c-req { fill: none; stroke: rgba(255,255,255,0.35); stroke-width: 1.5; stroke-dasharray: 3 3; }
.hm-c-base { stroke: rgba(255,255,255,0.25); stroke-width: 1; }
.hm-c-grid { stroke: rgba(255,255,255,0.1); stroke-width: 1; }
.hm-c-zero { stroke: rgba(255,255,255,0.35); stroke-width: 1; stroke-dasharray: 4 5; }
.hm-c-now { stroke: rgba(255,255,255,0.3); stroke-width: 1; stroke-dasharray: 2 4; }
.hm-c-leak { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 5 5; opacity: 0; transition: opacity 0.5s ease 0.6s; }
.hm-chart.is-active .hm-c-leak { opacity: 1; }
.hm-c-area { fill: rgba(205,62,45,0.22); }
.hm-c-band { fill: rgba(205,62,45,0.24); }
.hm-c-line { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 1.4s var(--ease-out) 0.1s; }
.hm-chart.is-active .hm-c-line { stroke-dashoffset: 0; }
.hm-c-forecast { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 8 7; stroke-linecap: round; animation: hmDash 1.4s linear infinite; }
@keyframes hmDash { to { stroke-dashoffset: -30; } }
.hm-c-dot { fill: var(--accent); stroke: #fff; stroke-width: 2.5; }
.hm-c-ping { fill: none; stroke: var(--accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: hmCPing 2.2s var(--ease-out) infinite; }
@keyframes hmCPing { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(3.5); opacity: 0; } }

/* Lead-gen strip under the stage (existing next-links sentence + CTA) */
.hm-stage-cta {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.25rem;
  background: var(--brand-bg); border-radius: 16px; padding: 1.1rem 1.1rem 1.1rem 1.4rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  position: relative;
}
.hm-stage-cta::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.hm-stage-cta .next-links { margin: 0; padding: 0; border: none; font-size: 0.93rem; line-height: 1.65; }
.hm-stage-cta .btn { white-space: nowrap; box-shadow: 0 8px 24px rgba(205,62,45,0.3); }
.hm-stage-cta { grid-template-columns: 1fr; }
.hm-stage-cta .btn { justify-self: start; }
.hm-stage-cta .next-links h3 { margin-bottom: 0.4rem; }

@media (max-width: 1100px) {
  .hm-stage-cta { grid-template-columns: 1fr; }
  .hm-stage-cta .btn { justify-self: start; }
}
@media (max-width: 900px) {
  .hm-explorer { grid-template-columns: 1fr; }
  .hm-stage { position: static; }
  .hm-stage-visual { display: none; }
  .home-areas .pillars-grid.hm-dim-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
  .home-areas .hm-dim, .home-areas .hm-dim.is-active {
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-areas: "thumb meta" "thumb text";
    align-items: start; column-gap: 1rem; row-gap: 0.5rem;
    padding: 0.75rem; transform: none;
    background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); box-shadow: none;
  }
  .home-areas .hm-dim::before { display: none; }
  .hm-dim-thumb { display: block; grid-area: thumb; align-self: stretch; min-height: 96px; border-radius: 10px; background-size: cover; background-position: center; }
  .hm-dim-meta { grid-area: meta; flex-direction: row-reverse; justify-content: flex-end; gap: 0.6rem; padding-top: 0.2rem; }
  .hm-dim-text { grid-area: text; padding-bottom: 0.2rem; }
  .home-card-icon, .home-areas .hm-dim.is-active .home-card-icon { width: 34px; height: 34px; border-radius: 9px; background: rgba(205,62,45,0.12); color: var(--accent); box-shadow: none; transform: none; }
  .home-card-icon svg { width: 18px; height: 18px; }
  .home-areas .hm-dim .pillar-number { color: var(--accent); }
  .home-areas .hm-dim p { color: rgba(255,255,255,0.7); }
  .hm-dim-arrow, .hm-dim-progress { display: none; }
  .hm-stage-cta { margin-top: 0.4rem; }
}
@media (max-width: 600px) {
  .home section.home-areas { padding-block: 5.5rem; }
  .home-areas .pillars-grid.hm-dim-list { grid-template-columns: 1fr; gap: 0.7rem; }
  .hm-stage-cta { padding: 1.1rem; }
  .hm-stage-cta::before { display: none; }
  .hm-stage-cta .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.3; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-stage-img { transform: none !important; }
  .hm-c-forecast, .hm-c-ping { animation: none; }
  .hm-c-ping { opacity: 0; }
}

/* ── FAQ (visual aside + timeline accordion) ──────────────────────────── */
.home section.faq-section.home-faq { position: relative; overflow: hidden; }
.hm-faq-backdrop {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 45% 55% at 100% 0%, rgba(205,62,45,0.07), transparent 70%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(205,62,45,0.05), transparent 70%);
}
.hm-faq-backdrop::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(17,17,17,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,17,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 75% 40%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 70% at 75% 40%, #000 10%, transparent 75%);
}
.home-faq .container { position: relative; }
.home-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.home-faq-aside { position: sticky; top: calc(68px + 2rem); }
.home-faq-aside .section-header { margin-bottom: 1.75rem; }

/* Visual card */
.hm-faq-visual {
  position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 5 / 4;
  margin-bottom: 1.5rem;
  box-shadow: 0 30px 70px rgba(17,17,17,0.2), 0 4px 14px rgba(17,17,17,0.06);
}
.hm-faq-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.hm-faq-visual:hover img { transform: scale(1.05); }
.hm-faq-visual::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(17,17,17,0) 35%, rgba(17,17,17,0.82) 100%);
}
.hm-faq-chip {
  position: absolute; left: 1rem; top: 1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.95rem;
  font-size: 0.75rem; font-weight: 600; border-radius: 99px;
}
.hm-faq-glass {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 2;
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.1rem;
  padding: 1rem 1.15rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 14px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-family: var(--font-body);
}
.hm-faq-ring { width: 58px; height: 58px; transform: rotate(-90deg); }
.hm-faq-ring circle { fill: none; stroke-width: 6; }
.hm-faq-ring-track { stroke: rgba(255,255,255,0.2); }
.hm-faq-ring-fill {
  stroke: var(--accent); stroke-linecap: round;
  stroke-dasharray: 163.4; stroke-dashoffset: 163.4;
  transition: stroke-dashoffset 1.6s var(--ease-out) 0.3s;
}
.hm-faq-visual.in .hm-faq-ring-fill { stroke-dashoffset: 58; }
.hm-faq-meters { display: flex; flex-direction: column; gap: 0.5rem; }
.hm-faq-meters li { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 0.6rem; font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.82); }
.hm-faq-meters b { position: relative; display: block; height: 6px; border-radius: 99px; background: rgba(255,255,255,0.18); overflow: hidden; }
.hm-faq-meters b::after {
  content: ''; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: #fff;
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease-out) 0.3s;
}
.hm-faq-meters li:nth-child(2) b::after { transition-delay: 0.4s; }
.hm-faq-meters li:nth-child(3) b::after { transition-delay: 0.5s; }
.hm-faq-visual.in .hm-faq-meters b::after { transform: scaleX(1); }
.hm-faq-meters li.is-flag { color: #fff; }
.hm-faq-meters li.is-flag b::after { background: var(--accent); }
.hm-faq-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Timeline accordion */
.home-faq .faq-list {
  position: relative; max-width: none; gap: 0.9rem; counter-reset: hmfaq;
  padding-left: 64px;
  --fill: 0px;
}
.home-faq .faq-list::before, .home-faq .faq-list::after {
  content: ''; position: absolute; left: 21px; top: 28px; width: 2px; border-radius: 2px; z-index: 0;
}
.home-faq .faq-list::before { bottom: 28px; background: var(--panel-border); }
.home-faq .faq-list::after {
  height: max(0px, calc(var(--fill) - 28px)); background: var(--accent);
  transition: height 0.5s var(--ease-out);
}
.home-faq .faq-item {
  position: relative;
  z-index: 1;
  background: var(--brand-bg);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 0;
  counter-increment: hmfaq;
  box-shadow: 0 2px 8px rgba(17,17,17,0.03);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.home-faq .faq-item:first-child { padding-top: 0; }
.home-faq .faq-item::before {
  content: ''; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0;
  background: var(--accent); transform: scaleY(0); transition: transform 0.4s var(--ease-out);
}
.home-faq .faq-item:hover { border-color: var(--accent-border); transform: translateX(4px); box-shadow: 0 14px 36px rgba(17,17,17,0.07); }
.home-faq .faq-item[open]:not(.is-closing) {
  border-color: var(--accent-border);
  background: linear-gradient(180deg, rgba(205,62,45,0.035) 0%, var(--brand-bg) 55%);
  box-shadow: 0 22px 50px rgba(17,17,17,0.09);
}
.home-faq .faq-item[open]:not(.is-closing)::before { transform: scaleY(1); }
.home-faq .faq-item summary {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem;
  padding: 1.35rem 1.5rem; cursor: pointer; list-style: none; border-radius: 16px;
}
.home-faq .faq-item summary::-webkit-details-marker { display: none; }
.home-faq .faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* Number badge sits on the rail */
.home-faq .faq-item summary::before {
  content: counter(hmfaq, decimal-leading-zero);
  position: absolute; left: -64px; top: 1.05rem;
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--accent); background: var(--brand-bg); border: 1.5px solid var(--panel-border);
  box-shadow: 0 0 0 5px var(--canvas);
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.home-faq .faq-item:hover summary::before { border-color: var(--accent-border); transform: scale(1.06); }
.home-faq .faq-item[open]:not(.is-closing) summary::before {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 0 0 5px var(--canvas), 0 8px 22px rgba(205,62,45,0.35);
}
.home-faq .faq-item summary h3 { margin: 0; font-size: 1.05rem; transition: color 0.2s ease; }
.home-faq .faq-item summary:hover h3, .home-faq .faq-item[open]:not(.is-closing) summary h3 { color: var(--accent); }
.home-faq-toggle {
  position: relative; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--panel-border); background: var(--brand-bg);
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out), transform 0.4s var(--ease-out);
}
.home-faq-toggle::before, .home-faq-toggle::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px;
  background: var(--accent); border-radius: 2px; transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease-out), opacity 0.25s ease, background 0.25s ease;
}
.home-faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.home-faq .faq-item:hover .home-faq-toggle { border-color: var(--accent-border); }
.home-faq .faq-item[open]:not(.is-closing) .home-faq-toggle { transform: rotate(180deg); background: var(--accent); border-color: var(--accent); }
.home-faq .faq-item[open]:not(.is-closing) .home-faq-toggle::before { background: #fff; }
.home-faq .faq-item[open]:not(.is-closing) .home-faq-toggle::after { opacity: 0; }
.hm-q-body { overflow: hidden; }
.hm-q-body p {
  margin: 0 1.5rem 1.5rem; padding: 1rem 0 0 1.1rem;
  border-top: 1px solid var(--panel-border);
  position: relative; max-width: none; font-size: 0.97rem; line-height: 1.75;
}
.hm-q-body p::before {
  content: ''; position: absolute; left: 0; top: 1.3rem; bottom: 0.3rem; width: 2px; border-radius: 2px; background: var(--accent-border);
}

@media (max-width: 960px) {
  .home-faq-grid { grid-template-columns: 1fr; }
  .home-faq-aside { position: static; }
  .hm-faq-visual { aspect-ratio: 16 / 9; max-width: 720px; }
}
@media (max-width: 600px) {
  .hm-faq-visual { aspect-ratio: 4 / 3; }
  .hm-faq-glass { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; padding: 0.8rem 0.9rem; gap: 0.85rem; }
  .hm-faq-ring { width: 46px; height: 46px; }
  .hm-faq-meters li { grid-template-columns: 70px 1fr; font-size: 0.68rem; }
  .hm-faq-chip { left: 0.75rem; top: 0.75rem; }
  .hm-faq-ctas .btn { width: 100%; }
  .home-faq .faq-list { padding-left: 44px; gap: 0.7rem; }
  .home-faq .faq-list::before, .home-faq .faq-list::after { left: 15px; top: 22px; }
  .home-faq .faq-list::after { height: max(0px, calc(var(--fill) - 22px)); }
  .home-faq .faq-item summary { padding: 1.05rem 1.1rem; gap: 0.75rem; }
  .home-faq .faq-item summary::before { left: -44px; top: 0.85rem; width: 32px; height: 32px; border-radius: 9px; font-size: 0.7rem; box-shadow: 0 0 0 4px var(--canvas); }
  .home-faq .faq-item[open]:not(.is-closing) summary::before { box-shadow: 0 0 0 4px var(--canvas), 0 6px 16px rgba(205,62,45,0.3); }
  .home-faq .faq-item summary h3 { font-size: 0.98rem; }
  .home-faq .faq-item:hover { transform: none; }
  .home-faq-toggle { width: 30px; height: 30px; }
  .hm-q-body p { margin: 0 1.1rem 1.2rem; padding-left: 0.9rem; font-size: 0.93rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-faq-ring-fill { stroke-dashoffset: 58; }
  .hm-faq-meters b::after { transform: scaleX(1); }
}

/* ── Closing CTA (split, image-backed dark band) ──────────────────────── */
section.closing-cta-section.home-closing {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(5.5rem, 11vw, 8.5rem); text-align: left;
}
.home-closing-bg { position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center 40%; transform: scale(1.04); }
.home-closing::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(17,17,17,0.97) 0%, rgba(17,17,17,0.9) 48%, rgba(17,17,17,0.72) 100%),
    radial-gradient(ellipse 50% 60% at 10% 100%, rgba(205,62,45,0.22), transparent 70%);
}
.home-closing::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: -1;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.hx-closing-grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 25% 50%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 80% at 25% 50%, #000 10%, transparent 75%);
}
.hx-closing-layout {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.hx-closing .closing-cta-inner { max-width: 640px; margin-inline: 0; }
@media (max-width: 1199px) {
  .hx-closing-layout { grid-template-columns: 1fr; }
  .hx-check-wrap { max-width: 540px; }
}
.hx-closing .closing-cta-inner p { margin-inline: 0; }
.hx-closing h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.hx-closing .cta-row { justify-content: flex-start; }
.hx-closing .btn--primary { box-shadow: 0 10px 30px rgba(205,62,45,0.4); }

.hx-check-wrap { position: relative; padding: 0 0 2.5rem 3rem; }
.hx-check-photo {
  margin: 0; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 34px 80px rgba(0,0,0,0.55);
}
.hx-check-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.hx-check-wrap:hover .hx-check-photo img { transform: scale(1.05); }
.hx-check {
  position: absolute; left: 0; bottom: 0; z-index: 2; width: min(310px, 82%);
  padding: 1.1rem 1.2rem 0.6rem;
  background: rgba(17,17,17,0.72); border: 1px solid rgba(255,255,255,0.14); border-radius: 16px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5); color: #fff; font-family: var(--font-body);
  animation: hmBob 7s var(--ease-in-out) infinite alternate;
}
.hx-check-head {
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.85);
}
.hx-check li {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) 44px; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.86rem; color: rgba(255,255,255,0.85);
}
.hx-check li i {
  position: relative; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3); transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.hx-check li i::after {
  content: ''; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg) scale(0);
  transition: transform 0.35s var(--ease-out);
}
.hx-check li b { display: block; height: 5px; border-radius: 99px; background: rgba(255,255,255,0.18); }
.hx-check-wrap.in li i { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.5); }
.hx-check-wrap.in li i::after { transform: rotate(45deg) scale(1); }
.hx-check li:nth-child(1) i, .hx-check li:nth-child(1) i::after { transition-delay: 0.3s; }
.hx-check li:nth-child(2) i, .hx-check li:nth-child(2) i::after { transition-delay: 0.6s; }
.hx-check li:nth-child(3) i, .hx-check li:nth-child(3) i::after { transition-delay: 0.9s; }
.hx-check li:nth-child(4) i, .hx-check li:nth-child(4) i::after { transition-delay: 1.2s; }
.hx-check li.is-flag { color: #fff; font-weight: 700; }
.hx-check-wrap.in li.is-flag i { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(205,62,45,0.25); }
.hx-check li.is-flag b { background: var(--accent); }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hx-find-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "diag diag" "bench calc" "frame research"; }
  .hx-f-diag { min-height: 420px; }
  .hx-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .home section.home-hero { min-height: auto; }
  .hx-hero .page-hero-bg { left: 0; }
  .hx-hero .page-hero-scrim { background: linear-gradient(180deg, rgba(17,17,17,0.9) 0%, rgba(17,17,17,0.95) 60%, rgba(17,17,17,1) 100%); }
  .hx-hero-layout { grid-template-columns: 1fr; }
  .hx-hero .page-hero-inner { max-width: 680px; }
  .hx-console-wrap { max-width: 560px; }
  .hx-closing-layout { grid-template-columns: 1fr; }
  .hx-find-head { grid-template-columns: 1fr; }
  .hx-check-wrap { max-width: 540px; }
}
@media (max-width: 600px) {
  .home section { padding-block: 4rem; }
  .home section.home-hero { padding-block: calc(68px + 2rem) 3.5rem; }
  .home .page-hero-actions { flex-direction: column; align-items: stretch; }
  .home .page-hero-actions .btn { width: 100%; }
  .hx-console-wrap { padding: 1.5rem 0 0; }
  .hx-console { padding: 1rem 1rem 0.9rem; }
  .hx-console-body { grid-template-columns: 1fr; justify-items: center; gap: 1.1rem; }
  .hx-dims { width: 100%; }
  .hx-dims li { grid-template-columns: 84px minmax(0, 1fr) 8px; }
  .hx-float--photo { display: none; }
  .hx-float--flag { top: 0; right: 0.5rem; }
  .hx-paths { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .hm-path { min-height: 140px; padding: 1.1rem; gap: 1.5rem; font-size: 0.92rem; }
  .hm-path::before { right: 1.1rem; bottom: 1.3rem; }
  .hx-find-grid { grid-template-columns: 1fr; grid-template-areas: "diag" "bench" "calc" "frame" "research"; gap: 0.85rem; }
  .hx-f-diag { min-height: 460px; padding: 1.4rem; }
  .hx-f-diag .hx-feature-icon { top: 1.4rem; left: 1.4rem; }
  .hx-diag-meter { top: 1.95rem; right: 1.4rem; }
  .hx-f-diag .hx-feature-cta { align-self: stretch; white-space: normal; text-align: center; line-height: 1.3; }
  .hx-check-wrap { padding: 0 0 2rem 1.25rem; }
  .home .cta-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hx-float, .hx-check, .hx-dims em, .hx-diag-meter i, .hm-live::after { animation: none !important; }
  .hx-ring-fill { stroke-dashoffset: 118; }
  .hx-dims b::after { transform: scaleX(1); }
  .hx-trend-line { stroke-dashoffset: 0; }
  .hx-check li i::after { transform: rotate(45deg) scale(1); }
}
