.how-study {
  width: min(1180px, calc(100% - 112px));
  margin-inline: auto;
  padding-block: 88px 72px;
}

.how-study :is(h1, h2, h3, h4, p) {
  margin: 0;
}

.how-study .how-eyebrow {
  margin-bottom: 20px;
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.how-study .how-title {
  color: var(--ink);
  font-size: clamp(2.25rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.how-title span {
  color: var(--purple);
}

.how-study .how-intro {
  max-width: 650px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.how-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.how-footer p {
  font-size: 1rem;
  line-height: 1.7;
}

.how-footer strong {
  color: var(--purple);
}

.how-cta {
  flex-shrink: 0;
  gap: 24px;
}

.how-cta svg {
  width: 19px;
  height: 19px;
}

/* W1: an open, editorial path. */
.how-heading--steps {
  max-width: 820px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  margin: 58px 0 0;
  padding: 0;
  list-style: none;
}

.how-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.how-step-number {
  color: var(--purple);
  font-size: 3.65rem;
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 1;
}

.how-study .how-step-title {
  margin-block: 27px 15px;
  font-size: 1.37rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.how-step > p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.85;
}

.how-step-note {
  margin-top: auto;
  color: var(--purple);
  font-size: 0.8125rem;
  font-weight: 700;
}

/* W2: a shared plan, with clear ownership on each side. */
.how-partnership-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  align-items: start;
  gap: 62px;
}

.how-heading--partnership {
  padding-top: 18px;
}

.how-heading--partnership .how-title {
  font-size: clamp(2.2rem, 3.6vw, 3.1rem);
}

.how-partnership-promise {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.how-partnership-promise svg {
  margin-top: 5px;
  color: var(--purple);
}

.how-partnership-promise p {
  font-size: 0.875rem;
}

.how-roles {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.how-role-head,
.how-role-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.how-role-head {
  font-size: 1rem;
  font-weight: 800;
}

.how-role-head > div {
  padding: 24px;
}

.how-role-head > div:last-child {
  color: var(--purple);
  background: var(--lavender);
}

.how-role-stage {
  border-block: 1px solid var(--line);
  background: var(--ivory);
}

.how-study .how-stage-title {
  padding: 12px 24px;
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.5;
}

.how-role-cell {
  padding: 23px 24px 25px;
}

.how-role-cell--eburna {
  border-left: 1px solid var(--line);
}

.how-role-cell :is(h3, h4) {
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.how-role-cell p {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.8;
}

.how-mobile-role {
  display: none;
}

.how-footer--partnership {
  margin-top: 44px;
}

/* W3: a handover into an ongoing relationship. */
.how-heading--support {
  text-align: center;
}

.how-heading--support .how-title {
  font-size: clamp(2.1rem, 3.7vw, 3.2rem);
}

.how-heading--support .how-intro {
  margin-inline: auto;
}

.how-support-path {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1.06fr);
  align-items: center;
  margin-top: 48px;
}

.how-prelaunch {
  padding: 30px 0;
}

.how-study .how-phase-label {
  margin-bottom: 16px;
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.how-study .how-phase-title {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.045em;
}

.how-prelaunch-list {
  display: grid;
  gap: 28px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.how-prelaunch-list li {
  display: flex;
  align-items: flex-start;
  gap: 17px;
}

.how-prelaunch-list svg {
  margin-top: 3px;
  color: var(--purple);
}

.how-prelaunch-list :is(h3, h4),
.how-support-rhythm :is(h3, h4) {
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.how-prelaunch-list p,
.how-support-rhythm p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.8;
}

.how-launch-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--purple);
  font-size: 0.6875rem;
  font-weight: 800;
}

.how-launch-bridge svg {
  width: 40px;
  height: 40px;
  stroke-width: 1;
}

.how-ongoing {
  padding: 36px;
  border-radius: 26px;
  background: var(--lavender);
}

.how-account-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}

.how-account-icon {
  display: grid;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid var(--purple);
  border-radius: 50%;
  color: var(--purple);
}

.how-account-icon svg {
  width: 27px;
  height: 27px;
}

.how-study .how-ongoing-intro {
  margin-top: 21px;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.how-support-rhythm {
  display: grid;
  gap: 23px;
  margin-top: 27px;
}

.how-support-rhythm > div {
  position: relative;
  padding-left: 23px;
}

.how-support-rhythm > div:not(:last-child)::after {
  position: absolute;
  top: 14px;
  left: 3px;
  height: calc(100% + 16px);
  border-left: 1px solid var(--purple);
  content: "";
}

.how-rhythm-dot {
  position: absolute;
  top: 8px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
}

.how-study .how-ongoing-note {
  margin-top: 29px;
  padding-top: 20px;
  border-top: 1px solid var(--purple);
  color: var(--purple);
  font-size: 0.8125rem;
  font-weight: 800;
}

@media (max-width: 1050px) {
  .how-study {
    width: calc(100% - 64px);
    padding-block: 64px;
  }

  .how-steps {
    gap: 28px;
  }

  .how-partnership-layout {
    grid-template-columns: 0.8fr 1.3fr;
    gap: 30px;
  }

  .how-role-cell,
  .how-role-head > div {
    padding-inline: 18px;
  }

  .how-study .how-stage-title {
    padding-inline: 18px;
  }

  .how-support-path {
    grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1.1fr);
  }

  .how-ongoing {
    padding: 28px;
  }

  .how-account-heading {
    align-items: flex-start;
    gap: 13px;
  }

  .how-account-icon {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 760px) {
  .how-study {
    width: calc(100% - 40px);
    padding-block: 48px;
  }

  .how-study .how-title {
    font-size: clamp(2rem, 6.8vw, 2.8rem);
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 36px;
  }

  .how-step {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 20px;
  }

  .how-step-number {
    grid-row: 1 / 4;
    font-size: 3rem;
  }

  .how-study .how-step-title {
    margin-block: 0 12px;
    font-size: 1.3rem;
    text-wrap: initial;
  }

  .how-step > p {
    margin-bottom: 18px;
  }

  .how-partnership-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .how-heading--partnership {
    padding-top: 0;
  }

  .how-partnership-promise {
    margin-top: 25px;
    padding-top: 22px;
  }

  .how-support-path {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 30px;
  }

  .how-prelaunch {
    padding-block: 0 10px;
  }

  .how-launch-bridge {
    flex-direction: row;
    justify-content: center;
    padding-block: 7px;
  }

  .how-launch-bridge svg {
    transform: rotate(90deg);
    width: 29px;
    height: 29px;
  }

  .how-heading--support {
    text-align: left;
  }

  .how-ongoing {
    padding: 28px;
  }

  .how-footer {
    margin-top: 34px;
  }
}

@media (max-width: 480px) {
  .how-study .how-title br {
    display: none;
  }

  .how-study .how-title span::before {
    content: " ";
  }

  .how-step {
    grid-template-columns: 1fr;
  }

  .how-step-number {
    grid-row: auto;
    margin-bottom: 18px;
    font-size: 2.75rem;
  }

  .how-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 23px;
  }

  .how-cta {
    width: 100%;
    gap: 15px;
    padding-inline: 15px;
    font-size: 0.875rem;
  }

  .how-role-head {
    display: none;
  }

  .how-role-stage:first-of-type {
    border-top: 0;
  }

  .how-role-row {
    grid-template-columns: 1fr;
  }

  .how-mobile-role {
    display: block;
    margin-bottom: 10px;
    color: var(--purple);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .how-role-cell {
    padding: 21px;
  }

  .how-role-cell--eburna {
    border-top: 1px solid var(--line);
    border-left: 0;
    background: var(--lavender);
  }

  .how-ongoing {
    padding: 24px 21px;
    border-radius: 22px;
  }

  .how-account-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .how-prelaunch-list li {
    gap: 12px;
  }
}
