/* ===== Lander ===== */

/* Top bar */
.topbar {
  position: relative; z-index: 20;
  padding-top: var(--safe-t);
  background: rgba(5,5,5,.82);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; justify-content: center; height: 60px; }
.badge-row { text-align: center; margin: 0 0 14px; }
.logo { width: 120px; height: 32px; background: transparent; }
.logo.slot::before { background: none; border: 1px dashed var(--line); border-radius: 6px; font-size: 9px; }
.logo img { object-fit: contain; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 11px; border-radius: 999px; border: 1px solid rgba(227,59,54,.4); background: rgba(227,59,54,.1);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(227,59,54,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(227,59,54,0); } 100% { box-shadow: 0 0 0 0 rgba(227,59,54,0); } }

/* Hero */
.hero { padding: 26px 0 30px; }
.hero .eyebrow { text-align: center; letter-spacing: .08em; font-size: 12px; max-width: 320px; margin: 0 auto; }
.hero-h { font-size: clamp(36px, 10.5vw, 52px); text-align: center; margin: 12px 0 10px; text-transform: uppercase; }
.fast { font-style: italic; color: var(--accent); padding-right: .06em; }
.hero-sub { text-align: center; margin: 0 0 18px; font-size: 16px; }

/* Phones: vertical 9:16, sized so it never takes more than ~72% of the screen height */
.vsl {
  position: relative; aspect-ratio: 9 / 16;
  width: min(100%, calc(72svh * 9 / 16)); margin: 8px auto 28px;
  border-radius: var(--radius); overflow: hidden; background: #000;
  border: 1.5px solid rgba(227,59,54,.75);
  box-shadow: 0 0 0 1px rgba(227,59,54,.25), 0 0 28px 4px rgba(227,59,54,.45), 0 0 80px 10px rgba(227,59,54,.22);
}
@media (min-width: 720px) {
  .vsl.wide { aspect-ratio: 16 / 9; width: 100%; }
}
.vsl-embed { width: 100%; position: relative; }
.vsl-poster { position: absolute; inset: 0; display: block; }
.vsl iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vsl-play {
  position: absolute; inset: 0; border: 0; cursor: pointer; background: rgba(0,0,0,.18);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.play-ring {
  width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; padding-left: 4px;
  background: var(--accent); box-shadow: 0 0 0 10px rgba(227,59,54,.22), 0 12px 30px rgba(0,0,0,.5);
  animation: ring 2.2s ease-in-out infinite;
}
@keyframes ring { 50% { box-shadow: 0 0 0 16px rgba(227,59,54,.08), 0 12px 30px rgba(0,0,0,.5); } }
.play-label { font-size: 13px; font-weight: 600; letter-spacing: .02em; background: rgba(0,0,0,.55); padding: 6px 12px; border-radius: 999px; }

.cta-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--ink-3); margin: 12px 0 0; text-align: center; }

/* Proof strip */
.proof-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(0,0,0,.45); }
.proof-in { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding-top: 16px; padding-bottom: 16px; }
.proof-in div + div { border-left: 1px solid var(--line); }
.proof-in strong { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 800; }
.proof-in span { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }

/* Sections */
.section { padding: 52px 0; }
.section.alt { background: var(--bg-2); }
.h2 { font-size: clamp(28px, 8vw, 38px); margin: 10px 0 24px; }

/* Transformations */
.featured { display: grid; gap: 12px; margin-bottom: 12px; }
.ba { margin: 0; border-radius: var(--radius); aspect-ratio: 1 / 1; border: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid .ba { border-radius: var(--radius-sm); }
.grid[data-collapsed="true"] .ba:nth-child(n+7) { display: none; }
.more { margin-top: 16px; }
.fine { font-size: 12px; color: var(--ink-3); margin: 18px 0 0; }

/* Testimonial rail */
.rail {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 4px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 8px;
  scroll-padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.tcard {
  flex: 0 0 84%; max-width: 380px; scroll-snap-align: start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.qmark { color: var(--accent); opacity: .9; }
.tquote { margin: 0; font-size: 15px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.tcard.open .tquote { -webkit-line-clamp: unset; display: block; }
.tmore { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600; font-size: 14px; cursor: pointer; }
.tperson { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; }
.avatar.slot::before { font-size: 0; }
.tname { font-weight: 600; }
.tlost { margin-left: auto; font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--good); background: rgba(62,207,142,.1); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.rail-hint { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--ink-3); margin-top: 10px; }
.rail-dots { display: flex; gap: 5px; }
.rail-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width .2s, background .2s; }
.rail-dots i.on { width: 18px; background: var(--accent); }

/* CTA blocks */
.cta-block { text-align: center; }
.cta-block .h2 { margin-bottom: 8px; }
.cta-block .muted { margin: 0 0 20px; }
.cta-block.final { padding-bottom: 64px; }
.cta-block.final .h2 { margin-bottom: 22px; }

/* Story */
.story-media { border-radius: var(--radius); aspect-ratio: 4 / 5; margin-bottom: 20px; border: 1px solid var(--line); }
.story-copy p { margin: 0 0 14px; }

/* Benefits tabs */
.tabs {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 18px; padding: 0 var(--gutter);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 10px 16px;
  font-weight: 600; font-size: 14px; cursor: pointer; color: var(--ink-2); transition: all .15s;
}
.tab[aria-selected="true"] { background: #fff; color: #000; border-color: #fff; }
.benefits { display: grid; gap: 10px; }
.benefit { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 16px 14px; animation: fadeUp .35s ease both; }
.benefit h3 { font-family: var(--font-display); font-size: 17px; margin: 0 0 4px; }
.benefit p { margin: 0; color: var(--ink-2); font-size: 15px; }
.benefit cite { display: block; margin-top: 8px; font-style: normal; font-size: 11px; color: var(--ink-3); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0 calc(110px + var(--safe-b)); font-size: 12px; color: var(--ink-3); }
.footer p { margin: 0 0 8px; }
.footer .disclaimers { margin-top: 12px; }
.footer .disclaimers p { margin-top: 10px; line-height: 1.5; }

/* Sticky CTA */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 12px var(--gutter) calc(12px + var(--safe-b));
  background: rgba(5,5,5,.96); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .3s ease;
}
.sticky.show { transform: none; }
.sticky .btn { max-width: calc(var(--max) - var(--gutter) * 2); margin: 0 auto; }

/* Larger screens: keep the phone-first column, just give it room */
@media (min-width: 720px) {
  .featured { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid[data-collapsed="true"] .ba:nth-child(n+7) { display: block; }
  .grid[data-collapsed="true"] .ba:nth-child(n+10) { display: none; }
  :root { --max: 760px; }
  .hero .wrap, .cta-block .wrap { max-width: 600px; }
}

/* Once a real image loads, let it keep its own proportions */
.ba.loaded { aspect-ratio: auto; }
.ba.loaded img { height: auto; }

/* Centered section headings, sections separated by a divider line */
.section .eyebrow, .section .h2, .section .fine, .story-copy { text-align: center; }
.section + .section, .proof-strip + .section, .section + .cta-block { border-top: 1px solid var(--line); }
.section.alt { background: none; }
.rail-hint { justify-content: center; gap: 12px; }
.tabs { justify-content: safe center; }

/* Testimonial with no photo: initial in a brand-red circle */
.avatar.initials { display: grid; place-items: center; background: rgba(227,59,54,.14); border: 1.5px solid rgba(227,59,54,.5); color: var(--accent); font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.avatar.slot { border: 1.5px solid var(--line); }

/* About-us video */
.story-video { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.story-video wistia-player { display: block; }
.story-cta { margin-top: 22px; }

/* Desktop: give the transformation photos much more room (the rest of the page keeps its column) */
@media (min-width: 1000px) {
  .section .wrap:has(#tgrid) { max-width: 1240px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .grid .ba { border-radius: var(--radius); }
  .section .wrap:has(#tgrid) .more,
  .section .wrap:has(#tgrid) .cta { max-width: 520px; margin-left: auto; margin-right: auto; }
}
@media (min-width: 1400px) {
  .section .wrap:has(#tgrid) { max-width: 1360px; }
}

/* Proof strip labels: tighter lines and letter spacing (easier to read on phones) */
.proof-in span { display: block; margin-top: 4px; line-height: 1.35; letter-spacing: .05em; word-spacing: -.05em; padding: 0 4px; }

/* Application overlay (the lander video keeps playing underneath) */
.qov { position: fixed; inset: 0; z-index: 1000; background: #050505; opacity: 0; visibility: hidden; transform: translateY(24px);
  transition: opacity .25s ease, transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s linear .3s; }
.qov.show { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s; }
.qov iframe { display: block; width: 100%; height: 100%; border: 0; background: #050505; }
html.qov-open, html.qov-open body { overflow: hidden; }
html.qov-open .sticky { visibility: hidden; }

/* Client message screenshots (under "In their own words") */
.collages { margin-top: 26px; }
.collage-cap { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.cdot { width: 8px; height: 8px; border-radius: 50%; background: var(--good, #3ecf8e); box-shadow: 0 0 0 4px rgba(62,207,142,.18); }
.collage-grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .collage-grid { grid-template-columns: 1fr 1fr; gap: 22px; } }
.collage { margin: 0; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 44px rgba(0,0,0,.55), 0 0 0 1px rgba(227,59,54,.18); }
.collage-head { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: #16161a; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.chk { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); font-size: 11px; }
.collage-frame { position: relative; max-height: 560px; overflow: hidden; transition: max-height .5s ease; }
.collage-frame img { display: block; width: 100%; height: auto; }
.collage-frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 85%); pointer-events: none; transition: opacity .3s; }
.collage.open .collage-frame { max-height: 3000px; }
.collage.open .collage-frame::after { opacity: 0; }
.collage-more { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 13px; border: 0; border-top: 1px solid #eee;
  background: #fff; color: #111; font: 700 14px var(--font-body); cursor: pointer; }
.collage.open .collage-more { display: none; }
@media (min-width: 720px) { .collage-frame { max-height: 720px; } }
@media (min-width: 1000px) { .wrap.collages { max-width: 1060px; } .collage-frame { max-height: 820px; } }

/* Main Apply button under the video + the sticky one: taller, with more room around them */
.hero .cta, .sticky .btn { min-height: 68px; padding-top: 20px; padding-bottom: 20px; font-size: 18px; }
.hero .cta { margin-top: 12px; margin-bottom: 4px; }
.hero .cta + .cta-note { margin-top: 16px; }
.sticky { padding: 16px var(--gutter) calc(16px + var(--safe-b)); }
.footer { padding-bottom: calc(130px + var(--safe-b)); }

/* Phone turned sideways (landscape): the video uses the full screen height (the most a vertical
   video can get), a wide video fits the screen, the sticky button gets slimmer, and content
   stays clear of the notch. Applies to the landers and call pages. */
@media (orientation: landscape) and (max-height: 500px) {
  .vsl:not(.wide) { width: calc((100vh - 24px) * 9 / 16); width: calc((100svh - 24px) * 9 / 16); margin-top: 4px; }
  .vsl.wide { width: min(100%, calc((100svh - 24px) * 16 / 9)); }
  .sticky { padding: 6px var(--gutter) calc(6px + var(--safe-b)); }
  .sticky .btn { min-height: 48px; padding-top: 10px; padding-bottom: 10px; font-size: 16px; }
  .wrap { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
}

/* Longer two-part headline ("Never Diet Again, Here's How Men Over 40 Get Ripped") */

/* Headline in exactly 2 lines (big hook + one line): each line is shrunk (only if needed) to fit the width, so it
   never wraps into a 4th line on small phones. Line 2 is the long one. */
.hero-h.hero-long { font-size: clamp(30px, 9.4vw, 50px); line-height: 1.06; margin-left: -6px; margin-right: -6px; text-transform: none; letter-spacing: -.025em; }
.hero-long .fitline { display: block; white-space: nowrap; }
.hero-long .hl2 { font-size: .62em; margin-top: .1em; }
/* "Diet": crossed out with a straight red line that runs just past both ends of the word */
.hero-long .diet { position: relative; display: inline-block; }
.hero-long .diet::before {
  content: ""; position: absolute; z-index: 2; left: -.1em; right: -.1em; top: 54%; height: .11em;
  background: rgba(227,59,54,.8); border-radius: .06em; transform: translateY(-50%);
}
@media (max-width: 480px) { .hero .wrap { padding-left: 14px; padding-right: 14px; } }
