/* Scale100 VSL funnel: shared styles for the VSL page and the thank-you page.
   Colours from the S100 logo (obsidian, marble, signal orange); fonts from book.freedom-scale.com. */

:root {
  --bg: #0B0A09;          /* near-black, a shade under the logo tile */
  --surface: #171513;
  --ink: #F3EEE6;         /* marble text, the logo's S */
  --muted: #A39D93;
  --line: #2A2724;
  --accent: #FF5B1F;      /* signal orange, the "100" */
  --accent-dark: #E54A10;
  --radius: 16px;
  --max: 900px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Jost", system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header: logo only */
header { padding: 28px 0 0; display: flex; justify-content: center; }
header img { width: 48px; height: 48px; }

/* Hero */
.hero { text-align: center; padding: 40px 0 0; }
.eyebrow {
  display: inline-block;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 2px solid var(--accent);
  background: rgba(255,91,31,.08);
  border-radius: 999px;
  padding: 10px 26px;
  margin: 0 0 28px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 14px;
  vertical-align: 3px;
  box-shadow: 0 0 12px var(--accent);
}
h1 {
  font-weight: 700;
  font-size: clamp(38px, 7.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 0 auto 26px;
  max-width: 900px;
  text-wrap: balance;
}
h1 em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  letter-spacing: 0;
  color: var(--accent);
}
.sub {
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 22px);
  max-width: 700px;
  margin: 0 auto;
}

/* Video */
.watch {
  margin: 40px 0 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.watch span { color: var(--accent); }
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(255,91,31,.28);
}
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video video { object-fit: contain; background: #000; }
.video .placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: var(--muted); font-size: 15px; letter-spacing: .04em;
}
.video .placeholder .play {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.video .placeholder .play::after {
  content: ""; margin-left: 5px;
  border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent;
}

/* Call to action */
.cta { text-align: center; padding: 34px 0 0; }
.cta p { margin: 0 auto 24px; max-width: 600px; font-size: 20px; }
.button {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
  padding: 20px 38px;
  border-radius: 999px;
  box-shadow: 0 12px 30px -12px rgba(255,91,31,.7);
  transition: background .15s ease, transform .15s ease;
}
.button:hover { background: var(--accent-dark); transform: translateY(-1px); }
.button::after { content: "→"; font-weight: 400; }
.button.dark { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); box-shadow: none; }
.button.dark:hover { background: var(--ink); color: var(--bg); }

/* Calendly */
.book { padding: 72px 0 0; }
.book h2 {
  text-align: center;
  font-weight: 700;
  font-size: clamp(28px, 4.4vw, 40px);
  letter-spacing: -.01em;
  margin: 0 0 6px;
}
.book .hint { text-align: center; color: var(--muted); font-size: 16px; margin: 0 0 22px; }
.calendly-inline-widget {
  min-width: 280px;
  height: 1060px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

/* Booking details on the thank-you page (only when Calendly passes them) */
.booked {
  display: none;
  margin: 28px auto 0;
  max-width: 520px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: left;
  font-size: 16px;
}
.booked strong { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

/* Footer + disclaimer */
footer { padding: 88px 0 40px; }
footer .rule { height: 1px; background: var(--line); margin-bottom: 24px; }
.disclaimer { font-size: 12px; line-height: 1.6; color: var(--muted); margin: 0 0 14px; }
.legal { font-size: 12px; color: var(--muted); margin: 0; }

@media (max-width: 560px) {
  body { font-size: 17px; }
  .hero { padding-top: 28px; }
  .eyebrow { font-size: 16px; letter-spacing: .08em; padding: 9px 18px; white-space: nowrap; }
  .eyebrow::before { margin-right: 10px; }
  .button { width: 100%; justify-content: center; padding: 17px 24px; }
  .calendly-inline-widget { height: 1150px; }
}
