/* The XP Mentorship · production stylesheet
   Palette/type/spacing lifted from the approved Claude Design prototype
   (project/The XP Mentorship.dc.html); DC-runtime bindings replaced with
   real classes, :hover / :focus-visible states and media queries. */

:root {
  --navy: #0A192F;
  --navy-hover: #16304f;
  --blue: #2563EB;
  --blue-hover: #1D4ED8;
  --blue-100: #DBEAFE;
  --blue-50: #EFF6FF;
  --blue-200: #93C5FD;
  --gold: #C5A059;
  --bg: #FAFBFC;
  --surface: #fff;
  --text: #111827;
  --text-2: #374151;
  --text-3: #6B7280;
  --text-4: #9CA3AF;
  --border: #E5E7EB;
  --border-2: #F3F4F6;
  --success: #059669;
  --success-bg: #ECFDF5;
  --success-border: #A7F3D0;
  --success-text: #064E3B;
  --font-serif: 'Crimson Pro', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  background-image:
    linear-gradient(var(--navy) 1px, transparent 1px),
    linear-gradient(90deg, var(--navy) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  background-position: -1px -1px, -1px -1px;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--bg);
  opacity: .97;
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; }
p { text-wrap: pretty; margin: 0; }
b, strong { font-weight: 600; color: var(--navy); }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
::selection { background: var(--blue-100); }
input[type=range] { accent-color: var(--blue); }

.xp-app { position: relative; z-index: 1; overflow-x: hidden; }

/* ---------- reveal-on-scroll ---------- */
[data-reveal] { transition: opacity .7s ease-out, transform .7s ease-out; }
[data-reveal].xp-hidden { opacity: 0; transform: translateY(20px); }

@keyframes xpPulse {
  0%, 100% { box-shadow: inset 3px 0 0 var(--blue); }
  50% { box-shadow: inset 3px 0 0 var(--blue-200); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], [data-reveal].xp-hidden { transition: none; opacity: 1; transform: none; }
  .xp-progress, .xp-header { transition: none !important; }
}

/* ---------- progress bar + header ---------- */
.xp-progress {
  position: fixed; top: 0; left: 0; height: 2px; background: var(--blue);
  z-index: 90; transition: width .1s linear; width: 0%;
}

.xp-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  background: rgba(250, 251, 252, .9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: transform .3s ease-out;
  transform: translateY(-101%);
}
.xp-header.is-visible { transform: translateY(0); }
.xp-header-inner {
  max-width: 1200px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 20px;
}
.xp-wordmark {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; color: var(--navy); white-space: nowrap;
}
.xp-header-center { flex: 1; display: flex; justify-content: center; position: relative; }
.xp-level-btn {
  display: flex; align-items: center; gap: 8px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 4px; padding: 7px 12px;
  cursor: pointer; font-size: 13px; color: var(--text); max-width: 340px; overflow: hidden;
}
.xp-level-btn:hover { border-color: var(--blue); }
.xp-level-btn .tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: var(--text-3); }
.xp-level-btn .label { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xp-level-btn .caret { color: var(--blue); font-size: 10px; }

.xp-menu {
  position: absolute; top: 44px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 4px; box-shadow: 0 8px 24px rgba(10, 25, 47, .1); width: 320px; overflow: hidden; z-index: 5;
}
.xp-menu-item {
  display: flex; width: 100%; gap: 10px; align-items: baseline; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--border-2); padding: 11px 14px; cursor: pointer;
}
.xp-menu-item:hover { background: var(--blue-50); }
.xp-menu-item .tag { font-family: var(--font-mono); font-size: 11px; color: var(--blue); font-weight: 500; }
.xp-menu-item .t { flex: 1; font-size: 13.5px; color: var(--text); }
.xp-menu-item .s { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }

.btn-wa {
  background: var(--blue); color: #fff; padding: 10px 18px; border-radius: 2px;
  font-size: 14px; font-weight: 600; white-space: nowrap; display: inline-block;
}
.btn-wa:hover { background: var(--blue-hover); color: #fff; }

/* ---------- layout helpers ---------- */
.wrap-1200 { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-1100 { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.wrap-900 { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.wrap-820 { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.wrap-760 { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.kicker {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .13em;
  color: var(--text-3); text-transform: uppercase;
}
.kicker.blue { color: var(--blue); }
.kicker.gold { color: var(--gold); }
.kicker.green { color: var(--success); }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; color: var(--navy); margin: 0; }
em.accent { display: block; font-style: italic; font-weight: 400; color: var(--blue); margin-top: .18em; }
em.accent.inline { display: inline; margin: 0; }

/* ---------- hero ---------- */
.hero { padding: 96px 24px clamp(56px, 7vw, 96px); }
.hero-inner { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: flex-start; }
.hero-left { flex: 1 1 480px; min-width: 300px; }
.hero-eyebrow { line-height: 1.9; max-width: 520px; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.04; letter-spacing: -.022em; margin-top: 24px; }
.hero-body { font-size: 1.125rem; line-height: 1.65; color: var(--text-2); max-width: 46ch; margin-top: 28px; }
.trust-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.trust-pill {
  display: flex; align-items: center; gap: 9px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 4px; padding: 10px 13px;
}
.trust-pill .mark { color: var(--success); font-size: 13px; font-weight: 700; }
.trust-pill .mark.gold { color: var(--gold); font-size: 11px; }
.trust-pill span.txt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; color: var(--navy); font-weight: 500; }

.hero-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 36px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px; background: var(--navy); color: #fff;
  padding: 19px 34px; border-radius: 2px; font-size: 1.0625rem; font-weight: 600;
  transition: background .2s ease-out; border: 0; cursor: pointer;
}
.btn-primary:hover { background: var(--navy-hover); color: #fff; }
.btn-primary .arrow { display: inline-block; transition: transform .2s ease-out; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.link-secondary { font-size: .9375rem; color: var(--text-3); border-bottom: 1px solid #D1D5DB; padding-bottom: 2px; }
.link-secondary:hover { color: var(--blue); border-color: var(--blue); }

.hero-right { flex: 1 1 340px; min-width: 280px; position: relative; }
.portrait-card { position: relative; border: 1px solid var(--border); background: var(--navy); }
.portrait-card img { display: block; width: 100%; height: auto; }
.portrait-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px;
  background: linear-gradient(to top, rgba(10, 25, 47, .92), rgba(10, 25, 47, 0));
}
.portrait-caption .name { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--gold); }
.portrait-caption .role { font-family: var(--font-serif); font-size: 1.25rem; color: #fff; margin-top: 2px; }

.credential-card {
  background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--success);
  border-radius: 4px; padding: 16px 18px; margin: -28px 0 0 auto; width: min(300px, 92%);
  position: relative; box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}
.credential-card .row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.credential-card .row .label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .13em; color: var(--text-3); }
.credential-card .row .check { color: var(--success); font-size: 12px; font-weight: 700; }
.credential-card .title { font-family: var(--font-serif); font-size: 1.375rem; color: var(--navy); line-height: 1.2; margin-top: 8px; }
.credential-card .meta { font-size: .8125rem; color: var(--text-3); margin-top: 6px; }
.credential-card .link-btn {
  margin-top: 12px; background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--blue);
  border-bottom: 1px solid var(--blue-200);
}
.credential-card .link-btn:hover { color: var(--blue-hover); }

/* ---------- diagnostic ---------- */
.diagnostic { background: var(--blue-50); border-top: 1px solid var(--blue-100); border-bottom: 1px solid var(--blue-100); padding: clamp(64px, 8vw, 104px) 24px; }
.diagnostic h2 { font-size: clamp(1.875rem, 3.4vw, 2.875rem); line-height: 1.1; letter-spacing: -.018em; margin-top: 14px; max-width: 640px; }
.diag-cards { display: flex; gap: 16px; margin-top: 40px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.diag-card {
  flex: 1 1 210px; min-width: 210px; scroll-snap-align: start; position: relative; text-align: left;
  background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 22px 20px 20px;
  cursor: pointer; transition: transform .2s ease-out, box-shadow .2s ease-out;
  display: flex; flex-direction: column; gap: 10px;
}
.diag-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(10, 25, 47, .08); }
.diag-card.is-active::before {
  content: ''; position: absolute; inset: 0; border-radius: 4px; background: var(--blue-50);
  box-shadow: inset 3px 0 0 var(--blue); animation: xpPulse 2.6s ease-in-out infinite; pointer-events: none;
}
.diag-card .top-row { position: relative; display: flex; align-items: baseline; justify-content: space-between; }
.diag-card .tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .13em; color: var(--text-3); }
.diag-card .selected { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; color: var(--blue); font-weight: 700; }
.diag-card .big { position: relative; font-family: var(--font-serif); font-size: 3rem; line-height: .9; color: var(--navy); font-weight: 300; }
.diag-card .t { position: relative; font-size: 1.0625rem; font-weight: 600; color: var(--navy); }
.diag-card .d { position: relative; font-size: .875rem; color: var(--text-3); line-height: 1.5; flex: 1; }
.diag-card .foot { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; }
.diag-card .price { font-family: var(--font-mono); font-size: .8125rem; color: var(--blue); font-weight: 500; }
.diag-card .cta { font-size: .8125rem; color: var(--text-3); }

/* ---------- inverted pricing ---------- */
.inverted { background: var(--navy); color: #E5E7EB; padding: clamp(64px, 8vw, 112px) 24px; }
.inverted-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 72px); }
.inverted-left { flex: 1 1 380px; min-width: 280px; }
.inverted h2 { font-size: clamp(1.875rem, 3.4vw, 2.875rem); line-height: 1.1; letter-spacing: -.018em; color: #fff; margin-top: 14px; }
.inverted p { font-size: 1.0625rem; line-height: 1.7; color: #9CA3AF; margin-top: 22px; max-width: 44ch; }
.inverted p b { color: #fff; }
.inverted-link { display: inline-block; margin-top: 26px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--gold); border-bottom: 1px solid rgba(197, 160, 89, .4); padding-bottom: 3px; }
.inverted-link:hover { color: #fff; border-color: #fff; }
.bars { flex: 1 1 400px; min-width: 300px; display: flex; align-items: flex-end; gap: 10px; height: 300px; }
.bar-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; gap: 10px; }
.bar-col .val { font-family: var(--font-mono); font-size: 11px; color: #fff; text-align: center; font-weight: 500; }
.bar-col .fill { width: 100%; border-radius: 2px 2px 0 0; transition: height .4s ease-out, background .3s ease-out; }
.bar-col .tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: var(--text-3); text-align: center; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 8px; }

/* ---------- level content sections ---------- */
.lvl-hero { max-width: 760px; margin: 0 auto; padding: clamp(72px, 9vw, 120px) 24px 0; }
.lvl-tag-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lvl-pill { font-family: var(--font-mono); font-size: 11px; letter-spacing: .13em; color: #fff; background: var(--blue); padding: 5px 10px; border-radius: 2px; font-weight: 500; }
.lvl-pkg { font-family: var(--font-mono); font-size: 11px; letter-spacing: .13em; color: var(--text-3); text-transform: uppercase; }
.lvl-kicker { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; color: var(--text-3); text-transform: uppercase; line-height: 1.9; margin-top: 22px; }
.lvl-h2 { font-size: clamp(2.125rem, 4.2vw, 3.5rem); line-height: 1.06; letter-spacing: -.02em; margin-top: 18px; }
.lvl-mirror { margin: 44px 0 0; border-left: 2px solid var(--border); padding: 4px 0 4px 28px; }
.lvl-mirror p { font-family: var(--font-serif); font-style: italic; font-size: 1.375rem; line-height: 1.55; color: var(--text-2); }
.lvl-mirror-a { font-size: 1.25rem; line-height: 1.6; color: var(--navy); font-weight: 500; margin-top: 28px; }
.promise-list { display: flex; flex-direction: column; gap: 2px; margin-top: 48px; border-top: 1px solid var(--border); }
.promise-row { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.promise-row .arrow { font-family: var(--font-mono); color: var(--blue); font-size: 1.125rem; line-height: 1.5; }
.promise-row .txt { flex: 1; font-size: 1.0625rem; line-height: 1.65; color: var(--text-2); }

.short-guarantee { max-width: 760px; margin: 0 auto; padding: clamp(48px, 6vw, 72px) 24px 0; }
.guarantee-box { background: var(--success-bg); border: 1px solid var(--success-border); border-radius: 4px; padding: clamp(24px, 4vw, 36px); }
.guarantee-box p { font-size: 1.0625rem; line-height: 1.7; color: var(--success-text); margin-top: 16px; }
.price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin: 44px 0 0; padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.price-big { font-family: var(--font-mono); font-size: clamp(2.25rem, 5vw, 3.25rem); font-weight: 700; color: var(--blue); line-height: 1; }
.price-usd { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--text-3); margin-top: 8px; }
.price-cap-wrap { flex: 1 1 260px; min-width: 240px; }
.price-cap { font-size: .9375rem; line-height: 1.6; color: var(--text-3); }
.price-note { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; line-height: 1.8; color: var(--gold); margin-top: 10px; text-transform: uppercase; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.spots-inline { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--text-3); }
.spots-inline .dot { color: var(--gold); }

.tests-section { max-width: 1200px; margin: 0 auto; padding: clamp(72px, 9vw, 120px) 24px 0; }
.tests-kicker { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; color: var(--text-3); text-transform: uppercase; max-width: 700px; }
.tests-row { display: flex; gap: 20px; margin-top: 32px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.test-card {
  flex: 1 1 320px; min-width: 300px; scroll-snap-align: start; background: var(--surface);
  border: 1px solid var(--border); border-radius: 4px; padding: 28px 26px; margin: 0;
  display: flex; flex-direction: column; transition: transform .2s ease-out, box-shadow .2s ease-out;
}
.test-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(10, 25, 47, .07); }
.test-card .quote-mark { font-family: var(--font-serif); font-size: 3.5rem; line-height: .6; color: var(--blue-100); height: 26px; display: block; }
.test-card blockquote { flex: 1; font-family: var(--font-serif); font-style: italic; font-size: 1.1875rem; line-height: 1.5; color: var(--text); margin: 14px 0 0; }
.test-card figcaption { margin-top: 22px; }
.test-card .name { font-size: .9375rem; font-weight: 600; color: var(--navy); }
.test-card .meta { font-size: .8125rem; color: var(--text-3); margin-top: 2px; }
.test-card .badge-row { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--border-2); }
.test-card .badge-row .check { color: var(--success); font-size: 12px; font-weight: 700; line-height: 1.5; }
.test-card .badge-row .txt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; line-height: 1.7; color: var(--success); }
.tests-more { margin-top: 20px; }
.tests-more a { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--blue); text-transform: uppercase; border-bottom: 1px solid var(--blue-200); padding-bottom: 3px; }
.tests-more a:hover { color: var(--blue-hover); border-color: var(--blue); }

.trans-section { max-width: 760px; margin: 0 auto; padding: clamp(72px, 9vw, 120px) 24px 0; }
.trans-section > .lede { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.5; color: var(--navy); }
.pts-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .13em; color: var(--text-3); text-transform: uppercase; margin-top: 48px; }
.pt-block { margin: 36px 0 0; padding-top: 32px; border-top: 1px solid var(--border); }
.pt-block .n { font-family: var(--font-mono); font-size: 2.5rem; font-weight: 700; color: var(--blue-100); line-height: 1; }
.pt-block h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.22; letter-spacing: -.014em; margin-top: 16px; }
.pt-block .body { font-size: 1.0625rem; line-height: 1.75; color: var(--text-2); margin-top: 20px; }
.pt-proof {
  margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 18px;
}
.pt-proof button.thumb {
  flex: 0 0 132px; background: none; border: 1px solid var(--border); border-radius: 2px;
  padding: 0; cursor: pointer; overflow: hidden; line-height: 0;
}
.pt-proof button.thumb:hover { border-color: var(--blue); }
.pt-proof button.thumb img { display: block; width: 100%; height: 150px; object-fit: cover; object-position: top; }
.pt-proof figcaption { flex: 1 1 200px; }
.pt-proof .verified { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--success); text-transform: uppercase; }
.pt-proof .cap { font-size: .9375rem; line-height: 1.6; color: var(--text-2); margin-top: 8px; }
.pt-proof .enlarge { margin-top: 10px; background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--blue); }
.pt-proof .enlarge:hover { color: var(--blue-hover); }
.pt-bridge { font-family: var(--font-serif); font-style: italic; font-size: 1.125rem; line-height: 1.55; color: var(--blue); margin: 22px 0 0; padding-left: 20px; border-left: 2px solid var(--blue-100); }

.ia-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: clamp(72px, 9vw, 120px); padding: clamp(64px, 8vw, 104px) 24px; }
.ia-head { max-width: 700px; }
.ia-head h2 { font-size: clamp(1.875rem, 3.4vw, 2.875rem); line-height: 1.1; letter-spacing: -.018em; margin-top: 14px; }
.ia-head p { font-size: 1.0625rem; line-height: 1.65; color: var(--text-3); margin-top: 18px; }
.ia-cols { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 44px; }
.ia-col { flex: 1 1 380px; min-width: 300px; border: 1px solid var(--border); border-radius: 4px; padding: 28px 26px; }
.ia-col.neutral { border-top: 3px solid #9CA3AF; background: var(--bg); }
.ia-col.accent { border: 1px solid var(--blue-100); border-top: 3px solid var(--blue); background: var(--surface); }
.ia-col-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.ia-col.accent .ia-col-title { color: var(--blue); }
.ia-col-list { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }
.ia-col-list .row { display: flex; gap: 12px; font-size: .9375rem; line-height: 1.65; color: #4B5563; }
.ia-col.accent .ia-col-list .row { color: var(--text-2); }
.ia-col-list .row .mark { color: #9CA3AF; }
.ia-col.accent .ia-col-list .row .mark { color: var(--success); font-weight: 700; }

.calc-box { margin-top: 40px; border: 1px solid var(--border); border-radius: 4px; background: var(--navy); padding: clamp(26px, 4vw, 40px); color: #E5E7EB; }
.calc-box h3 { font-size: clamp(1.375rem, 2.4vw, 1.875rem); line-height: 1.2; color: #fff; margin-top: 12px; }
.calc-cols { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); margin-top: 32px; }
.calc-inputs { flex: 1 1 300px; min-width: 260px; display: flex; flex-direction: column; gap: 28px; }
.calc-field { display: block; }
.calc-field .row { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: #9CA3AF; text-transform: uppercase; }
.calc-field .row .val { color: #fff; font-size: 15px; font-weight: 700; }
.calc-field input[type=range] { width: 100%; margin-top: 14px; height: 4px; }
.calc-note { font-size: .8125rem; line-height: 1.7; color: var(--text-3); }
.calc-results { flex: 1 1 280px; min-width: 260px; border-left: 1px solid rgba(255, 255, 255, .1); padding-left: clamp(20px, 3vw, 36px); }
.calc-results .lbl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; color: #9CA3AF; text-transform: uppercase; }
.calc-results .big { font-family: var(--font-mono); font-size: clamp(1.75rem, 4.4vw, 2.75rem); font-weight: 700; color: var(--gold); line-height: 1.05; margin-top: 10px; letter-spacing: -.02em; }
.calc-lines { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.calc-lines .line { display: flex; justify-content: space-between; gap: 12px; font-size: .875rem; border-bottom: 1px solid rgba(255, 255, 255, .08); padding-bottom: 12px; }
.calc-lines .line:last-child { border-bottom: 0; padding-bottom: 0; }
.calc-lines .line .k { color: #9CA3AF; }
.calc-lines .line .v { font-family: var(--font-mono); color: #fff; }
.calc-lines .line .v.accent { color: var(--blue); font-weight: 700; }

.mechanism { max-width: 900px; margin: 0 auto; padding: clamp(72px, 9vw, 120px) 24px 0; }
.mech-kicker { display: inline-flex; align-items: center; gap: 8px; background: var(--success-bg); border: 1px solid var(--success-border); border-radius: 2px; padding: 7px 12px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--success); text-transform: uppercase; }
.mechanism h2 { font-size: clamp(1.875rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -.018em; margin-top: 18px; max-width: 24ch; }
.mech-body { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; max-width: 68ch; }
.mech-body p { font-size: 1.0625rem; line-height: 1.75; color: var(--text-2); }
.phases { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 44px; }
.phase-card { flex: 1 1 250px; min-width: 240px; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 24px 22px; }
.phase-card .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--success); text-transform: uppercase; }
.phase-card h4 { font-size: 1.3125rem; line-height: 1.25; margin-top: 12px; }
.phase-card p { font-size: .9375rem; line-height: 1.65; color: var(--text-3); margin-top: 12px; }
.mech-sign { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--text-3); text-transform: uppercase; margin-top: 26px; }

.steps-section { max-width: 1100px; margin: 0 auto; padding: clamp(72px, 9vw, 120px) 24px 0; }
.steps-section h2 { font-size: clamp(1.875rem, 3.4vw, 2.875rem); line-height: 1.1; letter-spacing: -.018em; margin-top: 14px; }
.steps-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px; }
.step-card { flex: 1 1 230px; min-width: 220px; border-top: 2px solid var(--navy); padding: 20px 0 0; }
.step-card .row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.step-card .n { font-family: var(--font-mono); font-size: 1.75rem; font-weight: 700; color: var(--navy); line-height: 1; }
.step-card .when { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: var(--blue); text-transform: uppercase; text-align: right; }
.step-card h4 { font-size: 1.0625rem; font-weight: 600; color: var(--navy); margin-top: 18px; line-height: 1.35; font-family: var(--font-sans); }
.step-card p { font-size: .9375rem; line-height: 1.65; color: var(--text-3); margin-top: 10px; }

.inc-section { max-width: 1100px; margin: 0 auto; padding: clamp(72px, 9vw, 120px) 24px 0; }
.inc-section h2 { font-size: clamp(1.875rem, 3.4vw, 2.875rem); line-height: 1.1; letter-spacing: -.018em; margin-top: 14px; }
.inc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 48px; margin-top: 40px; }
.inc-row { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--border); }
.inc-row .n { font-family: var(--font-mono); font-size: 1rem; font-weight: 700; color: var(--blue); line-height: 1.5; }
.inc-row h4 { font-size: 1.0625rem; font-weight: 600; color: var(--navy); margin: 0; line-height: 1.35; font-family: var(--font-sans); }
.inc-row p { font-size: .9375rem; line-height: 1.65; color: var(--text-3); margin-top: 8px; }

.per-section { max-width: 1100px; margin: 0 auto; padding: clamp(72px, 9vw, 120px) 24px 0; }
.per-inner { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); align-items: flex-start; }
.per-left { flex: 1 1 420px; min-width: 300px; }
.per-left h2 { font-size: clamp(1.875rem, 3.4vw, 2.875rem); line-height: 1.1; letter-spacing: -.018em; margin-top: 14px; }
.per-body { display: flex; flex-direction: column; gap: 20px; margin-top: 26px; }
.per-body p { font-size: 1.0625rem; line-height: 1.75; color: var(--text-2); }
.per-photo { flex: 0 1 300px; min-width: 240px; margin: 0; }
.per-photo img { display: block; width: 100%; height: auto; border: 1px solid var(--border); }
.per-photo figcaption { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: var(--text-3); text-transform: uppercase; margin-top: 10px; }

/* ---------- verification wall ---------- */
.verification { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: clamp(72px, 9vw, 120px); padding: clamp(64px, 8vw, 104px) 24px; }
.verification-head { max-width: 640px; }
.verification-head h2 { font-size: clamp(1.875rem, 3.4vw, 2.875rem); line-height: 1.1; letter-spacing: -.018em; margin-top: 14px; }
.verification-head p { font-size: 1.0625rem; line-height: 1.7; color: var(--text-2); margin-top: 18px; }
.proof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; margin-top: 40px; }
.proof-card {
  text-align: left; background: var(--bg); border: 1px solid var(--border); border-radius: 4px;
  padding: 0; cursor: pointer; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease-out, box-shadow .2s ease-out; width: 100%;
}
.proof-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(10, 25, 47, .08); }
.proof-card img { display: block; width: 100%; height: 168px; object-fit: cover; object-position: top; border-bottom: 1px solid var(--border); background: var(--surface); }
.proof-card .body { display: block; padding: 14px 16px 16px; }
.proof-card .kind { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; color: var(--success); text-transform: uppercase; }
.proof-card .kind .check { font-weight: 700; }
.proof-card .title { display: block; font-size: .9375rem; font-weight: 600; color: var(--navy); margin-top: 8px; line-height: 1.35; }
.proof-card .meta { display: block; font-family: var(--font-mono); font-size: 10px; line-height: 1.7; color: var(--text-3); margin-top: 6px; }
.verification-foot { font-size: .8125rem; line-height: 1.7; color: var(--text-3); margin-top: 24px; max-width: 80ch; }

/* ---------- offer stack ---------- */
.offer-section { max-width: 1100px; margin: 0 auto; padding: clamp(72px, 9vw, 120px) 24px 0; }
.offer-card { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, .04); }
.offer-left { flex: 1 1 380px; min-width: 300px; padding: clamp(28px, 4vw, 44px); border-right: 1px solid var(--border); }
.offer-left h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; margin-top: 10px; }
.offer-blurb { font-family: var(--font-serif); font-style: italic; font-size: 1.125rem; line-height: 1.55; color: var(--text-2); margin-top: 18px; padding-left: 18px; border-left: 2px solid var(--blue-100); }
.offer-inc { display: flex; flex-direction: column; gap: 0; margin-top: 28px; border-top: 1px solid var(--border); }
.offer-inc .row { display: flex; gap: 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--border-2); }
.offer-inc .row .n { font-family: var(--font-mono); font-size: .75rem; color: var(--blue); font-weight: 700; }
.offer-inc .row .t { flex: 1; font-size: .9375rem; color: var(--text); font-weight: 500; }
.offer-right { flex: 1 1 340px; min-width: 300px; padding: clamp(28px, 4vw, 44px); background: var(--bg); }
.offer-price { font-family: var(--font-mono); font-size: clamp(2rem, 4.6vw, 2.875rem); font-weight: 700; color: var(--blue); line-height: 1; letter-spacing: -.02em; margin-top: 14px; }
.offer-usd { font-size: .875rem; color: var(--text-3); margin-top: 10px; }
.offer-spots-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; }
.offer-spots-pill .dot { color: var(--gold); font-size: 10px; }
.offer-spots-pill .t { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--navy); }
.offer-lastspot { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: var(--text-4); margin-top: 10px; text-transform: uppercase; }
.offer-guarantee { background: var(--success-bg); border: 1px solid var(--success-border); border-radius: 4px; padding: 22px 20px; margin-top: 26px; }
.offer-guarantee .title { font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.3; color: var(--success-text); }
.offer-guarantee p { font-size: .9375rem; line-height: 1.65; color: #065F46; margin-top: 12px; }
.offer-guarantee .sig { font-family: var(--font-serif); font-style: italic; font-size: 1.0625rem; color: var(--success); margin-top: 14px; }
.offer-right .btn-primary { width: 100%; justify-content: center; margin-top: 26px; padding: 21px 28px; }
.offer-micro { font-size: .8125rem; line-height: 1.7; color: var(--text-3); margin-top: 14px; }
.offer-phone { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--navy); margin-top: 16px; }
.offer-foot { font-size: .75rem; line-height: 1.7; color: var(--text-4); margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq-section { max-width: 820px; margin: 0 auto; padding: clamp(72px, 9vw, 120px) 24px 0; }
.faq-section h2 { font-size: clamp(1.875rem, 3.4vw, 2.875rem); line-height: 1.1; letter-spacing: -.018em; margin-top: 14px; }
.faq-section > .head p { font-size: 1.0625rem; line-height: 1.7; color: var(--text-3); margin-top: 18px; }
.faq-list { margin-top: 36px; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; width: 100%; gap: 20px; align-items: flex-start; text-align: left;
  background: none; border: 0; padding: 24px 0; cursor: pointer;
}
.faq-q .q-text { flex: 1; font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.4; color: var(--navy); }
.faq-item.is-open .faq-q .q-text { color: var(--blue); }
.faq-q .sign { font-family: var(--font-mono); font-size: 1.25rem; color: var(--blue); line-height: 1.2; }
.faq-a { overflow: hidden; max-height: 0; opacity: 0; transition: max-height .35s ease-out, opacity .3s ease-out; }
.faq-item.is-open .faq-a { max-height: 900px; opacity: 1; }
.faq-a p { font-size: 1.0625rem; line-height: 1.75; color: var(--text-2); margin: 0 0 26px; padding-right: 40px; }
.faq-more { display: flex; gap: 20px; align-items: center; padding: 24px 0; font-family: var(--font-serif); font-size: 1.25rem; color: var(--blue); }
.faq-more:hover { color: var(--blue-hover); }
.faq-more .txt { flex: 1; }
.faq-more .arrow { font-family: var(--font-mono); font-size: 1rem; }

/* ---------- pre-close + final CTA ---------- */
.pre-section { max-width: 760px; margin: 0 auto; padding: clamp(72px, 9vw, 104px) 24px 0; }
.pre-section h3 { font-size: clamp(1.625rem, 3vw, 2.375rem); line-height: 1.15; letter-spacing: -.016em; }
.pre-body { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.pre-body p { font-size: 1.0625rem; line-height: 1.75; color: var(--text-2); }

.final-cta { background: linear-gradient(180deg, #FFFFFF 0%, #F3F4F6 100%); border-top: 1px solid var(--border); margin-top: clamp(72px, 9vw, 120px); padding: clamp(72px, 10vw, 128px) 24px; }
.final-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.final-inner h2 { font-size: clamp(2.25rem, 5.2vw, 4rem); line-height: 1.04; letter-spacing: -.024em; margin-top: 20px; }
.final-inner > .body { font-size: 1.125rem; line-height: 1.7; color: var(--text-2); margin: 26px auto 0; max-width: 52ch; }
.final-cta-wrap { margin-top: 40px; }
.final-cta-wrap .btn-primary { padding: 24px clamp(28px, 5vw, 52px); font-size: clamp(1.0625rem, 2vw, 1.25rem); }
.final-phone { font-family: var(--font-mono); font-size: 1rem; letter-spacing: .06em; color: var(--navy); margin-top: 22px; }
.final-meta { font-size: .8125rem; color: var(--text-3); margin-top: 10px; }
.final-spots { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--gold); }
.ps-block { margin: 56px auto 0; max-width: 620px; text-align: left; border-top: 1px solid var(--border); padding-top: 32px; }
.ps-block .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--text-3); }
.ps-block p { font-family: var(--font-serif); font-size: 1.1875rem; line-height: 1.62; color: var(--text-2); margin-top: 12px; }

/* ---------- footer ----------
   Architectural rather than decorative: hierarchy from spacing, hairlines
   and tonal navy, not from effects. Mobile composition is the base; wider
   screens progressively gain columns. */
.xp-footer {
  --fl: rgba(255, 255, 255, .085);
  --fl-2: rgba(255, 255, 255, .15);
  --fcard: rgba(255, 255, 255, .028);
  --fgoldline: rgba(197, 160, 89, .32);
  --ftext: #A2AEC0;
  --ftext-2: #C9D2DE;
  --fdim: #667793;
  background: var(--navy);
  color: var(--ftext);
  padding: clamp(56px, 9vw, 88px) 0 clamp(30px, 4vw, 44px);
}
.foot-wrap { max-width: 1100px; margin: 0 auto; padding: 0 26px; }

/* brand */
.foot-brand { display: flex; align-items: flex-start; gap: 16px; }
.foot-mark {
  width: 54px; height: 54px; flex: none; border-radius: 3px;
  border: 1px solid var(--fgoldline); background: var(--navy);
  display: grid; place-items: center; overflow: hidden;
}
.foot-mark svg { display: block; width: 100%; height: 100%; }
.foot-name {
  font-family: var(--font-serif); font-weight: 400; color: #fff;
  font-size: clamp(1.75rem, 6.4vw, 2.375rem); line-height: 1.06; letter-spacing: -.012em;
}
.foot-sub {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .17em;
  text-transform: uppercase; color: var(--gold); margin-top: 11px; white-space: nowrap;
}
.foot-position {
  font-size: .9375rem; line-height: 1.9; color: var(--ftext);
  margin: 22px 0 0; max-width: 32ch;
}

/* navigation */
.foot-nav { margin-top: clamp(34px, 6vw, 46px); display: grid; gap: 26px; }
.foot-nav-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; font-weight: 500;
  text-transform: uppercase; color: var(--fdim); margin: 0 0 2px;
}
.foot-nav ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fl); }
.foot-nav li { border-bottom: 1px solid var(--fl); }
.foot-nav a {
  display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 8px 2px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .11em;
  text-transform: uppercase; color: var(--ftext-2); text-decoration: none;
  transition: color .18s ease-out;
}
.foot-nav a .t { flex: 1; }
.foot-nav a .ar {
  width: 15px; height: 15px; flex: none; color: var(--fdim);
  transition: transform .18s ease-out, color .18s ease-out;
}
.foot-nav a:hover, .foot-nav a:focus-visible { color: #fff; }
.foot-nav a:hover .ar, .foot-nav a:focus-visible .ar { color: var(--gold); transform: translateX(3px); }
.foot-nav a.is-ext:hover .ar, .foot-nav a.is-ext:focus-visible .ar { transform: translate(2px, -2px); }

/* whatsapp contact */
.foot-contact {
  margin-top: clamp(34px, 6vw, 46px); display: flex; align-items: center; gap: 16px;
  padding: 20px; border: 1px solid var(--fl-2); background: var(--fcard);
  border-radius: 4px; text-decoration: none;
  transition: border-color .18s ease-out, background .18s ease-out;
}
.foot-contact:hover, .foot-contact:focus-visible {
  border-color: var(--fgoldline); background: rgba(255, 255, 255, .05);
}
.foot-contact-ico {
  width: 46px; height: 46px; flex: none; border-radius: 3px; display: grid; place-items: center;
  background: rgba(197, 160, 89, .1); border: 1px solid var(--fgoldline); color: var(--gold);
}
.foot-contact-ico svg { width: 21px; height: 21px; display: block; fill: currentColor; }
.foot-contact .lab {
  display: block;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .17em;
  text-transform: uppercase; color: var(--fdim);
}
/* block + nowrap: as inline spans these ran together and split the number
   across two lines at 390px. */
.foot-contact .num {
  display: block; white-space: nowrap;
  font-size: 1.0625rem; color: #fff; margin-top: 6px;
}
.foot-contact:hover .num { color: var(--gold); }

/* important information */
.foot-info {
  margin-top: clamp(34px, 6vw, 46px); padding: 22px;
  border: 1px solid var(--fl); border-left: 2px solid var(--fgoldline);
  background: var(--fcard); border-radius: 0 4px 4px 0;
}
.foot-info-head { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.foot-info-head svg { width: 15px; height: 15px; flex: none; color: var(--gold); }
.foot-info-head h2 {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; font-weight: 500;
  text-transform: uppercase; color: var(--gold); margin: 0;
}
.foot-info p { font-size: .875rem; line-height: 1.8; color: var(--ftext); margin: 0 0 13px; max-width: 72ch; }
.foot-info p:last-child { margin-bottom: 0; }

/* base line */
.foot-base { margin-top: clamp(30px, 5vw, 44px); padding-top: 22px; border-top: 1px solid var(--fl); }
.foot-copy {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em;
  line-height: 2; color: var(--fdim); margin: 0;
}

/* clearance so the sticky CTA never covers the last of the footer.
   The bar only mounts at <=720px, so the reserve is scoped to that. */
@media (max-width: 720px) {
  .xp-footer.has-sticky-cta { padding-bottom: calc(116px + env(safe-area-inset-bottom)); }
}

@media (min-width: 700px) {
  .foot-nav { grid-template-columns: 1fr 1fr; gap: 34px; }
  .foot-contact { padding: 24px 26px; }
  .foot-info { padding: 26px 28px; }
}

@media (min-width: 980px) {
  .foot-wrap { padding: 0 24px; }
  .foot-top {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr) minmax(0, 1.3fr);
    gap: 52px; align-items: start;
  }
  .foot-position { margin-top: 4px; }
  .foot-nav { margin-top: 0; }
  .foot-contact { max-width: 460px; }
}

/* ---------- sticky mobile bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; background: #0D2038;
  border-top: 1px solid rgba(197, 160, 89, .3);
  padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 24px rgba(3, 10, 22, .45); display: none;
}
.mobile-bar.is-visible { display: block; }
/* Blue, not the default navy: the bar itself is now dark, and a navy button
   on a dark bar would disappear. This stays the single primary action. */
.mobile-bar .btn-primary {
  width: 100%; justify-content: center; padding: 16px; font-size: .9375rem;
  background: var(--blue); border-radius: 3px; letter-spacing: .01em;
}
.mobile-bar .btn-primary:hover { background: var(--blue-hover); }
/* Keep the label on one line at 320px. Wrapping doubled the bar height and
   ate the clearance the footer reserves for it. */
@media (max-width: 360px) {
  .mobile-bar { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .mobile-bar .btn-primary { font-size: .875rem; padding: 15px 8px; white-space: nowrap; }
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 95; background: rgba(10, 25, 47, .88);
  display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox-inner { max-width: 900px; width: 100%; max-height: 92vh; display: flex; flex-direction: column; gap: 14px; }
.lightbox-inner img { display: block; width: 100%; max-height: 82vh; object-fit: contain; background: #fff; border: 1px solid rgba(255, 255, 255, .15); }
.lightbox-foot { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.lightbox-foot .cap { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--gold); }
.lightbox-foot .close { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: #9CA3AF; }

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero { padding-top: 80px; }
  .price-row { gap: 16px; }
}
