/* Home page (2026-11-24): the Hero Hub on a laptop and a phone in the hero, the Hub's features, two paths,
   Free vs Pro, Built by Captain Workout and a closing call to action. Loaded after home-redesign.css. */

/* ── Shared pieces ── */
.home-v2 .h3-kicker { margin: 0 0 12px; color: var(--cw-navy); font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.home-v2 .h3-kicker--light { color: var(--cw-blue); }

.home-v2 .h3-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-sizing: border-box; min-height: 54px; padding: 0 28px;
  border: 3px solid var(--cw-ink); border-radius: 999px; font-size: 1rem; font-weight: 900; letter-spacing: .04em; line-height: 1.1;
  text-align: center; text-decoration: none; text-transform: uppercase; white-space: nowrap;
}
.home-v2 .h3-btn--primary { color: #fff; background: var(--cw-navy); box-shadow: 5px 5px 0 var(--cw-ink); }
.home-v2 .h3-btn--blue { color: var(--cw-ink); background: var(--cw-blue); box-shadow: 5px 5px 0 var(--cw-ink); }
.home-v2 .h3-btn--ghost { color: var(--cw-navy); background: transparent; border-color: var(--cw-navy); font-size: .95rem; letter-spacing: .02em; text-transform: none; }
.home-v2 .h3-btn--primary:hover { color: #fff; }
.home-v2 .h3-btn--blue:hover { color: var(--cw-ink); }
.home-v2 .h3-btn--ghost:hover { color: var(--cw-navy); background: rgba(255, 255, 255, .45); }
.home-v2 .h3-btn:focus-visible { outline: 3px solid var(--cw-navy); outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .home-v2 .h3-btn { transition: transform 60ms ease-out, box-shadow 60ms ease-out, background .15s ease; }
  .home-v2 :is(.h3-btn--primary, .h3-btn--blue):hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--cw-ink); }
  .home-v2 :is(.h3-btn--primary, .h3-btn--blue):active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--cw-ink); }
}

.home-v2 .h3-ticks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.home-v2 .h3-ticks li { position: relative; padding-left: 28px; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.home-v2 .h3-ticks li::before {
  content: ""; position: absolute; top: .18em; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--cw-blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22zm-1.4 15.6-4.3-4.3 1.6-1.6 2.7 2.7 6-6 1.6 1.6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22zm-1.4 15.6-4.3-4.3 1.6-1.6 2.7 2.7 6-6 1.6 1.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ── Hero: the Hero Hub on a laptop, a live workout on a phone, then the two calls to action ── */
.home-v2 .h3-hero-right--devices { gap: 26px; padding-top: 40px; padding-bottom: 40px; }
.home-v2 .h3-devices-hero { position: relative; width: min(100%, 470px); aspect-ratio: 470 / 330; isolation: isolate; }
.home-v2 .h3-devices-hero__glow { position: absolute; inset: 6% 4% 0; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0)); }
.home-v2 .h3-laptop { position: absolute; top: 0; left: 0; width: 86%; }
.home-v2 .h3-laptop__screen { padding: 3.2% 3.2% 2.6%; border: 3px solid var(--cw-ink); border-radius: 16px 16px 4px 4px; background: #fff; }
.home-v2 .h3-laptop__screen img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; border: 2px solid var(--cw-ink); border-radius: 4px; object-fit: cover; object-position: top left; background: var(--cw-surface); }
.home-v2 .h3-laptop__base { display: block; width: 114%; height: 16px; margin: -1px 0 0 -7%; border: 3px solid var(--cw-ink); border-radius: 0 0 14px 14px; background: #fff; }
.home-v2 .h3-phone {
  position: absolute; right: 0; bottom: -4%; width: 30%; padding: 5px; border: 3px solid var(--cw-ink); border-radius: 22px;
  background: #fff; box-shadow: 6px 6px 0 var(--cw-ink); transform: rotate(3deg);
}
.home-v2 .h3-phone img { display: block; width: 100%; height: auto; aspect-ratio: 375 / 760; border: 2px solid var(--cw-ink); border-radius: 16px; object-fit: cover; object-position: top; }
@media (prefers-reduced-motion: no-preference) {
  .home-v2 .h3-phone { animation: h3PhoneFloat 6s ease-in-out infinite; }
  @keyframes h3PhoneFloat { 50% { transform: rotate(3deg) translateY(-8px); } }
}
.home-v2 .h3-hero-actions { display: grid; gap: 14px; width: min(100%, 400px); }
.home-v2 .h3-hero-note { margin: 2px 0 0; color: var(--cw-navy); font-size: .92rem; font-weight: 500; text-align: center; }

/* ── Features: each card shows a real Hero Hub screen ── */
.home-v2 .h3-feature-shot {
  position: absolute; top: 9%; left: 50%; width: 80%; height: auto; border: 2px solid var(--cw-ink); border-radius: 10px;
  background: var(--cw-surface); box-shadow: 4px 4px 0 var(--cw-ink); transform: translateX(-50%) rotate(-2deg); transform-origin: 50% 0;
}

/* ── Two paths: the page's one navy section ── */
.home-v2 .h3-paths {
  position: relative; isolation: isolate; overflow: hidden; box-sizing: border-box; width: min(1120px, calc(100% - 32px)); margin: 96px auto 0;
  padding: clamp(40px, 6vw, 72px) clamp(18px, 4vw, 56px); border: 3px solid var(--cw-ink); border-radius: 34px;
  color: #fff; background: radial-gradient(circle at 50% 0%, rgba(144, 180, 222, .45), transparent 60%), var(--cw-navy);
  box-shadow: 8px 8px 0 var(--cw-ink); text-align: center;
}
.home-v2 .h3-paths__star { top: 46%; width: min(900px, 150%); background: #fff; opacity: .06; }
.home-v2 .h3-paths h2 { margin: 0; color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 900; line-height: .98; letter-spacing: -.04em; text-transform: uppercase; }
.home-v2 .h3-paths h2 span { color: var(--cw-blue); font-style: italic; }
.home-v2 .h3-paths__lead { max-width: 52ch; margin: 16px auto 0; color: var(--cw-bg); font-size: 1.1rem; font-weight: 500; line-height: 1.5; }
.home-v2 .h3-paths__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 40px; text-align: left; }
.home-v2 .h3-path { display: flex; flex-direction: column; gap: 14px; padding: 28px 26px 26px; border: 3px solid var(--cw-ink); border-radius: 24px; }
.home-v2 .h3-path--own { color: #fff; background: rgba(255, 255, 255, .06); border-color: var(--cw-blue); }
.home-v2 .h3-path--plan { color: var(--cw-navy); background: var(--cw-surface); box-shadow: 6px 6px 0 var(--cw-ink); }
.home-v2 .h3-path__icon { display: grid; place-items: center; width: 52px; height: 52px; border: 2px solid currentColor; border-radius: 14px; }
.home-v2 .h3-path--own .h3-path__icon { color: var(--cw-blue); }
.home-v2 .h3-path__icon svg { width: 28px; height: 28px; }
.home-v2 .h3-path h3 { margin: 4px 0 0; color: inherit; font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; text-transform: uppercase; }
.home-v2 .h3-path > p { margin: 0; color: inherit; font-size: 1.02rem; font-weight: 500; line-height: 1.5; }
.home-v2 .h3-path--own > p { color: var(--cw-bg); }
.home-v2 .h3-path .h3-ticks { margin: 2px 0 4px; }
.home-v2 .h3-path--plan .h3-ticks li::before { background: var(--cw-navy); }
.home-v2 .h3-path__label { margin: auto 0 0 !important; padding-top: 6px; font-size: 2rem !important; font-weight: 900 !important; letter-spacing: -.03em; line-height: 1 !important; }
.home-v2 .h3-path .h3-btn { width: 100%; }

/* ── Free to start. Pro to level up. ── */
.home-v2 .h3-plans { box-sizing: border-box; width: min(1040px, calc(100% - 32px)); margin: 104px auto 0; text-align: center; }
.home-v2 .h3-plans h2 { margin: 0; color: var(--cw-navy); font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 900; line-height: .98; letter-spacing: -.04em; text-transform: uppercase; }
.home-v2 .h3-plans h2 span { display: block; }
.home-v2 .h3-plans__lead { max-width: 52ch; margin: 16px auto 0; color: var(--cw-navy); font-size: 1.1rem; font-weight: 500; line-height: 1.5; }
.home-v2 .h3-plans__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 40px; text-align: left; }
.home-v2 .h3-plan {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 30px 26px 24px; 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 .h3-plan--pro { color: #fff; background: var(--cw-navy); }
.home-v2 .h3-plan__stamp {
  position: absolute; top: -16px; right: 22px; padding: 5px 14px; border: 2px solid var(--cw-ink); color: var(--cw-ink); background: var(--cw-blue);
  font-size: .8rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; transform: rotate(3deg);
}
.home-v2 .h3-plan h3 { margin: 0; color: inherit; font-size: 1.7rem; font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; }
.home-v2 .h3-plan__tag { margin: 0; color: inherit; font-size: 1rem; font-weight: 500; opacity: .8; }
.home-v2 .h3-plan__price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 0; padding-bottom: 18px; border-bottom: 2px solid var(--cw-line); color: inherit; }
.home-v2 .h3-plan--pro .h3-plan__price { border-bottom-color: rgba(255, 255, 255, .25); }
.home-v2 .h3-plan__price b { font-size: 3rem; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.home-v2 .h3-plan__price span { font-size: 1rem; font-weight: 600; opacity: .8; }
.home-v2 .h3-plan .h3-ticks { margin: 16px 0 22px; }
.home-v2 .h3-plan:not(.h3-plan--pro) .h3-ticks li::before { background: var(--cw-navy); }
.home-v2 .h3-plan .h3-btn { width: 100%; margin-top: auto; }
.home-v2 .h3-plan__note { margin: 10px 0 0; color: inherit; font-size: .92rem; font-weight: 500; text-align: center; opacity: .8; }
.home-v2 .h3-plans__compare {
  display: inline-flex; gap: 8px; margin-top: 30px; padding-bottom: 3px; border-bottom: 3px solid var(--cw-navy);
  color: var(--cw-navy); font-size: .95rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase;
}
.home-v2 .h3-plans__compare:hover { color: var(--cw-navy); border-bottom-color: var(--cw-blue); }

/* ── Built by Captain Workout ── */
.home-v2 .h3-builder {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 64px);
  box-sizing: border-box; width: min(1040px, calc(100% - 32px)); margin: 112px auto 0;
}
.home-v2 .h3-builder__photo { position: relative; isolation: isolate; margin: 0; }
.home-v2 .h3-builder__star { top: 50%; width: 150%; opacity: .55; }
.home-v2 .h3-builder__photo img { display: block; width: 100%; height: auto; border: 3px solid var(--cw-ink); border-radius: 24px; box-shadow: 8px 8px 0 var(--cw-ink); transform: rotate(-2deg); }
.home-v2 .h3-builder__copy h2 { margin: 0; color: var(--cw-navy); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; line-height: .98; letter-spacing: -.04em; text-transform: uppercase; }
.home-v2 .h3-builder__copy h2 span { display: block; color: var(--cw-navy-2); font-style: italic; }
.home-v2 .h3-builder__copy > p:not(.h3-kicker) { max-width: 46ch; margin: 18px 0 0; color: var(--cw-navy); font-size: 1.1rem; font-weight: 500; line-height: 1.55; }
.home-v2 .h3-builder__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.home-v2 .h3-builder__stats li { display: grid; gap: 4px; padding: 14px 12px; border: 3px solid var(--cw-ink); border-radius: 16px; background: var(--cw-surface); }
.home-v2 .h3-builder__stats b { color: var(--cw-navy); font-size: 1.8rem; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.home-v2 .h3-builder__stats span { color: var(--cw-navy); font-size: .78rem; font-weight: 700; letter-spacing: .06em; line-height: 1.25; text-transform: uppercase; }
.home-v2 .h3-builder__link {
  display: inline-flex; gap: 8px; margin-top: 24px; padding-bottom: 3px; border-bottom: 3px solid var(--cw-navy);
  color: var(--cw-navy); font-size: .95rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase;
}
.home-v2 .h3-builder__link:hover { color: var(--cw-navy); border-bottom-color: var(--cw-blue); }

/* ── Closing call to action ── */
.home-v2 .h3-final {
  position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; box-sizing: border-box;
  width: min(1120px, calc(100% - 32px)); margin: 96px auto 72px; padding: clamp(48px, 7vw, 88px) clamp(22px, 5vw, 64px);
  border: 3px solid var(--cw-ink); border-radius: 34px; background: radial-gradient(circle at 50% 0%, rgba(144, 180, 222, .55), transparent 62%), var(--cw-navy);
  box-shadow: 8px 8px 0 var(--cw-ink); text-align: center;
}
.home-v2 .h3-final__star { top: 50%; width: min(820px, 140%); background: #fff; opacity: .07; }
.home-v2 .h3-final h2 { max-width: 18ch; margin: 0; color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.9rem); font-weight: 900; line-height: .98; letter-spacing: -.045em; text-transform: uppercase; text-wrap: balance; }
.home-v2 .h3-final h2 span { color: var(--cw-blue); font-style: italic; }
.home-v2 .h3-final p { max-width: 60ch; margin: 18px 0 0; color: var(--cw-bg); font-size: 1.1rem; font-weight: 500; line-height: 1.55; }
.home-v2 .h3-btn--final { margin-top: 30px; color: #fff; background: var(--cw-navy); border-color: #fff; box-shadow: 5px 5px 0 var(--cw-blue); }
.home-v2 .h3-btn--final:hover { color: #fff; }

/* ── Tablets and phones ── */
@media (max-width: 900px) {
  .home-v2 .h3-hero-right--devices { padding-top: 8px; }
  .home-v2 .h3-paths__grid, .home-v2 .h3-plans__grid { grid-template-columns: 1fr; }
  .home-v2 .h3-builder { grid-template-columns: 1fr; }
  .home-v2 .h3-builder__photo { width: min(78%, 300px); margin: 0 auto; }
}
@media (max-width: 560px) {
  .home-v2 .h3-btn { min-height: 50px; padding: 0 20px; font-size: .92rem; }
  .home-v2 .h3-paths, .home-v2 .h3-final { border-radius: 26px; }
  .home-v2 .h3-path, .home-v2 .h3-plan { padding: 24px 18px 20px; }
  .home-v2 .h3-plan__price b { font-size: 2.5rem; }
  .home-v2 .h3-builder__stats { gap: 8px; }
  .home-v2 .h3-builder__stats li { padding: 12px 8px; }
  .home-v2 .h3-builder__stats b { font-size: 1.4rem; }
  .home-v2 .h3-builder__stats span { font-size: .68rem; }
}

/* ── Latest content: the video and the two latest articles (the tools moved to the footer) ── */
@media (min-width: 1101px) {
  .home-v2 .h3-resources { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); max-width: 1120px; margin-bottom: 0; }
}
@media (min-width: 721px) and (max-width: 1100px) {
  .home-v2 .h3-resources .h3-resources-col { grid-column: 1 / -1; }
  .home-v2 .h3-resources .h3-resource-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .home-v2 .h3-resources .h3-resource-card--article { aspect-ratio: 16 / 9; }
}

/* Phones: headline, text, the two calls to action, then the devices and the experience card. */
@media (max-width: 900px) {
  .home-v2 .h3-hero-left { display: contents; }
  .home-v2 .h3-hero-left > * { order: 2; box-sizing: border-box; margin-right: auto; margin-left: auto; padding-right: 16px; padding-left: 16px; text-align: center; }
  .home-v2 .h3-hero-left > .h3-eyebrow { margin-top: 64px; }
  .home-v2 .h3-hero-left > .h3-hero-title { display: flex; flex-direction: column; align-items: center; }
  .home-v2 .h3-hero-left > .h3-fcard { order: 4; width: calc(100% - 32px); max-width: 360px; margin-top: 8px; margin-bottom: 24px; padding: revert-layer; }
  .home-v2 .h3-hero-right--devices { order: 3; gap: 34px; padding: 4px 16px 28px; }
  .home-v2 .h3-hero-right--devices .h3-hero-actions { order: -1; }
}

/* ── How does it work: "Step 01" labels and uppercase step titles (home and Hero Hub page) ── */
.home-v2 .h3-overlay-num { flex: none; min-width: 66px; font-size: 12px !important; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; padding-top: 2px; }
.home-v2 .h3-overlay-item-title { font-weight: 900 !important; letter-spacing: .03em; text-transform: uppercase; }

/* ── Two paths, light version (Hero Hub page): a paper card for your own plan, a navy card for the system ── */
.home-v2 .h3-paths--light { overflow: visible; padding-top: 0; padding-bottom: 0; border: 0; color: var(--cw-navy); background: none; box-shadow: none; }
.home-v2 .h3-paths--light h2 { color: var(--cw-navy); }
.home-v2 .h3-paths--light h2 span { color: var(--cw-navy-2); }
.home-v2 .h3-paths--light .h3-path--own { color: var(--cw-navy); background: var(--cw-surface); border-color: var(--cw-ink); box-shadow: 6px 6px 0 var(--cw-ink); }
.home-v2 .h3-paths--light .h3-path--own .h3-path__icon { color: var(--cw-navy); }
.home-v2 .h3-paths--light .h3-path--own > p { color: var(--cw-navy); }
.home-v2 .h3-paths--light .h3-path--plan { color: #fff; background: var(--cw-navy); }
.home-v2 .h3-paths--light .h3-path--plan .h3-path__icon { color: var(--cw-blue); }
.home-v2 .h3-path__note { margin: auto 0 0 !important; padding-top: 8px; font-size: .9rem !important; font-weight: 800 !important; letter-spacing: .12em; text-transform: uppercase; }
.home-v2 .h3-paths--light .h3-path--plan .h3-path__note { color: var(--cw-blue); }
.home-v2 .h3-paths--light .h3-path--plan .h3-btn--blue { box-shadow: 5px 5px 0 var(--cw-ink); }

/* ── Hero Hub tools, one at a time on a full phone screen (home and Hero Hub page) ── */
.home-v2 .hub-tools { box-sizing: border-box; width: min(1100px, calc(100% - 32px)); margin: 96px auto 0; text-align: center; }
.home-v2 .hub-tools h2 { margin: 0; color: var(--cw-navy); font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; line-height: .95; letter-spacing: -.04em; text-transform: uppercase; }
.home-v2 .hub-tools h2 span { display: block; }
.home-v2 .hub-tools__lead { max-width: 50ch; margin: 16px auto 0; color: var(--cw-navy); font-size: 1.12rem; font-weight: 500; line-height: 1.5; }
.home-v2 .hub-tools__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px 64px; margin-top: 44px; text-align: left; }
.home-v2 .hub-tools__list { display: grid; gap: 12px; }
.home-v2 .hub-tool {
  display: flex; align-items: flex-start; gap: 16px; width: 100%; padding: 16px 18px; border: 3px solid transparent; border-radius: 20px;
  color: var(--cw-navy); background: transparent; font: inherit; text-align: left; cursor: pointer; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.home-v2 .hub-tool:hover { background: rgba(255, 255, 255, .45); }
.home-v2 .hub-tool.is-active { border-color: var(--cw-ink); background: var(--cw-surface); box-shadow: 5px 5px 0 var(--cw-ink); }
.home-v2 .hub-tool:focus-visible { outline: 3px solid var(--cw-navy); outline-offset: 3px; }
.home-v2 .hub-tool__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border: 2px solid var(--cw-ink); border-radius: 14px; color: var(--cw-navy); background: var(--cw-blue); }
.home-v2 .hub-tool:not(.is-active) .hub-tool__icon { background: var(--cw-surface); }
.home-v2 .hub-tool__icon svg { width: 24px; height: 24px; }
.home-v2 .hub-tool__copy { display: grid; gap: 4px; }
.home-v2 .hub-tool__copy strong { color: var(--cw-navy); font-size: 1.15rem; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; }
.home-v2 .hub-tool__copy small { color: var(--cw-navy); font-size: .98rem; font-weight: 500; line-height: 1.45; opacity: .75; }
.home-v2 .hub-tool.is-active .hub-tool__copy small { opacity: 1; }
.home-v2 .hub-tools__stage { position: relative; display: grid; place-items: center; isolation: isolate; }
.home-v2 .hub-tools__stage::before { content: ""; position: absolute; inset: -12% -22%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0)); }
.home-v2 .hub-tools__phone {
  position: relative; width: 320px; aspect-ratio: 375 / 812; padding: 8px; border: 3px solid var(--cw-ink); border-radius: 40px;
  background: #fff; box-shadow: 8px 8px 0 var(--cw-ink);
}
.home-v2 .hub-tools__screen { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); box-sizing: border-box; border: 2px solid var(--cw-ink); border-radius: 31px; object-fit: cover; object-position: top; opacity: 0; transition: opacity .35s ease; }
.home-v2 .hub-tools__screen.is-active { opacity: 1; }


/* ── Compare all features: the detailed table folds open in place ── */
.home-v2 .hub-compare-more { margin-top: 30px; }
.home-v2 .hub-compare-more summary {
  display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; border-bottom: 3px solid var(--cw-navy); color: var(--cw-navy);
  font-size: .95rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; list-style: none;
}
.home-v2 .hub-compare-more summary::-webkit-details-marker { display: none; }
.home-v2 .hub-compare-more summary span { transition: transform .2s ease; }
.home-v2 .hub-compare-more[open] summary span { transform: rotate(180deg); }
.home-v2 .hub-compare-more .hub-compare-card { margin-top: 24px; text-align: left; }

@media (max-width: 900px) {
  .home-v2 .hub-tools__body { grid-template-columns: 1fr; }
  .home-v2 .hub-tools__list { display: flex; gap: 10px; margin: 0 -16px; padding: 4px 16px 8px; overflow-x: auto; scrollbar-width: none; }
  .home-v2 .hub-tools__list::-webkit-scrollbar { display: none; }
  .home-v2 .hub-tool { flex: none; align-items: center; width: auto; padding: 10px 14px; border-radius: 999px; }
  .home-v2 .hub-tool.is-active { box-shadow: 3px 3px 0 var(--cw-ink); }
  .home-v2 .hub-tool__icon { width: 34px; height: 34px; border-radius: 50%; }
  .home-v2 .hub-tool__icon svg { width: 18px; height: 18px; }
  .home-v2 .hub-tool__copy small { display: none; }
  .home-v2 .hub-tool__copy strong { font-size: .92rem; white-space: nowrap; }
  .home-v2 .hub-tools__stage { order: 2; }
  .home-v2 .hub-tools__phone { width: min(300px, 78vw); }
}

/* Phones: the devices take the full width so the Hero Hub screens can be read. */
@media (max-width: 900px) {
  .home-v2 .h3-devices-hero { width: calc(100% + 8px); aspect-ratio: 470 / 360; }
  .home-v2 .h3-laptop { width: 90%; }
  .home-v2 .h3-phone { right: -2%; bottom: -2%; width: 38%; border-radius: 20px; }
}

/* Outline buttons react like the filled ones: they lift and take an ink shadow under the pointer. */
.home-v2 .h3-btn--ghost:hover { color: var(--cw-navy); background: var(--cw-surface); border-color: var(--cw-ink); }
@media (prefers-reduced-motion: no-preference) {
  .home-v2 .h3-btn--ghost:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--cw-ink); }
  .home-v2 .h3-btn--ghost:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--cw-ink); }
}

/* ── Free vs Pro table on the home page (the Hero Hub page takes these rules from hub-pro.css) ── */
.home-v2 .h3-plans .hub-compare-card { position: relative; padding: 10px 28px 24px; border-radius: 18px; background: var(--v2-paper); }
.home-v2 .h3-plans .hub-compare-card table { width: 100%; border-collapse: collapse; text-align: left; }
.home-v2 .h3-plans .hub-compare-card th, .home-v2 .h3-plans .hub-compare-card td { padding: 14px 8px; border-bottom: 1px solid var(--v2-outline); color: var(--v2-ink); font-size: .95rem; }
.home-v2 .h3-plans .hub-compare-card tbody th { font-weight: 600; }
.home-v2 .h3-plans .hub-compare-card thead th { color: var(--v2-copy); font-size: .9rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.home-v2 .h3-plans .hub-compare-card thead th, .home-v2 .h3-plans .hub-compare-card td { width: 26%; text-align: center; color: var(--v2-copy); }
.home-v2 .h3-plans .hub-pro { display: inline-block; padding: 3px 12px; border-radius: 999px; color: #fff; background: var(--v2-purple); letter-spacing: .08em; }
.home-v2 .h3-plans .hub-free { display: block; width: max-content; margin: 4px auto 0; color: var(--v2-ink); font-size: .8rem; font-weight: 800; letter-spacing: 0; text-transform: none; transform: rotate(-4deg); }
.home-v2 .h3-plans .hub-pro-value { color: var(--v2-ink); font-weight: 800; }
.home-v2 .h3-plans .hub-yes, .home-v2 .h3-plans .hub-no { width: 22px; height: 22px; vertical-align: middle; }
.home-v2 .h3-plans .hub-yes { color: var(--v2-action); }
.home-v2 .h3-plans .hub-no { color: #9aaccb; }
.home-v2 .h3-plans .hub-compare-card tfoot th, .home-v2 .h3-plans .hub-compare-card tfoot td { padding-top: 18px; border-bottom: 0; vertical-align: top; }
.home-v2 .h3-plans .hub-compare-card tfoot b { color: var(--v2-ink); font-size: 1.5rem; font-weight: 900; }
.home-v2 .h3-plans .hub-compare-card tfoot small { color: var(--v2-copy); font-size: .85rem; }
.home-v2 .h3-plans .hub-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 2px 6px; }
@media (max-width: 900px) {
  .home-v2 .h3-plans .hub-compare-card { padding: 4px 14px 18px; }
  .home-v2 .h3-plans .hub-compare-card th, .home-v2 .h3-plans .hub-compare-card td { padding: 12px 4px; font-size: .86rem; }
  .home-v2 .h3-plans .hub-compare-card thead th { font-size: .74rem; letter-spacing: .04em; }
  .home-v2 .h3-plans .hub-pro { padding: 4px 8px; letter-spacing: .02em; line-height: 1.25; }
}
