/* A text-first, native-scroll chapter sequence. */
.feature-story { display: grid; grid-template-columns: 185px minmax(0, 1fr); gap: clamp(46px, 7vw, 112px); max-width: 1120px; margin: 0 auto; padding: clamp(80px, 10vw, 150px) 35px; scroll-margin-top: 24px; }
.feature-rail { position: sticky; top: 25dvh; height: 50dvh; align-self: start; }
.feature-rail__list { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 100%; list-style: none; margin: 0; padding: 0 0 0 24px; }
.feature-rail__list > li { height: 0; }
.feature-rail__list::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 1px; background: var(--hairline-strong); }
.feature-rail__link { position: relative; display: grid; gap: 2px; transform: translateY(-50%); color: var(--text-faint); font-size: 13px; line-height: 1.25; letter-spacing: .02em; text-decoration: none; transition: color 180ms ease; }
.feature-rail__link::before { content: ''; position: absolute; top: 50%; transform: translateY(-50%); right: calc(100% + 19px); width: 9px; height: 9px; border: 1px solid var(--hairline-strong); border-radius: 50%; background: var(--bg); transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease; }
.feature-rail__number { color: inherit; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.feature-rail__link:hover, .feature-rail__link:focus-visible, .feature-rail__link[aria-current="true"] { color: var(--accent); }
.feature-rail__link[aria-current="true"]::before { border-color: var(--accent); background: var(--accent); transform: translateY(-50%) scale(1.15); }
.feature-rail__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
.feature-steps { min-width: 0; }
.feature-step { padding: 0 0 clamp(94px, 11vw, 164px); scroll-margin-top: 110px; }
.feature-step:last-child { padding-bottom: 0; }
.feature-copy { max-width: 660px; }
.feature-copy .eyebrow { color: var(--text-faint); transition: color 180ms ease; }
.feature-copy h2 span { color: var(--text-dim); transition: color 180ms ease; }
.feature-step.is-active .feature-copy h2 span { color: var(--accent); }
.feature-copy h2::after { content: ''; display: block; width: 28px; height: 1px; margin-top: 22px; background: var(--hairline-strong); transition: width 180ms ease, background-color 180ms ease; }
.feature-step.is-active .feature-copy .eyebrow { color: var(--accent); }
.feature-step.is-active .feature-copy h2::after { width: 48px; background: var(--accent); }
.feature-copy > p:not(.eyebrow) { color: var(--text-dim); font-size: 17px; line-height: 1.8; margin-bottom: 22px; }
.feature-copy .text-link { margin-top: 14px; color: var(--accent); }
.feature-copy h2 { font-size: clamp(36px, 4vw, 54px); }
.feature-facts { display: grid; gap: 19px; margin-top: 28px; }
.feature-facts article { border-top: 1px solid var(--hairline); padding-top: 16px; }
.feature-facts h3 { font-size: 17px; font-weight: 500; margin: 0 0 6px; }
.feature-facts p { font-size: 15px; line-height: 1.65; color: var(--text-dim); margin: 0; }

@media (max-width: 760px) {
  .feature-story { grid-template-columns: 34px minmax(0, 1fr); gap: 18px; padding: 70px 24px 84px; }
  .feature-rail__list { padding-left: 18px; }
  .feature-rail__link { font-size: 0; }
  .feature-rail__number { font-size: 11px; }
  .feature-rail__link::before { right: calc(100% + 13px); width: 7px; height: 7px; }
  .feature-step { padding-bottom: 84px; scroll-margin-top: 90px; }
  .feature-copy h2 { font-size: clamp(34px, 10vw, 44px); }
  .feature-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.72; }
}

@media (prefers-reduced-motion: reduce) {
  .feature-rail__link, .feature-rail__link::before, .feature-copy .eyebrow, .feature-copy h2 span, .feature-copy h2::after { transition: none; }
}

@media print {
  .feature-story { display: block; padding: 24px 0; }
  .feature-rail { position: static; height: auto; margin-bottom: 30px; }
  .feature-rail__list { display: flex; flex-direction: row; height: auto; gap: 22px; padding: 0; }
  .feature-rail__list::before, .feature-rail__link::before { display: none; }
  .feature-rail__list > li { height: auto; }
  .feature-rail__link { font-size: 12px; color: inherit; transform: none; }
  .feature-step { padding-bottom: 34px; break-inside: avoid; }
}
