/* Coform $30k call funnel — shared styles for landing, booking and confirm.
   Palette and fonts match the CoformOS dashboard: lime #d0ff4c on a dark
   charcoal (not pure black), Sora for headings, Host Grotesk for body. */

@import url('https://fonts.googleapis.com/css2?family=Host+Grotesk:wght@400;500;600;700&family=Sora:wght@600;700;800&display=swap');

:root {
  --bg: #121211;
  --bg-deep: #0d0d0c;
  --panel: #1a1a19;
  --line: #2c2b29;
  --line-dash: #3d4a1c;
  --ink: #f8f8f8;
  --soft: #d6d6d2;
  --muted: #a8a8a3;
  --faint: #6f6f6b;
  --lime: #d0ff4c;
  --lime-hover: #bdee33;
  --lime-soft: #2f3a14;
  --on-lime: #141414;
  --urgent: #ff5b5b;
  --display: 'Sora', 'Host Grotesk', system-ui, sans-serif;
  --body: 'Host Grotesk', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 16px; }
.wide { max-width: 1120px; }
.center { text-align: center; }

/* Header */
.top { padding: 32px 0 0; display: flex; justify-content: center; }
.top img { height: 19px; width: auto; }

/* Hero */
/* Top and bottom only: a padding shorthand here would wipe out .wrap's side gutter. */
.hero { padding-top: 44px; padding-bottom: 8px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.tag {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--lime); border: 1px solid var(--lime-soft); background: rgba(208,255,76,.06);
  padding: 7px 14px; border-radius: 99px;
}
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.03em; }
.h1 { font-size: clamp(32px, 6vw, 58px); font-weight: 800; line-height: 1.06; }
.h1 .g { color: var(--lime); }
.h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 700; line-height: 1.12; }
.sub { font-size: clamp(16px, 2.2vw, 19px); color: var(--muted); max-width: 54ch; margin: 0; }

/* Video slots */
.vsl {
  width: 100%; max-width: 700px; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden;
  background: var(--bg-deep); border: 1px solid var(--line);
}
.vsl iframe, .vsl video { width: 100%; height: 100%; border: 0; }
.ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 100%; color: var(--faint); font-size: 14px; text-align: center; padding: 12px;
  border: 2px dashed var(--line-dash); border-radius: inherit;
}
.play {
  width: 64px; height: 64px; border-radius: 50%; background: rgba(208,255,76,.12);
  border: 1px solid var(--lime-soft); display: flex; align-items: center; justify-content: center;
}
.play::after {
  content: ""; margin-left: 5px; border-left: 19px solid var(--lime);
  border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}

/* Buttons */
.btn {
  display: inline-block; background: var(--lime); color: var(--on-lime); font-weight: 700;
  font-size: 17px; padding: 17px 32px; border-radius: 12px; text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--lime-hover); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.micro { font-size: 14px; color: var(--faint); margin: -8px 0 0; }

/* Plain text version of .tag, no pill */
.tag.plain { border: 0; background: none; padding: 0; letter-spacing: .05em; word-spacing: -.05em; }

/* Logo ticker: each row holds the logo set twice and slides by half its
   width, so the loop is seamless. Row two runs the other way. */
.ticker { padding: 56px 0 8px; }
.ticker-label {
  text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--faint); margin: 0 0 22px;
}
/* Capped to the content width on desktop so the logos fade out at the page
   margins rather than at the screen edges. */
.ticker-rows { display: flex; flex-direction: column; gap: 26px; overflow: hidden;
  max-width: 960px; margin: 0 auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.ticker-track { display: flex; width: max-content; animation: slide 40s linear infinite; }
.ticker-track.rev { animation-direction: reverse; }
.ticker-track img {
  height: calc(34px * var(--s, 1)); width: auto; margin: 0 clamp(28px, 4vw, 48px);
  align-self: center; opacity: .82;
}
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation-play-state: paused; } }

/* Panels */
.panel {
  width: 100%; border: 1px solid var(--line); border-radius: 18px; background: var(--panel);
  padding: 28px 20px;
}
.pill {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--on-lime); background: var(--lime); padding: 4px 10px; border-radius: 99px; margin-bottom: 12px;
}
.form-slot { min-height: 440px; margin-top: 18px; border-radius: 14px; display: flex; }
.form-slot > * { flex: 1; height: auto; }

/* Testimonials: two-column grid of landscape clips, name and result above each */
.section { padding-top: 64px; }
.section-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 30px; }
.tgrid { display: grid; grid-template-columns: 1fr; gap: 36px 28px; }
@media (min-width: 640px) { .tgrid { grid-template-columns: repeat(2, 1fr); } }
.tcard { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.tname { font-size: clamp(20px, 2.6vw, 24px); font-weight: 700; color: var(--ink); line-height: 1.2; }
.tresult { margin: 4px 0 0; font-size: 17px; font-weight: 700; color: var(--lime); }
.tclip {
  aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: var(--bg-deep);
  border: 1px solid var(--line);
}
/* contain, not cover: the current clips are portrait, so they sit centred
   in the frame until landscape versions replace them. */
.tclip video, .tclip iframe { width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }

/* Booking */
.cal {
  width: 100%; max-width: 760px; border-radius: 18px; overflow: hidden; background: var(--ink);
  border: 1px solid var(--line); min-height: 560px;
}
.cal iframe { display: block; width: 100%; min-height: 640px; border: 0; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; color: var(--muted); font-size: 14px; }
.trust span::before { content: "•"; color: var(--lime); font-weight: 800; margin-right: 7px; }

/* Confirmation */
.urgent { color: var(--urgent); }
.steps { width: 100%; max-width: 700px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.step { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 15px 16px; }
.sn {
  flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--on-lime);
  font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.step p { margin: 0; color: var(--soft); font-size: 15px; }
.vgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
@media (min-width: 720px) { .vgrid { grid-template-columns: repeat(4, 1fr); } }
.vitem { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.vthumb { aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; background: var(--bg-deep); }
.vthumb iframe, .vthumb video { width: 100%; height: 100%; border: 0; }
.vthumb .play { width: 40px; height: 40px; }
.vthumb .play::after { border-left-width: 13px; border-top-width: 8px; border-bottom-width: 8px; margin-left: 3px; }
.vtitle { font-size: 14px; font-weight: 600; color: var(--soft); }

/* Footer */
.foot { font-size: 12px; color: var(--faint); max-width: 62ch; margin: 64px auto 0; padding: 0 16px 48px; line-height: 1.6; text-align: center; }

/* GHL's form_embed.js hides the calendar iframe until it hears back from it,
   which can leave a blank box. Keep it visible regardless. */
.cal iframe { visibility: visible !important; opacity: 1 !important; pointer-events: auto !important; position: static !important; }

/* Google rating under the hero CTA */
.rating { display: inline-flex; align-items: center; gap: 10px; margin-top: -4px; }
.g-logo { width: 20px; height: 20px; flex: none; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 17px; height: 17px; fill: #fbbc04; }
.rating-text { font-size: 15px; font-weight: 600; color: var(--soft); }

/* Phones: extra inset on the hero text so it sits further off the edges
   (24px total) than the video and button (16px). */
@media (max-width: 560px) {
  .hero .tag, .hero .h1, .hero .sub { padding-left: 8px; padding-right: 8px; }
  .hero .tag.plain { padding-left: 8px; padding-right: 8px; }
}

/* Phones: slightly smaller Coform wordmark in the header (19px on desktop). */
@media (max-width: 560px) {
  .top img { height: 16px; }
}

/* "Limited spots": lime dot with a soft pulsing glow instead of a pill */
.live {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lime);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 8px 2px rgba(208,255,76,.65);
  animation: live-pulse 1.8s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 6px 1px rgba(208,255,76,.55); }
  50% { box-shadow: 0 0 12px 4px rgba(208,255,76,.9); }
}
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
