/* RESILIENCELabs landing ~ built on the Dr. Jason Marr brand system (evoke-style-guide) */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold: #d0b868; --gold-deep: #b89a4a;
  --ink: #1b1e23; --ink-soft: #23272e; --slate: #44505c;
  --cream: #f6f3ec; --off-white: #fbfaf6;
  --gray: #5a5e66; --gray-light: #8a8e96;
  --line: #e6e1d6; --line-dark: #34373d;
  --red: #c0564a;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink); background: var(--off-white);
  line-height: 1.65; font-size: 16px;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
.container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 760px; }

h1 { font-size: clamp(2.7rem, 6vw, 4.6rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.038em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; line-height: 1.07; letter-spacing: -0.028em; margin-bottom: 18px; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.74rem; font-weight: 700; color: var(--gold-deep); margin-bottom: 16px; }
.lead { font-size: 1.12rem; color: var(--gray); max-width: 680px; }
.lead-light { color: rgba(255,255,255,0.8); }
strong { font-weight: 700; } em { font-style: italic; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* BUTTONS */
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 0.96rem; padding: 16px 34px; border-radius: 8px; cursor: pointer; transition: all .25s ease; border: 1.5px solid transparent; }
.btn-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost-light:hover { border-color: #fff; }
.btn-sm { padding: 11px 22px; font-size: 0.88rem; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 20px 0; transition: background .4s ease, backdrop-filter .4s ease, padding .4s ease; }
.nav.scrolled { background: rgba(20,22,26,0.86); backdrop-filter: blur(12px); padding: 12px 0; box-shadow: 0 1px 0 rgba(255,255,255,0.06); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; gap: 24px; }
.nav-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-mark { height: 30px; width: auto; }
.nav-brand-text { color: #fff; font-weight: 700; font-size: 0.98rem; letter-spacing: -0.01em; white-space: nowrap; }
.nav-brand-text em { color: var(--gold); font-style: normal; font-weight: 500; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.74); text-decoration: none; font-size: 0.88rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--gold); }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.hero-bg { position: absolute; inset: -10% 0; background-image: url('assets/hero-03.jpg'); background-size: cover; background-position: center 28%; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,17,20,0.94) 0%, rgba(15,17,20,0.78) 42%, rgba(15,17,20,0.42) 100%); }
.hero-content { position: relative; padding-top: 110px; padding-bottom: 64px; color: #fff; }
.hero-mark { height: 58px; width: auto; margin-bottom: 26px; }
.hero-accent { color: var(--gold); }
.hero h1 { margin-bottom: 24px; max-width: 16ch; }
.hero-sub { font-size: 1.18rem; max-width: 600px; color: rgba(255,255,255,0.84); margin-bottom: 30px; }
/* VSL (YouTube facade ~ loads the player only on click) */
.vsl { position: relative; width: 100%; max-width: 600px; aspect-ratio: 16 / 9; border-radius: 14px; margin: 0 0 34px; overflow: hidden; border: 1px solid var(--line-dark); background: #14161a; box-shadow: 0 26px 64px rgba(0,0,0,0.5); display: grid; place-items: center; cursor: pointer; }
.vsl-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vsl::before { content: ""; position: absolute; inset: 0; background: rgba(15,17,20,0.30); transition: background .25s ease; z-index: 1; }
.vsl:hover::before { background: rgba(15,17,20,0.12); }
.vsl-inner { position: relative; z-index: 2; text-align: center; }
.vsl-play { width: 74px; height: 74px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; margin: 0 auto; box-shadow: 0 8px 30px rgba(0,0,0,0.5); transition: transform .25s ease; }
.vsl:hover .vsl-play { transform: scale(1.07); }
.vsl-play::before { content: ""; border-style: solid; border-width: 12px 0 12px 21px; border-color: transparent transparent transparent var(--ink); margin-left: 5px; }
.vsl iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 4; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; }
.pill { border: 1px solid rgba(255,255,255,0.26); border-radius: 100px; padding: 9px 18px; font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,0.9); }
.hero-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.hero-scroll { color: rgba(255,255,255,0.7); text-decoration: none; font-weight: 500; font-size: 0.92rem; }
.hero-scroll:hover { color: var(--gold); }

/* SECTIONS */
.section { padding: 94px 0; }
.section-cream { background: var(--cream); }
.section-ink { background: var(--ink); color: #fff; }
.section-ink h2 { color: #fff; }

/* COMPARE */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 44px 0 0; }
.compare-card { background: #fff; border-radius: 14px; padding: 32px; border: 1px solid var(--line); }
.compare-tag { display: inline-block; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; font-weight: 700; padding: 5px 12px; border-radius: 6px; margin-bottom: 18px; }
.compare-yes { border-top: 4px solid var(--gold); }
.compare-yes .compare-tag { background: rgba(208,184,104,0.18); color: var(--gold-deep); }
.compare-no { border-top: 4px solid var(--red); }
.compare-no .compare-tag { background: rgba(192,86,74,0.12); color: var(--red); }
.compare-card ul { list-style: none; }
.compare-card li { padding: 11px 0 11px 28px; position: relative; color: var(--gray); border-bottom: 1px solid var(--line); }
.compare-card li:last-child { border-bottom: none; }
.compare-yes li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-deep); font-weight: 800; }
.compare-no li::before { content: "✕"; position: absolute; left: 0; color: var(--red); font-weight: 800; }

/* STEPS */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px 30px; }
.step-num { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 1.2rem; margin-bottom: 18px; }
.step p { color: var(--gray); font-size: 0.98rem; }

/* WHO (checklist) */
.checklist { list-style: none; margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checklist li { display: flex; align-items: flex-start; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; color: var(--gray); font-size: 1rem; }
.check { flex-shrink: 0; width: 26px; height: 26px; display: grid; place-items: center; background: var(--gold); color: var(--ink); border-radius: 7px; font-weight: 800; font-size: 0.9rem; }

/* DOCTOR PHOTO BAND */
.doc-band { position: relative; border-radius: 18px; overflow: hidden; min-height: 380px; display: flex; align-items: center; }
.doc-bg { position: absolute; inset: -8% 0; background-image: url('assets/marr-02.jpg'); background-size: cover; background-position: center 30%; }
.doc-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,17,20,0.92), rgba(15,17,20,0.5) 70%, rgba(15,17,20,0.3)); }
.doc-content { position: relative; padding: 54px; color: #fff; max-width: 560px; }
.doc-mark { height: 42px; margin-bottom: 18px; }
.doc-content h2 { font-size: 1.9rem; margin-bottom: 14px; }
.doc-content p { color: rgba(255,255,255,0.84); font-size: 1.02rem; }

/* CTA FORM */
.cta-wrap { max-width: 480px; }
form { display: grid; gap: 14px; margin-top: 36px; text-align: left; }
label { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-light); margin-bottom: 6px; display: block; }
input { width: 100%; padding: 15px 16px; border-radius: 8px; border: 1px solid var(--line-dark); background: var(--ink-soft); color: #fff; font-family: inherit; font-size: 1rem; }
input:focus { outline: none; border-color: var(--gold); }
form .btn { border: none; cursor: pointer; margin-top: 8px; width: 100%; }
.note { font-size: 0.84rem; color: var(--gray-light); margin-top: 14px; }

/* FOOTER */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 56px 0; text-align: center; }
.footer-mark { height: 40px; margin-bottom: 18px; }
.footer strong { color: #fff; }
.footer-sub { font-size: 0.86rem; color: rgba(255,255,255,0.42); margin-top: 8px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links a:not(.btn) { display: none; }
  .compare-grid, .steps, .checklist { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .doc-content { padding: 36px 26px; max-width: none; }
  .doc-scrim { background: linear-gradient(rgba(15,17,20,0.6), rgba(15,17,20,0.9)); }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .section { padding: 52px 0; }
  .hero-content { padding-top: 96px; }
}
