/* The home page only (index.html, body.home), on top of styles.css: the 9 Oct 2026 website upgrade (Sam chose sample B,
   docs/conversion-mockups/website-upgrade/home-b-show.html). Brighter, bigger text; headings that say something;
   everything visible without sideways rows or waiting for a script. Nothing here touches the program app. */

/* ---------- Brighter, bigger text ----------
   Sentences people need to read in a lighter grey (#c5c5cc, about 11:1 on the page) at 16px or more; small labels in
   #a8a8b0. The brand red stays for buttons and accents. */
.home { --read: #c5c5cc; --label: #a8a8b0; }
.home .hero-copy .sub, .home .sec-sub { color: var(--read); font-size: 1.06rem; line-height: 1.55; }
.home details p, .home .plus-price, .home details li { color: var(--read); font-size: 1rem; line-height: 1.55; }
.home .cta-note { color: #e4e4e7; font-size: .98rem; line-height: 1.5; }
.home .cta-note b { color: #fff; font-weight: 700; }
.home footer { color: var(--label); }
.home .band p { color: var(--read); font-size: 1.02rem; }

/* The floating cards on the hero phone move twice, then stop. */
.home .hero-float { animation-iteration-count: 2; }

/* A quieter section opener where the red pill isn't needed, so the key sections stand out again. */
.home .sec-head.quiet .kicker { background: none; border: 0; color: var(--label); padding: 0; letter-spacing: .14em; }



/* ---------- How it works, neatened (Sam, 20 Oct 2026): four numbered steps, a title and one line each ----------
   Down a fading red line on a phone, four across on a laptop with the line between the numbers. No app pictures here,
   so nothing sits on top of the words. */
.hm-steps { list-style: none; counter-reset: hmstep; display: grid; max-width: 480px; margin: 26px auto 0; padding: 0; text-align: left; }
.hm-steps li { counter-increment: hmstep; position: relative; display: grid; gap: 4px; align-content: start; min-height: 34px; padding: 4px 0 26px 52px; }
.hm-steps li::before { content: counter(hmstep); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; font: 800 .9rem var(--display); box-shadow: 0 8px 22px -10px rgba(255, 59, 71, .9); }
.hm-steps li::after { content: ""; position: absolute; left: 16px; top: 42px; bottom: 6px; width: 2px; border-radius: 2px; background: linear-gradient(rgba(255, 59, 71, .55), rgba(255, 59, 71, .08)); }
.hm-steps li:last-child { padding-bottom: 0; }
.hm-steps li:last-child::after { display: none; }
.hm-steps b { font: 800 1.12rem/1.25 var(--display); color: #f4f4f5; letter-spacing: -.01em; }
.hm-steps span { color: var(--read); font-size: 1rem; line-height: 1.45; }
@media (min-width: 900px) {
  .hm-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; max-width: 1080px; margin-top: 34px; text-align: center; }
  .hm-steps li { justify-items: center; padding: 50px 6px 0; }
  .hm-steps li::before { left: 50%; margin-left: -17px; }
  /* The line runs from this number to the next one's (each step is a column, with the gap between). */
  .hm-steps li::after { left: calc(50% + 26px); top: 16px; bottom: auto; width: calc(100% - 24px); height: 2px; background: linear-gradient(90deg, rgba(255, 59, 71, .5), rgba(255, 59, 71, .12)); }
}

/* ---------- Compact two-column tiles: everything visible on a phone, nothing sideways ---------- */
.hm-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 1000px; margin: 22px auto 0; }
@media (min-width: 900px) { .hm-chips { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
.hm-chips > div { padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.hm-chips b { display: block; margin-top: 8px; font: 800 .98rem/1.25 var(--display); color: #f4f4f5; }
.hm-chips .t { display: block; margin-top: 3px; color: var(--read); font-size: .93rem; line-height: 1.4; }
.hm-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(190,18,32,.16); color: #ff4d57; }
.hm-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hm-chips.gold > div { border-color: rgba(245,197,66,.28); }
.hm-chips.gold .hm-ic { background: rgba(245,197,66,.13); color: #f5c542; }
@media (min-width: 900px) { .hm-chips.gold, .home #inside .hm-chips { grid-template-columns: repeat(4, 1fr); } }

/* Program Plus's own section: its price line, then one button that ticks it on the plan above (in its gold). */
.home .plus-go { margin: 14px 0 0; text-align: center; }
.home .plus-add { background: rgba(245,197,66,.12); border: 1px solid rgba(245,197,66,.65); color: #f5c542; box-shadow: none; }
.home .plus-add:hover { background: rgba(245,197,66,.2); }
/* Under 360 px its label can't fit on one line, so it wraps there and only there. */
@media (max-width: 359px) { .home .plus-add { white-space: normal; text-align: center; } }
/* Where that button lands: the card's top just under the menu bar. */
.home #programs .pcard { scroll-margin-top: 76px; }

/* A review from someone who had their program free says so, under their name. */
.home .review-free { display: block; margin-top: 3px; font-weight: 500; font-size: .82rem; color: var(--label); }

/* ---------- The hero's goal tiles: the first tap is the form's first question (20 Oct 2026) ----------
   Two columns on a phone so all six sit in the first screen, three beside the phone on a laptop. Each tile's red icon
   says "tap me"; the whole tile is the link. */
.home .gp { max-width: 460px; margin: 22px auto 0; }
.home .gp-q { margin: 0 0 12px; font: 800 1.05rem/1.3 var(--display); color: #f4f4f5; text-transform: none; letter-spacing: -.005em; }
.home .gp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.home .gp-tile { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 9px 12px 9px 10px; border-radius: 14px; border: 1px solid #3a3a42; background: rgba(18, 18, 20, .94); color: #f4f4f5; font: 700 .95rem/1.2 var(--display); text-align: left; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: border-color .15s, background .15s, transform .15s; }
.home .gp-tile:hover, .home .gp-tile:focus-visible { border-color: var(--red-text); background: rgba(190, 18, 32, .18); }
.home .gp-tile:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.home .gp-tile:active { transform: scale(.97); background: rgba(190, 18, 32, .28); }
.home .gp-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 6px 16px -8px rgba(255, 59, 71, .9); }
.home .gp-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* Under the tiles (Sam, 20 Oct 2026: "still seems a little messy"): the offer on one line and the price after it on a
   smaller one, so they never wrap into one uneven jumble. The sample workout is on the phone picture below. */
.home .gp-terms { margin: 12px 0 0; line-height: 1.45; }
.home .gp-offer { display: block; font: 700 1rem/1.4 var(--display); color: #fff; letter-spacing: .005em; }
.home .gp-offer b { font-weight: 800; }
.home .gp-then { display: block; margin-top: 2px; color: var(--read); font-size: .92rem; }
.home .gp .rating-line { margin: 8px 0 0; }

/* The hero phone opens the sample workout (Sam, 20 Oct 2026: "Is there a way we can click the photo to go to the sample
   workout?"): the whole phone is one link, with a white button across its bottom edge so it looks tappable, clear of the
   weights and the callouts. It lifts a little on hover and sinks on a press. */
.home a.hero-stage { display: block; color: inherit; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.home a.hero-stage:focus-visible { outline: none; }
.home .hero-try { position: absolute; left: 50%; bottom: -16px; z-index: 3; display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 22px 0 15px; border-radius: 999px; background: #fff; color: #0a0a0b; font: 800 .95rem var(--display); white-space: nowrap; transform: translateX(-50%); box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .95), 0 0 0 4px rgba(10, 10, 11, .55); transition: transform .15s, box-shadow .15s; }
.home .hero-try svg { flex: none; width: 22px; height: 22px; color: var(--red); fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.home a.hero-stage:hover .hero-try { transform: translateX(-50%) translateY(-2px); box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .95), 0 0 0 4px rgba(10, 10, 11, .55); }
.home a.hero-stage:active .hero-try { transform: translateX(-50%) scale(.97); }
.home a.hero-stage:focus-visible .hero-try { box-shadow: 0 0 0 3px #0a0a0b, 0 0 0 6px #fff; }
@media (prefers-reduced-motion: reduce) { .home .hero-try { transition: none; } }
@media (min-width: 1000px) {
  .home .gp { max-width: 600px; margin: 28px 0 0; }
  .home .gp-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}

/* ---------- Partner gyms (20 Oct 2026): one quiet strip under the hero, from the live club list ----------
   A small label between two hairlines, then one tile per brand: its name, and its suburbs under it (names only, no
   logos). Tiles wrap and centre, so one club sits alone in the middle and many fill rows. */
.hm-gyms { padding: 22px 0 4px; }
.hm-gyms-h { display: flex; align-items: center; gap: 14px; max-width: 560px; margin: 0 auto 16px; font: 800 .74rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--label); }
.hm-gyms-h::before, .hm-gyms-h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #34343c); }
.hm-gyms-h::after { background: linear-gradient(90deg, #34343c, transparent); }
.hm-gyms-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; margin: 0 auto; padding: 0; }
.hm-gym { flex: 1 1 100%; max-width: 420px; min-height: 76px; display: grid; justify-items: center; align-content: center; gap: 6px; padding: 14px 16px; border: 1px solid #2a2a30; border-radius: 16px; background: linear-gradient(180deg, #141417, #0e0e10); text-align: center; }
.hm-gym[hidden] { display: none; }
.hm-gym-name { font: 900 1.15rem/1.15 var(--display); color: #f4f4f5; letter-spacing: -.01em; overflow-wrap: anywhere; }
.hm-gym-places { color: var(--read); font-size: .92rem; line-height: 1.4; }
.hm-gym-all, .hm-gyms-more button { min-height: 44px; margin: -6px 0 -10px; padding: 0 12px; border: 0; background: none; color: #f4f4f5; font: 700 .88rem var(--display); text-decoration: underline; text-decoration-color: var(--red-text); text-underline-offset: 3px; cursor: pointer; }
.hm-gyms-more { margin: 12px 0 0; text-align: center; }
.hm-gyms-more button { margin: 0; }
@media (min-width: 700px) { .hm-gym { flex-basis: 220px; max-width: 300px; min-height: 88px; } }
@media (min-width: 1000px) { .hm-gyms { padding: 8px 0 24px; } }

/* The closing band: the heading, then straight to its button. */
.home .band h2 { margin-bottom: 28px; }

/* The closing button's short terms line. */
.home .band .band-note { margin: 14px 0 0; text-align: center; }
/* Phones: a little less air above and between, so the six tiles and the price line fit a short phone's first screen. */
@media (max-width: 999px) {
  .home .hero2 { padding-top: 16px; }
  .home .hero-kicker { margin-bottom: 12px; }
  .home .hero-centre .sub { margin-top: 10px; font-size: 1rem; line-height: 1.5; }
  .home .gp { margin-top: 18px; }
  .home .gp-q { margin-bottom: 10px; }
}
/* Laptops: the headline's first half on one line, its red half under it. */
@media (min-width: 1000px) {
  .home .hero-centre .hero-copy { max-width: none; }
  .home .hero-centre h1 { font-size: clamp(2.5rem, 3.9vw, 3.5rem); }
  .home .hero-centre h1 .h1-a { white-space: nowrap; }
}

/* ---------- The plan card's Program Plus box, folded (Sam, 20 Oct 2026: "takes up the whole screen, have it as a dropdown") ----------
   Its tick, name, price and gold line show; "What's included" opens the difference in price, the free days, the four rows
   and the full list's button in place, with a chevron that turns. Only on the home page: the sign-up keeps the box open. */
.home .pc-add.pc-fold:not(.pc-open) .pc-add-total, .home .pc-add.pc-fold:not(.pc-open) .pc-add-perks, .home .pc-add.pc-fold:not(.pc-open) .pc-rows-plus, .home .pc-add.pc-fold:not(.pc-open) .pc-add-acts { display: none; }
.home .pc-add-fold { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 6px 0 -8px; padding: 0; border: 0; background: none; font: 700 .875rem var(--display); color: var(--plus-hi); cursor: pointer; }
.home .pc-add-fold::after { content: ""; width: 8px; height: 8px; margin-top: -4px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .15s; }
.home .pc-add.pc-open .pc-add-fold::after { margin-top: 4px; transform: rotate(-135deg); }
.home .pc-add-fold:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* ---------- The price card, version C (Sam, 20 Oct 2026) ----------
   No "28 days free" pill on the card here: the heading right above it and the button both say it, and without it the
   Start button fits on a phone's screen with the price. Under the button, the trial reminder on its own quieter line. */
.home #planCard .pc-free { display: none; }
.home .plan-terms .plan-remind { font-size: .84rem; color: #a8a8b0; }
