/* ============================================================
   The Success Blueprint — Site Styles v4
   Built to actually match aspirepartners.com
   Dark header, white body, illustrated icons, real photos
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Brand palette */
  --blue: #013989;
  --blue-deep: #243673;
  --sky: #1c5fd4;
  --sky-bright: #4a8ff5;
  --blue-soft: #EAEFF3;
  --blue-ghost: #F5F8FC;

  /* Header dark — eyeballed from screenshot */
  --header-dark: #3a3d42;
  --header-dark-2: #2c2e33;

  --charcoal: #1F2937;
  --slate: #374151;
  --slate-light: #6B7280;
  --slate-lighter: #9CA3AF;
  --emerald: #10B981;
  --emerald-soft: #ECFDF5;
  --paper: #FFFFFF;
  --line: #E5E7EB;
  --line-soft: #F3F4F6;
  --cream: #F9FAFB;

  --heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --body: 'Mulish', -apple-system, BlinkMacSystemFont, sans-serif;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  --measure: 760px;
  --measure-wide: 1180px;
  --page: 1280px;

  --header-h: 88px;
  --sidebar-w: 280px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--paper);
  font-weight: 400;
}

/* ============================================================
   Typography — bigger & bolder to match site
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading);
  color: var(--charcoal);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.15;
}
h1 { font-size: clamp(40px, 5.5vw, 64px); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.12; margin-bottom: var(--s-5); letter-spacing: -0.015em; }
h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.22; margin-bottom: var(--s-4); }
h4 { font-size: 20px; line-height: 1.35; margin-bottom: var(--s-3); font-weight: 700; }
h5 { font-size: 16px; line-height: 1.4; margin-bottom: var(--s-2); font-weight: 700; }

p { margin-bottom: var(--s-5); color: var(--slate); font-size: 17px; line-height: 1.75; }
p.lede { font-size: 19px; line-height: 1.6; color: var(--slate); font-weight: 400; }
p.small { font-size: 14px; color: var(--slate-light); }

a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-deep); }

strong { font-weight: 700; color: var(--charcoal); }
em { font-style: italic; }

.eyebrow {
  font-family: var(--heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--s-4);
  display: inline-block;
}

/* ============================================================
   Layout primitives
   ============================================================ */

.shell { max-width: var(--page); margin: 0 auto; padding: 0 var(--s-5); }
.reading { max-width: var(--measure); margin: 0 auto; padding: 0 var(--s-5); }
.wide { max-width: var(--measure-wide); margin: 0 auto; padding: 0 var(--s-5); }

.section { padding: var(--s-9) 0; }
.section-cream { background: var(--cream); }
.section-soft { background: var(--blue-soft); }
.section-dark {
  background: var(--charcoal);
  color: rgba(255,255,255,0.85);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.78); }

@media (max-width: 720px) {
  .section { padding: var(--s-8) 0; }
}

/* ============================================================
   DARK HEADER (matches site)
   ============================================================ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--header-dark);
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.site-header-inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--s-6);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-5);
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.site-logo img {
  height: 56px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1) brightness(1.05) saturate(0.4);
  /* The above turns the blue logo white-ish; we use it because the site
     shows the dark header with the white version of the logo */
}
/* Actually use the original colored logo on dark — it will look bright/blue */
.site-logo img { filter: none; }

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--s-7);
}
.site-nav a {
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding: 4px 0;
}
.site-nav a:hover { color: #fff; }
.site-nav a.active::after, .site-nav a:hover::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--sky-bright);
}

.btn-header {
  background: linear-gradient(135deg, var(--blue) 0%, var(--sky) 100%);
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn-header:hover {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(28, 95, 212, 0.4);
}
.btn-header .arrow { font-size: 16px; }

@media (max-width: 900px) {
  .site-nav a:not(.btn-header) { display: none; }
  .site-logo img { height: 44px; }
}

.has-fixed-header { padding-top: var(--header-h); }

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 16px 32px;
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: 6px;
  text-decoration: none;
  line-height: 1.2;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--sky) 100%);
  color: #fff;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(28, 95, 212, 0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-secondary:hover { background: var(--blue); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--line);
}
.btn-ghost:hover { border-color: var(--charcoal); }
.btn-white {
  background: #fff;
  color: var(--blue);
}
.btn-white:hover { background: var(--blue-soft); color: var(--blue-deep); }
.btn-large { padding: 20px 40px; font-size: 15px; }
.btn .arrow { font-size: 16px; transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   HERO — big bold dark headline, blue waves background
   ============================================================ */

.hero {
  position: relative;
  background: linear-gradient(135deg, #001a47 0%, #013989 60%, #243673 100%);
  background-image:
    linear-gradient(135deg, rgba(0,26,71,0.85) 0%, rgba(1,57,137,0.78) 60%, rgba(36,54,115,0.85) 100%),
    url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: var(--s-10) 0 var(--s-9);
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero h1 { color: #fff; max-width: 900px; margin: 0 auto var(--s-5); }
.hero p.lede { color: rgba(255,255,255,0.92); max-width: 700px; margin: 0 auto; font-size: 20px; font-weight: 400; }
.hero .eyebrow { color: rgba(255,255,255,0.85); }

.hero-cta {
  margin-top: var(--s-7);
  display: flex;
  gap: var(--s-4);
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.hero-cta .btn-primary {
  background: linear-gradient(135deg, var(--sky-bright) 0%, var(--sky) 100%);
}
.hero-cta .btn-primary:hover {
  background: linear-gradient(135deg, #fff 0%, var(--sky-bright) 100%);
  color: var(--blue);
}
.hero-cta .meta {
  color: rgba(255,255,255,0.7);
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

@media (max-width: 720px) {
  .hero { padding: var(--s-9) 0 var(--s-8); }
}

/* ============================================================
   Process flow — illustrated icons in a row, gold underline
   ============================================================ */

.process-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-6);
  margin: var(--s-7) 0;
}
.process-step {
  text-align: center;
}
.process-icon {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-5);
}
.process-icon img {
  max-width: 100%;
  max-height: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.process-step h4 {
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: var(--s-3);
  position: relative;
  padding-bottom: var(--s-3);
}
.process-step h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--sky) 100%);
}
.process-step p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 1000px) {
  .process-row { grid-template-columns: repeat(2, 1fr); gap: var(--s-7); }
}
@media (max-width: 540px) {
  .process-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Press logos strip
   ============================================================ */

.press-row {
  display: flex;
  gap: var(--s-9);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--s-5);
}
.press-row img {
  max-height: 50px;
  max-width: 200px;
  width: auto;
  height: auto;
  opacity: 0.75;
  transition: opacity 0.2s;
  filter: grayscale(0.3);
}
.press-row img:hover { opacity: 1; filter: none; }

/* ============================================================
   Two-column feature blocks (image + text)
   ============================================================ */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-9);
  align-items: center;
  margin: var(--s-9) 0;
}
.feature-row.reverse .feature-img { order: 2; }
.feature-row.reverse .feature-text { order: 1; }

.feature-img {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-text .feature-num {
  font-family: var(--heading);
  font-size: 60px;
  font-weight: 800;
  color: var(--blue-soft);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--s-3);
  display: block;
}
.feature-text .module-list {
  list-style: none;
  padding: 0;
  margin: var(--s-5) 0;
  border-top: 1px solid var(--line);
}
.feature-text .module-list li {
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 15px;
  color: var(--charcoal);
  font-weight: 500;
}
.feature-text .module-list li .num {
  font-family: var(--heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-light);
  letter-spacing: 0.05em;
  width: 32px;
}
.feature-text .module-list li.interactive {
  font-weight: 700;
}
.feature-text .module-list li.interactive .num { color: var(--blue); }
.feature-text .module-list li .badge {
  margin-left: auto;
  font-family: var(--heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald);
  background: var(--emerald-soft);
  padding: 3px 8px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; gap: var(--s-6); }
  .feature-row.reverse .feature-img { order: 1; }
  .feature-row.reverse .feature-text { order: 2; }
}

/* ============================================================
   Stats / counters
   ============================================================ */

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-7);
  padding-top: var(--s-7);
  border-top: 1px solid rgba(255,255,255,0.15);
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--heading);
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: var(--s-2);
  letter-spacing: -0.02em;
}
.stat-num.emerald { color: var(--emerald); }
.stat-label {
  font-family: var(--heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 600px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
  .stat-num { font-size: 36px; }
}

/* ============================================================
   Testimonials
   ============================================================ */

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: var(--s-6);
  position: relative;
  transition: all 0.25s ease;
}
.testi-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(1, 57, 137, 0.1);
}
.testi-quote-mark {
  font-family: 'Georgia', serif;
  font-size: 80px;
  line-height: 1;
  color: var(--blue-soft);
  position: absolute;
  top: var(--s-3);
  right: var(--s-5);
  font-weight: 700;
}
.testi-quote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  margin-bottom: var(--s-5);
  position: relative;
  z-index: 2;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--sky) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 16px;
}
.testi-name { font-family: var(--heading); font-weight: 700; font-size: 15px; color: var(--charcoal); }
.testi-role { font-size: 13px; color: var(--slate-light); }

@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Course platform — sidebar
   ============================================================ */

.course-shell {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: calc(100vh - var(--header-h));
  background: var(--paper);
}

.course-sidebar {
  background: var(--cream);
  border-right: 1px solid var(--line);
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: var(--s-6) 0;
}
.course-sidebar-header {
  padding: 0 var(--s-5) var(--s-5);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s-4);
}
.course-sidebar-title {
  font-family: var(--heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: var(--s-2);
}
.course-progress-text {
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: var(--s-3);
}
.course-progress-bar {
  height: 6px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.course-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue) 0%, var(--sky) 100%);
  border-radius: 3px;
  transition: width 0.5s ease;
  width: 0%;
}

.course-sidebar-section { padding: var(--s-3) 0; }
.course-sidebar-section-label {
  font-family: var(--heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 0 var(--s-5);
  margin-bottom: var(--s-3);
}

.course-nav-item {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 10px var(--s-5);
  color: var(--slate);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.15s;
  line-height: 1.4;
}
.course-nav-item:hover { background: var(--blue-soft); color: var(--blue); }
.course-nav-item.active {
  background: var(--blue-soft);
  color: var(--blue);
  border-left-color: var(--blue);
  font-weight: 700;
}
.course-nav-item.completed { color: var(--charcoal); }
.course-nav-item.completed .nav-check { background: var(--emerald); color: #fff; }
.nav-check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  background: var(--paper);
  color: transparent;
  font-weight: 700;
}
.course-nav-item.active .nav-check { border-color: var(--blue); background: var(--paper); color: var(--blue); }
.course-nav-item .nav-num {
  font-family: var(--heading);
  font-size: 11px;
  color: var(--slate-light);
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  width: 28px;
}
.course-nav-item.active .nav-num { color: var(--blue); }

.course-sidebar-toggle { display: none; }

/* Overlay: fixed-positioned ALWAYS so it doesn't take a grid slot.
   Hidden by default, shown only when .open on mobile. */
.course-sidebar-overlay {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(0,0,0,0.4);
  z-index: 85;
}
.course-sidebar-overlay.open { display: block; }

@media (max-width: 900px) {
  .course-shell { grid-template-columns: 1fr; }
  .course-sidebar {
    position: fixed;
    top: var(--header-h);
    left: -100%;
    width: 320px;
    z-index: 90;
    transition: left 0.3s ease;
    box-shadow: 2px 0 12px rgba(0,0,0,0.05);
  }
  .course-sidebar.open { left: 0; }
  .course-sidebar-toggle {
    display: flex;
    position: fixed;
    bottom: var(--s-5);
    left: var(--s-5);
    z-index: 95;
    background: var(--blue);
    color: #fff;
    border: none;
    width: 52px; height: 52px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(1, 57, 137, 0.4);
    font-size: 22px;
  }
}

/* Course progress (top bar) */
.course-progress-top {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  height: 4px;
  background: var(--line);
}
.course-progress-top-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue) 0%, var(--sky) 100%);
  width: 0%;
  transition: width 0.3s ease;
}

/* Course content area */
.course-content {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--s-8) var(--s-6) var(--s-9);
}
.course-content-meta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
  font-family: var(--heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.course-content-meta .part-tag {
  background: var(--blue-soft);
  color: var(--blue);
  padding: 4px 12px;
  border-radius: 999px;
}
.course-content-meta .module-tag { color: var(--slate-light); }
.course-content-meta .reading-time { color: var(--slate-light); margin-left: auto; }

.course-content h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: var(--s-5);
}
.course-content > p:first-of-type {
  font-size: 20px;
  line-height: 1.55;
  color: var(--slate);
  font-weight: 400;
  margin-bottom: var(--s-6);
}
.course-content p { font-size: 17px; line-height: 1.75; }

.course-nav-bottom {
  border-top: 1px solid var(--line);
  padding: var(--s-7) 0 0;
  margin-top: var(--s-8);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
.course-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  padding: var(--s-5);
  border-radius: 10px;
  background: var(--cream);
  border: 1px solid var(--line);
  transition: all 0.2s;
}
.course-nav-link:hover { background: var(--blue-soft); border-color: var(--blue); }
.course-nav-link .label {
  font-family: var(--heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-light);
}
.course-nav-link .title {
  font-family: var(--heading);
  font-size: 16px;
  color: var(--blue);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 4px;
}
.course-nav-link.next { text-align: right; }

@media (max-width: 640px) {
  .course-content { padding: var(--s-6) var(--s-4) var(--s-7); }
  .course-nav-bottom { grid-template-columns: 1fr; }
}

.complete-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 14px 28px;
  background: var(--paper);
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 6px;
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  margin: var(--s-6) auto;
  transition: all 0.2s;
}
.complete-btn:hover { background: var(--blue); color: #fff; }
.complete-btn.completed {
  background: var(--emerald);
  color: #fff;
  border-color: var(--emerald);
  pointer-events: none;
}

/* ============================================================
   Floating CTA
   ============================================================ */

.floating-cta {
  position: fixed;
  bottom: var(--s-5);
  right: var(--s-5);
  z-index: 80;
  background: linear-gradient(135deg, var(--blue) 0%, var(--sky) 100%);
  color: #fff;
  padding: 14px 24px;
  border-radius: 6px;
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(1, 57, 137, 0.4);
  display: flex;
  align-items: center;
  gap: var(--s-2);
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
}
.floating-cta.visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.floating-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(1, 57, 137, 0.5);
  color: #fff;
}

@media (max-width: 900px) {
  .floating-cta { bottom: var(--s-4); right: var(--s-4); padding: 12px 18px; font-size: 12px; }
}

/* ============================================================
   Pull quote, callouts, cards
   ============================================================ */

.pull-quote {
  margin: var(--s-7) 0;
  padding: var(--s-6);
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
}
.pull-quote p {
  font-family: var(--heading);
  font-size: 22px;
  line-height: 1.4;
  color: var(--charcoal);
  margin-bottom: var(--s-3);
  font-weight: 600;
}
.pull-quote cite {
  font-style: normal;
  font-size: 13px;
  color: var(--blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--heading);
}

.callout {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  padding: var(--s-5);
  margin: var(--s-5) 0;
  border-radius: 0 8px 8px 0;
}
.callout-label {
  font-family: var(--heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--s-3);
  display: block;
}
.callout p { color: var(--slate); }
.callout p:last-child { margin-bottom: 0; }
.callout-emerald { border-left-color: var(--emerald); background: var(--emerald-soft); }
.callout-emerald .callout-label { color: var(--emerald); }
.callout-warn { border-left-color: #D97706; background: #FFFBEB; }
.callout-warn .callout-label { color: #D97706; }

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin: var(--s-6) 0;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
  margin: var(--s-6) 0;
}
@media (max-width: 900px) { .card-grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .card-grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: var(--s-6);
  border-radius: 12px;
  transition: all 0.25s ease;
}
.card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1, 57, 137, 0.08);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: var(--s-4);
}

/* Service cards */
.service-card {
  background: var(--paper);
  border: 1.5px solid var(--line);
  padding: var(--s-5);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--s-4);
  align-items: start;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
  border-radius: 12px;
}
.service-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(1, 57, 137, 0.08); }
.service-card.selected { border-color: var(--blue); background: var(--blue-soft); border-width: 2px; }
.service-card.selected::before {
  content: "\2713";
  position: absolute;
  top: 14px; right: 14px;
  width: 26px; height: 26px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.service-card-icon {
  width: 56px; height: 56px;
  background: var(--blue-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card-icon svg { width: 32px; height: 32px; }
.service-card-body h4 { font-size: 17px; margin-bottom: var(--s-2); font-weight: 700; }
.service-card-body p { font-size: 14px; color: var(--slate); margin-bottom: 6px; line-height: 1.55; }
.service-card-body p:last-child { margin-bottom: 0; }

/* ============================================================
   Forms
   ============================================================ */

label {
  display: block;
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: var(--s-2);
}
input[type="text"], input[type="number"], input[type="email"], textarea, select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  color: var(--charcoal);
  border-radius: 6px;
  transition: all 0.2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(1, 57, 137, 0.1);
}
textarea { resize: vertical; min-height: 100px; line-height: 1.55; }
.field { margin-bottom: var(--s-5); }
.field-hint { font-size: 13px; color: var(--slate-light); margin-top: var(--s-2); }

input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: rgba(255,255,255,0.15);
  outline: none;
  border-radius: 3px;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--emerald);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--emerald);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.slider-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--s-2); }
.slider-value { font-family: var(--heading); font-size: 22px; color: #fff; font-weight: 700; }

.check-option {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-4);
  border: 1.5px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: var(--s-2);
  background: var(--paper);
  transition: all 0.2s;
}
.check-option:hover { border-color: var(--blue); background: var(--blue-soft); }
.check-option input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--blue); cursor: pointer; flex-shrink: 0; }
.check-option span { font-size: 15px; color: var(--charcoal); line-height: 1.5; }
.check-option.selected { border-color: var(--blue); background: var(--blue-soft); }

/* ============================================================
   Calculator panel
   ============================================================ */

.calc-panel {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  padding: var(--s-7);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(1, 57, 137, 0.25);
}
.calc-panel label { color: #fff; }
.calc-panel select {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.calc-panel select option { color: var(--charcoal); }

.calc-horizon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: var(--s-5);
  margin-top: var(--s-5);
}
.calc-horizon-cell {
  padding: 0 var(--s-4);
  border-right: 1px solid rgba(255,255,255,0.15);
}
.calc-horizon-cell:last-child { border-right: none; }
.calc-horizon-cell:first-child { padding-left: 0; }
.calc-horizon-label {
  font-family: var(--heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--s-2);
}
.calc-horizon-value { font-family: var(--heading); font-size: 26px; color: #fff; font-weight: 800; }
.calc-horizon-value.accent { color: var(--emerald); }

@media (max-width: 640px) {
  .calc-horizon-grid { grid-template-columns: 1fr; gap: var(--s-3); }
  .calc-horizon-cell { padding: var(--s-3) 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .calc-horizon-cell:last-child { border-bottom: none; }
}

.disclaimer { font-size: 12px; color: rgba(255,255,255,0.6); font-style: italic; margin-top: var(--s-4); line-height: 1.5; }

.residual-chart { width: 100%; height: 200px; display: block; }
.residual-chart .grid-line { stroke: rgba(255,255,255,0.1); stroke-width: 1; }
.residual-chart .area-path { fill: var(--emerald); opacity: 0.25; transition: all 0.4s ease; }
.residual-chart .line-path { fill: none; stroke: var(--emerald); stroke-width: 2.5; transition: all 0.4s ease; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   Warm market builder
   ============================================================ */

.wm-category {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: var(--s-5);
  margin-bottom: var(--s-4);
  border-radius: 12px;
}
.wm-category h4 { margin-bottom: var(--s-3); font-size: 16px; font-weight: 700; }
.wm-entries { display: flex; flex-direction: column; gap: var(--s-2); margin-top: var(--s-3); }
.wm-entry {
  display: grid;
  grid-template-columns: 1fr 180px 40px;
  gap: var(--s-2);
  align-items: center;
}
.wm-entry input, .wm-entry select { padding: 10px 12px; font-size: 14px; }
.wm-entry-remove {
  background: transparent;
  border: 1.5px solid var(--line);
  cursor: pointer;
  height: 40px; width: 40px;
  color: var(--slate-light);
  font-size: 18px;
  padding: 0;
  border-radius: 6px;
}
.wm-entry-remove:hover { border-color: #DC2626; color: #DC2626; background: #FEF2F2; }
.wm-add-btn {
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue);
  background: transparent;
  border: 1.5px dashed var(--line);
  padding: 12px 16px;
  cursor: pointer;
  width: 100%;
  margin-top: var(--s-2);
  border-radius: 6px;
  transition: all 0.2s;
}
.wm-add-btn:hover { border-color: var(--blue); border-style: solid; background: var(--blue-soft); }

.wm-summary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  padding: var(--s-7);
  margin-top: var(--s-6);
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(1, 57, 137, 0.25);
}
.wm-count { font-family: var(--heading); font-size: 56px; color: #fff; line-height: 1; font-weight: 800; }
.wm-count-label { font-family: var(--heading); font-size: 12px; color: rgba(255,255,255,0.8); letter-spacing: 0.12em; margin-top: var(--s-2); text-transform: uppercase; font-weight: 700; }

@media (max-width: 640px) {
  .wm-entry { grid-template-columns: 1fr 120px 40px; }
}

/* ============================================================
   Quiz
   ============================================================ */

.quiz-question {
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line-soft);
}
.quiz-question:last-child { border-bottom: none; }
.quiz-q-num {
  font-family: var(--heading);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: var(--s-2);
  display: block;
  font-weight: 700;
  text-transform: uppercase;
}
.quiz-q-text {
  font-size: 17px;
  color: var(--charcoal);
  margin-bottom: var(--s-4);
  line-height: 1.45;
  font-weight: 700;
  font-family: var(--heading);
}
.quiz-scale {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-2);
}
.quiz-scale-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--s-3) var(--s-2);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
  gap: 4px;
}
.quiz-scale-option:hover { border-color: var(--blue); background: var(--blue-soft); }
.quiz-scale-option input { display: none; }
.quiz-scale-option.selected { border-color: var(--blue); background: var(--blue); color: #fff; }
.quiz-scale-option.selected .quiz-scale-num, .quiz-scale-option.selected .quiz-scale-label { color: #fff; }
.quiz-scale-num { font-family: var(--heading); font-size: 22px; color: var(--blue); font-weight: 800; }
.quiz-scale-label { font-family: var(--heading); font-size: 10px; color: var(--slate-light); line-height: 1.2; font-weight: 700; }
@media (max-width: 640px) {
  .quiz-scale { gap: 4px; }
  .quiz-scale-option { padding: var(--s-2) 4px; }
  .quiz-scale-label { display: none; }
}

.quiz-result {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  padding: var(--s-7);
  margin-top: var(--s-6);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--s-6);
  align-items: center;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(1, 57, 137, 0.25);
}
.quiz-result h3 { color: #fff; font-size: 28px; }
.quiz-result p { color: rgba(255,255,255,0.92); margin-bottom: var(--s-4); font-size: 16px; }
@media (max-width: 640px) {
  .quiz-result { grid-template-columns: 1fr; text-align: center; padding: var(--s-5); }
}

.focus-result {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  padding: var(--s-7);
  margin-top: var(--s-5);
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(1, 57, 137, 0.25);
}
.focus-result h3 { color: #fff; font-size: 20px; margin-bottom: var(--s-2); font-weight: 600; }
.focus-result .primary { font-family: var(--heading); font-size: 36px; color: #fff; font-weight: 800; margin: var(--s-3) 0; line-height: 1.15; }
.focus-result p { color: rgba(255,255,255,0.9); font-size: 15px; line-height: 1.6; margin-bottom: 0; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ============================================================
   Timeline
   ============================================================ */

.timeline {
  position: relative;
  padding-left: var(--s-7);
  margin: var(--s-6) 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--line);
}
.tl-item { position: relative; padding-bottom: var(--s-6); }
.tl-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 8px;
  width: 14px; height: 14px;
  background: var(--blue);
  border-radius: 50%;
  border: 4px solid var(--paper);
  box-shadow: 0 0 0 2px var(--blue);
}
.tl-item h4 { font-family: var(--heading); font-size: 18px; color: var(--charcoal); margin-bottom: var(--s-2); font-weight: 700; }
.tl-week {
  font-family: var(--heading);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}
.tl-item ul { padding-left: 18px; margin: 0; }
.tl-item li { margin-bottom: var(--s-2); font-size: 15px; color: var(--slate); line-height: 1.6; }

/* ============================================================
   Convert CTA
   ============================================================ */

.convert-cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  padding: var(--s-10) var(--s-5);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.convert-cta::before, .convert-cta::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.convert-cta::before { width: 400px; height: 400px; top: -100px; left: -100px; }
.convert-cta::after { width: 300px; height: 300px; bottom: -80px; right: -80px; }
.convert-cta h2 { color: #fff; max-width: 720px; margin-left: auto; margin-right: auto; }
.convert-cta p { color: rgba(255,255,255,0.92); font-size: 18px; line-height: 1.65; max-width: 620px; margin-left: auto; margin-right: auto; margin-bottom: var(--s-5); }

/* ============================================================
   Reveal animations
   ============================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.reveal-1 { animation-delay: 0.05s; }
.reveal-2 { animation-delay: 0.18s; }
.reveal-3 { animation-delay: 0.32s; }
.reveal-4 { animation-delay: 0.48s; }
.reveal-5 { animation-delay: 0.65s; }

.reveal-on-scroll { opacity: 0; transform: translateY(20px); transition: all 0.7s ease; }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

/* ============================================================
   Site footer (dark)
   ============================================================ */

.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: var(--s-9) 0 var(--s-5);
  font-size: 14px;
}
.site-footer-inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--s-5);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--s-7);
}
.site-footer-brand img { height: 56px; width: auto; margin-bottom: var(--s-4); display: block; }
.site-footer-brand p { color: rgba(255,255,255,0.65); font-size: 14px; max-width: 320px; }

.site-footer-col h5 {
  font-family: var(--heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--s-4);
}
.site-footer-col ul { list-style: none; padding: 0; }
.site-footer-col li { margin-bottom: var(--s-3); }
.site-footer-col a { color: rgba(255,255,255,0.7); font-size: 14px; }
.site-footer-col a:hover { color: #fff; }

.site-footer-bottom {
  max-width: var(--page);
  margin: var(--s-7) auto 0;
  padding: var(--s-5) var(--s-5) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 720px) {
  .site-footer-inner { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* ============================================================
   Utility
   ============================================================ */

.center { text-align: center; }
.mt-0{margin-top:0}.mt-2{margin-top:var(--s-2)}.mt-4{margin-top:var(--s-4)}.mt-6{margin-top:var(--s-6)}.mt-8{margin-top:var(--s-8)}
.mb-0{margin-bottom:0}.mb-2{margin-bottom:var(--s-2)}.mb-4{margin-bottom:var(--s-4)}.mb-6{margin-bottom:var(--s-6)}.mb-8{margin-bottom:var(--s-8)}
