:root {
  --brand: #5a4dbf;
  --brand-light: #6c60d4;
  --brand-dark: #4638a8;
  --ink: #0f0f0f;
  --text: #2b2b2b;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --star: #1f9d55;
  --bg: #ffffff;

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --page-max: 880px;      /* video width */
  --headline-max: 1000px; /* headline may run a little wider than the video */
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video, iframe { display: block; max-width: 100%; }

a { color: inherit; }

/* ---------- Hero ---------- */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: calc(var(--headline-max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 28px var(--gutter) 44px;
  text-align: center;
}

.logo img {
  width: auto;
  height: 46px;
}

.headline {
  max-width: var(--headline-max);
  margin: 22px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.2rem + 3.6vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

/* ---------- Video ---------- */

.vsl {
  position: relative;
  width: 100%;
  max-width: var(--page-max);
  margin-top: 28px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 24px 60px -12px rgba(0, 0, 0, 0.28);
}

/* ---------- CTA ---------- */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 560px;
  min-height: 74px;
  margin-top: 24px;
  padding: 16px 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--brand-light) 0%, var(--brand) 55%, var(--brand-dark) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.125rem, 0.9rem + 1vw, 1.5rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 12px 32px -6px rgba(90, 77, 191, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 16px 40px -6px rgba(90, 77, 191, 0.65);
}

.cta:active { transform: translateY(0); }

.cta:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.cta-arrow {
  flex: none;
  transition: transform 0.15s ease;
}

.cta:hover .cta-arrow { transform: translateX(3px); }

/* ---------- Social proof ---------- */

.proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 0;
  color: var(--text);
  font-size: 15px;
}

.stars {
  display: inline-flex;
  gap: 2px;
}

.stars svg {
  width: 18px;
  height: 18px;
  fill: var(--star);
}

/* ---------- Footer ---------- */

.footer {
  padding: 44px var(--gutter) 56px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-name {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--text);
  font-size: 13px;
}

.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-links span { color: var(--muted); }

.footer-legal {
  max-width: 780px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.footer-legal p { margin: 0; }
.footer-legal p + p { margin-top: 10px; }

/* ---------- Small screens ---------- */

/* The forced question / answer break only fits once the headline has its full width. */
@media (max-width: 1023px) {
  .headline-break { display: none; }
}

@media (max-width: 600px) {
  .hero { padding-top: 24px; }
  .logo img { height: 32px; }
  .headline { margin-top: 20px; }
  .vsl { margin-top: 24px; border-radius: 10px; }
  .cta { min-height: 64px; margin-top: 20px; }
  .proof { margin-top: 22px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .cta, .cta-arrow { transition: none; }
}
