/* Ad-specific pages share Mothership's branding and launch-offer form. */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
.ad-page { --ad-lime: #d6f597; }
.ad-page section { padding: 0; }
.ad-page .ad-wrap { width: min(1120px, 90%); margin-inline: auto; }
.ad-page .ad-header .header-inner { min-height: 72px; }
.ad-header .header-credit { color: var(--ad-lime); font-size: .85rem; font-weight: 650; }
.ad-page main { padding-top: 72px; }
.ad-hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: 60px; align-items: center; padding-block: 64px 52px; }
.ad-hero .eyebrow { margin-bottom: 18px; }
.ad-hero h1 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); max-width: 16ch; margin-bottom: 20px; }
.ad-hero .hero-description { font-size: 1.12rem; max-width: 36em; line-height: 1.65; }
.credit-line { display: flex; align-items: center; gap: 16px; border-top: 1px solid var(--border); padding-top: 22px; margin-bottom: 24px; }
.credit-line strong { font-size: 3.25rem; letter-spacing: -.06em; line-height: 1; color: var(--ad-lime); }
.credit-line span { font-size: 1rem; line-height: 1.45; max-width: 17em; }
.credit-line b { display: block; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ad-page .credit-button { background: var(--ad-lime); border-color: var(--ad-lime); color: #192417; padding: 15px 22px; font-size: 1rem; }
.ad-page .credit-button:hover { background: #e4ffb5; border-color: #e4ffb5; }
.hero-actions .watch-link { font-size: .9rem; color: var(--text); text-decoration: underline; text-underline-offset: 5px; }
.ad-hero .invite-note { font-size: .8rem; margin: 14px 0 0; max-width: 37em; }
.connect-viewer { background: #111c2d; border: 1px solid #344257; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 55px #0003; }
.viewer-heading { padding: 20px 22px 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.viewer-heading h2 { margin: 0; font-size: 1.15rem; letter-spacing: -.02em; }
.viewer-heading span { color: var(--ad-lime); font-size: .7rem; font-weight: 650; white-space: nowrap; }
.connection-steps { display: flex; gap: 5px; padding: 0 12px 12px; }
.connection-steps button { flex: 1; border: 1px solid var(--border); border-radius: 8px; padding: 10px 6px; font: inherit; font-size: .78rem; cursor: pointer; background: transparent; color: var(--muted); }
.connection-steps button[aria-pressed=true] { color: var(--white); background: #243b58; border-color: #6c9bc4; }
.connection-panel[hidden] { display: none; }
.connection-panel video { display: block; width: 100%; aspect-ratio: 8/5; background: #0c1626; }
.connection-caption { padding: 16px 22px 20px; min-height: 112px; }
.connection-caption h3 { font-size: 1rem; margin: 0 0 6px; }
.connection-caption p { font-size: .85rem; line-height: 1.6; margin: 0; }
.connection-caption small { color: var(--dim); }
.ad-process { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; border-block: 1px solid var(--border); }
.ad-process p { margin: 0; font-size: .9rem; }
.ad-process b { color: var(--text); }
.ad-process span { color: var(--sky); margin-right: 8px; }
.ad-demo { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; padding-block: 72px; }
.ad-demo h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); max-width: 18ch; }
.ad-demo blockquote { margin: 24px 0; padding: 17px 20px; border-left: 3px solid var(--sky); background: #132238; color: var(--white); font-size: 1.15rem; line-height: 1.55; }
.ad-demo .demo-note { font-size: .8rem; margin: 12px 0 0; }
.ad-demo video { display: block; width: 100%; border: 1px solid var(--border); border-radius: 12px; background: #080e16; aspect-ratio: 16/9; }
.ad-demo .video-caption { margin: 10px 0 0; font-size: .77rem; }
.ad-page .ad-guide-section { border-top: 1px solid var(--border); }
.ad-guide { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 40px; padding-block: 32px; }
.ad-guide h2 { font-size: 1.65rem; margin-bottom: 12px; }
.ad-guide p { margin-bottom: 0; max-width: 38em; }
.ad-guide .eyebrow { margin-bottom: 10px; }
.guide-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.guide-actions a { font-weight: 600; }
.guide-actions small { color: var(--muted); }
.ad-page .ad-offer-section { background: var(--navy-2); border-block: 1px solid var(--border); padding: 56px 0; }
.ad-offer-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.offer-explanation h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); max-width: 15ch; }
.offer-explanation h2 span { color: var(--ad-lime); }
.offer-explanation p { max-width: 34em; }
.offer-explanation ul { list-style: none; padding: 0; margin: 0; }
.offer-explanation li { padding: 8px 0; color: var(--muted); font-size: .95rem; }
.offer-explanation li::before { content: '✓'; color: var(--ad-lime); margin-right: 10px; }
.ad-page .offer { width: 100%; text-align: left; background: #142238; border: 1px solid #40516b; padding: 28px; }
.ad-page .offer h2 { font-size: 1.5rem; }
.ad-page .offer p.lede { font-size: .92rem; }
.ad-page .offer .offer-row { grid-template-columns: 1fr; }
.ad-page .offer label.flabel { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: block; margin-bottom: 5px; font-size: .8rem; }
.ad-page .offer form .btn-primary { background: var(--ad-lime); color: #192417; border-color: var(--ad-lime); margin-top: 5px; }
.ad-page .offer .done { text-align: center; }
.ad-page .offer .form-note { text-align: center; }
.ad-page .ad-faq { padding-block: 56px; max-width: 780px; }
.ad-faq h2 { font-size: 1.75rem; margin-bottom: 24px; }
.ad-faq details { border-top: 1px solid var(--border); padding: 18px 0; }
.ad-faq details:last-child { border-bottom: 1px solid var(--border); }
.ad-faq summary { cursor: pointer; font-weight: 600; }
.ad-faq details p { margin: 12px 0 0; font-size: .95rem; }
.ad-page footer { padding-block: 28px; }
.ad-page .ad-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: .8rem; }
.ad-footer p { margin: 0; }
.ad-footer a { margin-left: 16px; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 1000; background: white; color: black; padding: 12px; }
.skip-link:focus { top: 12px; }
@media (max-width: 850px) {
  .ad-hero { grid-template-columns: 1fr; gap: 28px; padding-block: 34px; }
  .ad-hero h1 { max-width: 20ch; }
  .ad-hero .hero-description { font-size: 1rem; margin-bottom: 18px; }
  .connection-panel video { aspect-ratio: 4/5; }
  .ad-guide { grid-template-columns: 1fr; gap: 20px; }
  .ad-demo { grid-template-columns: 1fr; gap: 24px; padding-block: 42px; }
  .ad-demo h2 { max-width: 24ch; }
  .ad-demo video { max-height: 600px; aspect-ratio: 9/16; object-fit: contain; }
  .ad-offer-grid { grid-template-columns: 1fr; gap: 20px; }
  .offer-explanation h2 { max-width: 20ch; }
  .ad-process { flex-direction: column; gap: 12px; }
  .ad-page .ad-offer-section { padding-block: 36px; }
  .ad-page .ad-faq { padding-block: 36px; }
}
@media (max-width: 460px) {
  .ad-header .logo { font-size: .95rem; gap: 6px; }
  .ad-header .logo svg { width: 22px; }
  .ad-header .header-credit { font-size: .75rem; }
  .ad-hero h1 { font-size: 2.35rem; }
  .hero-actions { gap: 16px; }
  .hero-actions .btn-primary { width: 100%; }
  .hero-actions .watch-link { width: 100%; text-align: center; }
  .ad-page .offer { padding: 22px 18px; }
  .viewer-heading { padding-inline: 16px; }
  .connection-caption { padding-inline: 16px; }
  .ad-page .ad-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ad-footer a { margin: 0 16px 0 0; }
}

/* 11/15: real photo in the hero; the connect walkthrough sits in its own band right below */
.ad-photo { position: relative; margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid #344257; box-shadow: 0 24px 55px #0003; aspect-ratio: 5 / 4; }
.ad-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
@media (hover: hover) { .ad-photo:hover img { transform: scale(1.025); } }
.ad-photo-proof { position: absolute; left: 14px; bottom: 14px; max-width: min(330px, calc(100% - 28px)); padding: 12px 15px; background: #fff; color: #344155; border-radius: 12px; box-shadow: 0 12px 32px #0006; font-size: .86rem; line-height: 1.45; }
.ad-photo-proof b { display: block; margin-bottom: 3px; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #005bbe; }
.ad-connect-band { padding-block: 8px 48px; }
.ad-connect-band .connect-viewer { max-width: 760px; margin-inline: auto; }
@media (max-width: 850px) {
  .ad-photo { aspect-ratio: 16 / 10; }
  .ad-photo-proof { left: 10px; bottom: 10px; max-width: 250px; padding: 8px 11px; font-size: .76rem; line-height: 1.35; }
  .ad-photo-proof b { font-size: .6rem; }
  .ad-connect-band { padding-block: 0 32px; }
  /* Phones: the photo comes right after the button, the fine print after the photo */
  .ad-hero:has(> .ad-photo) { gap: 0; }
  .ad-hero:has(> .ad-photo) > div:first-child { display: contents; }
  .ad-hero > .ad-photo { order: 1; margin-top: 24px; }
  .ad-hero:has(> .ad-photo) .invite-note { order: 2; margin-top: 16px; }
}
/* 11/18: the owner on video in the hero (portrait; plays muted while on screen, sound on tap) */
.ad-photo.ad-hero-video { aspect-ratio: 720 / 1174; width: min(100%, 350px); justify-self: center; background: #12100c; }
.ad-hero-video video { display: block; width: 100%; height: 100%; object-fit: cover; background: #12100c; }
@media (max-width: 850px) { .ad-photo.ad-hero-video { aspect-ratio: 720 / 1174; width: min(100%, 400px); margin-inline: auto; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Customer proof right above the signup form (find-wasted-keywords, 2026-11-15) */
.ad-proof { display: flex; gap: 14px; align-items: flex-start; margin: 22px 0 0; padding: 14px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; max-width: 34em; }
.ad-proof img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.ad-proof figcaption { min-width: 0; }
.ad-proof p { margin: 0; }
.ad-proof-stats { font-size: 1.02rem; line-height: 1.4; }
.ad-proof-stats b { color: var(--ad-lime); white-space: nowrap; }
.ad-proof-stats span { color: var(--muted); margin: 0 4px; }
.ad-proof-src { margin-top: 6px !important; color: var(--muted); font-size: .82rem; line-height: 1.45; }

/* 11/28: the product demo (Agent Mr White at work) is the hero picture, with Mr White perched on its top edge.
   The gym photo and its "Built by a gym owner" card are gone; the owner's video sits lower, before the sign-up box. */
.ad-hero-media { min-width: 0; }
.ad-photo.ad-hero-demo { aspect-ratio: 16 / 9; overflow: visible; background: #080e16; }
.ad-hero-demo video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 15px; background: #080e16; }
.ad-hero-media .video-caption { margin: 10px 0 0; font-size: .77rem; }
.ad-hero-demo .mwp-guy { position: absolute; right: 6%; top: 0; width: clamp(96px, 26%, 150px); transform: translateY(-88%); filter: drop-shadow(0 12px 18px #0008); pointer-events: none; }
.ad-hero-demo .mwp-guy svg { display: block; width: 100%; height: auto; overflow: visible; animation: mwp-hero-hover 3.2s ease-in-out infinite; }
@keyframes mwp-hero-hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (min-width: 851px) { .ad-hero:has(> .ad-hero-media) .watch-link { display: none; } }
@media (max-width: 850px) {
  /* Phones: the demo comes right after the button (tall cut), the fine print after it */
  .ad-hero:has(> .ad-hero-media) { gap: 0; }
  .ad-hero:has(> .ad-hero-media) > div:first-child { display: contents; }
  .ad-hero > .ad-hero-media { order: 1; margin-top: 104px; scroll-margin-top: 90px; }
  .ad-hero:has(> .ad-hero-media) .invite-note { order: 2; margin-top: 16px; }
  .ad-photo.ad-hero-demo { aspect-ratio: var(--tall, 1 / 2); width: min(100%, 320px); margin-inline: auto; }
}
.ad-founder { display: grid; grid-template-columns: minmax(0, 430px) auto; justify-content: center; gap: 88px; align-items: center; padding-block: 24px 72px; }
.ad-founder h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); max-width: 18ch; }
.ad-founder .ad-photo.ad-hero-video { width: min(100%, 300px); }
@media (max-width: 850px) { .ad-founder { grid-template-columns: 1fr; gap: 24px; padding-block: 8px 42px; } .ad-founder .ad-photo.ad-hero-video { width: min(100%, 340px); } }
@media (prefers-reduced-motion: reduce) { .ad-hero-demo .mwp-guy svg { animation: none; } }

/* 11/28: "Connect. Then ask." is a small animation (Mr White's ship lights up each account name) instead of the three
   walkthrough videos. Pure SVG + CSS, loops every 11 s; under reduced motion every name is simply lit. */
.mc-stage { background: #0c1626; border-block: 1px solid #263449; padding: 18px 12px 6px; }
.mc { display: block; width: 100%; max-width: 430px; height: auto; margin-inline: auto; overflow: visible; }
.mc text { font-family: inherit; }
.mc-box { fill: #111c2d; stroke: #344257; stroke-width: 1.2; }
.mc-dot { fill: #46566d; }
.mc-name { fill: #8291a8; font-size: 13px; font-weight: 600; }
.mc-lit { opacity: 0; transform-box: fill-box; transform-origin: center; animation: 11s ease-out infinite both; }
.mc-lit .mc-box { fill: #16263c; stroke: var(--ad-lime); stroke-width: 1.6; }
.mc-lit .mc-dot { fill: var(--ad-lime); }
.mc-lit .mc-name { fill: #fff; }
.mc-beam { animation: mc-beam 2.8s ease-in-out infinite; }
.mc-hover { animation: mc-hover 3.2s ease-in-out infinite; }
.mc-status { fill: var(--ad-lime); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: 0; animation: mc-status 11s ease-out infinite both; }
@keyframes mc-beam { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
@keyframes mc-hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes mc-status { 0%, 56% { opacity: 0; } 61%, 89% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes mc-on0 { 0%, 5.5% { opacity: 0; transform: scale(.94); } 9.1%, 89% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; transform: scale(1); } }
.mc-lit0 { animation-name: mc-on0; }
@keyframes mc-on1 { 0%, 12.7% { opacity: 0; transform: scale(.94); } 16.4%, 89% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; transform: scale(1); } }
.mc-lit1 { animation-name: mc-on1; }
@keyframes mc-on2 { 0%, 20.0% { opacity: 0; transform: scale(.94); } 23.6%, 89% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; transform: scale(1); } }
.mc-lit2 { animation-name: mc-on2; }
@keyframes mc-on3 { 0%, 27.3% { opacity: 0; transform: scale(.94); } 30.9%, 89% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; transform: scale(1); } }
.mc-lit3 { animation-name: mc-on3; }
@keyframes mc-on4 { 0%, 34.5% { opacity: 0; transform: scale(.94); } 38.2%, 89% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; transform: scale(1); } }
.mc-lit4 { animation-name: mc-on4; }
@keyframes mc-on5 { 0%, 41.8% { opacity: 0; transform: scale(.94); } 45.5%, 89% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; transform: scale(1); } }
.mc-lit5 { animation-name: mc-on5; }
@keyframes mc-on6 { 0%, 49.1% { opacity: 0; transform: scale(.94); } 52.7%, 89% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; transform: scale(1); } }
.mc-lit6 { animation-name: mc-on6; }
@media (prefers-reduced-motion: reduce) { .mc-lit, .mc-status { animation: none; opacity: 1; } .mc-beam, .mc-hover { animation: none; } }
