/* New Growth Media — book-a-call landing page
   Tokens first; everything below derives from them. */

:root {
  --navy: #0B1826;
  --navy-deep: #07111B;
  --ink: #16212C;
  --text: #F2F6FA;
  --text-soft: #B9C7D6;
  --text-dim: #7F93A8;
  --text-legal: #6F8196;
  --accent: #3B9BE0;          /* swap to #E63946 to try the red the reference uses */
  --accent-soft: #EAF4FC;
  --card: #FFFFFF;
  --card-muted: #5B6874;
  --card-dim: #8A96A3;
  --field-bg: #F7F9FB;
  --field-line: #CBD3DB;
  --hairline: #E6EBF0;
  --success: #2FA36B;
  --danger: #C8323A;

  --font-display: "Manrope", Helvetica, Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;

  --radius: 8px;
  --radius-card: 12px;
  --card-w: 520px;
  --marquee-gap: 60px;
  --marquee-duration: 60s;
  --content-w: 980px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}
a { color: #9FBEDC; }
a:hover { color: #FFFFFF; }

/* atmosphere — one glow behind the headline */
.glow {
  position: absolute; left: 50%; top: -260px; transform: translateX(-50%);
  width: 800px; height: 640px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(59,155,224,0.28), rgba(59,155,224,0));
}

/* top bar */
.topbar { position: relative; display: flex; justify-content: center; padding: 28px 20px 0; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; width: auto; height: 40px; }

/* hero */
main { position: relative; }
.hero {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 36px 20px 0; text-align: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 20px 8px 8px; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
}

/* overlapping client avatars */
.avatars { list-style: none; margin: 0; padding: 0; display: flex; }
.avatars li { margin-left: -10px; }
.avatars li:first-child { margin-left: 0; }
.avatars img {
  display: block; width: 38px; height: 38px; border-radius: 50%;
  object-fit: cover; border: 2px solid #16283A; background: #16283A;
}

.rating { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.rating-line { display: flex; align-items: center; gap: 8px; }

/* five grey stars with a gold copy clipped to --rating/5 on top */
.stars { position: relative; display: inline-block; line-height: 0; }
/* no flex gap: spacing lives inside each star cell so the gold overlay stays exactly proportional */
.stars-base, .stars-fill { display: flex; gap: 0; }
.stars-fill {
  position: absolute; inset: 0; overflow: hidden; white-space: nowrap;
  width: calc(var(--rating) / 5 * 100%);
}
.stars svg { width: 19px; height: 17px; padding: 0 1px; box-sizing: border-box; flex: 0 0 auto; }
.stars-base svg { fill: rgba(255,255,255,0.22); }
.stars-fill svg { fill: #F5B301; }

.rating-score { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--text); }
.rating-sub { margin: 0; font-size: 13.5px; color: var(--text-soft); }
.eyebrow {
  margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
h1 {
  margin: 0; max-width: var(--content-w);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(31px, 4.3vw, 58px);
  line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance;
}
h1 .accent { color: var(--accent); }
.sub { margin: 0; max-width: 640px; font-size: clamp(16px, 1.5vw, 20px); color: var(--text-soft); }

/* logos */
.section-label {
  margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim);
}
.logos { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 34px 20px 0; }

/* scrolling client strip — two identical tracks, the second purely decorative */
.marquee {
  position: relative; width: 100%; max-width: 1180px; overflow: hidden;
  display: flex; gap: var(--marquee-gap);
  /* fade the strip into the navy at both edges */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 90px, #000 calc(100% - 90px), transparent);
          mask-image: linear-gradient(to right, transparent, #000 90px, #000 calc(100% - 90px), transparent);
}
.marquee-track {
  list-style: none; margin: 0; padding: 0; flex: 0 0 auto;
  display: flex; align-items: center; gap: var(--marquee-gap);
  animation: marquee-scroll var(--marquee-duration) linear infinite;
}
.marquee-item { flex: 0 0 auto; display: flex; align-items: center; }
.marquee-item img {
  display: block; height: 60px; width: auto;
  opacity: 0.72; transition: opacity 160ms ease;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item img:hover { opacity: 1; }

/* one track's width + the gap that follows it = exactly half the flex row */
@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(calc(-100% - var(--marquee-gap)), 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; }
  .marquee-track[aria-hidden="true"] { display: none; }
}

/* card */
.form-wrap { display: flex; justify-content: center; padding: 36px 16px 0; }
.card { overflow: hidden;
  width: min(var(--card-w), 100%); background: var(--card); color: var(--ink);
  border-radius: var(--radius-card); box-shadow: 0 24px 60px rgba(0,0,0,0.45); overflow: hidden;
}
.step.is-current { color: var(--ink); font-weight: 600; }
.step.is-current .dot { background: var(--accent); }
.step.is-done { color: var(--card-dim); }
.step.is-done .dot { background: var(--success); }
.field input.is-invalid { border-color: var(--danger); }

.reassure { margin: 0; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--card-dim); text-align: center; }
.scheduler-slot.is-live { border: 0; height: 660px; display: block; }

/* legal + footer */
.legal { margin: 22px auto 0; max-width: 760px; padding: 0 20px; text-align: center; font-size: 12px; line-height: 1.5; color: var(--text-legal); }
.footer {
  margin-top: 44px; background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: 22px; padding: 32px 20px 36px;
}
.disclaimer { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.disclaimer p:last-child { margin: 0; max-width: 820px; font-size: 13px; line-height: 1.6; color: #93A3B5; }
.footer-row {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  max-width: 1200px; width: 100%; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 18px;
  font-size: 12.5px; color: var(--text-dim);
}
.footer-meta { display: flex; flex-direction: column; gap: 4px; max-width: 560px; }
.footer-meta p { margin: 0; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--text-soft); text-decoration: none; }
.footer-links a:hover { color: #FFFFFF; }

/* phone */
@media (max-width: 640px) {
  .topbar { padding-top: 22px; }
  .brand-logo { height: 32px; }
  .hero { gap: 14px; padding-top: 22px; }
  .badge { gap: 10px; padding: 6px 16px 6px 6px; }
  .avatars img { width: 32px; height: 32px; }
  .avatars li { margin-left: -9px; }
  .stars svg { width: 17px; height: 15px; }
  .rating-score { font-size: 14px; }
  .rating-sub { font-size: 12px; }
  .eyebrow { font-size: 11px; line-height: 1.5; max-width: 320px; }

  /* logo strip drops below the form so the form starts higher on screen */
  main { display: flex; flex-direction: column; }
  .hero { order: 1; }
  .form-wrap { order: 2; padding-top: 24px; }
  .logos { order: 3; padding-top: 28px; }
  .legal { order: 4; }
  .marquee { --marquee-gap: 36px; --marquee-duration: 42s; }
  .marquee-item img { height: 44px; }
  .marquee { -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
             mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
  .footer-row { flex-direction: column; align-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}


/* legal documents (privacy.html, terms.html) */
.doc { display: flex; justify-content: center; padding: 40px 20px 0; }
.doc-card {
  width: min(820px, 100%); background: var(--card); color: var(--ink); border-radius: var(--radius-card);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45); padding: 40px 44px 48px;
}
.doc-card h1 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -0.01em; }
.doc-meta { margin: 0 0 24px; color: var(--card-muted); font-size: 14px; line-height: 1.5; }
.doc-note { background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: 6px; padding: 12px 16px; margin: 0 0 24px; font-size: 15px; line-height: 1.55; }
.doc-card h2 { margin: 32px 0 10px; font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.doc-card h3 { margin: 18px 0 6px; font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.doc-card p, .doc-card li { font-size: 16px; line-height: 1.6; color: #2B3742; }
.doc-card p { margin: 0 0 12px; }
.doc-card ul { margin: 0 0 14px; padding-left: 22px; }
.doc-card li { margin-bottom: 6px; }
.doc-card a { color: #1F7BC4; }
.doc-card a:hover { color: #0F5A96; }
.doc-card code { font-size: 14px; background: var(--field-bg); padding: 1px 5px; border-radius: 4px; }
@media (max-width: 640px) { .doc { padding-top: 24px; } .doc-card { padding: 26px 18px 30px; } }

/* thank-you page */
.ty { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 44px 20px 0; text-align: center; }
.ty h1 { margin: 0; max-width: 760px; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; }
.ty .sub { max-width: 560px; }
.ty-card {
  width: min(600px, 100%); margin-top: 10px; background: var(--card); color: var(--ink); border-radius: var(--radius-card);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45); padding: 28px 28px 24px; text-align: left;
}
.ty-card h2 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.ty-card h2 + ol { margin-bottom: 26px; }
.ty-card ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; color: var(--card-muted); font-size: 16px; line-height: 1.55; }
.ty-card ol li { padding-left: 4px; }
.ty-steps li strong { color: var(--ink); }
.ty-card a { color: #1F7BC4; }
.ty-card .reassure { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--hairline); }
.ty-video { margin: 4px 0 18px; border-radius: var(--radius); overflow: hidden; background: #000; }
.ty-video video { display: block; width: 100%; aspect-ratio: 16 / 9; }
@media (max-width: 640px) { .ty { padding-top: 28px; } .ty-card { padding: 22px 18px 20px; } }
