body.theme-how-page {
  --text-main: #12151a;
  --text-muted: rgba(18, 21, 26, 0.68);
  --accent-color: #ef8300;
  --nav-bg: rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.94), transparent 28%),
    radial-gradient(circle at 84% 16%, rgba(239, 131, 0, 0.12), transparent 18%),
    linear-gradient(180deg, #f4f5f7 0%, #e1dcd5 56%, #cfc5b8 100%);
}

body.theme-how-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.32;
}

body.theme-how-page .page-switcher a {
  color: rgba(17, 19, 25, 0.66);
}

body.theme-how-page .page-switcher a:hover,
body.theme-how-page .page-switcher a:focus-visible {
  color: #111319;
  border-color: rgba(17, 19, 25, 0.12);
}

body.theme-how-page .button--ghost {
  border-color: rgba(17, 19, 25, 0.1);
  background: rgba(255, 255, 255, 0.56);
  color: #111319;
}

.how-page {
  display: grid;
  gap: 24px;
  padding: 38px 0 28px;
}

.how-hero,
.how-audience,
.how-axes,
.how-placement,
.how-study-note {
  border-radius: 34px;
  border: 1px solid rgba(17, 19, 25, 0.08);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 42px rgba(24, 26, 32, 0.08);
}

.how-hero,
.how-placement {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(340px, 1.06fr);
  gap: 20px;
  align-items: center;
  padding: 22px;
}

.how-hero__copy,
.how-placement__copy,
.how-section-head,
.how-study-note {
  display: grid;
  gap: 12px;
}

.how-hero__copy h1,
.how-section-head h2,
.how-placement__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.how-hero__copy h1 {
  font-size: clamp(1.9rem, 3.5vw, 3.4rem);
}

.how-hero__title-line {
  display: block;
}

.how-hero__title-line--accent {
  color: var(--accent-color);
  white-space: nowrap;
}

.how-hero__visual {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  border: 1px solid rgba(17, 19, 25, 0.08);
  overflow: hidden;
  background:
    radial-gradient(circle at 48% 20%, rgba(239, 131, 0, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 236, 227, 0.82));
}

.how-hero__pack,
.how-hero__single {
  appearance: none;
  position: absolute;
  margin: 0;
  padding: 0;
  border-radius: 24px;
  border: 1px solid rgba(17, 19, 25, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 34px rgba(24, 26, 32, 0.11);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.how-hero__pack:hover,
.how-hero__pack:focus-visible,
.how-hero__single:hover,
.how-hero__single:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(239, 131, 0, 0.34);
  box-shadow: 0 18px 34px rgba(24, 26, 32, 0.15);
}

.how-hero__pack:focus-visible,
.how-hero__single:focus-visible {
  outline: 2px solid rgba(239, 131, 0, 0.5);
  outline-offset: 2px;
}

.how-hero__pack {
  inset: 14px 10% 20% 10%;
  padding: 0;
  overflow: hidden;
  animation: howFloatMain 6s ease-in-out infinite;
}

.how-hero__single {
  inset: 58% 9% 14px 49%;
  padding: 12px;
  animation: howFloatSub 6s ease-in-out infinite;
}

.how-hero__pack img,
.how-hero__single img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.how-hero__pack img[src*="patch-packaging"] {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #fff;
}

.how-claims {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.how-claim,
.how-axis-card,
.how-scenario {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(17, 19, 25, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(245, 239, 231, 0.82));
  box-shadow: 0 12px 26px rgba(24, 26, 32, 0.06);
}

.how-claim span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(239, 131, 0, 0.26);
  background: rgba(239, 131, 0, 0.1);
  color: #ef8300;
  font-family: var(--font-accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.how-claim p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(17, 19, 25, 0.72);
}

.how-claim h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.08;
  color: rgba(17, 19, 25, 0.9);
}

.how-axes {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.how-audience {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.how-audience-intro {
  margin: 0;
  max-width: 74ch;
  color: rgba(17, 19, 25, 0.72);
  font-size: 0.94rem;
}

.how-audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.how-audience-feature {
  display: grid;
}

.how-audience-grid--secondary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.how-audience-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(17, 19, 25, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(245, 239, 231, 0.82));
  box-shadow: 0 12px 26px rgba(24, 26, 32, 0.06);
}

.how-audience-card span {
  color: rgba(17, 19, 25, 0.66);
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.how-audience-card strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: #12151a;
}

.how-audience-card p {
  margin: 0;
  color: rgba(17, 19, 25, 0.74);
  font-size: 0.9rem;
  line-height: 1.45;
}

.how-audience-card--featured {
  gap: 12px;
  padding: 22px;
  border-color: rgba(239, 131, 0, 0.22);
  background:
    radial-gradient(circle at 88% 12%, rgba(239, 131, 0, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 239, 231, 0.84));
}

.how-audience-card--featured strong {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.how-audience-card--featured p {
  max-width: 72ch;
  font-size: 0.98rem;
}

.how-section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.how-axis-intro {
  margin: 0;
  max-width: 72ch;
  color: rgba(17, 19, 25, 0.72);
  font-size: 0.94rem;
}

.how-axis-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.how-axis-legend span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(17, 19, 25, 0.1);
  background: rgba(255, 255, 255, 0.74);
  color: rgba(17, 19, 25, 0.72);
  font-family: var(--font-accent);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.how-axis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.how-axis-card {
  gap: 10px;
}

.how-axis-card__head {
  display: grid;
  gap: 5px;
}

.how-axis-card__head span {
  color: rgba(17, 19, 25, 0.66);
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.how-axis-card__head strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: #12151a;
}

.how-axis-card__why {
  margin: 0;
  color: rgba(17, 19, 25, 0.74);
  font-size: 0.89rem;
  line-height: 1.45;
}

.how-axis-bar {
  position: relative;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(17, 19, 25, 0.1);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(17, 19, 25, 0.06) 0,
      rgba(17, 19, 25, 0.06) 24.5%,
      rgba(17, 19, 25, 0.12) 24.5%,
      rgba(17, 19, 25, 0.12) 25%
    ),
    rgba(17, 19, 25, 0.06);
}

.how-axis-bar span {
  display: block;
  height: 100%;
  width: var(--level);
  border-radius: inherit;
  transform-origin: left center;
  animation: howFill 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
  background: linear-gradient(90deg, #ef8300, #12151a);
}

.how-axis-card__meta {
  display: grid;
  gap: 2px;
}

.how-axis-card__meta strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #12151a;
}

.how-axis-card__meta small {
  color: rgba(17, 19, 25, 0.66);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

.how-axis-source {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.how-axis-source__label {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.how-axis-source__link {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(17, 19, 25, 0.16);
  background: rgba(255, 255, 255, 0.56);
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.how-axis-source__link:hover,
.how-axis-source__link:focus-visible {
  border-color: rgba(239, 131, 0, 0.65);
  background: rgba(239, 131, 0, 0.14);
}

.how-scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.how-scenario strong {
  font-family: var(--font-display);
  font-size: 1.04rem;
  color: #12151a;
}

.how-scenario p {
  margin: 0;
  color: var(--text-muted);
}

.how-placement-switch {
  display: grid;
  gap: 10px;
}

.how-placement-switch__hint,
.how-placement-switch__status {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(17, 19, 25, 0.72);
}

.how-placement-switch__status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(17, 19, 25, 0.14);
  background: rgba(255, 255, 255, 0.72);
  font-family: var(--font-accent);
  font-size: 0.74rem;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.how-scenario-grid--interactive {
  align-items: stretch;
}

.how-scenario--toggle {
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.how-scenario--toggle:hover,
.how-scenario--toggle:focus-visible {
  transform: translateY(-2px);
}

.how-scenario--toggle:focus-visible {
  outline: 2px solid rgba(239, 131, 0, 0.38);
  outline-offset: 2px;
}

.how-scenario--toggle.is-active {
  border-color: rgba(239, 131, 0, 0.42);
  background:
    radial-gradient(circle at 86% 14%, rgba(239, 131, 0, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 235, 221, 0.9));
  box-shadow: 0 16px 30px rgba(239, 131, 0, 0.18);
}

.how-scenario--toggle.is-active strong {
  color: #9f4c00;
}

.how-bodymap {
  position: relative;
  min-height: 460px;
  border-radius: 30px;
  border: 1px solid rgba(17, 19, 25, 0.08);
  background:
    radial-gradient(circle at 50% 6%, rgba(239, 131, 0, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 237, 229, 0.9));
  overflow: hidden;
}

.how-bodymap__figure {
  position: absolute;
  inset: 20px 0 16px;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.how-bodymap__figure-frame {
  position: relative;
  width: min(86%, 290px);
  aspect-ratio: 220 / 460;
  max-height: 420px;
}

.how-bodymap__figure-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 10px 16px rgba(24, 26, 32, 0.08));
}

.how-figure-fill {
  fill: rgba(17, 19, 25, 0.16);
  stroke: rgba(17, 19, 25, 0.22);
  stroke-width: 1;
}

.how-figure-stroke {
  fill: none;
  stroke: rgba(17, 19, 25, 0.28);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.how-target {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  background: #ef8300;
  box-shadow:
    0 0 0 7px rgba(239, 131, 0, 0.18),
    0 6px 14px rgba(24, 26, 32, 0.2);
  transform: translate(-50%, -50%) scale(0.58);
  opacity: 0;
  pointer-events: none;
}

.how-target--core {
  left: 50%;
  top: 42%;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.how-target--arm {
  left: 36%;
  top: 27%;
}

.how-target--leg {
  left: 54%;
  top: 58%;
}

.how-target.is-visible {
  opacity: 1;
  animation: howTargetIn 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.how-marker {
  position: absolute;
  display: grid;
  gap: 3px;
  max-width: 220px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(17, 19, 25, 0.12);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 24px rgba(24, 26, 32, 0.08);
}

.how-marker strong {
  font-family: var(--font-display);
  font-size: 0.94rem;
  color: #12151a;
}

.how-marker span {
  color: rgba(17, 19, 25, 0.68);
  font-size: 0.84rem;
}

.how-marker--core {
  right: 18px;
  top: 47%;
  transform: translateY(-50%);
}

.how-marker--arm {
  left: 18px;
  top: 34%;
}

.how-marker--leg {
  left: 30px;
  top: 64%;
}

.how-marker--extra {
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  pointer-events: none;
  transition:
    opacity 0.24s ease,
    transform 0.26s ease;
}

.how-marker--extra.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.how-study-note {
  padding: 20px;
}

.how-study-note p:last-child {
  margin: 0;
  color: var(--text-muted);
}

.how-hero,
.how-claims,
.how-audience,
.how-axes,
.how-placement,
.how-study-note {
  animation: howRise 0.58s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.how-claims {
  animation-delay: 0.05s;
}

.how-audience {
  animation-delay: 0.08s;
}

.how-axes {
  animation-delay: 0.1s;
}

.how-placement {
  animation-delay: 0.15s;
}

.how-study-note {
  animation-delay: 0.2s;
}

@keyframes howRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes howFill {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes howFloatMain {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes howFloatSub {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(7px);
  }
}

@keyframes howTargetIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(6px) scale(0.5);
    filter: blur(2px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 1100px) {
  .how-hero,
  .how-placement {
    grid-template-columns: 1fr;
  }

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

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

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

  .how-bodymap {
    min-height: 520px;
  }
}

@media (max-width: 760px) {
  .how-page {
    gap: 18px;
    padding-top: 24px;
  }

  .how-hero,
  .how-audience,
  .how-axes,
  .how-placement,
  .how-study-note {
    padding: 16px;
    border-radius: 22px;
  }

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

  .how-hero__visual {
    min-height: 410px;
  }

  .how-hero__pack {
    inset: 14px 8% 26% 8%;
  }

  .how-hero__single {
    inset: 60% 8% 12px 34%;
  }

  .how-hero__pack img[src*="patch-packaging"] {
    object-position: center center;
  }

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

  .how-bodymap {
    min-height: 540px;
  }

  .how-marker {
    max-width: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .how-hero,
  .how-claims,
  .how-audience,
  .how-axes,
  .how-placement,
  .how-study-note,
  .how-axis-bar span,
  .how-hero__pack,
  .how-hero__single,
  .how-target {
    animation: none;
  }
}
