/* Investace Research — page rhythm (2026-10-05). From two gstack design-review audits (one against the
   AlphaLeap page, one independent): AlphaLeap's single spacing token on every section, one heading scale
   (the shared .h2), the same heading→content gap everywhere, and readable cards. Loaded after ir.css. */

:root {
  --sec: clamp(72px, calc(8vw + 24px), 128px);   /* AlphaLeap's section padding: 72 phone · 128 desktop */
  --head-body: clamp(48px, 7vh, 80px);           /* heading block → its content, as on AlphaLeap */
}

/* ---------- 1 · one rhythm for every section ---------- */
.how, .choose, .price, .faq { padding-block: var(--sec); }
.mani { padding: clamp(88px, 13vh, 140px) var(--pad); }
.xshow { padding-top: clamp(24px, 4vh, 56px); }                     /* hero → example note was 384–523px */
.anat.is-live .anat__pin { padding-bottom: clamp(40px, 6vh, 72px); }  /* was 18px: the next section glued on */

/* ---------- 2 · "Four steps." — heading and line side by side, readable cards ---------- */
@media (min-width: 961px) {
  .how .head { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 96px); align-items: end; }
  .how .head .chip, .how .head .h2 { grid-column: 1; }
  .how .head .lede { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0; max-width: 44ch; }
  .how .steps { margin-top: var(--head-body); gap: clamp(12px, 1.2vw, 20px); }
  .how .step { gap: clamp(14px, 2.2vh, 24px); }
  .how .step__card { padding: clamp(18px, 2.8vh, 32px) clamp(16px, 1.5vw, 28px); gap: clamp(14px, 2.4vh, 26px); border-radius: clamp(20px, 2.6vh, 28px); }
  .how .step h3 { margin-top: clamp(6px, 1vh, 12px); font-size: clamp(22px, 3.4vh, 32px); }
  .how .step__copy p:last-child { margin-top: clamp(6px, 1vh, 12px); font-size: clamp(15px, 2.2vh, 18.5px); line-height: 1.5; }
  .how .mini { padding: clamp(12px, 2vh, 20px); font-size: clamp(13.5px, 1.9vh, 16px); }
  .how .mini__cap, .how .mini__qs b { font-size: clamp(13.5px, 1.9vh, 16px); }
  .how .mini__title { font-size: clamp(14px, 2vh, 16.5px); }
  .how .mini__ticks, .how .mini__qs, .how .mini__choice { margin-top: clamp(8px, 1.4vh, 14px); gap: clamp(6px, 1vh, 10px); }
  .how .mini__qs li { padding: clamp(6px, 1.1vh, 11px) 4px; }
  .how .mini__choice span { padding: clamp(8px, 1.3vh, 12px) 6px; font-size: clamp(13px, 1.8vh, 15px); }
}

/* ---------- 3 · "Research or AlphaLeap?" — the original cards, bigger and easier to read ---------- */
.choose .head--c .lede { max-width: none; }
.pick { margin-top: clamp(28px, 4vh, 40px); }
.verdict { margin-top: 14px; min-height: 1.5em; }
.duo { margin-top: clamp(28px, 4.5vh, 48px); max-width: min(1240px, 100%); gap: clamp(14px, 1.6vw, 22px); }
.duo__tag { font-size: 12.5px; }
.duo__col h3 { font-size: clamp(30px, 3.1vw, 48px); }
.duo__for { font-size: clamp(16px, 1.15vw, 19px); max-width: 40ch; }
.duo dl div { grid-template-columns: clamp(96px, 9vw, 140px) 1fr; padding: clamp(10px, 1.5vh, 15px) 0; font-size: clamp(16px, 1.1vw, 19px); }
.duo dd { color: inherit; font-weight: 450; }
.duo__link { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: clamp(15.5px, 1.05vw, 17px); font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(11,11,12,.3); }
.duo__link:hover { text-decoration-color: var(--ink); }
@media (min-width: 961px) {
  .duo__col { padding: clamp(28px, 3.6vh, 46px) clamp(28px, 2.6vw, 48px); }
}
@media (max-width: 960px) {
  .duo dl div { grid-template-columns: 96px 1fr; font-size: 16px; }
}

/* the comparison cards glide in from ±70px; clip that so it never adds a sideways scroll (seen at 1280px) */
#choose { overflow-x: clip; }
