/* ============================================================
   MBY CONSULTING — DESIGN SYSTEM & STYLES
   Colors: #1A1A1C (bg), #C9A040 (gold), #F5F5F0 (light text)
   Fonts: Playfair Display (headings), Inter (body)
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:       #0F0F11;
  --bg:          #1A1A1C;
  --bg-card:     #222226;
  --bg-light:    #2A2A2E;
  --gold:        #D4AF37;
  --gold-light:  #FFD700;
  --gold-dim:    #8B6914;
  --white:       #F5F5F0;
  --muted:       #9A9A96;
  --border:      rgba(201,160,64,0.2);
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --max-width:   1200px;
  --section-pad: 100px 24px;
  --nav-h:       80px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.2; }

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 24px;
}

.section-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #D4AF37, #EED060, #D4AF37, transparent);
  margin-bottom: 40px;
}


blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold-light);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn--gold {
  background: linear-gradient(105deg, #7A5C10 0%, #C8971C 30%, #EED060 50%, #C8971C 70%, #7A5C10 100%);
  background-size: 300% auto;
  color: #0F0F0F;
  border-color: transparent;
  animation: goldShimmer 5s ease-in-out infinite;
}
.btn--gold:hover {
  background: linear-gradient(105deg, #8B6914 0%, #D4A832 30%, #F5DC78 50%, #D4A832 70%, #8B6914 100%);
  background-size: 300% auto;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200,151,28,0.35);
  animation: none;
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(245,245,240,0.4);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn--large { padding: 18px 48px; font-size: 0.85rem; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(15,15,17,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav__link:hover { color: var(--white); }

.nav__link--cta {
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 10px 24px;
  border-radius: 2px;
  transition: all 0.3s;
}
.nav__link--cta:hover {
  background: var(--gold);
  color: var(--black);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 24px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(201,160,64,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(201,160,64,0.04) 0%, transparent 50%);
  background-color: var(--black);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, var(--black) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-align: center;
  padding-top: var(--nav-h);
}

.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  color: var(--white);
  margin-bottom: 28px;
  line-height: 1.1;
}

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 16px;
}

.hero__support {
  font-size: 0.9rem;
  color: var(--gold-dim);
  font-style: italic;
  margin-bottom: 48px;
  font-family: var(--font-serif);
}

.hero__ctas {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-hint span {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ============================================================
   AUTHORITY (Split Editorial)
   ============================================================ */
.authority {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  position: relative;
}

.authority__photo {
  position: relative;
  overflow: hidden;
}
.authority__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(15%) contrast(1.05);
}
.authority__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--bg) 100%),
              linear-gradient(to bottom, var(--black) 0%, transparent 8%);
}

.authority__content {
  background: var(--bg);
  padding: 80px 64px 80px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.authority__divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #D4AF37, #EED060, #D4AF37, transparent);
  margin: 24px 0 32px;
}

.authority__credentials {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.authority__credentials li {
  font-size: 0.95rem;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}
.authority__credentials li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 1px;
  background: var(--gold);
}

.authority__quote {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.authority__support {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 36px;
}

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy {
  padding: var(--section-pad);
  background: var(--black);
  position: relative;
}
.philosophy::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

.philosophy__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.philosophy__header { text-align: center; margin-bottom: 64px; }
.philosophy__header .section-divider { margin: 0 auto 0; }

.philosophy__pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px 28px;
  border-radius: 2px;
  transition: border-color 0.3s, transform 0.3s;
}
.pillar:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.pillar__icon {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 20px;
  line-height: 1;
}

.pillar__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 600;
}

.pillar__text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

.philosophy__quote {
  text-align: center;
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto;
  border-left: 2px solid var(--gold);
  padding-left: 28px;
  text-align: left;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: var(--section-pad);
  background: var(--bg);
  position: relative;
}
.services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

.services__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.services__header { text-align: center; margin-bottom: 64px; }
.services__header .section-divider { margin: 0 auto 0; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-card {
  background: var(--bg-card);
  padding: 52px 40px;
  border-top: 2px solid transparent;
  transition: border-color 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.service-card:hover { border-top-color: var(--gold); background: var(--bg-light); }

.service-card__number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 24px;
  font-weight: 700;
}

.service-card__title {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 16px;
}

.service-card__text {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.8;
}

.service-card__output {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.05em;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

/* ============================================================
   LANDSCAPE / PROBLEM → SOLUTION
   ============================================================ */
.landscape {
  padding: var(--section-pad);
  background: var(--black);
  position: relative;
}
.landscape::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

.landscape__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
}

.landscape__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}
.landscape__list li {
  font-size: 0.95rem;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}
.landscape__list li::before {
  content: '×';
  position: absolute;
  left: 0;
  color: #666;
  font-size: 0.9rem;
}

.landscape__list--gold li { color: var(--white); }
.landscape__list--gold li::before {
  content: '✓';
  color: var(--gold);
}

.landscape__transition {
  font-style: italic;
  color: var(--muted);
  font-size: 0.9rem;
  border-left: 2px solid #444;
  padding-left: 16px;
}

.landscape__arrow {
  font-size: 2.5rem;
  color: var(--gold);
  opacity: 0.4;
  align-self: center;
  padding-top: 80px;
}

/* ============================================================
   POSITIONING (Sam1.1 — stats section)
   ============================================================ */
.positioning {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.positioning__photo {
  position: relative;
  overflow: hidden;
}
.positioning__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.positioning__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 50%, var(--bg) 100%),
              linear-gradient(to bottom, var(--black) 0%, transparent 8%);
}

.positioning__content {
  background: var(--bg);
  padding: 80px 64px 80px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stats {
  display: flex;
  gap: 40px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat__number {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat__plus {
  font-size: 1.6rem;
  color: var(--gold);
}

.stat__label {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.positioning__text {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 400px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how {
  padding: var(--section-pad);
  background: var(--black);
  position: relative;
}
.how::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

.how__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.how__header { text-align: center; margin-bottom: 64px; }
.how__header .section-divider { margin: 0 auto 0; }

.how__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.how__steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--border);
}

.how__step {
  padding: 0 24px;
  text-align: center;
  position: relative;
}

.how__step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold);
  background: var(--black);
  position: relative;
  z-index: 1;
}

.how__step-content h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 600;
}

.how__step-content p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   APPLY / CTA
   ============================================================ */
.apply {
  padding: var(--section-pad);
  background: var(--bg);
  position: relative;
}
.apply::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

.apply__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.apply__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 20px;
}

.apply__sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 56px;
  line-height: 1.8;
}

/* Form */
.apply__form { text-align: left; }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__group--full { margin-bottom: 20px; }

.form__group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.form__group input,
.form__group select,
.form__group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--gold);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: #555;
}

.form__group select option { background: var(--bg-card); }

.form__group textarea { resize: vertical; min-height: 120px; }

.form__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.form__note {
  font-size: 0.82rem;
  color: var(--muted);
}

.form__stripe-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form__success {
  display: none;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.9rem;
  text-align: center;
  border-radius: 2px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  padding: 64px 24px;
  border-top: 1px solid var(--border);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer__logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
}

.footer__tagline {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer__divider {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

.footer__disclaimer {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.7;
}

.footer__copy {
  font-size: 0.75rem;
  color: #444;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .philosophy__pillars { grid-template-columns: repeat(2, 1fr); }
  .how__steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .how__steps::before { display: none; }
}

@media (max-width: 768px) {
  :root { --section-pad: 72px 20px; }

  /* Nav */
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(15,15,17,0.98);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    border-bottom: 1px solid var(--border);
  }
  .nav__links.open { transform: translateY(0); }

  /* Authority split → stack */
  .authority {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .authority__photo { height: 115vw; max-height: 640px; }
  .authority__photo img {
    object-position: center 8%;
    object-fit: cover;
  }
  .authority__photo-overlay {
    background: linear-gradient(to bottom, transparent 70%, var(--bg) 100%);
  }
  .authority__content { padding: 48px 24px; }

  /* Positioning split → stack */
  .positioning {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .positioning__photo { height: 120vw; max-height: 680px; }
  .positioning__photo img {
    object-position: center 5%;
    object-fit: cover;
  }
  .positioning__photo-overlay {
    background: linear-gradient(to bottom, transparent 72%, var(--bg) 100%);
  }
  .positioning__content { padding: 48px 24px; }

  /* Landscape → stack */
  .landscape__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .landscape__arrow { display: none; }

  /* Services → stack */
  .services__grid { grid-template-columns: 1fr; }

  /* How → 1 col */
  .how__steps { grid-template-columns: 1fr; gap: 32px; }

  /* Form */
  .form__row { grid-template-columns: 1fr; }

  /* Stats */
  .stats { gap: 28px; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__ctas .btn { width: 100%; max-width: 320px; text-align: center; }
  .philosophy__pillars { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICE CARD — CLICKABLE STATE
   ============================================================ */
.service-card[data-modal] {
  cursor: pointer;
}
.service-card[data-modal]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.service-card__learn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 24px;
  transition: gap 0.2s ease;
}
.service-card:hover .service-card__learn { gap: 14px; }

.service-card__arrow {
  transition: transform 0.2s ease;
}
.service-card:hover .service-card__arrow { transform: translateX(4px); }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid;
  border-image: linear-gradient(90deg, #8B6914, #FFD700, #FFF5A0, #FFD700, #8B6914) 1;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.35s ease;
  border-radius: 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) transparent;
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: sticky;
  top: 0;
  float: right;
  margin: 16px 16px 0 0;
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  z-index: 10;
}
.modal__close:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,160,64,0.08);
}

.modal__header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px 40px 24px;
  clear: both;
}

.modal__number {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.18;
  line-height: 1;
  flex-shrink: 0;
}

.modal__header-text { flex: 1; }

.modal__title {
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0;
}

.modal__divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-top: 16px;
}

.modal__body {
  padding: 0 40px 32px;
}

.modal__desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 32px;
}

.modal__includes { margin-bottom: 28px; }

.modal__includes-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.modal__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal__list li {
  font-size: 0.9rem;
  color: var(--white);
  padding-left: 22px;
  position: relative;
  line-height: 1.6;
}
.modal__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
  top: 2px;
}

.modal__for { margin-bottom: 8px; }

.modal__for-text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
  font-style: italic;
}

.modal__footer {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 40px 36px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.modal__cta { flex-shrink: 0; }

.modal__close-link {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.8rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: color 0.2s;
  letter-spacing: 0.05em;
}
.modal__close-link:hover { color: var(--white); }

/* Modal responsive */
@media (max-width: 600px) {
  .modal__header { padding: 24px 24px 20px; gap: 16px; }
  .modal__number { font-size: 2.8rem; }
  .modal__title  { font-size: 1.4rem; }
  .modal__body   { padding: 0 24px 24px; }
  .modal__footer { padding: 20px 24px 28px; gap: 16px; }
  .modal__cta    { width: 100%; text-align: center; }

  /* Modal scroll on small screens */
  .modal-overlay {
    align-items: flex-start;
    padding: 16px;
  }
  .modal {
    max-height: none;
    margin: auto 0;
  }
}

/* ============================================================
   MODAL — COMPACT VARIANT (steps + stats)
   ============================================================ */
.modal--compact {
  max-width: 520px;
}

/* ============================================================
   HOW IT WORKS — CLICKABLE STEPS
   ============================================================ */
.how__step--clickable {
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.3s;
  padding: 20px 16px;
  margin: -20px -16px;
}
.how__step--clickable:hover {
  background: rgba(201,160,64,0.05);
}
.how__step--clickable:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.how__step--clickable:hover .how__step-num {
  background: rgba(201,160,64,0.12);
  box-shadow: 0 0 20px rgba(201,160,64,0.2);
}

.how__step-learn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 14px;
  transition: gap 0.2s ease;
}
.how__step--clickable:hover .how__step-learn { gap: 12px; }

.how__step-arrow {
  transition: transform 0.2s ease;
}
.how__step--clickable:hover .how__step-arrow { transform: translateX(4px); }

/* ============================================================
   MODAL META (time / format rows)
   ============================================================ */
.modal__meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.modal__meta-item {
  font-size: 0.82rem;
  color: var(--muted);
}
.modal__meta-item strong {
  color: var(--gold);
  font-weight: 600;
}

/* ============================================================
   AUTHORITY CREDENTIALS — TOOLTIP
   ============================================================ */
.credential-tip {
  position: relative;
  cursor: default;
}
.credential-tip::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: calc(100% - 20px);
  margin-left: 20px;
  height: 1px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.2s;
}
.credential-tip:hover::before,
.credential-tip:focus-within::before { opacity: 0.4; }

.credential-tip__text {
  position: absolute;
  left: 20px;
  bottom: calc(100% + 10px);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-left: 2px solid var(--gold);
  color: var(--white);
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.6;
  padding: 10px 14px;
  border-radius: 2px;
  width: 280px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.credential-tip:hover .credential-tip__text,
.credential-tip:focus-within .credential-tip__text {
  opacity: 1;
  transform: translateY(0);
}

/* Flip tooltip if near top of section */
@media (max-width: 768px) {
  .credential-tip__text {
    left: 0;
    width: 240px;
    bottom: auto;
    top: calc(100% + 8px);
  }
}

/* ============================================================
   STATS — CLICKABLE
   ============================================================ */
.stat--clickable {
  cursor: pointer;
  position: relative;
  padding-bottom: 4px;
  border-radius: 2px;
  transition: transform 0.2s;
}
.stat--clickable:hover { transform: translateY(-3px); }
.stat--clickable:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
}

.stat__info {
  display: block;
  font-size: 0.7rem;
  color: var(--gold);
  opacity: 0.5;
  margin-top: 4px;
  transition: opacity 0.2s;
  font-style: normal;
}
.stat--clickable:hover .stat__info { opacity: 1; }

/* ============================================================
   STRIPE BUY BUTTON — WRAPPER
   ============================================================ */
.form__stripe-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 400px;
  margin: 4px 0;
}
.form__stripe-divider::before,
.form__stripe-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.form__stripe-divider span {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.form__stripe-btn {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 400px;
}

.form__note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 4px;
}
