:root {
  --bg: #F5F5F2;
  --bg-card: #FFFFFF;
  --ink: #0A0F0A;
  --ink-2: #1A2420;
  --muted: #6B7169;
  --line: rgba(10,15,10,0.10);
  --brand: #0F8A3C;
  --brand-2: #13a84a;
  --brand-deep: #0B2D16;
  --brand-dark-bg: #0A1810;
  --chip: #E8F3EC;
  --maxw: 1240px;
  --pad-x: clamp(20px, 4vw, 64px);
  --shadow-sm: 0 1px 3px rgba(10,15,10,0.06), 0 2px 8px rgba(10,15,10,0.04);
  --shadow-md: 0 4px 12px rgba(10,15,10,0.08), 0 16px 36px rgba(10,15,10,0.08);
  --shadow-lg: 0 30px 60px rgba(10,15,10,0.18), 0 10px 24px rgba(15,138,60,0.10);
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 0;
}
@media (max-width: 780px) { body { padding-bottom: 92px; } }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
a { color: var(--brand); text-decoration: none; }

/* ---------- Section primitives ---------- */
.section { padding: clamp(56px, 8vw, 120px) var(--pad-x); position: relative; }
.container { max-width: var(--maxw); margin: 0 auto; position: relative; }
.container.narrow { max-width: 880px; }

.section.dark { background: var(--brand-dark-bg); color: #F5F5F2; }
.section.dark .h-display, .section.dark .h2, .section.dark .h-sub { color: #FFFFFF; }
.section.dark .h-sub { color: rgba(245,245,242,0.78); }
.section.dark .eyebrow { color: #FFFFFF; }
.section.dark .eyebrow::before { background: var(--brand-2); }
.section.dark .outline-display {
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.92);
}

/* ---------- Type ---------- */
.eyebrow {
  font-size: 13px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink); font-weight: 700;
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
.eyebrow::before {
  content: ""; width: 28px; height: 3px; background: var(--brand); border-radius: 2px;
}
.eyebrow.center {
  justify-content: center;
}
.eyebrow.center::before { display: none; }
.eyebrow.center::after { display: none; }

.h-display {
  font-weight: 900;
  font-size: clamp(40px, 7vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  color: var(--ink);
}
.h2 {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--ink);
}
.h2.center { text-align: center; }

.h-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 28px;
  line-height: 1.55;
}
.h-sub.center { margin-left: auto; margin-right: auto; text-align: center; }
.h-sub.small { font-size: 15px; line-height: 1.55; }

.outline-display {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  font-weight: 900;
}
.green { color: var(--brand); }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(72px, 11vw, 140px);
  padding-bottom: clamp(40px, 6vw, 80px);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(15,138,60,0.10) 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 90%, rgba(15,138,60,0.07) 0%, transparent 55%),
    var(--bg);
}
.hero .container { max-width: 980px; }
.hero-meta-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 28px 0 32px;
}
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-card); color: var(--ink); font-weight: 600; font-size: 13px;
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.cta-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--brand); color: #fff !important;
  padding: 18px 30px; border-radius: 14px;
  font-weight: 800; font-size: 17px; letter-spacing: -0.005em;
  box-shadow: 0 12px 28px rgba(15,138,60,0.32);
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}
.cta-primary:hover { transform: translateY(-2px); background: var(--brand-2); box-shadow: 0 18px 36px rgba(15,138,60,0.42); }
.cta-primary:active { transform: translateY(0); }
.cta-primary .arrow {
  display: inline-block; transition: transform 0.14s ease;
}
.cta-primary:hover .arrow { transform: translateX(4px); }

/* ---------- Video sections ---------- */
.video-section .eyebrow.center { margin-left: auto; margin-right: auto; }
.video-section .h2.center { margin-bottom: 8px; }
.video-section .h-sub.center.small { margin-bottom: 28px; }

.video-wrap {
  position: relative; width: 100%; aspect-ratio: 16/9;
  max-width: 880px;
  margin: 18px auto 0;
  border-radius: 22px; overflow: hidden;
  background: #0A0F0A;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.video-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; padding: 0; background: #0A0F0A;
  display: block;
  cursor: pointer;
}
.video-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.03) saturate(0.97);
  transition: transform 0.4s ease;
}
.video-thumb:hover img { transform: scale(1.02); }
.play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%);
  transition: background 0.18s ease;
  pointer-events: none;
}
.video-thumb:hover .play-overlay { background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.65) 100%); }
.video-thumb:hover svg circle { fill: #13a84a; }
.video-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px 24px;
  font-weight: 800; font-size: 17px; color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0) 100%);
  text-align: left;
  letter-spacing: -0.005em;
}

/* Smaller grid tiles */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1080px;
  margin: 28px auto 0;
}
.video-thumb.small {
  position: relative; inset: auto;
  width: 100%; height: auto;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.video-thumb.small:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.video-thumb.small .video-caption {
  padding: 14px 16px;
  font-size: 14px;
}

@media (max-width: 780px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
}

/* ---------- Proof wall ---------- */
.proof-section {
  background: linear-gradient(180deg, var(--bg) 0%, #EFEFEA 100%);
}
.proof-section .eyebrow.center { margin-bottom: 14px; }
.proof-section .h-sub.center.small { margin-bottom: 28px; }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 16px;
  margin-top: 18px;
}
.proof-tile {
  position: relative;
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.proof-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(15,138,60,0.30); }
.proof-tile img {
  width: 100%; height: 100%; max-height: 280px;
  object-fit: cover; object-position: top;
  background: #f0f0ec;
  flex: 1;
}
.proof-tile figcaption {
  position: relative;
  padding: 14px 16px;
  font-size: 14px; font-weight: 700; color: var(--ink);
  border-top: 1px solid var(--line);
  background: var(--bg-card);
  letter-spacing: -0.005em;
}
.proof-tile figcaption::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--brand); border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  transform: translateY(-1px);
}
.proof-tile.feature {
  grid-column: span 2;
  grid-row: span 2;
}
.proof-tile.feature figcaption {
  font-size: 17px; padding: 18px 22px;
}
.proof-tile.feature img { max-height: none; }

@media (max-width: 780px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; grid-auto-rows: minmax(120px, auto); }
  .proof-tile.feature { grid-column: span 2; grid-row: auto; }
  .proof-tile img { max-height: 220px; }
}
@media (max-width: 480px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-tile.feature { grid-column: auto; }
}

/* ---------- Calendar section (light, prominent, top of page) ---------- */
.book-section {
  background: var(--bg);
  padding-top: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(56px, 8vw, 100px);
  position: relative;
}
.book-section::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(15,138,60,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.book-section .container.narrow { position: relative; }

.cal-wrap {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  margin-top: 22px;
}
.cal-wrap iframe {
  display: block;
  width: 100%;
  border: none;
  /* Generous desktop default - GHL's form_embed.js will resize down if needed */
  min-height: 820px;
}

/* Taller min-height on mobile/tablet since GHL widget stacks vertically */
@media (max-width: 900px) {
  .cal-wrap iframe { min-height: 980px; }
}
@media (max-width: 640px) {
  .cal-wrap iframe { min-height: 1120px; }
}
@media (max-width: 420px) {
  .cal-wrap iframe { min-height: 1240px; }
}

/* ---------- Trust steps (what happens on call) ---------- */
.trust-section {
  background: var(--brand-dark-bg);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.trust-section::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(19,168,74,0.10) 0%, transparent 60%),
    radial-gradient(600px 300px at 10% 100%, rgba(15,138,60,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.trust-section .container { position: relative; }
.trust-section .eyebrow { color: #fff; }
.trust-section .eyebrow::before { background: var(--brand-2); }
.trust-section .h2 { color: #fff; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 38px;
}
.trust-step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  position: relative;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.trust-step:hover {
  transform: translateY(-3px);
  border-color: rgba(19,168,74,0.50);
  background: rgba(255,255,255,0.06);
}
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--brand-2);
  margin-bottom: 18px;
}
.step-title {
  font-size: 22px; font-weight: 800; letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 10px;
}
.step-body {
  font-size: 15px; line-height: 1.55;
  color: rgba(245,245,242,0.78);
  margin: 0;
}
@media (max-width: 780px) {
  .trust-grid { grid-template-columns: 1fr; gap: 14px; }
  .trust-step { padding: 22px 20px; }
}

/* ---------- Final CTA strip ---------- */
.final-cta-strip {
  background: linear-gradient(180deg, #EFEFEA 0%, var(--bg) 100%);
  padding-top: clamp(56px, 8vw, 100px);
  padding-bottom: clamp(80px, 10vw, 140px);
}
.center-stack {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 8px;
}
.final-cta-strip .cta-primary { margin-top: 18px; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  bottom: 14px; left: 50%; transform: translateX(-50%);
  display: none;
  align-items: center; justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--brand); color: #fff !important;
  font-weight: 700; font-size: 14px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(15,138,60,0.40), 0 2px 6px rgba(0,0,0,0.10);
  z-index: 90;
  white-space: nowrap;
}
.sticky-cta:active { transform: translateX(-50%) translateY(1px); }
@media (max-width: 780px) {
  .sticky-cta { display: inline-flex; }
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.05s; }
.reveal.d2 { transition-delay: 0.10s; }
.reveal.d3 { transition-delay: 0.15s; }
.reveal.d4 { transition-delay: 0.20s; }
.reveal.d5 { transition-delay: 0.25s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
