/* Z Dub Media landing page. Colors sampled from the logo. */
:root {
  --navy: #05132A;
  --navy-2: #0A1F3D;
  --navy-line: #1A3152;
  --mint: #5FC79A;
  --mint-light: #94F2C4;
  --teal: #3F9E8A;
  --white: #FFFFFF;
  --paper: #F4F7F6;
  --ink: #0B0F14;
  --ink-soft: #3E4752;
  --line: #DDE4E2;
  --radius: 14px;
  --max: 1080px;
  --head: "Archivo", "Arial Black", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Header: logo only */
.site-header { background: var(--navy); padding: 14px 0; }
.top {
  background-color: var(--navy);
  background-image: linear-gradient(180deg, rgba(5,19,42,0) 0%, rgba(5,19,42,.12) 70%, var(--navy) 100%), url("hero-mobile.jpg");
  background-size: cover; background-position: center top;
}
.top .site-header, .top .hero { background: transparent; }
.site-header .wrap { display: flex; justify-content: center; }
.site-header img { height: 52px; width: auto; }

/* Sections */
section { padding: 64px 0; }
.dark { background: var(--navy); color: var(--white); }
.paper { background: var(--paper); }
.kicker {
  font: 600 12px/1.4 var(--body);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 14px;
}
.dark .kicker { color: var(--mint); }
h1, h2, h3 { font-family: var(--head); line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h1 { font-weight: 800; font-size: clamp(34px, 8.6vw, 58px); }
h2 { font-weight: 800; font-size: clamp(28px, 6.4vw, 42px); margin-bottom: 18px; }
h3 { font-weight: 700; font-size: 20px; margin-bottom: 8px; }
p { margin: 0 0 16px; }
.lede { font-size: 19px; color: var(--ink-soft); }
.dark .lede { color: #C9D5E3; }
.mint { color: var(--mint); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 16px 28px;
  border-radius: 999px; border: 0;
  background: var(--mint); color: var(--navy);
  font: 700 17px/1.2 var(--body); text-decoration: none;
  box-shadow: 0 8px 24px rgba(95, 199, 154, .28);
  transition: background .15s ease, transform .15s ease;
  width: 100%;
  text-align: center;
}
.btn:hover { background: var(--mint-light); }
.btn:active { background: var(--teal); transform: translateY(1px); }
.cta { text-align: center; }
.btn-note { font-size: 14px; color: #9FB0C4; margin: 12px 0 0; text-align: center; }
.on-light .btn-note, .paper .btn-note { color: var(--ink-soft); }

/* Hero */
.hero { padding: 36px 0 56px; }
.hero .wrap { text-align: center; }
.hero .lede { max-width: 680px; margin-left: auto; margin-right: auto; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .mint { text-transform: uppercase; letter-spacing: .01em; }
.hero .lede { margin-bottom: 28px; }

/* Problem section */
.stat {
  border-left: 4px solid var(--mint);
  background: var(--paper);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 22px; margin: 24px 0;
}
.stat .num { font: 800 44px/1 var(--head); color: var(--navy); margin-bottom: 6px; }
.stat p { margin: 0; }
.source { font-size: 13px; color: #6B7581; margin-top: 8px !important; }

.big-stat { text-align: center; padding: 0 0 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.big-stat .num { font: 800 clamp(84px, 26vw, 140px)/.9 var(--head); color: var(--navy); letter-spacing: -.03em; }
.meter { width: min(320px, 80%); height: 8px; border-radius: 99px; background: var(--line); margin: 22px auto 20px; overflow: hidden; }
.meter span { display: block; height: 100%; width: var(--to); border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--mint)); }
.big-stat p { font: 700 clamp(20px, 5vw, 26px)/1.3 var(--head); max-width: 560px; margin: 0 auto; }
.big-stat .source { font: 400 13px/1.4 var(--body); }

.pull {
  font: 800 clamp(22px, 5.6vw, 30px)/1.2 var(--head); color: var(--navy);
  border-left: 5px solid var(--mint); padding: 4px 0 4px 18px; margin: 8px 0 32px;
}
.evidence { background: var(--navy); color: var(--white); border-radius: 20px; padding: 26px 22px; }
.evidence-intro { color: #C9D5E3; margin-bottom: 18px; }
.evidence-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 18px; }
@media (min-width: 520px) { .evidence-grid { grid-template-columns: 1fr 1fr; } }
.ev { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--radius); padding: 18px 16px; }
.ev-num { white-space: nowrap; font: 800 clamp(28px, 7vw, 36px)/1 var(--head); color: var(--mint); margin-bottom: 8px; }
.ev p { margin: 0; font-size: 15px; line-height: 1.45; color: #C9D5E3; }
.evidence-close { margin: 0; font-weight: 700; font-size: 18px; }

/* Steps */
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.steps li {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
}
.step-head { display: flex; align-items: center; gap: 14px; }
.step-head h3 { margin: 0; }
.steps .n {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--mint);
  font: 800 20px/44px var(--head); text-align: center;
}
.steps p { margin: 0; color: var(--ink-soft); }

/* Objections */
.qa { margin-top: 28px; display: grid; gap: 14px; }
.qa article {
  background: var(--navy-2); border: 1px solid var(--navy-line);
  border-radius: var(--radius); padding: 22px;
}
.qa h3 { color: var(--white); }
.qa p { margin: 0; color: #C9D5E3; }

/* Fit */
.fit { display: grid; gap: 16px; margin-top: 24px; }
.fit div { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--white); }
.fit ul { margin: 0; padding: 0; list-style: none; }
.fit li { padding: 8px 0 8px 30px; position: relative; color: var(--ink-soft); }
.fit li::before { position: absolute; left: 0; top: 8px; font-weight: 800; }
.yes li::before { content: "\2713"; color: var(--teal); }
.no li::before { content: "\2715"; color: #B4524A; }

/* Offer */
.offer-card {
  background: var(--navy-2); border: 1px solid var(--navy-line);
  border-radius: 20px; padding: 28px 22px; margin-top: 24px;
}
.plan {
  display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: start;
  gap: 12px; padding: 4px 0 24px; margin-bottom: 8px;
  border-bottom: 1px solid var(--navy-line);
}
.plan-col { display: flex; flex-direction: column; gap: 6px; }
.plan-col + .plan-arrow + .plan-col { text-align: right; }
.plan-label { font: 600 11px/1.3 var(--body); letter-spacing: .18em; text-transform: uppercase; color: #9FB0C4; }
.plan-price { font: 800 clamp(28px, 8vw, 40px)/1 var(--head); color: var(--mint); white-space: nowrap; }
.plan-price small { font-size: .45em; font-weight: 700; color: #C9D5E3; margin-left: 2px; }
.plan-sub { font-size: 14px; line-height: 1.4; color: #C9D5E3; }
.plan-arrow {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--navy-line); color: var(--mint);
  display: grid; place-items: center; font-size: 18px;
  align-self: center;
}
.offer-card ul { list-style: none; padding: 0; margin: 0 0 22px; }
.offer-card li { padding: 10px 0 10px 32px; position: relative; border-top: 1px solid var(--navy-line); }
.offer-card li::before { content: "\2713"; position: absolute; left: 4px; color: var(--mint); font-weight: 800; }
.fine { font-size: 14px; color: #9FB0C4; }

/* Booking */
.booking { padding-bottom: 40px; }
.cal-box {
  margin-top: 24px; background: var(--white); border-radius: 18px;
  min-height: 640px; overflow: hidden;
}
#cal-inline { width: 100%; min-height: 640px; }
.cal-fallback { padding: 28px 22px; color: var(--ink); text-align: center; }
#cal-inline:has(iframe) .cal-fallback { display: none; }

/* Footer */
.site-footer { background: var(--navy); color: #8295AB; font-size: 14px; padding: 28px 0 96px; text-align: center; }
.site-footer a { color: #C9D5E3; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(5, 19, 42, .94); backdrop-filter: blur(8px);
  border-top: 1px solid var(--navy-line);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn { min-height: 50px; box-shadow: none; }

/* Thank-you + privacy */
.center { text-align: center; }
.next-steps { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; text-align: left; }
.next-steps li { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--radius); padding: 18px 20px; color: #C9D5E3; }
.next-steps strong { color: var(--white); display: block; margin-bottom: 4px; }
.legal h2 { font-size: 24px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); }

@media (min-width: 760px) {
  section { padding: 88px 0; }
  .hero { padding: 72px 0 88px; }
  .hero .wrap { text-align: center; }
  .hero .lede { max-width: 680px; margin-left: auto; margin-right: auto; }
  .btn { width: auto; }
  .site-header img { height: 60px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step-head { min-height: 56px; }
  .top { background-image: linear-gradient(180deg, rgba(5,19,42,0) 0%, rgba(5,19,42,.1) 70%, var(--navy) 100%), url("hero-desktop.jpg"); }
  .evidence { padding: 32px; }
  .qa { grid-template-columns: 1fr 1fr; }
  .fit { grid-template-columns: 1fr 1fr; }
  .offer-card { padding: 36px; }
  .sticky-cta { display: none; }
  .site-footer { padding-bottom: 28px; }
}

.offer-card li:first-child { border-top: 0; }

/* Scroll animations (motion.js). Only active when JS runs and motion is allowed. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .meter span { width: 0; transition: width 1.4s cubic-bezier(.2, .7, .2, 1) .15s; }
.js .meter.in span { width: var(--to); }
.js .steps li .n { transform: scale(.6); transition: transform .5s cubic-bezier(.3, 1.5, .5, 1) calc(var(--d, 0ms) + .2s); }
.js .steps li.in .n { transform: none; }
[data-count] { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .meter span, .js .steps li .n { opacity: 1; transform: none; transition: none; }
  .js .meter span { width: var(--to); }
}

/* Very small phones: stack the two prices so nothing runs off the card */
@media (max-width: 359px) {
  .plan { grid-template-columns: 1fr; }
  .plan-col + .plan-arrow + .plan-col { text-align: left; }
  .plan-arrow { transform: rotate(90deg); align-self: start; }
  .offer-card { padding: 24px 18px; }
}
