/* Hero Hub page (2026-11-24): two-column hero, one tool at a time on a full phone screen, the two offers before the
   detailed table, simpler Pro plans and the Home Screen section. Loaded after home-redesign.css and home-v3.css. */

/* ── Hero: copy and call to action left, the computer and the phone right, then a trust row ── */
.home-v2 .hub-hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 28px 48px;
  box-sizing: border-box; width: min(1200px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 0;
}
.home-v2 .hub-hero__copy { display: grid; justify-items: start; }
.home-v2 .hub-hero .hub-logo { width: min(210px, 52vw); margin: 0 0 18px; }
.home-v2 .hub-hero h1 { margin: 0; color: var(--cw-navy); font-size: clamp(2.3rem, 3.6vw, 3.6rem); font-weight: 900; line-height: .95; letter-spacing: -.04em; text-transform: uppercase; }
.home-v2 .hub-hero h1 span { display: block; color: var(--cw-navy-2); font-style: italic; }
.home-v2 .hub-hero__lead { max-width: 46ch; margin: 18px 0 26px; color: var(--cw-navy); font-size: 1.12rem; font-weight: 500; line-height: 1.55; }
.home-v2 .hub-hero__cta { min-height: 58px; padding: 0 30px; font-size: 1.04rem; }
.home-v2 .hub-hero__note { margin: 14px 0 0; color: var(--cw-navy-2); font-size: .95rem; font-weight: 500; }
.home-v2 .hub-hero .h3-devices-art { width: 100%; max-width: 640px; margin: 0 0 0 auto; padding-bottom: 24px; }
.home-v2 .hub-hero__trust {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; margin: 6px 0 0; padding: 22px 0 0;
  border-top: 2px solid var(--cw-line); list-style: none;
}
.home-v2 .hub-hero__trust li { display: inline-flex; align-items: center; gap: 8px; color: var(--cw-navy); font-size: 1rem; font-weight: 700; }
.home-v2 .hub-hero__trust svg { width: 20px; height: 20px; }

/* ── Free to start. Pro to level up. ── */
.home-v2 .hub-compare { box-sizing: border-box; width: min(1040px, calc(100% - 32px)); margin-right: auto; margin-left: auto; text-align: center; }
.home-v2 .hub-compare h2 span { display: block; }
.home-v2 .hub-offers { margin-top: 36px; }
.home-v2 .hub-offers .h3-plan__price { padding-bottom: 6px; border-bottom: 0; }
.home-v2 .hub-offers__billing { margin: 0 0 4px; padding-bottom: 16px; border-bottom: 2px solid rgba(255, 255, 255, .25); color: var(--cw-blue); font-size: .98rem; font-weight: 600; }
.home-v2 .hub-offers .h3-plan:not(.h3-plan--pro) .h3-plan__price { padding-bottom: 16px; border-bottom: 2px solid var(--cw-line); }
.home-v2 .hub-plans2-wrap { margin-top: 72px; scroll-margin-top: 110px; }
.home-v2 .hub-plans2-wrap .hub-plans-title { margin: 0; color: var(--cw-navy); font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 900; letter-spacing: -.03em; text-transform: uppercase; }
.home-v2 .hub-plans2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 20px; margin-top: 30px; }
.home-v2 .hub-plan2 {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 24px 20px 22px;
  border: 3px solid var(--cw-ink); border-radius: 24px; color: var(--cw-navy); background: var(--cw-surface); box-shadow: 6px 6px 0 var(--cw-ink);
}
.home-v2 .hub-plan2--best { border-width: 4px; box-shadow: 8px 8px 0 var(--cw-ink); }
.home-v2 .hub-plan2__badge {
  position: absolute; top: -16px; left: 50%; padding: 5px 14px; border: 2px solid var(--cw-ink); color: var(--cw-ink); background: var(--cw-blue);
  font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transform: translateX(-50%) rotate(-2deg);
}
.home-v2 .hub-plan2__icon { width: 96px; height: 96px; object-fit: contain; }
.home-v2 .hub-plan2 h4 { margin: 6px 0 0; color: var(--cw-navy); font-size: 1rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.home-v2 .hub-plan2__price { display: grid; justify-items: center; margin: 8px 0 0; }
.home-v2 .hub-plan2__price b { font-size: 2.6rem; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.home-v2 .hub-plan2__price span { margin-top: 4px; font-size: .95rem; font-weight: 600; }
.home-v2 .hub-plan2__billed { margin: 6px 0 0; font-size: .95rem; font-weight: 500; }
.home-v2 .hub-plan2__tag { margin: 8px 0 14px; font-size: .9rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.home-v2 .hub-plan2__cta { width: 100%; margin-top: auto; }
.home-v2 .hub-plan2.is-subscribed { outline: 3px solid var(--cw-blue); outline-offset: 4px; }
.home-v2 .hub-plans2__secure { display: inline-flex; align-items: center; gap: 8px; margin: 24px 0 0; color: var(--cw-navy); font-size: .98rem; font-weight: 600; }
.home-v2 .hub-plans2__secure .pro-lock-icon { width: 16px; height: 16px; }

/* ── Your gym. In your pocket. ── */
.home-v2 .hub-pocket {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 36px; box-sizing: border-box;
  width: min(1040px, calc(100% - 32px)); margin: 96px auto 0; padding: 32px clamp(22px, 4vw, 44px); border: 3px solid var(--cw-ink); border-radius: 28px;
  background: var(--cw-surface); box-shadow: 8px 8px 0 var(--cw-ink);
}
.home-v2 .hub-pocket__phone { position: relative; display: grid; gap: 12px; width: 150px; padding: 26px 14px 14px; border: 3px solid var(--cw-ink); border-radius: 30px; background: var(--cw-blue); transform: rotate(-4deg); }
.home-v2 .hub-pocket__notch { position: absolute; top: 9px; left: 50%; width: 46px; height: 7px; border-radius: 9px; background: var(--cw-ink); transform: translateX(-50%); }
.home-v2 .hub-pocket__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.home-v2 .hub-pocket__grid i, .home-v2 .hub-pocket__grid b { display: block; aspect-ratio: 1; border-radius: 10px; background: rgba(255, 255, 255, .7); }
.home-v2 .hub-pocket__grid b { overflow: hidden; border: 2px solid var(--cw-ink); background: var(--cw-navy); box-shadow: 2px 2px 0 var(--cw-ink); }
.home-v2 .hub-pocket__grid img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-v2 .hub-pocket__dock { display: block; height: 28px; border-radius: 12px; background: rgba(255, 255, 255, .55); }
.home-v2 .hub-pocket__copy h2 { margin: 0; color: var(--cw-navy); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 900; line-height: .98; letter-spacing: -.04em; text-transform: uppercase; }
.home-v2 .hub-pocket__copy > p:not(.h3-kicker) { max-width: 52ch; margin: 14px 0 0; color: var(--cw-navy); font-size: 1.08rem; font-weight: 500; line-height: 1.5; }
.home-v2 .hub-pocket__how { margin-top: 18px; }
.home-v2 .hub-pocket__how summary {
  display: inline-flex; gap: 8px; padding-bottom: 3px; border-bottom: 3px solid var(--cw-navy); color: var(--cw-navy);
  font-size: .95rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; list-style: none;
}
.home-v2 .hub-pocket__how summary::-webkit-details-marker { display: none; }
.home-v2 .hub-pocket__how[open] summary span { display: inline-block; transform: rotate(90deg); }
.home-v2 .hub-pocket__how ol { display: grid; gap: 8px; margin: 16px 0 0; padding-left: 20px; color: var(--cw-navy); font-size: 1rem; font-weight: 500; line-height: 1.45; }

/* ── Tablets and phones: copy and call to action first, so a visitor signs up without scrolling ── */
@media (max-width: 900px) {
  .home-v2 .hub-hero { grid-template-columns: 1fr; padding-top: 28px; text-align: center; }
  .home-v2 .hub-hero__copy { justify-items: center; }
  .home-v2 .hub-hero .hub-logo { width: 150px; margin-bottom: 12px; }
  .home-v2 .hub-hero__lead { margin: 14px auto 20px; font-size: 1.02rem; }
  .home-v2 .hub-hero__cta { width: 100%; max-width: 380px; box-sizing: border-box; }
  .home-v2 .hub-hero .h3-devices-art { margin: 0 auto; }
  .home-v2 .hub-plans2 { grid-template-columns: 1fr; max-width: 420px; margin-right: auto; margin-left: auto; }
  .home-v2 .hub-pocket { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .home-v2 .hub-pocket__copy > p:not(.h3-kicker) { margin-right: auto; margin-left: auto; }
  .home-v2 .hub-pocket__how ol { text-align: left; }
}
@media (max-width: 560px) {
  .home-v2 .hub-hero h1 { font-size: clamp(2.1rem, 10vw, 2.6rem); }
  .home-v2 .hub-hero__trust { gap: 10px 18px; }
  .home-v2 .hub-hero__trust li { font-size: .92rem; }
  .home-v2 .hub-compare-more .hub-compare-card { overflow-x: auto; }
}
/* The member reviews now come right after the two paths, before the offers. */
.home-v2 .h3-paths--light + .hub-reviews { margin-top: 104px; }
.home-v2 .hub-reviews + .hub-compare { margin-top: 96px; }
.home-v2 .hub-plan2 :is(p, b, span:not(.hub-plan2__badge), h4) { color: var(--cw-navy); }
