/* HOW IT HELPS — Interactive student journey */

:root {
  --how-ink: #2f2441;
  --how-muted: #675e70;
  --how-purple: #6254d9;
  --how-purple-dark: #382054;
  --how-lavender: #e9e1ff;
  --how-pink: #f7d5e7;
  --how-peach: #ffd9c7;
  --how-yellow: #ffe99b;
  --how-blue: #cfe6ff;
  --how-green: #d7f1d5;
  --how-cream: #fbf7ef;
  --how-border: rgba(47, 36, 65, 0.16);
}

.how-it-helps-page {
  color: var(--how-ink);
  background: var(--how-cream);
}

.how-it-helps-page .main-nav a[aria-current="page"] {
  position: relative;
  color: var(--how-purple);
}

.how-it-helps-page .main-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -15px;
  left: 0;
  height: 2px;
  background: var(--how-purple);
  border-radius: 999px;
  content: "";
}

.how-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 700px;
  padding: 84px 32px 96px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 241, 255, 0.78)),
    var(--how-cream);
  border-bottom: 1px solid rgba(47, 36, 65, 0.1);
}

.how-hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.how-hero-glow--one {
  top: -170px;
  right: -90px;
  width: 540px;
  height: 540px;
  background: rgba(136, 97, 255, 0.2);
}

.how-hero-glow--two {
  bottom: -260px;
  left: -180px;
  width: 660px;
  height: 660px;
  background: rgba(255, 153, 181, 0.19);
}

.how-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(440px, 0.96fr);
  align-items: center;
  gap: clamp(60px, 7vw, 120px);
  width: min(100%, 1360px);
  margin: 0 auto;
}

.how-kicker,
.how-scene-number {
  margin: 0;
  color: var(--how-purple);
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.how-hero h1 {
  max-width: 820px;
  margin: 22px 0 0;
  color: var(--how-ink);
  font-size: clamp(4rem, 6.3vw, 7.1rem);
  font-weight: 780;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.how-hero h1 span,
.how-scene h2 span,
.how-closing h2 span {
  display: block;
  color: var(--how-purple);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.how-hero-introduction {
  max-width: 760px;
  margin: 34px 0 0;
  color: var(--how-muted);
  font-size: clamp(1.14rem, 1.5vw, 1.42rem);
  line-height: 1.64;
  letter-spacing: -0.017em;
}

.how-hero-action {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  margin-top: 38px;
  padding: 0 22px;
  color: #ffffff;
  background: var(--how-purple-dark);
  border: 1px solid var(--how-purple-dark);
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.how-hero-action:hover {
  background: var(--how-purple);
  transform: translateY(-2px);
}

.how-hero-action:focus-visible,
.how-journey-nav a:focus-visible,
.thought-chip:focus-visible,
.picture-node:focus-visible,
.result-view-button:focus-visible,
.support-step:focus-visible,
.route-reveal:focus-visible,
.route-destinations button:focus-visible,
.continuity-step:focus-visible,
.boundary-topic:focus-visible,
.safety-disclosure summary:focus-visible,
.how-closing a:focus-visible {
  outline: 3px solid rgba(98, 84, 217, 0.42);
  outline-offset: 4px;
}

.how-hero-visual {
  position: relative;
  min-height: 500px;
}

.how-hero-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 230px;
  height: 230px;
  color: #ffffff;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.26), transparent 35%),
    linear-gradient(145deg, #7a63ef, #3c245f);
  border: 12px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow: 0 34px 70px rgba(75, 48, 111, 0.24);
  transform: translate(-50%, -50%);
}

.how-hero-core span {
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.how-hero-core strong {
  margin-top: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.55rem;
  font-style: italic;
  font-weight: 400;
}

.how-hero-thought {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 220px;
  min-height: 72px;
  padding: 16px 20px;
  border: 1px solid rgba(47, 36, 65, 0.12);
  border-radius: 28px;
  color: var(--how-ink);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 16px 38px rgba(47, 36, 65, 0.09);
  animation: howFloat 5.8s ease-in-out infinite;
}

.how-hero-thought--one {
  top: 28px;
  left: 20px;
  background: var(--how-lavender);
}

.how-hero-thought--two {
  right: 0;
  bottom: 60px;
  background: var(--how-peach);
  animation-delay: -2s;
}

.how-hero-thought--three {
  bottom: 6px;
  left: 20px;
  background: var(--how-blue);
  animation-delay: -3.8s;
}

.how-hero-path {
  position: absolute;
  z-index: 1;
  border: 2px dashed rgba(98, 84, 217, 0.28);
  border-radius: 50%;
}

.how-hero-path--one {
  top: 55px;
  left: 70px;
  width: 400px;
  height: 400px;
}

.how-hero-path--two {
  top: 100px;
  left: 115px;
  width: 310px;
  height: 310px;
  border-color: rgba(240, 132, 166, 0.35);
}

.how-hero-path--three {
  top: 145px;
  left: 160px;
  width: 220px;
  height: 220px;
  border-color: rgba(61, 142, 219, 0.3);
}

@keyframes howFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.how-journey-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(47, 36, 65, 0.12);
  backdrop-filter: blur(18px);
}

.how-journey-nav-inner {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  width: min(100%, 1320px);
  margin: 0 auto;
}

.how-journey-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  padding: 8px 12px;
  color: #6c6474;
  border-right: 1px solid rgba(47, 36, 65, 0.1);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
}

.how-journey-nav a:first-child {
  border-left: 1px solid rgba(47, 36, 65, 0.1);
}

.how-journey-nav a span {
  color: #aca5b1;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
}

.how-journey-nav a:hover,
.how-journey-nav a.is-active {
  color: var(--how-purple);
  background: rgba(98, 84, 217, 0.07);
}

.how-journey-nav a.is-active span {
  color: var(--how-purple);
}

.how-scene {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 76px;
  padding: 118px 32px;
}

.how-scene-inner {
  width: min(100%, 1320px);
  margin: 0 auto;
}

.how-scene-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(520px, 1.16fr);
  align-items: center;
  gap: clamp(64px, 8vw, 130px);
}

.how-scene-grid--reverse {
  grid-template-columns: minmax(540px, 1.18fr) minmax(0, 0.82fr);
}

.how-scene-copy h2,
.how-scene-header h2 {
  margin: 18px 0 0;
  color: var(--how-ink);
  font-size: clamp(3.2rem, 5vw, 6.2rem);
  font-weight: 760;
  line-height: 0.97;
  letter-spacing: -0.058em;
}

.how-scene-copy > p:not(.how-scene-number):not(.how-scene-note),
.how-scene-header > p,
.how-scene-header > div + p {
  margin: 30px 0 0;
  color: var(--how-muted);
  font-size: clamp(1.08rem, 1.38vw, 1.3rem);
  line-height: 1.68;
  letter-spacing: -0.014em;
}

.how-scene-note {
  margin: 26px 0 0;
  padding: 20px 22px;
  color: #4a3f57;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(47, 36, 65, 0.13);
  border-radius: 18px;
  font-size: 0.96rem;
  line-height: 1.58;
}

.how-scene-header--split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
  align-items: end;
  gap: clamp(50px, 7vw, 110px);
  margin-bottom: 72px;
}

.how-scene-header--split > p {
  margin: 0;
}

.how-scene-header--center {
  max-width: 980px;
  margin: 0 auto 68px;
  text-align: center;
}

.how-scene-header--center h2 span {
  margin-top: 8px;
}

.how-scene-header--center > p:last-child {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

/* Scene 01 */

.how-scene--start {
  background:
    radial-gradient(circle at 8% 90%, rgba(255, 183, 205, 0.34), transparent 30%),
    linear-gradient(140deg, #fff8f2, #f5efff 72%);
}

.thought-explorer {
  padding: 34px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(47, 36, 65, 0.12);
  border-radius: 34px;
  box-shadow: 0 28px 70px rgba(61, 43, 80, 0.11);
}

.thought-explorer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.thought-explorer-heading p,
.thought-explorer-heading span {
  margin: 0;
}

.thought-explorer-heading p {
  color: var(--how-ink);
  font-size: 1.04rem;
  font-weight: 750;
}

.thought-explorer-heading span {
  color: #8b8291;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.thought-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.thought-chip {
  min-height: 50px;
  padding: 12px 18px;
  color: var(--how-ink);
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.93rem;
  font-weight: 650;
  line-height: 1.3;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.thought-chip:hover {
  transform: translateY(-2px);
}

.thought-chip.is-active {
  border-color: var(--how-purple);
  box-shadow: 0 8px 22px rgba(98, 84, 217, 0.16);
}

.thought-chip--lavender { background: var(--how-lavender); }
.thought-chip--peach { background: var(--how-peach); }
.thought-chip--blue { background: var(--how-blue); }
.thought-chip--yellow { background: var(--how-yellow); }
.thought-chip--green { background: var(--how-green); }

.thought-response {
  min-height: 190px;
  margin-top: 30px;
  padding: 28px;
  color: #ffffff;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.14), transparent 38%),
    var(--how-purple-dark);
  border-radius: 26px;
}

.thought-response-label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.thought-response p {
  max-width: 650px;
  margin: 18px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.35;
}

/* Scene 02 */

.how-scene--picture {
  background: #ffffff;
}

.whole-picture-explorer {
  display: grid;
  grid-template-columns: minmax(520px, 1.08fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(60px, 7vw, 110px);
}

.whole-picture-orbit {
  position: relative;
  min-height: 650px;
  border: 1px solid rgba(98, 84, 217, 0.14);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(98, 84, 217, 0.09) 0 20%, transparent 20.5% 43%, rgba(98, 84, 217, 0.045) 43.5% 44%, transparent 44.5%),
    #fbfaff;
}

.whole-picture-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 190px;
  color: #ffffff;
  background: linear-gradient(145deg, #725ee8, #452967);
  border: 9px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 25px 55px rgba(65, 42, 94, 0.22);
  transform: translate(-50%, -50%);
}

.whole-picture-core span {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.whole-picture-core strong {
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-style: italic;
  font-weight: 400;
}

.picture-node {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  min-height: 74px;
  padding: 14px;
  color: var(--how-ink);
  border: 2px solid transparent;
  border-radius: 24px;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 14px 30px rgba(47, 36, 65, 0.09);
  transition: transform 180ms ease, border-color 180ms ease;
}

.picture-node:hover,
.picture-node.is-active {
  border-color: var(--how-purple);
  transform: scale(1.035);
}

.picture-node--emotion { top: 34px; left: 50%; background: var(--how-pink); transform: translateX(-50%); }
.picture-node--emotion:hover,
.picture-node--emotion.is-active { transform: translateX(-50%) scale(1.035); }
.picture-node--pressure { top: 145px; right: 28px; background: var(--how-peach); }
.picture-node--symptoms { right: 26px; bottom: 120px; background: var(--how-yellow); }
.picture-node--coping { bottom: 34px; left: 50%; background: var(--how-green); transform: translateX(-50%); }
.picture-node--coping:hover,
.picture-node--coping.is-active { transform: translateX(-50%) scale(1.035); }
.picture-node--function { bottom: 120px; left: 26px; background: var(--how-blue); }
.picture-node--safety { top: 145px; left: 28px; background: var(--how-lavender); }

.picture-detail {
  padding: 40px;
  color: #ffffff;
  background:
    radial-gradient(circle at 90% 0, rgba(255, 255, 255, 0.15), transparent 30%),
    var(--how-purple-dark);
  border-radius: 34px;
}

.picture-detail > span,
.picture-detail-principle {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.picture-detail h3 {
  margin: 18px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 400;
  line-height: 1.08;
}

.picture-detail > p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.04rem;
  line-height: 1.68;
}

.picture-detail-principle {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  line-height: 1.65;
  letter-spacing: 0.07em;
}

/* Scene 03 */

.how-scene--result {
  color: #ffffff;
  background:
    radial-gradient(circle at 5% 10%, rgba(132, 102, 224, 0.45), transparent 34%),
    #251835;
}

.how-scene--result .how-scene-number {
  color: #cdbfff;
}

.how-scene--result .how-scene-copy h2 {
  color: #ffffff;
}

.how-scene--result .how-scene-copy > p:not(.how-scene-number):not(.how-scene-note) {
  color: rgba(255, 255, 255, 0.76);
}

.how-scene--result .how-scene-copy h2 span {
  color: #e0d6ff;
}

.how-scene-note--dark {
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.result-demo {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
}

.result-demo-toolbar {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 14px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.result-view-button {
  min-height: 40px;
  padding: 0 17px;
  color: rgba(255, 255, 255, 0.66);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
}

.result-view-button.is-active {
  color: var(--how-ink);
  background: #ffffff;
}

.result-report {
  overflow: hidden;
  min-height: 540px;
  color: var(--how-ink);
  background: #fffdf8;
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
}

.result-report-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 30px;
  background: #ffffff;
  border-bottom: 1px solid rgba(47, 36, 65, 0.12);
}

.result-report-header span,
.result-report-content section > span {
  color: #8c8493;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.result-report-header h3 {
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.5vw, 2.55rem);
  font-weight: 700;
  line-height: 1.08;
}

.result-report-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  color: #3c6b42 !important;
  background: var(--how-green);
  border-radius: 999px;
}

.result-report-content {
  padding: 30px;
}

.result-summary {
  padding: 24px;
  background: var(--how-lavender);
  border-radius: 18px;
}

.result-summary p,
.result-action p {
  margin: 12px 0 0;
  font-size: 1rem;
  line-height: 1.6;
}

.result-report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.result-report-grid section {
  padding: 22px;
  background: #ffffff;
  border: 1px solid rgba(47, 36, 65, 0.11);
  border-radius: 18px;
}

.result-report-grid strong {
  display: block;
  margin-top: 13px;
  font-size: 1rem;
  line-height: 1.4;
}

.result-action {
  margin-top: 14px;
  padding: 22px;
  background: var(--how-yellow);
  border-radius: 18px;
}

.result-score-list {
  display: grid;
  gap: 18px;
}

.result-score-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 14px;
}

.result-score-row span,
.result-score-row strong {
  font-size: 0.78rem;
}

.result-score-bar {
  overflow: hidden;
  height: 10px;
  background: #ece7f1;
  border-radius: 999px;
}

.result-score-bar i {
  display: block;
  height: 100%;
  background: var(--how-purple);
  border-radius: inherit;
}

.result-score-warning {
  margin-top: 28px;
  padding: 18px;
  color: #6d5a1e;
  background: var(--how-yellow);
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Scene 04 */

.how-scene--support {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 216, 146, 0.33), transparent 30%),
    #fff9ef;
}

.support-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.support-track::before {
  position: absolute;
  top: 50%;
  right: 2%;
  left: 2%;
  height: 4px;
  background: linear-gradient(90deg, #a1d4a0, #e9d06b, #ee9b73, #8d63b3);
  border-radius: 999px;
  transform: translateY(-50%);
  content: "";
}

.support-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 170px;
  padding: 24px;
  color: var(--how-ink);
  border: 2px solid transparent;
  border-radius: 26px;
  cursor: pointer;
  font: inherit;
  text-align: left;
  box-shadow: 0 15px 34px rgba(62, 48, 71, 0.09);
  transition: transform 180ms ease, border-color 180ms ease;
}

.support-step:hover,
.support-step.is-active {
  border-color: var(--how-purple);
  transform: translateY(-6px);
}

.support-step span {
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.09em;
}

.support-step strong {
  margin-top: auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
}

.support-step small {
  margin-top: 8px;
  color: #665e6b;
  font-size: 0.8rem;
}

.support-step--one { background: var(--how-green); }
.support-step--two { background: var(--how-yellow); }
.support-step--three { background: var(--how-peach); }
.support-step--four { background: var(--how-lavender); }

.support-detail {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) minmax(250px, 0.55fr);
  align-items: center;
  gap: 28px;
  min-height: 230px;
  margin-top: 30px;
  padding: 36px;
  color: #ffffff;
  background: var(--how-purple-dark);
  border-radius: 30px;
}

.support-detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 2rem;
}

.support-detail span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.support-detail h3 {
  margin: 11px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.6vw, 2.8rem);
  font-weight: 400;
}

.support-detail > div:nth-child(2) p {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.96rem;
  line-height: 1.6;
}

.support-detail-boundary {
  margin: 0;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.68);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Scene 05 */

.how-scene--human {
  background: #ffffff;
}

.route-explorer {
  display: grid;
  grid-template-columns: minmax(300px, 0.58fr) minmax(0, 1.42fr);
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(47, 36, 65, 0.12);
  border-radius: 34px;
  box-shadow: 0 28px 70px rgba(47, 36, 65, 0.09);
}

.route-question {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px;
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 5%, rgba(255, 255, 255, 0.13), transparent 30%),
    var(--how-purple-dark);
}

.route-question > span,
.route-detail > span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.route-question blockquote {
  margin: 24px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 3.4vw, 4rem);
  line-height: 1.06;
}

.route-reveal {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 50px;
  margin-top: 46px;
  padding: 0 18px;
  color: var(--how-ink);
  background: var(--how-yellow);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 750;
}

.route-map {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 28px 42px;
  padding: 46px;
  background:
    radial-gradient(circle at 80% 10%, rgba(207, 230, 255, 0.75), transparent 31%),
    #f8fbff;
  opacity: 0.42;
  transition: opacity 280ms ease;
}

.route-map.is-revealed {
  opacity: 1;
}

.route-person {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 148px;
  color: #ffffff;
  background: var(--how-purple);
  border: 9px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 20px 45px rgba(98, 84, 217, 0.22);
}

.route-person span {
  font-size: 1.8rem;
}

.route-person strong {
  margin-top: 8px;
  font-size: 0.84rem;
}

.route-destinations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  gap: 12px;
}

.route-destinations button {
  min-height: 68px;
  padding: 14px 16px;
  color: var(--how-ink);
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 18px;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  box-shadow: 0 10px 24px rgba(47, 36, 65, 0.07);
  transition: transform 180ms ease, border-color 180ms ease;
}

.route-destinations button:hover,
.route-destinations button.is-active {
  border-color: var(--how-purple);
  transform: translateY(-2px);
}

.route-destinations button:last-child {
  grid-column: 1 / -1;
  background: var(--how-peach);
}

.route-detail {
  grid-column: 1 / -1;
  padding: 26px;
  color: #ffffff;
  background: #2e6d80;
  border-radius: 22px;
}

.route-detail > span {
  color: rgba(255, 255, 255, 0.66);
}

.route-detail h3 {
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 400;
}

.route-detail p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.55;
}

.human-principle {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  color: var(--how-ink);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
}

.human-principle span {
  color: var(--how-purple);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.22em;
}

/* Scene 06 */

.how-scene--continuity {
  background:
    radial-gradient(circle at 0 100%, rgba(161, 217, 185, 0.32), transparent 34%),
    linear-gradient(150deg, #f4fbfb, #f6f0ff);
}

.continuity-explorer {
  padding: 44px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(47, 36, 65, 0.12);
  border-radius: 34px;
  box-shadow: 0 28px 70px rgba(47, 36, 65, 0.09);
}

.continuity-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.continuity-line {
  position: absolute;
  top: 29px;
  right: 9%;
  left: 9%;
  height: 4px;
  background: linear-gradient(90deg, #8cc9d7, #8571df, #f0be73, #83ba8b, #8cc9d7);
  border-radius: 999px;
}

.continuity-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0;
  color: #756d7b;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
}

.continuity-step span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  color: var(--how-ink);
  background: #ffffff;
  border: 3px solid #d6d0dc;
  border-radius: 50%;
  font-size: 0.7rem;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.continuity-step:hover span,
.continuity-step.is-active span {
  color: #ffffff;
  background: var(--how-purple);
  border-color: var(--how-purple);
  transform: scale(1.08);
}

.continuity-step.is-active {
  color: var(--how-purple);
}

.continuity-detail {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  min-height: 220px;
  margin-top: 46px;
  padding: 34px;
  color: #ffffff;
  background: var(--how-purple-dark);
  border-radius: 26px;
}

.continuity-detail-index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
}

.continuity-detail span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.continuity-detail h3 {
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
}

.continuity-detail p {
  max-width: 820px;
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.98rem;
  line-height: 1.6;
}

.continuity-status {
  max-width: 760px;
  margin: 25px auto 0;
  color: #736b79;
  font-size: 0.84rem;
  line-height: 1.55;
  text-align: center;
}

/* Scene 07 */

.how-scene--boundaries {
  color: #ffffff;
  background:
    radial-gradient(circle at 90% 10%, rgba(117, 89, 204, 0.44), transparent 33%),
    #29183b;
}

.how-scene-header--light h2 {
  color: #ffffff;
}

.how-scene-header--light h2 span {
  color: #d9ccff;
}

.how-scene-header--light > p {
  color: rgba(255, 255, 255, 0.72);
}

.how-scene--boundaries .how-scene-number {
  color: #c9baff;
}

.boundary-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.boundary-topic {
  min-height: 43px;
  padding: 0 17px;
  color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
}

.boundary-topic:hover,
.boundary-topic.is-active {
  color: var(--how-ink);
  background: var(--how-yellow);
  border-color: var(--how-yellow);
}

.boundary-comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr);
  align-items: stretch;
}

.boundary-card {
  min-height: 330px;
  padding: 42px;
  border-radius: 30px;
}

.boundary-card--technology {
  color: var(--how-ink);
  background: linear-gradient(145deg, var(--how-blue), #edf7ff);
}

.boundary-card--human {
  color: var(--how-ink);
  background: linear-gradient(145deg, var(--how-peach), #fff1e9);
}

.boundary-card > span {
  color: #766d7b;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.boundary-card h3 {
  margin: 24px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.08;
}

.boundary-card p {
  margin: 24px 0 0;
  color: #615869;
  font-size: 1rem;
  line-height: 1.65;
}

.boundary-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.boundary-divider span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: var(--how-ink);
  background: #ffffff;
  border-radius: 50%;
  font-size: 1.45rem;
  font-weight: 750;
}

.safety-disclosure {
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.safety-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  color: #ffffff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  list-style: none;
}

.safety-disclosure summary::-webkit-details-marker {
  display: none;
}

.safety-disclosure summary span:last-child {
  font-size: 1.5rem;
  transition: transform 180ms ease;
}

.safety-disclosure[open] summary span:last-child {
  transform: rotate(45deg);
}

.safety-disclosure div {
  max-width: 920px;
  padding: 0 0 28px;
}

.safety-disclosure p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.68;
}

/* Closing */

.how-closing {
  position: relative;
  overflow: hidden;
  padding: 120px 32px 150px;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 215, 233, 0.78), transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(207, 230, 255, 0.82), transparent 32%),
    #fffaf1;
}

.how-closing-inner {
  width: min(100%, 1120px);
  margin: 0 auto;
  text-align: center;
}

.how-closing p {
  margin: 0;
  color: var(--how-purple);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.how-closing h2 {
  margin: 24px 0 0;
  color: var(--how-ink);
  font-size: clamp(3.1rem, 5.5vw, 6.3rem);
  font-weight: 760;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.how-closing a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  margin-top: 38px;
  padding: 0 24px;
  color: #ffffff;
  background: var(--how-purple);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease;
}

.how-closing a:hover {
  transform: translateY(-2px);
}

.how-it-helps-page .site-footer::before {
  background: #fffaf1;
}

/* Tablet */

@media (max-width: 1080px) {
  .how-it-helps-page .header-inner {
    padding-right: 28px;
    padding-left: 28px;
  }

  .how-it-helps-page .brand-logo {
    width: 155px;
  }

  .how-it-helps-page .main-nav {
    gap: 20px;
  }

  .how-it-helps-page .main-nav a {
    font-size: 14px;
  }

  .how-hero-inner,
  .how-scene-grid,
  .how-scene-grid--reverse,
  .whole-picture-explorer {
    grid-template-columns: 1fr;
  }

  .how-hero-copy {
    max-width: 880px;
  }

  .how-hero-visual {
    width: min(100%, 620px);
    margin: 0 auto;
  }

  .how-scene-grid {
    gap: 70px;
  }

  .whole-picture-orbit {
    width: min(100%, 680px);
    margin: 0 auto;
  }

  .picture-detail {
    width: min(100%, 760px);
    margin: 0 auto;
  }

  .support-detail {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .support-detail-boundary {
    grid-column: 1 / -1;
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .route-explorer {
    grid-template-columns: 0.7fr 1.3fr;
  }
}

@media (max-width: 880px) {
  .how-journey-nav {
    position: static;
  }

  .how-journey-nav-inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .how-journey-nav a:nth-child(5) {
    border-left: 1px solid rgba(47, 36, 65, 0.1);
  }

  .how-scene-header--split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .support-track {
    grid-template-columns: 1fr 1fr;
  }

  .support-track::before {
    display: none;
  }

  .route-explorer {
    grid-template-columns: 1fr;
  }

  .route-question {
    min-height: 360px;
  }

  .boundary-comparison {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .boundary-divider {
    min-height: 40px;
  }
}

/* Phone */

@media (max-width: 650px) {
  .how-it-helps-page .header-inner {
    grid-template-columns: 1fr;
    min-height: 68px;
    padding: 0 22px;
  }

  .how-it-helps-page .brand-logo {
    width: 150px;
  }

  .how-it-helps-page .main-nav,
  .how-it-helps-page .header-actions {
    display: none;
  }

  .how-hero {
    min-height: 0;
    padding: 70px 22px 72px;
  }

  .how-hero-inner {
    gap: 58px;
  }

  .how-hero h1 {
    font-size: clamp(3.15rem, 15vw, 4.5rem);
  }

  .how-hero-introduction {
    font-size: 1.05rem;
  }

  .how-hero-visual {
    min-height: 430px;
  }

  .how-hero-core {
    width: 170px;
    height: 170px;
  }

  .how-hero-core strong {
    font-size: 2rem;
  }

  .how-hero-thought {
    max-width: 170px;
    min-height: 60px;
    padding: 12px 14px;
    border-radius: 22px;
    font-size: 0.8rem;
  }

  .how-hero-thought--one { top: 20px; left: 0; }
  .how-hero-thought--two { right: 0; bottom: 70px; }
  .how-hero-thought--three { bottom: 0; left: 0; }

  .how-hero-path--one { top: 55px; left: 50%; width: 320px; height: 320px; transform: translateX(-50%); }
  .how-hero-path--two { top: 100px; left: 50%; width: 230px; height: 230px; transform: translateX(-50%); }
  .how-hero-path--three { top: 145px; left: 50%; width: 140px; height: 140px; transform: translateX(-50%); }

  .how-journey-nav {
    padding: 0;
  }

  .how-journey-nav-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .how-journey-nav a {
    justify-content: flex-start;
    min-height: 50px;
    padding: 8px 14px;
    border-bottom: 1px solid rgba(47, 36, 65, 0.08);
  }

  .how-journey-nav a:nth-child(odd) {
    border-left: 0;
  }

  .how-scene {
    padding: 78px 22px;
    scroll-margin-top: 20px;
  }

  .how-scene-copy h2,
  .how-scene-header h2 {
    font-size: clamp(2.8rem, 13.4vw, 4.25rem);
  }

  .how-scene-header--split,
  .how-scene-header--center {
    margin-bottom: 48px;
  }

  .thought-explorer,
  .picture-detail,
  .continuity-explorer {
    padding: 24px;
    border-radius: 24px;
  }

  .thought-explorer-heading {
    display: block;
  }

  .thought-explorer-heading span {
    display: block;
    margin-top: 8px;
  }

  .thought-chip {
    width: 100%;
    border-radius: 18px;
    text-align: left;
  }

  .thought-response {
    min-height: 0;
    padding: 23px;
  }

  .whole-picture-orbit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    min-height: 0;
    padding: 22px;
    border-radius: 30px;
    background: #fbfaff;
  }

  .whole-picture-core {
    position: relative;
    top: auto;
    left: auto;
    grid-column: 1 / -1;
    width: 142px;
    height: 142px;
    margin: 0 auto 10px;
    transform: none;
  }

  .picture-node {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 86px;
    transform: none;
  }

  .picture-node:hover,
  .picture-node.is-active,
  .picture-node--emotion:hover,
  .picture-node--emotion.is-active,
  .picture-node--coping:hover,
  .picture-node--coping.is-active {
    transform: none;
  }

  .result-demo {
    padding: 10px;
    border-radius: 24px;
  }

  .result-demo-toolbar {
    width: 100%;
  }

  .result-view-button {
    flex: 1;
    padding: 0 10px;
  }

  .result-report {
    min-height: 0;
  }

  .result-report-header,
  .result-report-content {
    padding: 22px;
  }

  .result-report-header {
    display: block;
  }

  .result-report-status {
    margin-top: 16px;
  }

  .result-report-grid {
    grid-template-columns: 1fr;
  }

  .result-score-row {
    grid-template-columns: 90px minmax(0, 1fr) 30px;
    gap: 8px;
  }

  .support-track {
    grid-template-columns: 1fr;
  }

  .support-step {
    min-height: 138px;
  }

  .support-detail {
    display: block;
    padding: 26px;
  }

  .support-detail-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 22px;
  }

  .support-detail-boundary {
    margin-top: 24px;
  }

  .route-question,
  .route-map {
    padding: 28px;
  }

  .route-map {
    grid-template-columns: 1fr;
  }

  .route-person {
    width: 120px;
    height: 120px;
    margin: 0 auto;
  }

  .route-destinations {
    grid-template-columns: 1fr;
  }

  .route-destinations button:last-child,
  .route-detail {
    grid-column: auto;
  }

  .human-principle {
    display: block;
    text-align: center;
  }

  .human-principle span {
    display: block;
    margin-top: 7px;
  }

  .continuity-track {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .continuity-line {
    top: 30px;
    bottom: 30px;
    left: 29px;
    width: 4px;
    height: auto;
  }

  .continuity-step {
    flex-direction: row;
    justify-content: flex-start;
    gap: 18px;
    text-align: left;
  }

  .continuity-step span {
    flex: 0 0 auto;
  }

  .continuity-detail {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 26px;
  }

  .continuity-detail-index {
    width: 78px;
    height: 78px;
    font-size: 1.8rem;
  }

  .boundary-card {
    min-height: 0;
    padding: 28px;
  }

  .boundary-divider span {
    transform: rotate(90deg);
  }

  .how-closing {
    padding: 88px 22px 116px;
  }

  .how-closing h2 {
    font-size: clamp(2.8rem, 13vw, 4.35rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .how-hero-thought {
    animation: none;
  }

  .how-hero-action,
  .thought-chip,
  .picture-node,
  .support-step,
  .route-map,
  .route-destinations button,
  .continuity-step span,
  .how-closing a {
    transition: none;
  }
}
