.how-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
  padding-block: clamp(56px, 7.4vw, 105px);
}
.how-hero h1 { max-width: 12.5ch; text-wrap: initial; }
.how-hero em { color: var(--accent); font-style: normal; }
.how-lead { max-width: 37ch; margin-block: var(--step-5); color: var(--muted); font-size: clamp(18px, 1.5vw, 21px); }

.how-route {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  display: grid;
  gap: var(--step-4);
  padding: clamp(24px, 3.5vw, 52px);
  border: 1px solid #e4dce9;
  border-radius: var(--radius-surface);
  background: linear-gradient(135deg, #eae3f1, #f5f0f5 72%);
  box-shadow: 0 18px 38px -34px #25113c6b;
}
.how-route::before,
.how-route::after {
  position: absolute;
  z-index: -1;
  inset: 26% -26% -34% 51%;
  border: 1px solid #9571b43d;
  border-radius: 42px;
  background: linear-gradient(145deg, #fff7, #d9c2ed38 59%);
  transform: rotate(-22deg);
  content: "";
}
.how-route::after { inset: 39% -31% -42% 59%; }
.how-route > p { margin: 0; color: var(--accent); font-size: 15px; font-weight: 720; }
.how-route ol { position: relative; list-style: none; display: grid; margin: 0; padding: 0; }
.how-route ol::before { position: absolute; top: 35px; bottom: 35px; left: 19px; width: 1px; background: #b7a4cf; content: ""; }
.how-route a {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(11px, 1.7vw, 24px);
  align-items: center;
  min-height: 72px;
  padding: 6px 0;
  text-decoration: none;
}
.how-route strong { font-size: clamp(20px, 2.06vw, 30px); font-weight: 680; line-height: 1.16; letter-spacing: -.035em; }
.how-route-number,
.how-route-arrow { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; }
.how-route-number { border: 1px solid #d4c5e7; background: #fbf8fe; color: var(--accent); font-size: 13px; font-weight: 730; font-variant-numeric: tabular-nums; }
.how-route-arrow { width: 32px; height: 32px; border: 1px solid #c7b7d7; background: #fff9; color: var(--accent); }
.how-route a:is(:hover, :focus-visible) strong { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.how-route a:is(:hover, :focus-visible) .how-route-arrow { border-color: var(--accent); background: var(--accent); color: white; }

.how-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: var(--step-6) clamp(36px, 7vw, 110px); }
.how-account { padding-block-start: clamp(36px, 5.1vw, 72px); border-top: 1px solid var(--line); }
.how-account .section-intro p:last-child { max-width: 39ch; }
.how-checklist { list-style: none; display: grid; margin: 0 0 var(--step-2); padding: 0; }
.how-checklist li { display: grid; grid-template-columns: 10px minmax(0, 1fr); align-items: start; gap: var(--step-4); padding-block: var(--step-4); border-bottom: 1px solid var(--line); }
.how-checklist li:first-child { padding-block-start: 0; }
.how-checklist li::before { border: 2px solid #aa8bda; border-radius: 50%; width: 9px; height: 9px; margin-top: 8px; content: ""; }
.how-checklist h3, .how-case-options h3, .how-after-change h3, .how-continue h2 {
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.16;
  letter-spacing: -.035em;
  text-wrap: initial;
}
.how-checklist p,
.how-proof-intro > p,
.how-case-options p,
.how-after-change p,
.how-continue p { margin-top: var(--step-2); color: var(--muted); }

.how-proof-band { border-block: 1px solid #ede7e7; background: linear-gradient(145deg, #f3efed, #f7f3f8 85%); }
.how-proof-intro { align-items: end; margin-block-end: clamp(27px, 3.7vw, 54px); }
.how-proof-intro > p { margin-top: 0; max-width: 48ch; }
.how-proof-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: var(--step-5); }
.how-proof-pair .capture-frame { box-shadow: 0 20px 44px -30px #371d4b60; }
.how-account-paths { display: grid; gap: var(--step-3); margin-block-start: var(--step-5); }
.how-account-paths > div { border-inline-start: 2px solid var(--line); padding-inline-start: var(--step-3); }
.how-account-paths dt { font-weight: 700; }
.how-account-paths dd { margin: var(--step-1) 0 0; color: var(--muted); }
.how-proof-pair picture { height: clamp(230px, 22.2vw, 330px); background: #f8f7fb; }
.how-proof-pair picture img { height: 100%; object-fit: contain; }
.how-proof-pair figcaption { min-height: 65px; }
.how-case-options { margin-top: clamp(28px, 4.1vw, 60px); }
.how-case-options > div { border-top: 1px solid var(--line); padding-block-start: var(--step-4); }
.how-case-options p { max-width: 44ch; }

.how-change .section-intro { margin-block-end: clamp(24px, 3.2vw, 46px); }
.how-change .section-intro p:last-child { max-width: 57ch; }
.how-change-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: center; gap: clamp(26px, 5vw, 72px); }
.how-change-grid .capture-frame { box-shadow: 0 20px 44px -34px #371d4b60; }
.how-after-change { border-inline-start: 2px solid #c7afe3; padding-inline-start: var(--step-5); }
.how-after-change p { max-width: 33ch; }
.how-continue { padding-block: var(--step-6) clamp(46px, 6vw, 84px); border-top: 1px solid var(--line); }
.how-continue p { max-width: 41ch; }

.how-closing {
  background: linear-gradient(90deg, #170d21ed, #170d21a8 55%, #170d2133), url(../assets/home-cta-violet-glass.jpg) center / cover no-repeat;
}
.how-closing .action-row { justify-content: flex-end; }
.how-closing h2 { max-width: 18ch; text-wrap: pretty; }
.how-closing .text-link { color: #fff; }

@media (max-width: 820px) {
  .how-hero, .how-split, .how-change-grid { grid-template-columns: minmax(0, 1fr); }
  .how-proof-intro { row-gap: 14px; }
  .how-route { max-width: 660px; }
  .how-closing { background-image: linear-gradient(130deg, #160d21f2, #160d21aa), url(../assets/home-cta-violet-glass-mobile.jpg); }
  .how-closing .action-row { justify-content: flex-start; }
}
@media (max-width: 650px) {
  .how-hero { padding-block: 42px; gap: var(--step-6); }
  .how-route { gap: var(--step-2); }
  .how-route a { min-height: 58px; }
  .how-route ol::before { top: 28px; bottom: 28px; }
  .how-proof-pair { grid-template-columns: minmax(0, 1fr); }
  .how-proof-pair picture { height: auto; }
  .how-proof-pair picture img { height: auto; }
  .how-proof-pair .how-proof-confirmation picture { aspect-ratio: 1.1; }
  .how-proof-pair .how-proof-confirmation picture img { height: 100%; object-fit: cover; object-position: center bottom; }
  .how-proof-pair figcaption { min-height: 0; }
}
@media (max-width: 420px) {
  .how-route { padding: 17px; }
  .how-route strong { font-size: 19px; }
}

@media screen and (prefers-reduced-motion: no-preference) {
  .how-route { animation: public-section-in .42s var(--ease); }
  .how-route strong { transition: color var(--quick) var(--ease); }
  .how-route-arrow { transition: translate var(--quick) var(--ease), color var(--quick) var(--ease), border-color var(--quick) var(--ease), background-color var(--quick) var(--ease); }
  .how-route a:focus-visible .how-route-arrow { translate: 0 3px; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .how-route a:hover .how-route-arrow { translate: 0 3px; }
}
