:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --text: #15181a;
  --text-muted: #5a6065;
  --text-soft: #8a9094;
  --accent: #0ea5a4;
  --accent-dark: #0d8a89;
  --accent-soft: #e6f7f6;
  --cta: #f97316;
  --cta-dark: #ea580c;
  --border: rgba(15, 24, 32, 0.08);
  --shadow-sm: 0 2px 8px rgba(15, 24, 32, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 24, 32, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 24, 32, 0.12);
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  -webkit-font-smoothing: antialiased;
}

img, video, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
button { font-family: inherit; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  z-index: 100;
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo span { color: var(--accent); }
.nav-cta {
  padding: 9px 18px;
  background: var(--cta);
  color: white;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover { background: var(--cta-dark); color: white; transform: translateY(-1px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  letter-spacing: -0.005em;
}
.btn-primary {
  background: var(--cta);
  color: white;
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.28);
}
.btn-primary:hover {
  background: var(--cta-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.36);
}
.btn-block { width: 100%; }

/* ---------- Eyebrow / Section head ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.section-head .subtitle {
  color: var(--text-muted);
  font-size: clamp(15px, 1.6vw, 17px);
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 24px 64px;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  font-size: clamp(36px, 6.4vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent) 0%, #14b8a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lede {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-bullets {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-top: 32px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-bullets li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Videos grid ---------- */
.videos {
  padding: 64px 24px 80px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: #ddd;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.card:hover img { transform: scale(1.04); }
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 45%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  color: white;
}
.badge {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card-info h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.card-info .duration {
  font-size: 13px;
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-info .duration::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: white;
}
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.card:hover .play-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.play-icon svg { width: 26px; height: 26px; fill: var(--accent); margin-left: 4px; }

/* ---------- How it works ---------- */
.how {
  padding: 80px 24px;
  background: white;
}
.steps {
  max-width: 1000px;
  margin: 0 auto;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
.step {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  text-align: left;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}
.step h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step p { color: var(--text-muted); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band {
  padding: 80px 24px;
  text-align: center;
  background: linear-gradient(135deg, var(--accent) 0%, #14b8a6 100%);
  color: white;
}
.cta-band h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.cta-band p {
  font-size: 17px;
  opacity: 0.92;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta-band .btn-primary {
  background: white;
  color: var(--cta);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}
.cta-band .btn-primary:hover { background: #fff8f3; color: var(--cta-dark); }

/* ---------- Modal (video) ---------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 0.25s ease;
}
.modal[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.28); }

#modal-video {
  max-height: 90vh;
  max-width: 90vw;
  border-radius: 12px;
  background: black;
}

/* ---------- Lightbox (email gate) ---------- */
.lightbox-content {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 36px 32px;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.lightbox-content .modal-close {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  font-size: 20px;
}
.lightbox-content .modal-close:hover { background: rgba(0, 0, 0, 0.1); }
.lightbox-content .eyebrow { margin-bottom: 8px; }
.lightbox-content h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.gate-lede {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.55;
}

.field {
  display: block;
  margin-bottom: 14px;
}
.field span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  background: white;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 164, 0.12);
}

.consent {
  display: flex;
  gap: 10px;
  margin: 18px 0 22px;
  font-size: 13px;
  color: var(--text-muted);
  align-items: flex-start;
  line-height: 1.45;
  cursor: pointer;
}
.consent input {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent a { color: var(--accent); }

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 14px;
}

.form-success {
  text-align: center;
  padding: 16px 0 8px;
}
.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.form-success h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.form-success p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------- Chat widget ---------- */
.chat-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  color: white;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(14, 165, 164, 0.42);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
  animation: pulse 2.4s ease-in-out infinite;
}
.chat-toggle svg { width: 26px; height: 26px; }
.chat-toggle:hover {
  background: var(--accent-dark);
  transform: scale(1.06);
  animation: none;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(14, 165, 164, 0.42), 0 0 0 0 rgba(14, 165, 164, 0.4); }
  50% { box-shadow: 0 10px 28px rgba(14, 165, 164, 0.42), 0 0 0 14px rgba(14, 165, 164, 0); }
}

.chat-widget[hidden] { display: none; }
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 48px);
  background: white;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  z-index: 95;
  overflow: hidden;
  animation: slideUp 0.25s ease;
}
.chat-header {
  background: var(--accent);
  color: white;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-title { display: flex; align-items: center; gap: 12px; }
.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.chat-title strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; }
.chat-title .chat-status { font-size: 12px; opacity: 0.85; }
.chat-close {
  background: transparent;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  line-height: 1;
}
.chat-close:hover { background: rgba(255, 255, 255, 0.2); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fafbfb;
}
.msg {
  padding: 10px 14px;
  border-radius: 16px;
  max-width: 82%;
  font-size: 14px;
  line-height: 1.45;
  animation: msgIn 0.2s ease;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.msg-bot {
  background: white;
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.msg-user {
  background: var(--accent);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-input {
  display: flex;
  padding: 12px;
  border-top: 1px solid var(--border);
  gap: 8px;
  background: white;
}
.chat-input input {
  flex: 1;
  padding: 11px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-family: inherit;
  background: var(--bg);
  transition: border-color 0.15s;
}
.chat-input input:focus { outline: none; border-color: var(--accent); background: white; }
.chat-input button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.chat-input button:hover { background: var(--accent-dark); }
.chat-input button svg { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #15181a;
  color: white;
  padding: 56px 24px 24px;
  margin-top: 0;
}
.footer-content {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 768px) {
  .footer-content { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
.footer-brand strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  max-width: 360px;
}
.footer-nav {
  display: flex;
  gap: 28px;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 500;
}
.footer-nav a:hover { color: white; }

.disclaimer {
  max-width: var(--maxw);
  margin: 24px auto 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  line-height: 1.5;
}
.copyright {
  max-width: var(--maxw);
  margin: 0 auto;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* ---------- Fade in on scroll ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Legal pages ---------- */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.legal-page h1 {
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.legal-page .updated {
  color: var(--text-soft);
  font-size: 14px;
  margin-bottom: 32px;
}
.legal-page h2 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.legal-page p, .legal-page li {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.legal-page ul, .legal-page ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-page strong { color: var(--text); }
.legal-page a { color: var(--accent); }

/* Contact form (same UI as gate, no backend) */
.contact-form .field { margin-bottom: 16px; }
.contact-form .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  background: white;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-form .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 164, 0.12);
}

/* ---------- Mobile fine-tuning ---------- */
@media (max-width: 640px) {
  .nav { padding: 12px 18px; }
  .hero { padding: 48px 20px 40px; }
  .videos { padding: 48px 18px 64px; }
  .how { padding: 64px 20px; }
  .cta-band { padding: 64px 20px; }
  .lightbox-content { padding: 32px 24px 24px; }
  .chat-widget { right: 16px; bottom: 16px; height: 480px; }
  .chat-toggle { right: 16px; bottom: 16px; }
  .modal { padding: 12px; }
}

/* ---------- Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
