/* ---------- Self-hosted fonts ---------- */
@font-face {
  font-family: 'Switzer';
  src: url('fonts/Switzer-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Switzer';
  src: url('fonts/Switzer-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Switzer';
  src: url('fonts/Switzer-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Switzer';
  src: url('fonts/Switzer-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}

/* ---------- Tokens ---------- */
:root {
  --cobalt: #0057D8;
  --cobalt-deep: #003B99;
  --cobalt-bright: #2E7BFF;
  --offwhite: #F7F5F1;
  --white: #FFFFFF;
  --ink: #12131A;
  --ink-soft: #4A4D5A;
  --accent: #E2896F;
  --accent-deep: #A8431F;
  --panel-tint: #EFEAE2;
  --line: rgba(18, 19, 26, 0.1);
  --line-light: rgba(255, 255, 255, 0.18);

  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Switzer', 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.05; }
p { margin: 0; line-height: 1.6; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 4px;
}
.section-cobalt :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--white);
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { box-shadow: 0 8px 24px rgba(226,137,111,0.4); }
.btn-ghost { background: transparent; color: var(--ink); padding-left: 8px; padding-right: 8px; }
.btn-ghost-light { background: transparent; color: var(--white); padding-left: 8px; padding-right: 8px; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-small { padding: 10px 20px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,245,241,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--cobalt);
}
.logo-mark-img { width: 17px; height: auto; display: block; }
.logo-word {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  background: linear-gradient(120deg, var(--cobalt-deep), var(--cobalt-bright) 55%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 6px rgba(0, 87, 216, 0.25));
}
.site-nav { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.site-nav a { opacity: 0.7; transition: opacity 0.2s; }
.site-nav a:hover { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
}
.nav-toggle-bar {
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--offwhite);
    border-bottom: 1px solid var(--line);
    padding: 8px 32px 20px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    opacity: 1;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .site-nav a:last-child { border-bottom: none; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .header-inner { gap: 10px; }
  .logo-word { font-size: 13px; }
  .btn-small { padding: 9px 14px; font-size: 13px; }
}

/* ---------- Section scaffolding ---------- */
.section { padding: 160px 0; }
@media (max-width: 640px) { .section { padding: 96px 0; } }
.section-light { background: var(--white); }
.section-offwhite { background: var(--offwhite); }
.section-cobalt {
  background: linear-gradient(160deg, var(--cobalt-deep), var(--cobalt) 55%, var(--cobalt-bright));
  color: var(--white);
}
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 20px;
}
.section-label-light { color: rgba(255,255,255,0.85); }
.section-headline {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 700;
  max-width: 820px;
  margin-bottom: 24px;
}
.section-headline-light { color: var(--white); }
.section-intro { font-size: 18px; max-width: 620px; margin-bottom: 56px; }
.section-intro-light { color: rgba(255,255,255,0.82); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--ink);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 12% 8%, rgba(163, 175, 240, 0.55), transparent 60%),
    radial-gradient(ellipse 55% 50% at 90% 0%, rgba(196, 180, 238, 0.45), transparent 55%),
    radial-gradient(ellipse 55% 60% at 78% 95%, rgba(226, 137, 111, 0.14), transparent 60%),
    var(--white);
  z-index: -1;
}
.hero-inner { width: 100%; text-align: left; padding-top: 120px; padding-bottom: 80px; }
@media (min-width: 2000px) {
  .hero-inner {
    max-width: 1500px;
    margin-left: 400px;
    margin-right: 0;
  }
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 24px;
}
.hero-headline {
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  max-width: 900px;
}
.hero-rotator {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  margin-bottom: 32px;
  min-height: 44px;
}
.hero-rotator-prefix { color: var(--ink-soft); }
.hero-rotator-word-wrap { position: relative; overflow: hidden; height: 1.2em; }
.hero-rotator-word {
  display: inline-block;
  color: var(--accent-deep);
  animation: rotate-in 0.5s ease;
}
@keyframes rotate-in {
  from { transform: translateY(60%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-cta .btn-ghost { color: var(--ink); }

/* ---------- Problem ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}
@media (max-width: 860px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.problem-num {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent-deep);
  margin-bottom: 16px;
}
.problem-card h3 { font-size: 20px; margin-bottom: 12px; color: var(--ink); }
.problem-closer {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  max-width: 720px;
}

/* ---------- Pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  padding: 36px 32px;
  border-radius: var(--radius);
  background: var(--offwhite);
}
.pillar-num {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 40px;
  color: var(--cobalt);
  opacity: 0.35;
  margin-bottom: 12px;
}
.pillar h3 { font-size: 24px; color: var(--ink); margin-bottom: 6px; }
.pillar-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

/* ---------- Proof ---------- */
.proof-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
}
@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr; } }
.proof-card {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.proof-card-feature {
  background: var(--panel-tint);
  border: 1px solid var(--line);
}
.proof-stat { font-family: var(--font-body); font-size: 56px; font-weight: 700; color: var(--accent-deep); margin-bottom: 4px; }
.proof-stat-label { color: var(--ink-soft); margin-bottom: 20px; }
.proof-card h3 { font-size: 19px; color: var(--ink); margin-bottom: 10px; }

/* ---------- Quiz ---------- */
.quiz {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-light);
  border-radius: 20px;
  padding: 56px;
  max-width: 720px;
}
@media (max-width: 640px) { .quiz { padding: 32px 24px; } }
.quiz-progress {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  margin-bottom: 40px;
  overflow: hidden;
}
.quiz-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.4s ease;
}
.quiz-step { display: none; }
.quiz-step.is-active { display: block; animation: fade-up 0.4s ease; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.quiz-step-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 14px;
}
.quiz-step h3 {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--white);
  margin-bottom: 12px;
  max-width: 560px;
}
.quiz-step > p { color: rgba(255,255,255,0.75); margin-bottom: 28px; }
.quiz-options { display: grid; gap: 12px; }
.quiz-option {
  text-align: left;
  padding: 18px 22px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.quiz-option:hover { background: rgba(255,255,255,0.16); transform: translateX(4px); }
.quiz-option.is-selected { background: var(--accent); border-color: var(--accent); color: var(--ink); }

.quiz-lead-form { display: flex; flex-direction: column; gap: 24px; max-width: 420px; }
.quiz-lead-fields { display: grid; gap: 16px; }
.quiz-field { display: flex; flex-direction: column; gap: 6px; }
.quiz-field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.quiz-field input {
  font-family: inherit;
  font-size: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--line-light);
  background: rgba(255,255,255,0.08);
  color: var(--white);
}
.quiz-field input::placeholder { color: rgba(255,255,255,0.4); }
.quiz-field input:focus { outline: 2px solid var(--white); outline-offset: 2px; background: rgba(255,255,255,0.12); }

.quiz-result-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0 20px;
}
@media (max-width: 640px) { .quiz-result-stats { grid-template-columns: 1fr; } }
.quiz-stat {
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 24px 20px;
}
.quiz-stat-number { font-family: var(--font-body); font-size: clamp(34px, 3.4vw, 52px); font-weight: 700; color: var(--white); margin-bottom: 8px; line-height: 1.1; white-space: nowrap; }
.quiz-stat-label { font-size: 13px; color: rgba(255,255,255,0.72); }
.quiz-note { color: rgba(255,255,255,0.75); margin-bottom: 8px; font-size: 15px; }
.quiz-result .quiz-disclaimer { font-size: 17px; color: rgba(255,255,255,0.92); margin-bottom: 32px; }
.quiz-result-cta { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.quiz-restart {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: underline;
  padding: 10px 0;
  display: inline-block;
}

/* ---------- Offer tiers ---------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 24px;
}
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  padding: 36px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.tier-featured {
  background: var(--panel-tint);
  border: 1px solid var(--line);
  transform: translateY(-12px);
}
.tier-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.tier h3 { font-size: 22px; margin-bottom: 6px; }
.tier-tag { font-size: 14px; color: var(--ink-soft); margin-bottom: 20px; }
.tier-price { font-family: var(--font-body); font-size: 24px; font-weight: 700; margin-bottom: 24px; }
.tier-features { margin-bottom: 32px; flex-grow: 1; }
.tier-features li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}
.tier .btn { justify-content: center; }
.tier-note { font-size: 13px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--accent-deep);
  margin-left: 20px;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 14px; max-width: 620px; }

/* ---------- Final CTA ---------- */
.final-cta-inner { text-align: left; }
.final-cta-inner .hero-cta { margin-bottom: 20px; }
.final-cta-alt { font-size: 14px; color: var(--ink-soft); }
.final-cta-alt a { color: var(--ink); text-decoration: underline; }
.final-cta-alt a:hover { color: var(--accent-deep); }
.final-cta-alt-light { color: rgba(255,255,255,0.75); }
.final-cta-alt-light a { color: var(--white); }
.final-cta-alt-light a:hover { color: rgba(255,255,255,0.8); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.6); padding: 48px 0; }
.footer-inner { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-logo { font-family: var(--font-body); font-weight: 700; color: var(--white); letter-spacing: 0.06em; }
.footer-copyright { font-size: 13px; }
.site-footer a { font-size: 14px; transition: color 0.2s; }
.site-footer a:hover { color: var(--white); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
