/* ============================================================
   Homepage (muscle tension direction). Loads after styles.css,
   which supplies tokens, header, footer, buttons and tick lists.
   ============================================================ */

.h-proof { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.h-proof li { display: flex; align-items: center; gap: 8px; }
.h-proof .hero-stars { color: #E2A33B; letter-spacing: 1px; }
.hero .h-proof { margin-top: 32px; }
.hero h1 { font-size: clamp(34px, 3.9vw, 50px); line-height: 1.1; max-width: 15ch; }
/* Signs */
.h-signs .tick-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Discovery */
.h-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.h-split.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.h-split.flip .h-split-media { order: 2; }
.h-split-media { margin: 0; border-radius: 24px; overflow: hidden; }
.h-split-media img { width: 100%; height: 100%; object-fit: cover; }
.h-discovery .h-split-media { aspect-ratio: 4 / 5; }
.h-discovery .h-split-media img { object-position: 50% 30%; }
.h-split-copy h2 { margin-bottom: 24px; }
.h-split-copy p { color: var(--muted); margin: 0 0 18px; max-width: 58ch; }
.h-split-copy p:last-child { margin-bottom: 0; }

/* How a reset works */
.h-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}
.h-steps li {
  counter-increment: step;
  background: rgba(255,255,255,.07);
  border-radius: 18px;
  padding: 28px 26px 30px;
}
.h-steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 18px;
}
.h-steps h3 { font-size: 20px; color: #FFFFFF; margin-bottom: 10px; }
.h-steps p { color: var(--muted-on-ink); margin: 0; font-size: 16px; }
.h-steps-after { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 32px; }
.h-steps-after p { color: #FFFFFF; margin: 0; font-size: 18px; }
.band-ink .text-link { color: var(--sage); }
.band-ink .text-link:hover { color: #FFFFFF; }

/* Areas */
.h-areas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.h-area {
  display: block;
  background: var(--paper);
  border-radius: 18px;
  border-bottom: 4px solid var(--slate);
  padding: 26px 24px 24px;
  color: var(--ink);
  transition: transform .2s ease;
}
.h-area:hover { text-decoration: none; color: var(--ink); transform: translateY(-2px); }
.h-area h3 { font-size: 19px; }
.h-area .h-count { display: block; font-size: 14px; font-weight: 600; color: var(--slate); margin: 6px 0 12px; }
.h-area p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.55; }

/* Offers */
.h-offers { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; align-items: stretch; }
.h-offer { background: var(--paper); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.h-offer img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.h-offer-main img { object-fit: contain; background: var(--ink); }
.h-offer-body { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.h-offer-body h3 { font-size: 24px; }
.h-offer-meta { margin: 0; font-size: 15px; font-weight: 600; color: var(--slate); }
.h-offer-body p { margin: 0; color: var(--muted); }
.h-offer-body .btn { align-self: flex-start; margin-top: auto; }
.h-offer-body p + .btn { margin-top: 12px; }

/* About */
.h-about .h-split-media { aspect-ratio: 4 / 5; }

/* Closing */
.h-close { text-align: center; }
.h-close h2 { max-width: 20ch; margin-inline: auto; }
.h-close p { color: var(--muted); max-width: 52ch; margin: 18px auto 0; }
.h-close .hero-actions { justify-content: center; }

@media (max-width: 960px) {
  .h-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-steps { grid-template-columns: 1fr; }
  .h-offers { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .h-split, .h-split.flip { grid-template-columns: 1fr; }
  .h-split.flip .h-split-media { order: 0; }
  .h-split-media { max-width: 440px; }
  .h-signs .tick-list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .h-areas { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .h-area { transition: none; }
}

/* Free reset opt-in (rough) */
.h-free-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.h-free-media { margin: 0; border-radius: 999px 999px 24px 24px; overflow: hidden; aspect-ratio: 4 / 5; }
.h-free-media img { width: 100%; height: 100%; object-fit: cover; }
.h-free-copy .section-sub { margin-bottom: 28px; }
.h-free-options { border: 0; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.h-free-options legend { font-family: var(--display); font-weight: 600; font-size: 17px; margin-bottom: 12px; padding: 0; }
.h-option { display: flex; gap: 14px; align-items: flex-start; background: var(--nude); border-radius: 16px; padding: 16px 18px; cursor: pointer; border: 2px solid transparent; }
.h-option:has(input:checked) { border-color: var(--slate); background: var(--paper); }
.h-option input { margin-top: 4px; accent-color: var(--slate); width: 18px; height: 18px; flex: 0 0 18px; }
.h-option-body { display: flex; flex-direction: column; gap: 2px; }
.h-option-body strong { font-size: 16px; color: var(--ink); }
.h-option-body span { font-size: 15px; color: var(--muted); line-height: 1.5; }
.h-free-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.h-free-fields label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.h-free-fields input { font: inherit; font-weight: 400; font-size: 16px; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line-btn); background: var(--paper); color: var(--ink); }
.h-free-fields input:focus { outline: 2px solid var(--slate); outline-offset: 1px; }
.h-free-small { font-size: 13px; color: var(--small); margin: 12px 0 0; }
.h-free-preview { font-size: 14px; font-weight: 600; color: var(--slate); margin: 10px 0 0; }
@media (max-width: 760px) {
  .h-free-grid { grid-template-columns: 1fr; }
  .h-free-media { max-width: 320px; }
  .h-free-fields { grid-template-columns: 1fr; }
}

/* 30 day program card */
.h-program { max-width: 720px; margin-inline: auto; background: var(--paper); border-radius: 24px; overflow: hidden; }
.h-program-img { width: 100%; height: auto; }
.h-program-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; }
.h-program h3 { font-size: clamp(24px, 2.4vw, 30px); }
.h-program-line { margin: 0; font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--slate); }
.h-program-body > p { margin: 0; color: var(--muted); }
.h-program-list { margin: 4px 0; padding-left: 20px; color: var(--ink); display: grid; gap: 6px; }
.h-program-list li::marker { color: var(--slate); }
.h-program .h-program-meta { font-size: 15px; font-weight: 600; color: var(--ink); }
.h-program .btn { align-self: flex-start; margin-top: 6px; }
.h-work-head { max-width: 720px; margin-inline: auto; }
.hero-aside { margin: 14px 0 0; font-family: var(--display); font-style: italic; font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; color: var(--slate); }
.hero .lede { margin-top: 20px; }
.dr-outcome-grid h3 { font-size: 20px; margin: 0 0 8px; }
@media (max-width: 520px) { .dr-outcome-grid h3 { font-size: 17px; } }
.h-free.band .h-option { background: var(--paper); }
.h-free.band .h-option:has(input:checked) { background: var(--paper); }

/* Disclaimer as a link that opens */
.h-disclaimer summary { display: inline-block; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; color: var(--slate); text-decoration: underline; text-underline-offset: 3px; }
.h-disclaimer summary::-webkit-details-marker { display: none; }
.h-disclaimer summary:hover { color: var(--ink); }
.h-disclaimer[open] summary { margin-bottom: 16px; }
