/* ================================================================
   N8iV Promotions — home page composition
   Loaded after saas.css on the home page only. A product-led layout:
   copy beside a layered product scene, a proof row, the integrations
   row, alternating feature rows on stages, and dark chapters with a
   fine grid. Depth stays on three planes (see DESIGN.md):
     0 ground  the page canvas
     1 stage   rounded panels with a soft wash and a fine grid
     2 float   product windows, briefs and chips resting on the stage
   ================================================================ */

:root {
  --stage-pad: clamp(20px, 3.2vw, 44px);
  --stage-wash:
    radial-gradient(60% 70% at 88% 6%, rgba(95,66,251,.16), transparent 70%),
    radial-gradient(50% 60% at 6% 96%, rgba(40,103,228,.12), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(187,41,166,.09), transparent 70%),
    var(--surface-tint);
  --grid-line: rgba(95,66,251,.075);
  --grid-line-dark: rgba(244,244,248,.055);
}

/* ── Stages: plane 1 under every product visual ──────────────── */
.scene-stage,
.feature-stage {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--light-grey);
  border-radius: var(--sheet-radius);
  background: var(--stage-wash);
  box-shadow: var(--elev-1);
}
.scene-stage::before,
.feature-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(85% 85% at 50% 40%, #000 25%, transparent 85%);
          mask-image: radial-gradient(85% 85% at 50% 40%, #000 25%, transparent 85%);
  pointer-events: none;
}

/* ── Hero: copy beside a layered product scene ───────────────── */
.ed-hero { padding-bottom: clamp(40px, 5vw, 64px); }
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(32px, 4.5vw, 72px);
}
.hero-split .ed-display-hero {
  max-width: 12ch;
  font-size: clamp(40px, 4.6vw, 66px) !important;
}
.hero-split .ed-sub { max-width: 520px; margin-top: clamp(20px, 2.4vw, 28px); }
.hero-split .ed-reassurance { max-width: 520px; }

.scene { position: relative; margin: 0; }
.scene .product-caption { margin: 12px 4px 0; text-align: right; font-size: 12px; color: var(--dark-grey); }
.scene-stage { padding: clamp(28px, 3vw, 36px) 4% clamp(20px, 2.4vw, 28px) 7%; }

/* Plane 2: the workspace window */
.scene-window {
  position: relative;
  width: 92%;
  overflow: hidden;
  border: 1px solid var(--light-grey);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--elev-2);
}
.scene-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--light-grey);
  font: 500 12px/1 var(--ff-sub);
  color: var(--dark-grey);
}
.scene-dots { display: inline-flex; gap: 6px; }
.scene-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--light-grey); }
.scene-body { display: grid; grid-template-columns: 48px minmax(0, 1fr); }
.scene-rail {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 8px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  border-right: 1px solid var(--light-grey);
  background: var(--paper);
}
.scene-rail li {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--light-grey);
  border-radius: 9px;
  background: var(--white);
}
.scene-rail li.is-active {
  border-color: transparent;
  background: linear-gradient(var(--white), var(--white)) padding-box, var(--ai-gradient) border-box;
}
.scene-main { min-width: 0; padding: 14px 16px 18px; }
.scene-ask {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  font: 400 13px/1.3 var(--ff-sub);
  color: var(--dark-grey);
}
.scene-ask .brand-mark { flex: none; color: var(--black); }
.scene-ask span { flex: none; font-weight: 500; color: var(--ink-2); }
.scene-ask strong { min-width: 0; overflow: hidden; font-weight: 500; color: var(--black); white-space: nowrap; text-overflow: ellipsis; }
.scene-table { margin-top: 10px; }
.scene-head,
.scene-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 64px;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.scene-head { padding: 6px 0; font: 500 12px/1.2 var(--ff-sub); color: var(--dark-grey); }
.scene-head span:last-child { text-align: right; }
.scene-row {
  padding: 9px 0;
  border-top: 1px solid var(--light-grey);
  font: 500 13px/1.2 var(--ff-sub);
  color: var(--black);
}
.scene-ch { display: inline-flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; white-space: nowrap; }
.scene-ch img { flex: none; }
.scene-range { position: relative; height: 6px; border-radius: 999px; background: var(--light-grey); }
.scene-range i { position: absolute; top: 0; bottom: 0; border-radius: inherit; background: var(--violet); }
.scene-range-high i { left: 62%; width: 26%; }
.scene-range-mid i { left: 34%; width: 40%; opacity: .7; }
.scene-range-low i { left: 10%; width: 62%; background: var(--stone); }
.scene-call {
  justify-self: end;
  padding: 4px 10px;
  border-radius: 999px;
  font: 600 12px/1.2 var(--ff-sub);
}
.scene-call.is-scale { color: var(--success); background: var(--success-bg); }
.scene-call.is-test { color: var(--violet); background: rgba(95,66,251,.09); }
.scene-call.is-repair { color: var(--ink-2); background: var(--light-grey); }

/* In front: the decision brief (the product's output, an AI anchor) */
.scene-brief {
  position: relative;
  z-index: 2;
  width: 46%;
  margin: -14px 0 0 auto; /* rests just over the window's bottom padding, clear of the last row */
  padding: 16px 18px 18px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: linear-gradient(var(--white), var(--white)) padding-box, var(--ai-gradient) border-box;
  box-shadow: var(--ai-glow-soft);
}
.scene-brief p { margin: 0; }
.scene-brief-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px !important;
  font: 600 13px/1.2 var(--ff-sub);
  color: var(--ink-2);
}
.scene-figure { display: grid; gap: 2px; padding: 8px 0; border-top: 1px solid var(--light-grey); }
.scene-figure small { font: 500 12px/1.3 var(--ff-sub); color: var(--dark-grey); }
.scene-figure strong {
  font: 500 clamp(20px, 1.9vw, 26px)/1.1 var(--ff-display);
  letter-spacing: -0.02em;
  color: var(--black);
  font-variant-numeric: tabular-nums;
}
.scene-brief-note { padding: 4px 0 12px; font: 400 12.5px/1.45 var(--ff-sub); color: var(--dark-grey); }
.scene-brief-call { display: flex; align-items: center; gap: 8px; font: 500 12px/1.3 var(--ff-sub); color: var(--ink-2); }
.scene-live {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ai-gradient);
  box-shadow: 0 0 0 3px rgba(95,66,251,.16), 0 0 10px rgba(95,66,251,.55);
}

/* In front: insight chips and app tiles at different depths */
.scene-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 12px;
  border: 1px solid var(--light-grey);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--elev-2);
  white-space: nowrap;
}
.scene-chip > span:last-child { display: grid; gap: 2px; }
.scene-chip strong { font: 600 13px/1.2 var(--ff-sub); color: var(--black); }
.scene-chip small { font: 400 12px/1.2 var(--ff-sub); color: var(--dark-grey); }
.scene-chip-chain { bottom: 150px; left: -4%; }
.scene-chip-gap { bottom: 62px; left: 9%; }
.scene-gap {
  flex: none;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--ai-4);
  border-radius: 50%;
}
.scene-tile {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--light-grey);
  border-radius: 15px;
  background: var(--white);
  box-shadow: var(--elev-2);
}
.scene-tile-a { top: 8px; right: 2%; }
/* farther away: smaller, softer shadow, slightly out of focus */
.scene-tile-b { top: 34%; left: -3.5%; width: 42px; height: 42px; border-radius: 12px; box-shadow: var(--elev-1); opacity: .85; filter: blur(.3px); }
.scene-tile-c { left: 44%; bottom: 22px; width: 38px; height: 38px; border-radius: 11px; box-shadow: var(--elev-1); opacity: .75; filter: blur(.5px); }

/* A slow drift on the front plane; still under reduced motion */
@keyframes scene-float {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}
.scene-brief { animation: scene-float 7s ease-in-out infinite alternate; }
.scene-chip-chain { animation: scene-float 6s ease-in-out -2s infinite alternate; }
.scene-tile-a { animation: scene-float 8s ease-in-out -4s infinite alternate; }
@media (prefers-reduced-motion: reduce) {
  .scene-brief,
  .scene-chip,
  .scene-tile { animation: none !important; }
}
html.motion-off .scene-brief,
html.motion-off .scene-chip,
html.motion-off .scene-tile { animation: none !important; }

/* ── Proof row: the pilot facts, centered ─────────────────────── */
.proof-row {
  max-width: 1000px;
  margin: clamp(48px, 6vw, 80px) auto 0 !important;
  border-top: 0 !important;
  text-align: center;
}
.proof-row > div { padding: 4px clamp(16px, 2.4vw, 32px) !important; border-left: 1px solid var(--light-grey); }
.proof-row > div:first-child { border-left: 0; }
.proof-row dd { max-width: 32ch; margin-inline: auto !important; }

/* ── Integrations: a label pill, a line, the stack ───────────── */
.stack-section { padding: clamp(32px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); text-align: center; }
.stack-title,
.ed-start-title {
  margin: 0 0 28px !important;
  font: 500 clamp(22px, 2.2vw, 30px)/1.2 var(--ff-display) !important;
  letter-spacing: -0.02em !important;
  color: var(--black) !important;
  text-align: center;
}
/* Static by default (no script, reduced motion, Motion off): one centered,
   wrapping row. The scroll below takes over when motion is allowed. */
.stack-track { display: flex; justify-content: center; }
.stack-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.stack-row[aria-hidden="true"] { display: none; }
.stack-row li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--light-grey);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--elev-1);
  font: 500 14px/1 var(--ff-sub);
  color: var(--ink-2);
}
.stack-logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--light-grey);
  border-radius: 50%;
  background: var(--paper);
}
.stack-logo img { width: 18px; height: 18px; }
.stack-note { max-width: 62ch; margin: 20px auto 0; font-size: 14px; line-height: 1.55; color: var(--dark-grey); }

/* Continuous scroll: four identical rows on one track; moving the track by
   half its width lands the third row exactly where the first began. */
@keyframes stack-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@media screen and (prefers-reduced-motion: no-preference) {
  html.ed-js:not(.motion-off) .stack-marquee {
    overflow: hidden;
    /* clip, not a scroll container: find in page or a text link to a chip in
       a loop copy must not scroll the strip and leave it blank */
    overflow: clip;
    /* run out to the edges of the container; room for the chips' shadows;
       the edges fade into the ground */
    margin: -14px calc(-1 * var(--gutter));
    padding-block: 14px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  }
  html.ed-js:not(.motion-off) .stack-track {
    justify-content: flex-start;
    width: max-content;
    animation: stack-scroll 80s linear infinite;
    will-change: transform;
  }
  html.ed-js:not(.motion-off) .stack-row {
    flex: none;
    flex-wrap: nowrap;
    margin: 0;
    padding-right: 8px; /* the gap between the last chip and the next row's first */
  }
  html.ed-js:not(.motion-off) .stack-row[aria-hidden="true"] { display: flex; }
  html.ed-js:not(.motion-off) .stack-marquee.is-paused .stack-track { animation-play-state: paused; }
  @media (hover: hover) {
    html.ed-js:not(.motion-off) .stack-marquee:hover .stack-track { animation-play-state: paused; }
  }
}

/* Pause / play: moving content that runs on its own needs a way to stop it */
.stack-toggle {
  display: none;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  margin: 16px auto 0;
  padding: 4px 13px 4px 11px;
  border: 1px solid var(--light-grey);
  border-radius: 999px;
  background: var(--white);
  font: 500 13px/1 var(--ff-sub);
  color: var(--ink-2);
  transition: border-color .2s, color .2s;
}
.stack-toggle:hover { border-color: var(--hairline-strong); color: var(--black); }
@media screen and (prefers-reduced-motion: no-preference) {
  html.ed-js:not(.motion-off) .stack-toggle:not([hidden]) { display: inline-flex; }
}
.stack-toggle-icon {
  flex: none;
  width: 10px;
  height: 10px;
  background:
    linear-gradient(currentColor, currentColor) left / 3px 100% no-repeat,
    linear-gradient(currentColor, currentColor) right / 3px 100% no-repeat;
}
@media (forced-colors: active) {
  .stack-toggle-icon { forced-color-adjust: none; color: ButtonText; }
}
.stack-toggle[data-paused="true"] .stack-toggle-icon {
  background: currentColor;
  -webkit-clip-path: polygon(10% 0, 100% 50%, 10% 100%);
          clip-path: polygon(10% 0, 100% 50%, 10% 100%);
}

/* ── How starting works: three cards ─────────────────────────── */
.ed-start { padding: clamp(24px, 3vw, 40px) 0 clamp(48px, 6vw, 80px) !important; }
.ed-start .ed-steps { gap: 12px !important; }
.ed-start .ed-steps li {
  padding: 24px;
  border: 1px solid var(--light-grey);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--elev-1);
}

/* ── Feature rows: copy beside a stage, alternating sides ────── */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.feature-rows { display: grid; gap: clamp(64px, 8vw, 112px); margin-top: clamp(48px, 6vw, 72px); }
.feature-rows .feature-row:nth-child(even) { grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); }
.feature-rows .feature-row:nth-child(even) .capability-copy { order: 2; }
.feature-row .capability-copy .eyebrow { margin-bottom: 4px; }
.feature-row .capability-copy h3 { margin-top: 16px; }

/* The board rests on the stage and runs off its far edge */
.feature-rows .feature-stage { overflow: hidden; padding: var(--stage-pad) 0 0 var(--stage-pad); }
.feature-rows .feature-row:nth-child(even) .feature-stage { padding: var(--stage-pad) var(--stage-pad) 0 0; }
.feature-rows .feature-stage .capability-board {
  position: relative;
  border-right-width: 0 !important;
  border-bottom-width: 0 !important;
  border-radius: 16px 0 0 0 !important;
  padding: 20px 22px 24px;
  box-shadow: var(--elev-2), 0 18px 44px -24px rgba(95,66,251,.45) !important;
}
.feature-rows .feature-row:nth-child(even) .feature-stage .capability-board {
  border-right-width: 1px !important;
  border-left-width: 0 !important;
  border-radius: 0 16px 0 0 !important;
}
/* every board is the product's output: the AI anchor ring */
.feature-rows .capability-board {
  border-color: transparent !important;
  background: linear-gradient(var(--white), var(--white)) padding-box, var(--ai-gradient) border-box !important;
}
@media (max-width: 1180px) {
  .feature-stage .journey-line { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  .feature-stage .journey-line > span { display: none; }
  .feature-stage .journey-line > div { min-height: 0 !important; }
  .feature-stage .content-map { grid-template-columns: 1fr !important; }
  .feature-stage .content-map strong { margin-top: 12px !important; }
}

/* The capability chapter lives on the ground now; its stages are the sheets */
#capabilities.capability-section {
  --shadow-sm: var(--elev-1);
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
#capabilities .chapter-meta,
#capabilities .capability-intro { text-align: center; }
#capabilities .chapter-meta { justify-content: center; }
#capabilities .capability-intro .ed-h2 { max-width: 20ch; margin-inline: auto; }
#capabilities .capability-intro .lead { margin-inline: auto !important; }

/* ── The question: copy beside the evidence desk ─────────────── */
#question .ed-statement { max-width: 14ch; margin: 0 0 20px; }
#question .ed-example { margin: 0; font-size: var(--t-lead); color: var(--ink-2); }
#question .feature-stage { padding: var(--stage-pad); }
#question .ed-chain {
  position: relative;
  padding: 18px 20px 64px;
  border: 1px solid var(--light-grey);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--elev-2);
}
#question .ed-kicker { margin-bottom: 12px; }
#question .ed-chain-head { margin-bottom: 10px; }
#question .ed-chain ol {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px;
  border-top: 0 !important;
}
#question .ed-chain li {
  gap: 4px;
  padding: 14px 16px 16px;
  border: 1px solid var(--light-grey) !important;
  border-radius: 12px;
  background: var(--paper);
}
#question .ed-chain li strong { font-size: 17px; }
/* the output floats in front of the window: the third plane */
#question .ed-output {
  position: relative;
  z-index: 1;
  width: min(92%, 520px);
  margin: -44px auto 0 0;
  margin-left: clamp(12px, 3vw, 28px);
}
#question .product-caption { margin: 14px 0 0; }

/* ── Dark chapters: a fine grid fading from the top ──────────── */
#problem .ed-cinema::before,
#platform.ed-dark::before,
#before-you-commit.ed-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--grid-line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-dark) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center -1px;
  -webkit-mask-image: radial-gradient(90% 75% at 50% 0%, #000 30%, transparent 85%);
          mask-image: radial-gradient(90% 75% at 50% 0%, #000 30%, transparent 85%);
  pointer-events: none;
}
#platform.ed-dark,
#before-you-commit.ed-dark { position: relative; isolation: isolate; }
#platform.ed-dark {
  background:
    radial-gradient(46% 60% at 90% 0%, rgba(95,66,251,.30), transparent 70%),
    radial-gradient(34% 50% at 0% 100%, rgba(40,103,228,.16), transparent 70%),
    var(--band) !important;
}
#before-you-commit.ed-dark {
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(95,66,251,.22), transparent 70%),
    var(--band) !important;
}

/* Problem: a centered statement among the platforms that disagree */
#problem .ed-cinema-inner { align-items: center; text-align: center; }
#problem .chapter-meta { justify-content: center; }
#problem .ed-stagger { align-items: center; }
#problem .ed-cinema-question { align-self: center; margin-inline: auto; }
#problem .ed-cinema-foot { justify-content: center; }
#problem .ed-cinema-pair { justify-items: center; }
.float-tiles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
#problem .ed-cinema-inner { position: relative; z-index: 1; }
.float-tile {
  position: absolute;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 18px;
  background: #F4F4F8;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.7), 0 0 36px -4px var(--tile-glow, rgba(95,66,251,.55));
}
.ft-1 { top: 16%; left: 7%; width: 76px; height: 76px; border-radius: 21px; --tile-glow: rgba(40,103,228,.6); }
.ft-2 { top: 12%; right: 8%; --tile-glow: rgba(95,66,251,.6); }
.ft-3 { top: 62%; left: 12%; width: 58px; height: 58px; border-radius: 16px; --tile-glow: rgba(187,41,166,.5); filter: blur(.4px); }
.ft-4 { top: 66%; right: 13%; width: 52px; height: 52px; border-radius: 15px; --tile-glow: rgba(134,43,226,.5); filter: blur(.6px); }
.ft-5 { top: 40%; right: 20%; width: 44px; height: 44px; border-radius: 13px; --tile-glow: rgba(95,66,251,.45); filter: blur(1.4px) brightness(.9); }
.ft-6 { top: 38%; left: 21%; width: 40px; height: 40px; border-radius: 12px; --tile-glow: rgba(40,103,228,.45); filter: blur(1.6px) brightness(.9); }
@media (max-width: 1100px) { .float-tiles { display: none; } }

/* Problem cards: separate dark cards */
#problem .problem-cards { gap: 12px; border: 0 !important; }
#problem .problem-card {
  border: 1px solid var(--band-line) !important;
  border-radius: var(--r-lg);
  background: var(--band-2) !important;
  overflow: hidden;
}

/* The deliverable: the receipt is a lit window on the dark sheet */
#platform .receipt-sheet { --anchor-bg: var(--band-2); }
#platform .receipt-sheet .receipt-decision { background: var(--band) !important; }

/* FAQ: a centered head over one column of rows */
#before-you-commit .chapter-meta { justify-content: center; }
#before-you-commit .conversion-faq-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: 820px;
  gap: clamp(32px, 4vw, 48px) !important;
}
#before-you-commit .conversion-faq-grid > div:first-child { position: static !important; text-align: center; }
#before-you-commit .ed-h2 { max-width: 18ch; margin-inline: auto; }
#before-you-commit .lead { margin-inline: auto !important; }
#before-you-commit .faq-list details,
#before-you-commit .faq-block { background: rgba(244,244,248,.03) !important; }
#before-you-commit .faq-list details:hover,
#before-you-commit .faq-list details[open] { border-color: rgba(244,244,248,.26) !important; }
#before-you-commit .faq-list summary::after { border-color: rgba(244,244,248,.42); }
#before-you-commit .faq-list summary:hover::after { border-color: #F4F4F8; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-split,
  .feature-row,
  .feature-rows .feature-row:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .feature-rows .feature-row:nth-child(even) .capability-copy { order: 0; }
  .feature-rows .feature-row:nth-child(even) .feature-stage { padding: var(--stage-pad) 0 0 var(--stage-pad); }
  .feature-rows .feature-row:nth-child(even) .feature-stage .capability-board {
    border-left-width: 1px !important;
    border-right-width: 0 !important;
    border-radius: 16px 0 0 0 !important;
  }
  .hero-split .ed-display-hero { max-width: 14ch; }
  .scene { max-width: 640px; }
  .scene-chip-chain { left: 2%; }
  .scene-tile-b { left: 1%; }
}
@media (max-width: 640px) {
  .scene-stage { padding: 16px 16px 18px; }
  .scene-window { width: 100%; }
  .scene-body { grid-template-columns: minmax(0, 1fr); }
  .scene-rail { display: none; }
  .scene-main { padding: 12px 12px 18px; }
  .scene-ask span { display: none; }
  .scene-head,
  .scene-row { grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr) 58px; gap: 8px; }
  .scene-brief { width: 74%; padding: 14px 14px 16px; }
  .scene-brief-note { display: none; }
  .scene-chip,
  .scene-tile { display: none; }
  .proof-row { text-align: left; }
  .proof-row > div { border-left: 0; padding: 14px 0 !important; }
  .proof-row dd { max-width: none; margin-inline: 0 !important; }
  .stack-row li { padding-right: 12px; font-size: 13px; }
  #question .ed-chain ol { grid-template-columns: minmax(0, 1fr) !important; }
  #question .ed-output { width: auto; margin: -40px 12px 0; }
}
