/* Commerce Media Group VSL landing pages.
   Brand: Inter, ink #0A0C15, CMG blue #0064B1, black buttons with a hard blue offset shadow.
   Layout: offer-first opt-in. Headline = the free offer, VSL = proof, inline step form.
   Mobile first. One column. Big type, short lines, nothing that competes with the form. */

:root {
  --ink: #0a0c15;
  --ink-soft: #4b5262;
  --blue: #0064b1;
  --blue-bright: #4d9bff;
  --navy: #070b16;
  --soft: #f4f6f9;
  --line: #e3e6ec;
  --white: #ffffff;
  --danger: #c62828;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
body.has-sticky { padding-bottom: 6rem; }
img, video { display: block; max-width: 100%; }
a { color: var(--blue); }
p { margin: 0 0 1.1rem; text-wrap: pretty; }
[hidden] { display: none !important; }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0 0 1.25rem; color: inherit; font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 9.5vw, 4rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 8vw, 3.25rem); line-height: 1.06; }
h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: .35rem; }
h1 em, h2 em {
  font-style: italic; font-weight: 400; color: var(--blue);
  text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .12em;
}
.dark h2 em { color: var(--blue-bright); }
.lead { font-size: 1.25rem; color: var(--ink-soft); }
.small { font-size: .95rem; color: var(--ink-soft); }
.kicker {
  margin: 0 0 .9rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue);
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 1.25rem; }
.s { padding: 4.5rem 0; }
.soft { background: var(--soft); }
.dark { background: var(--navy); color: var(--white); }
@media (min-width: 768px) {
  .s { padding: 6.5rem 0; }
  .wrap { padding: 0 2rem; }
}

/* ---------- Top bar ---------- */
.topbar { border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; height: 60px; }
@media (min-width: 1024px) { .topbar .wrap { max-width: 1200px; } }
.logo { height: 28px; width: auto; }

/* ---------- Hero: offer headline + proof video + form ---------- */
.hero { padding: 1.25rem 0 3.5rem; text-align: center; }
.hero .wrap { max-width: 980px; }
.hero h1 { max-width: 15ch; margin-left: auto; margin-right: auto; margin-bottom: 1.25rem; }
.hero h1 .tail {
  display: block; margin-top: .6rem;
  font-size: .5em; line-height: 1.25; font-weight: 500; letter-spacing: -0.015em;
  font-style: italic; color: var(--blue);
}
@media (min-width: 900px) {
  .hero { padding-top: 2.5rem; }
  .hero h1 { max-width: 26ch; font-size: clamp(2.75rem, 4.2vw, 3.6rem); }
  .hero h1 .tail { font-size: .45em; }
}
/* Desktop: video and form side by side so the form is above the fold. */
@media (min-width: 1024px) {
  .hero .wrap { max-width: 1200px; }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
  .hero-grid .optin { margin: 0; max-width: none; }
}

/* ---------- Video ---------- */
.vsl {
  position: relative; aspect-ratio: 16 / 9; width: 100%; max-width: 860px; margin: 0 auto;
  background: var(--navy); border-radius: 14px; overflow: hidden;
  box-shadow: 0 18px 44px rgba(10, 12, 21, .16);
}
@media (max-width: 767px) {
  /* Edge to edge on phones: a bigger video beats a framed one. */
  .hero .vsl { width: auto; margin: 0 -1.25rem; border-radius: 0; box-shadow: none; }
}
.vsl-video { width: 100%; height: 100%; object-fit: contain; background: var(--navy); }
.vsl-sound {
  position: absolute; inset: 0; width: 100%; padding: 0; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(7, 11, 22, .25);
}
.vsl-sound-pill {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .75rem 1.25rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; color: var(--white); background: var(--blue);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.vsl-sound:hover .vsl-sound-pill { background: #0a72c6; }
@media (min-width: 768px) { .vsl-sound-pill { font-size: 1.2rem; padding: 1rem 1.6rem; } }
.vsl-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #8b93a3; }

/* ---------- Opt-in card ---------- */
.optin {
  position: relative; max-width: 560px; margin: 1.5rem auto 0; padding: 1.25rem 1.25rem 1.25rem;
  text-align: left; background: var(--white);
  border: 2px solid var(--ink); border-radius: 16px;
  box-shadow: 6px 6px 0 var(--blue);
  scroll-margin-top: 1rem;
}
.optin:focus { outline: none; }
@media (min-width: 600px) { .optin { padding: 2rem 2rem 1.5rem; margin-top: 2.25rem; } }
.optin-cta {
  margin: -1.25rem -1.25rem 1rem; padding: .85rem 1.25rem;
  background: var(--ink); color: var(--white); border-radius: 14px 14px 0 0;
  font-size: 1.05rem; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em;
}
.optin-cta b { font-weight: 800; color: #8fc0ff; }
.optin-cta-arrow { display: inline-block; margin-left: .2rem; font-weight: 800; color: #8fc0ff; }
@media (min-width: 600px) { .optin-cta { margin: -2rem -2rem 1.25rem; padding: 1rem 2rem; font-size: 1.15rem; } }
.progress-row { display: flex; align-items: center; gap: .75rem; margin-bottom: .9rem; }
.progress { flex: 1 1 auto; height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 12.5%; background: var(--blue); border-radius: 999px; transition: width .25s ease; }
.step-count { margin: 0; flex: 0 0 auto; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend, .optin-title {
  display: block; width: 100%; padding: 0; margin: 0 0 1.1rem;
  font-size: clamp(1.6rem, 6.5vw, 2.1rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1.15;
}
.step legend b, .optin-title b { font-weight: 800; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .75rem; }

.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: .35rem; font-size: .95rem; font-weight: 600; }
.opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.4rem; padding: .85rem 1rem;
  font: inherit; font-size: 1.0625rem; color: var(--ink); background: var(--white);
  border: 1.5px solid #c9ced8; border-radius: 10px;
}
.field textarea { min-height: 0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 100, 177, .18); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field .err { margin: .35rem 0 0; font-size: .9rem; color: var(--danger); }
.help { margin: .35rem 0 0; font-size: .9rem; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: .75rem; align-items: flex-start; margin: .5rem 0 1.25rem; font-size: .85rem; line-height: 1.45; color: var(--ink-soft); cursor: pointer; }
.consent input { flex: 0 0 auto; width: 1.3rem; height: 1.3rem; margin-top: .1rem; accent-color: var(--blue); }
.form-error { margin: 0 0 1rem; color: var(--danger); font-weight: 600; }

.step-nav { display: flex; flex-direction: column-reverse; gap: .75rem; margin-top: .5rem; }
.link-btn {
  align-self: center; padding: .5rem; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: .95rem; color: var(--ink-soft); text-decoration: underline;
}

.form-notes { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .4rem; }
.form-notes li { position: relative; padding-left: 1.5rem; font-size: .95rem; font-weight: 600; }
.form-notes li::before { content: "\2713"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }

.calendar-frame iframe { width: 100%; height: 640px; border: 0; border-radius: 10px; background: var(--soft); }
.done-message { font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.cta { margin-top: 2rem; }
.final .cta { text-align: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  width: 100%; min-height: 3.75rem; padding: 1rem 1.25rem;
  font: inherit; font-size: .95rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--white); background: #141414;
  border: 0; border-radius: 12px;
  box-shadow: 4px 4px 0 var(--blue);
  cursor: pointer; text-align: center;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--blue); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--blue); }
.btn:focus-visible, .vsl-sound:focus-visible, .link-btn:focus-visible {
  outline: 3px solid var(--blue-bright); outline-offset: 3px;
}
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.btn .arrow { font-size: 1.15em; line-height: 1; }
.btn-lg { min-height: 4.1rem; font-size: 1rem; }
.btn-light { background: var(--white); color: var(--ink); box-shadow: 4px 4px 0 var(--blue-bright); }
.btn-light:hover { box-shadow: 5px 5px 0 var(--blue-bright); }
.btn-light:active { box-shadow: 1px 1px 0 var(--blue-bright); }
@media (min-width: 768px) {
  .btn { font-size: 1rem; letter-spacing: .06em; }
  .cta .btn { width: auto; padding: 1.1rem 2.25rem; }
}

/* ---------- What you get ---------- */
.get { list-style: none; counter-reset: get; padding: 0; margin: 1.5rem 0 0; }
.get li { counter-increment: get; position: relative; padding: 1.4rem 0 1.4rem 3.75rem; border-top: 1px solid var(--line); }
.get li:last-child { border-bottom: 1px solid var(--line); }
.get li::before {
  content: counter(get); position: absolute; left: 0; top: 1.25rem;
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--blue); color: var(--white); font-weight: 800; font-size: 1.1rem;
}
.get h3 { font-size: clamp(1.35rem, 5.5vw, 1.7rem); }
.get p { margin: 0; color: var(--ink-soft); }

/* ---------- Objections ---------- */
.objections { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.objections li { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.objections li:last-child { border-bottom: 1px solid var(--line); }
.objections h3 { font-size: clamp(1.35rem, 5.5vw, 1.7rem); }
.objections p { margin: 0; color: var(--ink-soft); }

/* ---------- Proof ---------- */
.stats { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; }
.stats li { display: flex; align-items: baseline; gap: .6rem; padding: .8rem 0; border-top: 1px solid var(--line); }
.stats li:last-child { border-bottom: 1px solid var(--line); }
.stats strong { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; white-space: nowrap; }
.stats span { font-size: 1rem; color: var(--ink-soft); }
@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(3, 1fr); gap: .75rem; }
  .stats li { flex-direction: column; gap: .3rem; padding: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
  .stats li:last-child { border-bottom: 1px solid var(--line); }
  .stats strong { font-size: 1.75rem; }
  .stats span { font-size: .9rem; }
}
}
}
.machinery { margin: 2rem 0; padding: 1.25rem 1.5rem; background: var(--white); border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; }
.machinery blockquote { margin: 0 0 .5rem; font-size: 1.15rem; }
.machinery figcaption { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Final + footer ---------- */
.final { text-align: center; }
.note { margin: 1rem 0 0; font-size: .95rem; color: #9aa3b2; text-align: center; }
.footer { background: var(--navy); color: #9aa3b2; padding: 2.5rem 0 3rem; font-size: .95rem; border-top: 1px solid #1a2133; }
.footer p { margin: .75rem 0 0; }
.footer .links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer a { color: #d5dae3; }
.logo-light { filter: brightness(0) invert(1); height: 26px; }
.legal { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid #1a2133; }
.legal p { margin: 0 0 .75rem; font-size: .78rem; line-height: 1.55; color: #7d8696; }
.legal-h, .legal-doc h2 {
  margin: 0 0 .75rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #c3cad6;
}
.legal-docs { display: grid; gap: 1.75rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid #1a2133; }
.legal-doc { scroll-margin-top: 1rem; }
.legal-doc h3 { margin: .9rem 0 .2rem; font-size: .8rem; font-weight: 700; letter-spacing: 0; color: #aab2bf; }
.legal-doc p { margin: 0; font-size: .78rem; line-height: 1.55; color: #7d8696; }
.legal-updated { margin-top: 1.75rem !important; padding-top: 1.25rem; border-top: 1px solid #1a2133; font-size: .78rem; color: #7d8696; }
@media (min-width: 768px) { .legal-docs { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }

/* ---------- Sticky mobile bar ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: .75rem 1rem calc(.85rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  display: none;
}
.sticky-bar .btn { min-height: 3.5rem; }
@media (max-width: 767px) { .sticky-bar:not([hidden]) { display: block; } }

/* ---------- Thank-you / index pages ---------- */
.plain-main { min-height: 100dvh; display: grid; align-items: center; padding: 3rem 0; }
.plain-main .logo { margin-bottom: 3rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .progress span { transition: none; }
}

/* ======================================================================
   SOCIAL PROOF: text first, one photo (the founder). Nothing decorative.
   ====================================================================== */

/* Featured-on bar, right under the hero */
.featured-bar { padding: 2rem 0 2.25rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.featured-bar .wrap { max-width: 1100px; }
.featured-label { margin: 0 0 .9rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.featured-names {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem;
}
.featured-names li {
  display: flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: .5rem;
  min-width: 0; color: #858b97; font-size: clamp(.85rem, 3.4vw, 1.3rem); line-height: 1.1; text-align: center; overflow-wrap: anywhere;
}
@media (min-width: 900px) { .featured-names li { white-space: nowrap; } }
.featured-names img { max-height: 28px; width: auto; filter: grayscale(1); opacity: .65; }
@media (min-width: 900px) { .featured-names { grid-template-columns: repeat(6, 1fr); } }
/* Wordmark treatments (generic type styles, not copies of real logos) */
.wm { font-weight: 700; letter-spacing: -0.01em; }
.wm-heavy { font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; }
.wm-tight { letter-spacing: -0.06em; font-size: 1.15em; }
.wm-italic { font-style: italic; }
.wm-wide { font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
@media (min-width: 900px) { .wm-wide { letter-spacing: .22em; } }
.wm-light { font-weight: 500; }
.wm-serif { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.15em; letter-spacing: -0.02em; }
.wm-medium { font-weight: 500; letter-spacing: -0.02em; }
.wm-round { font-weight: 800; text-transform: lowercase; letter-spacing: -0.03em; font-size: 1.1em; }
.featured-tail { margin: .8rem 0 0; font-size: .9rem; color: var(--ink-soft); }

/* Recent builds: a plain list */
.work { list-style: none; padding: 0; margin: 1.5rem 0 1rem; display: grid; }
.work li { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.work li:last-child { border-bottom: 1px solid var(--line); }
.work h3 { margin: 0; font-size: 1.3rem; }
.work h3 a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--blue); }
.work h3 a:hover { color: var(--blue); }
.work-what { margin: .3rem 0 .4rem; font-size: .9rem; font-weight: 600; color: var(--blue); }
.work-about { margin: 0 0 .75rem; color: var(--ink-soft); font-size: 1rem; }
.work-dl { margin: 0; display: grid; gap: .5rem; }
.work-dl div { display: grid; grid-template-columns: 6.5rem 1fr; gap: .75rem; align-items: baseline; }
.work-dl dt { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.work-dl dd { margin: 0; font-size: 1rem; font-weight: 600; color: var(--ink); }
@media (min-width: 768px) {
  .work { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
  .work li:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); }
}

/* Founder card */
.founder { padding: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.founder-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.founder-photo {
  width: 80px; height: 80px; flex: 0 0 auto;
  object-fit: cover; object-position: center 18%; border-radius: 50%;
}
.founder-name { margin: 0; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: var(--ink); }
.founder-title { margin: .2rem 0 0; font-size: .9rem; font-weight: 600; line-height: 1.35; color: var(--blue); }
.founder-bio { margin: 0 0 1rem; font-size: 1.05rem; color: var(--ink-soft); }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.facts li { position: relative; padding-left: 1.5rem; font-size: .98rem; font-weight: 500; }
.facts li::before { content: "\2713"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.crew { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-soft); }
.crew strong { color: var(--ink); }
@media (min-width: 700px) {
  .founder { padding: 1.75rem; }
  .founder-photo { width: 96px; height: 96px; }
  .founder-name { font-size: 1.65rem; }
}

/* Testimonials (render only when approved quotes exist) */
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.avatar-initials { display: inline-grid; place-items: center; background: var(--ink); color: var(--white); font-weight: 800; font-size: .9rem; }
.testimonials { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 700px) { .testimonials { grid-template-columns: 1fr 1fr; } }
.testimonial { margin: 0; padding: 1.5rem; background: var(--white); border-radius: 14px; border: 1px solid var(--line); }
.testimonial blockquote { margin: 0 0 1.1rem; font-size: 1.15rem; line-height: 1.45; font-weight: 500; }
.testimonial figcaption { display: flex; align-items: center; gap: .75rem; }
.testimonial figcaption strong { display: block; }
.testimonial figcaption span span { display: block; font-size: .9rem; color: var(--ink-soft); }
.t-result { margin: 0 0 .75rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }

/* Phones: keep the form CTA, the first question and "Let's start" on the first screen. */
@media (max-width: 599px) {
  .hero { padding-top: .75rem; }
  .hero .kicker { margin-bottom: .5rem; }
  .hero h1 { margin-bottom: .85rem; }
  .hero h1 .tail { margin-top: .35rem; }
  .optin { margin-top: 1rem; }
  .optin-cta { padding: .7rem 1.25rem; font-size: 1rem; margin-bottom: .8rem; }
  .progress-row { margin-bottom: .7rem; }
  .step legend { font-size: 1.4rem; margin-bottom: .8rem; }
  .field { margin-bottom: .8rem; }
  .field label { margin-bottom: .25rem; font-size: .9rem; }
  .field input, .field select { min-height: 3rem; padding: .7rem .9rem; }
}
@media (max-width: 379px) {
  .hero h1 { font-size: 2rem; }
  .hero h1 .tail { font-size: .52em; }
  .optin { margin-top: .75rem; }
  .optin-cta { font-size: .95rem; padding: .6rem 1.1rem; }
  .step legend { font-size: 1.3rem; }
}
