/* ============================================================
   CLL Accelerator Funnel — Stylesheet
   Derived from the Clinic Launch Lab master design system:
   Warm Cream / Deep Navy / Champagne Gold / Soft Rose
   Playfair Display + DM Sans. Mobile-first, 768px breakpoint.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
  --cream:        #FAF7F2;
  --cream-dark:   #F0EBE1;
  --navy:         #1B2A4A;
  --navy-light:   #253659;
  --navy-deep:    #111D33;
  --gold:         #B8934A;
  --gold-light:   #CEAB6A;
  --gold-muted:   #B8934A26;
  --rose:         #C97B84;
  --rose-muted:   #C97B8418;
  --tint:         #D6DDE8;
  --tint-light:   #E8ECF2;
  --white:        #FFFFFF;
  --text-dark:    #2D2D2D;
  --text-medium:  #5A5A5A;
  --text-light:   #FAF7F2;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --container:    1140px;
  --container-sm: 860px;
  --radius:       10px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --shadow:       0 4px 16px rgba(27,42,74,0.06), 0 1px 3px rgba(27,42,74,0.04);
  --shadow-lg:    0 12px 40px rgba(27,42,74,0.10), 0 4px 12px rgba(27,42,74,0.05);
  --shadow-gold:  0 4px 20px rgba(184,147,74,0.18);
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.container-sm { max-width: var(--container-sm); margin: 0 auto; padding: 0 1.25rem; }

section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

h1, h2, h3 { font-family: var(--font-display); color: var(--navy); line-height: 1.18; }
h1 { font-size: clamp(2rem, 5.4vw, 3.3rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.8vw, 2.4rem); font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-lead { font-size: 1.05rem; color: var(--text-medium); max-width: 46rem; }
.center { text-align: center; }
.center .section-lead { margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--tint-light);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1.25rem; max-width: var(--container); margin: 0 auto;
}
.header-logo img { height: 44px; width: auto; }
.header-note { font-size: 0.8rem; color: var(--text-medium); display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  text-align: center;
}
.btn-gold { background: var(--gold); color: var(--white); box-shadow: var(--shadow-gold); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-block { display: block; width: 100%; }
.btn-lg { font-size: 1.08rem; padding: 1.1rem 2.3rem; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2.5rem, 6vw, 5rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: start; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub { font-size: 1.1rem; color: var(--text-medium); margin: 1.25rem 0 1.5rem; max-width: 34rem; }
.hero-ticks { list-style: none; margin-bottom: 2rem; }
.hero-ticks li {
  padding-left: 1.9rem; position: relative; margin-bottom: 0.65rem;
  color: var(--text-dark); font-size: 0.98rem;
}
.hero-ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--gold); font-weight: 700;
}
.hero-presenter-line {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.88rem; color: var(--text-medium); margin-top: 1.5rem;
}
.hero-presenter-line .avatars { display: flex; }
.hero-presenter-line .avatars img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--white); box-shadow: var(--shadow);
}
.hero-presenter-line .avatars img + img { margin-left: -12px; }

/* ---------- Registration card ---------- */
.reg-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
  border-top: 4px solid var(--gold);
}
.reg-card h3 { margin-bottom: 0.35rem; font-size: 1.35rem; }
.reg-card .reg-note { font-size: 0.88rem; color: var(--text-medium); margin-bottom: 1.25rem; }

/* ---------- Forms ---------- */
.form-row { display: grid; gap: 0.9rem; margin-bottom: 0.9rem; }
.form-field label {
  display: block; font-size: 0.82rem; font-weight: 600;
  margin-bottom: 0.3rem; color: var(--navy);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--tint);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--text-dark);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--gold-light);
  border-color: var(--gold);
  background: var(--white);
}
.form-field textarea { min-height: 110px; resize: vertical; }
.optional-tag { font-weight: 400; color: var(--text-medium); }

.form-status { margin-top: 0.9rem; font-size: 0.9rem; display: none; }
.form-status.error {
  display: block; color: #8C2F39; background: var(--rose-muted);
  padding: 0.8rem 1rem; border-radius: var(--radius);
  border: 1px solid var(--rose);
}
.form-status.error a { font-weight: 700; text-decoration: underline; color: #8C2F39; }

/* SMS Consent Section — A2P Compliance */
/* DO NOT use inline styles on consent elements */
.consent-section {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: #f7f8fa;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}
.consent-section h4 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-family: var(--font-body);
  color: var(--navy);
}
.consent-group {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.consent-group input[type="checkbox"] {
  margin-top: 0.25rem;
  min-width: 18px;
  min-height: 18px;
}
.consent-group label {
  font-size: 0.85rem;
  line-height: 1.5;
}
.form-legal {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #666;
}
.form-legal a { text-decoration: underline; }

/* ---------- Proof band ---------- */
.proof-band { background: var(--navy); padding: 2.75rem 0; }
.proof-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem;
  max-width: var(--container); margin: 0 auto; padding: 0 1.25rem;
}
.proof-stat { text-align: center; }
.proof-stat .num {
  font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--gold-light); font-weight: 700; line-height: 1.1;
}
.proof-stat .lbl { color: var(--tint); font-size: 0.85rem; margin-top: 0.3rem; }
.proof-source { text-align: center; color: var(--tint); opacity: 0.75; font-size: 0.75rem; margin-top: 1.5rem; padding: 0 1.25rem; }

/* ---------- Shift cards ---------- */
.cards-3 { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.shift-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem 1.75rem; box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}
.shift-card .num {
  font-family: var(--font-display); font-size: 2.2rem; color: var(--gold);
  font-weight: 700; line-height: 1; margin-bottom: 0.9rem;
}
.shift-card h3 { margin-bottom: 0.6rem; }
.shift-card p { color: var(--text-medium); font-size: 0.95rem; }

/* ---------- Video blocks ---------- */
.video-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--navy-deep);
}
.video-frame video { width: 100%; display: block; }
.video-caption { font-size: 0.85rem; color: var(--text-medium); margin-top: 0.75rem; text-align: center; }

/* ---------- Placeholder panels (labeled, per brief) ---------- */
.placeholder-panel {
  border: 2px dashed var(--gold);
  background: var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
  text-align: center;
  color: var(--navy);
}
.placeholder-panel h3, .placeholder-panel p { color: var(--navy); }
.placeholder-panel.ratio-video {
  aspect-ratio: 16 / 9;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.placeholder-panel .ph-tag {
  display: inline-block; background: var(--gold); color: var(--white);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem; border-radius: 999px; margin-bottom: 0.9rem;
  text-transform: uppercase;
}
.placeholder-panel p { font-size: 0.92rem; max-width: 34rem; margin: 0 auto; }

/* ---------- Presenters ---------- */
.presenters-grid { display: grid; gap: 2rem; margin-top: 2.5rem; }
.presenter-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.presenter-card img { width: 100%; height: 340px; object-fit: cover; object-position: top center; }
.presenter-card .body { padding: 1.5rem 1.5rem 1.75rem; }
.presenter-card .role { color: var(--gold); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.presenter-card h3 { margin: 0.3rem 0 0.6rem; font-size: 1.3rem; }
.presenter-card p { color: var(--text-medium); font-size: 0.92rem; }

/* ---------- Case strip ---------- */
.case-grid { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.case-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.case-card img { height: 200px; object-fit: cover; width: 100%; }
.case-card .body { padding: 1.4rem 1.4rem 1.6rem; flex: 1; }
.case-card .metric {
  font-family: var(--font-display); color: var(--gold);
  font-size: 1.5rem; font-weight: 700; line-height: 1.2;
}
.case-card .clinic { font-weight: 700; color: var(--navy); font-size: 0.95rem; margin-top: 0.4rem; }
.case-card p { color: var(--text-medium); font-size: 0.88rem; margin-top: 0.5rem; }

/* ---------- Fit section ---------- */
.fit-grid { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.fit-col { background: var(--white); border-radius: var(--radius-lg); padding: 1.9rem 1.75rem; box-shadow: var(--shadow); }
.fit-col h3 { margin-bottom: 1rem; }
.fit-col ul { list-style: none; }
.fit-col li { padding-left: 1.9rem; position: relative; margin-bottom: 0.7rem; font-size: 0.95rem; color: var(--text-medium); }
.fit-yes li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.fit-no li::before { content: "✕"; position: absolute; left: 0; color: var(--rose); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 2rem; }
.faq-list details {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 0.9rem; padding: 1.1rem 1.4rem;
}
.faq-list summary {
  font-weight: 600; color: var(--navy); cursor: pointer;
  font-size: 0.98rem; list-style: none; position: relative; padding-right: 2rem;
}
.faq-list summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 0;
  color: var(--gold); font-size: 1.3rem; font-weight: 400;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin-top: 0.75rem; color: var(--text-medium); font-size: 0.92rem; }

/* ---------- Dark CTA / navy sections ---------- */
.section-navy { background: var(--navy); }
.section-navy h2, .section-navy h3 { color: var(--text-light); }
.section-navy p, .section-navy .section-lead { color: var(--tint); }
.section-navy .eyebrow { color: var(--gold-light); }

/* ---------- Guarantee ---------- */
.guarantee-panel {
  background: var(--white); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); border-top: 4px solid var(--gold);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  max-width: var(--container-sm); margin: 2rem auto 0;
}
.guarantee-panel h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.guarantee-panel p { color: var(--text-medium); }

/* ---------- Watch page ---------- */
.watch-hero { background: var(--navy-deep); padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.watch-hero h1 { color: var(--text-light); text-align: center; margin-bottom: 0.5rem; }
.watch-hero .sub { color: var(--tint); text-align: center; max-width: 40rem; margin: 0 auto 2rem; }
.watch-player { max-width: 920px; margin: 0 auto; }
.watch-chips {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 1.75rem;
}
.watch-chips span {
  background: var(--navy-light); color: var(--tint);
  font-size: 0.8rem; padding: 0.4rem 0.9rem; border-radius: 999px;
}

/* ---------- Program summary list ---------- */
.program-list { margin-top: 2rem; display: grid; gap: 0.9rem; }
.program-item {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.1rem 1.4rem;
  display: flex; gap: 0.9rem; align-items: flex-start;
}
.program-item .dot {
  min-width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); margin-top: 0.5rem;
}
.program-item strong { color: var(--navy); }
.program-item p { color: var(--text-medium); font-size: 0.92rem; }

/* ---------- Apply page ---------- */
.apply-card {
  background: var(--white); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); padding: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 760px; margin: 2.5rem auto 0;
  border-top: 4px solid var(--gold);
}
.thank-you-block { text-align: center; padding: 2rem 0; }
.thank-you-block h2 { margin-bottom: 0.75rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep); color: var(--tint);
  padding: 2.5rem 1.25rem; text-align: center; font-size: 0.85rem;
}
.site-footer a { color: var(--gold-light); }
.site-footer .disclaimer {
  max-width: 52rem; margin: 1rem auto 0; opacity: 0.7; font-size: 0.78rem; line-height: 1.6;
}
.partner-bar {
  display: flex; gap: 2rem; align-items: center; justify-content: center;
  flex-wrap: wrap; margin-bottom: 1.5rem;
}
.partner-bar img { height: 40px; width: auto; opacity: 0.85; filter: brightness(1.6); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: var(--white); box-shadow: 0 -4px 20px rgba(27,42,74,0.15);
  padding: 0.7rem 1rem; display: block;
}
.sticky-cta .btn { width: 100%; padding: 0.85rem 1rem; font-size: 0.95rem; }

/* ---------- Desktop ---------- */
@media (min-width: 768px) {
  .header-note { display: block; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; }
  .proof-grid { grid-template-columns: repeat(4, 1fr); }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .presenters-grid { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-left: auto; margin-right: auto; }
  .case-grid { grid-template-columns: repeat(3, 1fr); }
  .fit-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row.cols-2 { grid-template-columns: 1fr 1fr; }
  .sticky-cta { display: none; }
}
