.page-wrap {
  max-width: 1120px;
  padding-bottom: 0;
}

.how-page { color: var(--text); }
.how-page a:focus-visible { outline: 2px solid var(--active); outline-offset: 4px; }

.how-hero {
  max-width: 900px;
  padding: 48px 0 72px;
}

.how-eyebrow {
  align-items: center;
  background: var(--mint);
  border-radius: var(--radius-pill);
  color: #15803d;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 600;
  gap: 8px;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
  padding: 6px 14px;
  text-transform: uppercase;
}

.how-eyebrow::before {
  background: var(--active);
  border-radius: 50%;
  content: "";
  height: 6px;
  width: 6px;
}

.how-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
  max-width: 820px;
}

.how-intro {
  color: var(--text-sec);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  margin-top: 22px;
  max-width: 730px;
}

.how-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.how-section {
  border-top: 1px solid var(--border);
  padding: clamp(56px, 8vw, 88px) 0;
}

.how-section-head { margin-bottom: 34px; max-width: 760px; }

.how-section h2,
.how-final-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 4.5vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.1;
}

.how-section-head > p:last-child,
.how-control-copy > p,
.how-proof p,
.how-final-cta p {
  color: var(--text-sec);
  line-height: 1.75;
  margin-top: 18px;
}

.how-steps {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.how-step { border-right: 1px solid var(--border); padding: 28px 24px 8px 0; }
.how-step + .how-step { padding-left: 24px; }
.how-step:last-child { border-right: 0; }

.how-step-number {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.how-step h3,
.how-level h3 { font-size: 1.05rem; line-height: 1.35; margin-bottom: 12px; }

.how-step > p:last-child,
.how-level p { color: var(--text-sec); font-size: 0.92rem; line-height: 1.7; }

.how-levels-section {
  background: var(--bg-alt);
  border: 0;
  border-radius: var(--radius);
  padding-left: clamp(24px, 5vw, 54px);
  padding-right: clamp(24px, 5vw, 54px);
}

.how-levels {
  align-items: stretch;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
}

.how-level {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 26px;
}

.how-level-tag {
  color: var(--text-muted);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.how-level-arrow { align-self: center; color: var(--text-muted); font-size: 1.2rem; padding: 0 12px; }

.how-control-section {
  display: grid;
  gap: clamp(42px, 8vw, 100px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
}

.how-control-copy a { color: var(--text); font-weight: 600; text-underline-offset: 4px; }
.how-control-points { border-top: 1px solid var(--border); }

.how-control-points > div {
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 6px;
  padding: 20px 0;
}

.how-control-points strong { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 400; }
.how-control-points span { color: var(--text-sec); font-size: 0.88rem; }

.how-proof { align-items: end; display: flex; gap: 32px; justify-content: space-between; }
.how-proof > div { max-width: 700px; }
.how-proof .btn-secondary { flex: 0 0 auto; }

.how-final-cta {
  background: var(--void);
  border-radius: var(--radius);
  color: #fff;
  margin-bottom: 72px;
  padding: clamp(48px, 7vw, 76px) clamp(24px, 5vw, 56px);
  text-align: center;
}

.how-final-cta p {
  color: rgba(255,255,255,0.68);
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
}

.how-final-cta .btn-primary { background: #fff; color: var(--text); margin-top: 28px; }

@media (max-width: 900px) {
  .how-steps { grid-template-columns: 1fr 1fr; }
  .how-step:nth-child(2) { border-right: 0; }
  .how-step:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .how-step:nth-child(3) { padding-left: 0; }
  .how-levels { grid-template-columns: 1fr; }
  .how-level-arrow { justify-self: center; padding: 10px 0; transform: rotate(90deg); }
}

@media (max-width: 640px) {
  .how-hero { padding-top: 28px; }
  .how-actions a { flex: 1 1 100%; justify-content: center; }
  .how-steps,
  .how-control-section { grid-template-columns: 1fr; }
  .how-step,
  .how-step + .how-step,
  .how-step:nth-child(3) { border-right: 0; padding: 24px 0; }
  .how-step:nth-child(n + 2) { border-top: 1px solid var(--border); }
  .how-proof { align-items: stretch; flex-direction: column; }
  .how-proof .btn-secondary { justify-content: center; }
}
