/* Zero To Growth sales page: built on the Hero Project page (hero-project-page.css) with the pieces that only
   this program needs: the zero-to-growth pair in the hero, the Captain's before and now, the three schedules,
   real pages of the guide and a single offer card. */

/* Hero: the promise with a small offset note under it, like the Hero Hub Pro bonus aside. */
.ztg .hp2-hero h1 small.ztg-hero__aside { display: block; width: max-content; max-width: 100%; margin: 14px auto 0; color: var(--v2-ink); font-size: clamp(1rem, 1.7vw, 1.3rem); font-style: normal; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; -webkit-text-stroke: 0; text-shadow: none; transform: translateX(18%) rotate(-3deg); }
@media (max-width: 640px) { .ztg .hp2-hero h1 small.ztg-hero__aside { width: auto; transform: rotate(-3deg); } }

/* The program artwork from the Zero To Growth page levitates on the home star, with a label on each Captain. */
.ztg-hero-art { position: relative; isolation: isolate; display: grid; justify-items: center; width: min(560px, 100%); margin: 30px 0 0; }
.home-v2 .ztg-hero-art .ztg-hero-art__star { top: 44%; z-index: -1; width: 128%; opacity: .8; }
.ztg-hero-art__float { position: relative; width: min(330px, 74%); padding-bottom: 26px; }
.ztg-hero-art__float img { position: relative; z-index: 1; display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 16px rgba(31, 58, 95, .22)); animation: heroLevitate 3.6s ease-in-out infinite; }
.ztg-hero-art__shadow { position: absolute; bottom: 0; left: 50%; width: 62%; height: 22px; margin-left: -31%; border-radius: 50%; background: radial-gradient(closest-side, rgba(31, 58, 95, .34), rgba(31, 58, 95, 0)); animation: heroLevitateShadow 3.6s ease-in-out infinite; }
.ztg-hero-art__label {
  position: absolute; z-index: 2; padding: 6px 14px; border: 2px solid var(--v2-ink); border-radius: 999px;
  color: var(--v2-ink); background: var(--v2-paper); box-shadow: 3px 3px 0 var(--v2-ink);
  font-size: .74rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase;
}
.ztg-hero-art__label--zero { top: 32%; left: 15%; transform: rotate(-4deg); }
.ztg-hero-art__label--growth { top: 17%; right: 12%; color: #fff; background: var(--v2-purple); transform: rotate(3deg); }
.ztg-hero-art figcaption { margin: 18px 0 0; color: var(--v2-ink); font-size: clamp(1.05rem, 2vw, 1.35rem); font-style: italic; font-weight: 900; }
@media (max-width: 600px) {
  .ztg-hero-art__label--zero { left: 0; }
  .ztg-hero-art__label--growth { right: 0; }
}
@media (prefers-reduced-motion: reduce) { .ztg-hero-art__float img, .ztg-hero-art__shadow { animation: none; } }

/* "I've been there": the illustrated before and after next to the Captain's own note. */
.ztg-been-there { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(28px, 5vw, 64px); max-width: 1040px; margin: 0 auto; }
.ztg-been-there__proof { margin: 0; }
.ztg-been-there__proof .hp2-before-after > div { width: 56%; }
.ztg-been-there__note { position: relative; margin: 0; padding: 30px 30px 26px; border: 3px solid var(--v2-ink); border-radius: 26px; color: var(--v2-ink); background: var(--v2-paper); box-shadow: 6px 6px 0 var(--v2-purple); }
.ztg-been-there__note::before { content: "\201C"; position: absolute; top: -34px; left: 22px; color: var(--v2-purple); font-size: 6rem; font-weight: 900; line-height: 1; }
.ztg-been-there__note p { margin: 0 0 12px; color: var(--v2-copy); font-size: 1.02rem; font-weight: 500; line-height: 1.6; }
.ztg-been-there__note .ztg-been-there__kicker { margin-bottom: 14px; color: var(--v2-ink); font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-style: italic; font-weight: 900; line-height: 1.05; letter-spacing: -.03em; }
.ztg-been-there__note p:nth-of-type(3) { color: var(--v2-ink); font-weight: 800; }
.ztg-been-there__note footer { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 2px solid var(--v2-soft); }
.ztg-been-there__note footer img { width: 40px; height: 40px; border-radius: 50%; background: var(--v2-soft); }
.ztg-been-there__note footer span { display: grid; gap: 2px; }
.ztg-been-there__note footer b { color: var(--v2-ink); font-size: .95rem; font-weight: 900; }
.ztg-been-there__note footer small { color: var(--v2-copy); font-size: .74rem; font-weight: 700; }
@media (max-width: 860px) { .ztg-been-there { grid-template-columns: 1fr; max-width: 560px; } }

/* The three schedules: one card per week length, each with its split. */
.ztg-plans__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.ztg-plan {
  --lift: 0px; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 24px; border: 3px solid var(--v2-ink); border-radius: 26px;
  color: var(--v2-ink); background: var(--v2-paper); box-shadow: var(--hp2-shadow);
  transform: translateY(var(--lift)); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease;
}
.ztg-plan:nth-child(2) { --lift: -10px; }
.ztg-plan:hover { transform: translateY(var(--lift)) scale(1.04); box-shadow: 9px 9px 0 var(--v2-ink); }
.ztg-plan:nth-child(3):hover { box-shadow: 9px 9px 0 var(--v2-purple); }
.ztg-plan:nth-child(3) { color: #fff; background: var(--v2-ink); box-shadow: 6px 6px 0 var(--v2-purple); }
.ztg-plan h3, .ztg-plan p { color: inherit; }
.ztg-plan__days { display: flex; align-items: center; gap: 12px; margin: 0; }
.ztg-plan__days b { font-size: 4.2rem; font-weight: 900; line-height: .8; letter-spacing: -.06em; }
.ztg-plan__days span { font-size: .78rem; font-weight: 900; line-height: 1.15; letter-spacing: .14em; text-transform: uppercase; opacity: .78; }
.ztg-plan h3 { margin: 0; font-size: 1.45rem; font-weight: 900; letter-spacing: -.03em; }
.ztg-plan__perks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ztg-plan__perks li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--v2-soft); font-size: .92rem; font-weight: 700; line-height: 1.3; }
.ztg-plan__perks li > span { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; color: #fff; background: var(--v2-purple); }
.ztg-plan__perks svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ztg-plan:nth-child(3) .ztg-plan__perks li { background: rgba(255, 255, 255, .1); }
.ztg-plan:nth-child(3) .ztg-plan__perks li > span { color: var(--v2-ink); background: #ffd24a; }
.ztg-plan__note { margin: auto 0 0; padding-top: 4px; font-size: .9rem; font-weight: 700; opacity: .85; }
.ztg-plans__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 28px 0 0; color: var(--v2-ink); font-size: .9rem; font-weight: 800; }
.ztg-plans__foot span::before { content: "✓"; margin-right: 8px; color: var(--v2-purple); }
@media (max-width: 860px) {
  .ztg-plans__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .ztg-plan:nth-child(2) { --lift: 0px; }
}
@media (hover: none) { .ztg-plan:hover { transform: translateY(var(--lift)); box-shadow: var(--hp2-shadow); } .ztg-plan:nth-child(3):hover { box-shadow: 6px 6px 0 var(--v2-purple); } }
@media (prefers-reduced-motion: reduce) { .ztg-plan { transition: none; } .ztg-plan:hover { transform: translateY(var(--lift)); } }

/* The chapter banners keep the Captain on their right: the crop follows him. */
.ztg .hp2-method__visual img { object-position: 80% 50%; }

/* The Big 5 reuses the Hero Project timeline; its titles carry their number. */
.ztg-big5 .hp2-get__timeline h3 { font-size: 1.25rem; }

/* Real pages of the guide: a strip that scrolls sideways on small screens. */
.ztg-pages__strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; max-width: 1040px; margin-inline: auto; margin-block: 0; padding: 6px 4px 14px; list-style: none; }
.ztg-pages__strip figure { margin: 0; }
.ztg-pages__strip img { display: block; width: 100%; height: auto; border: 3px solid var(--v2-ink); border-radius: 12px; background: #fff; box-shadow: 5px 5px 0 var(--v2-ink); transition: transform .25s ease; }
.ztg-pages__strip li:nth-child(odd) img { transform: rotate(-2deg); }
.ztg-pages__strip li:nth-child(even) img { transform: translateY(14px) rotate(2deg); }
.ztg-pages__strip li:hover img { transform: translateY(-6px) rotate(0deg); }
.ztg-pages__strip figcaption { margin: 24px 0 0; color: var(--v2-ink); font-size: .78rem; font-weight: 900; letter-spacing: .14em; line-height: 1.3; text-align: center; text-transform: uppercase; }
@media (max-width: 1000px) {
  .ztg-pages__strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(200px, 44%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .ztg-pages__strip li { scroll-snap-align: center; }
}
@media (prefers-reduced-motion: reduce) { .ztg-pages__strip img { transition: none; } }

/* The tablet stands on the star in the value section. */
.ztg-value__art img:not(.hp2-value__star) { width: min(360px, 80%); margin: 0 auto; filter: drop-shadow(0 22px 28px rgba(20, 42, 70, .2)); }

/* Offer: a single program card, centered. */
.home-v2 .ztg-offer .hp2-editions { grid-template-columns: minmax(0, 620px); justify-content: center; }

/* Reviews: the Hero Project rating and review form; approved reviews fill the grid under them. */
.ztg-reviews__wall { margin-top: 28px; }

/* Member stories: the Hero Project review marquee, with 4:3 photos so the week 1 and week 8 pairs show whole. */
.home-v2 .ztg-stories .h3-testimonials-group > li .h3-testimonial-photo { aspect-ratio: 4 / 3; object-position: center 28%; }
.home-v2 .ztg-stories .h3-testimonial-card { min-height: 0; }
.home-v2 .ztg-stories .h3-testimonials-track { animation-name: ztgTestimonialsLeft; }
@keyframes ztgTestimonialsLeft {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* Guide pages open a little larger on click. */
.ztg-pages__open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.ztg-pages__open:focus-visible { outline: 3px solid var(--v2-purple); outline-offset: 6px; border-radius: 12px; }
.ztg-pages__strip li:hover .ztg-pages__open img, .ztg-pages__open:focus-visible img { transform: translateY(-6px) rotate(0deg); }
.ztg-page-zoom { width: min(600px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 18px; overflow: auto; border: 3px solid var(--v2-ink); border-radius: 22px; color: var(--v2-ink); background: var(--v2-paper); box-shadow: 8px 8px 0 var(--v2-ink); }
.ztg-page-zoom::backdrop { background: rgba(20, 34, 58, .72); backdrop-filter: blur(6px); }
.ztg-page-zoom img { display: block; width: 100%; height: auto; border-radius: 10px; }
.ztg-page-zoom p { margin: 14px 0 2px; color: var(--v2-ink); font-size: .82rem; font-weight: 900; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
.ztg-page-zoom__close { position: sticky; top: 0; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; margin: 0 0 -40px auto; padding: 0; border: 2px solid var(--v2-ink); border-radius: 50%; color: var(--v2-ink); background: var(--v2-paper); box-shadow: 2px 2px 0 var(--v2-ink); font: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.ztg-page-zoom__close:hover { color: #fff; background: var(--v2-purple); }
.ztg-page-zoom__close:focus-visible { outline: 3px solid var(--v2-purple); outline-offset: 2px; }
