:root {
  --background: #f8fafc;
  --foreground: #172554;
  --muted: #64748b;
  --primary: #1d4ed8;
  --primary-strong: #1e3a8a;
  --secondary: #eff6ff;
  --border: #dbeafe;
  --card: #ffffff;
  --cta: #25c800;
  --cta-text: #ffffff;
  --cta-shadow: rgba(0, 0, 0, 0.42);
  --footer: #172554;
  --footer-muted: #bfdbfe;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--foreground);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
}

.live-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  border-bottom: 1px solid rgba(29, 78, 216, 0.14);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.live-bar-inner {
  display: flex;
  width: 100%;
  max-width: 448px;
  min-height: 48px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 16px;
  color: #0f172a;
  font-size: 13px;
  line-height: 1.25;
  text-align: left;
}

.live-bar strong {
  color: #0f172a;
  font-weight: 900;
}

.live-bar span:not(.live-dot) {
  display: inline;
}

.live-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
  animation: pulse-live 1.45s ease-out infinite;
}

@keyframes pulse-live {
  70% {
    box-shadow: 0 0 0 9px rgba(22, 163, 74, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

.hero {
  display: flex;
  width: 100%;
  max-width: 448px;
  margin: 0 auto;
  padding: 32px 20px 40px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: #0f172a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 360px;
  margin: 0;
  color: #0f172a;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.intro {
  max-width: 310px;
  margin: 20px 0 0;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.6;
}

.hero .eyebrow,
.hero h1,
.hero .intro {
  color: #000000 !important;
}

.video-shell {
  width: 100%;
  margin-top: 32px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--primary);
  box-shadow: 0 12px 28px -14px var(--primary);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: var(--primary-strong);
}

.wistia_embed {
  width: 100%;
  height: 100%;
}

.vsl-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  height: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

.vsl-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #1d9fbe 0%, #32c5db 100%);
  transition: transform 420ms linear;
}

.cta {
  display: flex;
  width: 100%;
  min-height: 58px;
  margin-top: 28px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--cta);
  box-shadow:
    0 6px 0 #168600,
    0 10px 13px var(--cta-shadow);
  color: var(--cta-text);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  padding: 14px 20px;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
  transition:
    opacity 240ms ease,
    transform 150ms ease,
    box-shadow 150ms ease;
}

.cta-hidden {
  height: 0;
  min-height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  padding-bottom: 0;
  padding-top: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.cta-visible {
  height: auto;
  min-height: 58px;
  margin-top: 28px;
  opacity: 1;
  overflow: visible;
  padding: 14px 20px;
  pointer-events: auto;
}

.cta:active {
  transform: translateY(4px);
  box-shadow:
    0 2px 0 #168600,
    0 5px 10px rgba(0, 0, 0, 0.36);
}

@keyframes cta-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 6px 0 #168600,
      0 10px 13px rgba(0, 0, 0, 0.42);
  }

  50% {
    transform: scale(1.035);
    box-shadow:
      0 6px 0 #168600,
      0 12px 20px rgba(37, 200, 0, 0.35);
  }
}

.watch-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.comments-section {
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--secondary) 55%, white);
  padding: 40px 20px;
}

.section-inner {
  width: 100%;
  max-width: 448px;
  margin: 0 auto;
}

h2 {
  margin: 12px 0 0;
  color: var(--primary);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  text-align: center;
}

.facebook-comments {
  display: flex;
  margin-top: 28px;
  flex-direction: column;
  gap: 14px;
}

.fb-comment {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 9px;
  text-align: left;
}

.fb-comment.reply {
  margin-left: 48px;
  grid-template-columns: 34px minmax(0, 1fr);
}

.avatar {
  width: 42px;
  height: 42px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background-image: url("./assets/comment-avatars.png");
  background-repeat: no-repeat;
  background-size: 400% 200%;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.18);
}

.reply .avatar {
  width: 34px;
  height: 34px;
}

.avatar-1 { background-position: 0% 0%; }
.avatar-2 { background-position: 33.333% 0%; }
.avatar-3 { background-position: 66.666% 0%; }
.avatar-4 { background-position: 100% 0%; }
.avatar-5 { background-position: 0% 100%; }
.avatar-6 { background-position: 33.333% 100%; }
.avatar-7 { background-position: 66.666% 100%; }
.avatar-8 { background-position: 100% 100%; }

.comment-body {
  position: relative;
  min-width: 0;
}

.comment-bubble {
  display: inline-block;
  max-width: 100%;
  border-radius: 18px;
  background: #f0f2f5;
  color: #050505;
  padding: 9px 12px 10px;
}

.comment-name {
  margin: 0 0 2px;
  color: #050505;
  font-size: 13px;
  font-weight: 800;
}

.comment-bubble p:not(.comment-name) {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.comment-meta {
  display: flex;
  gap: 12px;
  margin: 4px 0 0 12px;
  color: #65676b;
  font-size: 12px;
  font-weight: 700;
}

.reaction-pill {
  position: absolute;
  right: 4px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
  color: #65676b;
  font-size: 11px;
  line-height: 1;
  padding: 3px 6px;
}

.more-comments {
  display: block;
  margin: 24px auto 0;
  border: 0;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  padding: 0;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--primary) 30%, transparent);
  text-underline-offset: 4px;
}

.footer {
  background: var(--footer);
  color: #ffffff;
  padding: 32px 20px;
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: 14px;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  color: var(--footer-muted);
  font-size: 11px;
}

.legal-links a {
  text-underline-offset: 2px;
}

.disclaimer {
  max-width: 384px;
  margin: 28px auto 0 !important;
  color: var(--footer-muted);
  font-size: 10px !important;
  line-height: 1.6;
}

@media (max-width: 360px) {
  .hero,
  .comments-section,
  .footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: 30px;
  }

  .cta {
    font-size: 15px;
  }
}
