/* Phase 1 visual fidelity layer: shared by the homepage and key interior pages. */
:root {
  --eyj-purple: #2d1b69;
  --eyj-purple-dark: #241452;
  --eyj-gold: #d1ad45;
  --eyj-cream: #fefcf9;
  --eyj-teal: #4f8d87;
  --eyj-ink: #2c2c2c;
  --eyj-muted: #625f68;
}

html { overflow-x: hidden; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 9999; padding: .75rem 1rem; background: #fff; color: #2d1b69; border: 2px solid #2d1b69; border-radius: .5rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid #d1ad45 !important; outline-offset: 3px; }
body,
body.upgrade-home {
  overflow-x: hidden;
  background: #fefcf9;
  color: #2c2c2c;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
h1, h2, h3,
.upgrade-brand,
.audience-card h3,
.feature-card h3,
.offer-card h3 {
  font-family: "Playfair Display", Georgia, serif;
}

/* Match the live header proportions and logo treatment. */
.upgrade-nav { background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(45,27,105,.10); }
.upgrade-nav-inner { max-width: 1240px; min-height: 70px; padding: 0 36px; }
.upgrade-brand { color: #2d1b69 !important; font-size: 1.08rem; }
.upgrade-brand img { width: 40px; height: 40px; }
.upgrade-links a { color: #2c2c2c !important; border-radius: 0; font-size: .9rem; text-transform: uppercase; letter-spacing: .02em; }
.upgrade-links a:hover,
.upgrade-links a:focus { color: #2d1b69 !important; background: transparent; box-shadow: inset 0 -2px #2d1b69; }
.upgrade-links .nav-cta { color: #2c2c2c !important; background: transparent; padding-inline: 11px; }

/* Use the original hills artwork with the light, hopeful live-site color balance. */
.hero-upgrade {
  min-height: 640px;
  background-image: linear-gradient(rgba(255,255,255,.48),rgba(255,255,255,.53)), url("../images/hero-bg.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.hero-upgrade::before,
.hero-upgrade::after { display: none !important; }
.hero-upgrade-inner { max-width: 980px; padding: 74px 28px 82px; }
.hero-brand-logo {
  width: 180px;
  height: auto;
  margin: 0 auto 2rem;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(45,27,105,.15);
  animation: eyj-logo-arrive 900ms cubic-bezier(.22,1,.36,1) both;
}
@keyframes eyj-logo-arrive {
  from { opacity: 0; transform: translateY(-14px) scale(.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-upgrade .eyebrow { color: #5a477f !important; text-shadow: none !important; }
.hero-upgrade h1 {
  max-width: 900px;
  color: #2d1b69 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(2.8rem, 4.5vw, 4.2rem) !important;
  font-style: italic;
  font-weight: 700 !important;
  line-height: 1.14 !important;
  letter-spacing: -.015em !important;
  text-shadow: 0 1px 12px rgba(255,255,255,.72) !important;
}
.hero-upgrade p { color: #2c2c2c !important; font-size: 1.18rem; line-height: 1.7; text-shadow: 0 1px 10px rgba(255,255,255,.85) !important; }
.button-primary { color: #fff !important; background: #2d1b69; }
.button-secondary { color: #2d1b69 !important; border-color: #2d1b69 !important; background: rgba(255,255,255,.42) !important; }

.upgrade-section { padding-block: 80px; }
.upgrade-section.alt { background: #f7f2ea; }
.section-intro h2,
.framework-layout h2,
.story-layout h2,
.cta-panel h2 { color: #2d1b69; }
.audience-card,
.feature-card,
.offer-card { border-color: rgba(45,27,105,.12); border-radius: 14px; }
.identity-line { color: #5a477f; }
.signature-band { background: #2d1b69; }
.upgrade-footer { background: #241452; }

/* Interior-page banners mirror the homepage's type, scale, spacing, and mountain treatment. */
.nav-logo-img { width: 40px !important; height: 40px !important; object-fit: contain; }

/* Give every interior page the same white masthead treatment as the homepage. */
.nav {
  position: sticky !important;
  background: rgba(255,255,255,.97) !important;
  backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(45,27,105,.10) !important;
}
.nav-inner {
  width: 100%;
  max-width: 1400px !important;
  min-height: 76px;
  height: auto !important;
  padding: 0 24px !important;
  gap: 24px;
  justify-content: flex-start !important;
}
.nav-logo {
  flex: 0 0 auto;
  gap: 12px !important;
  color: #2d1b69 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  line-height: 1.1;
  white-space: nowrap !important;
}
.nav-logo-img {
  width: 46px !important;
  height: 46px !important;
}
.nav-links {
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  gap: 4px !important;
}
.nav-links a {
  display: block;
  padding: 10px 11px !important;
  border-radius: 999px;
  color: #2c2c2c !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: .89rem !important;
  font-weight: 600 !important;
  line-height: 1.25;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active {
  color: #2d1b69 !important;
  background: #f7f2ea;
}
.nav-links a::after { display: none !important; }
.nav-links .dropdown-caret { color: #2c2c2c; }
.hero {
  min-height: 640px !important;
  padding: 0 2rem !important;
  background-image: linear-gradient(rgba(255,255,255,.48),rgba(255,255,255,.53)), url("../images/hero-bg.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.hero::before,
.hero::after { display: none !important; }
.hero .hero-content {
  width: 100%;
  max-width: 980px;
  padding: 74px 28px 82px;
}
.hero h1 {
  max-width: 900px;
  margin: 18px auto 24px;
  color: #2d1b69 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(2.8rem, 4.5vw, 4.2rem) !important;
  font-style: italic !important;
  font-weight: 700 !important;
  line-height: 1.14 !important;
  letter-spacing: -.015em !important;
  text-shadow: 0 1px 12px rgba(255,255,255,.72) !important;
}
.hero p {
  color: #2c2c2c !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 1.18rem !important;
  line-height: 1.7 !important;
  text-shadow: 0 1px 10px rgba(255,255,255,.85) !important;
}
.hero .section-label {
  color: #5a477f !important;
  background: rgba(255,255,255,.76) !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
  letter-spacing: .15em !important;
  text-transform: uppercase;
  box-shadow: 0 2px 12px rgba(45,27,105,.08);
}

@media (max-width: 900px) {
  .upgrade-nav-inner { padding-inline: 20px; }
  .upgrade-links { background: #fff; }
  .upgrade-links a { text-transform: none; }
  .hero-upgrade { min-height: 610px; background-position: 58% center !important; }
  .hero { min-height: 610px !important; background-position: 58% center !important; }
  .hero .hero-content { padding: 70px 22px; }
  .hero h1 { font-size: clamp(2.55rem, 9vw, 4rem) !important; }
  .nav-inner { padding-inline: 20px !important; }
  .nav-logo-img { width: 40px !important; height: 40px !important; }
  .nav-links { background: #fff; }
  .nav-links a { text-align: center; }
  .hero-upgrade-inner { padding: 70px 22px; }
  .hero-upgrade h1 { font-size: clamp(2.55rem, 9vw, 4rem) !important; }
}

@media (max-width: 620px) {
  .upgrade-brand span { display: inline; font-size: .9rem; }
  .upgrade-brand img { width: 36px; height: 36px; }
  .hero-upgrade { min-height: 620px; }
  .hero-brand-logo { width: 140px; margin-bottom: 1.25rem; }
  .hero-upgrade h1 { font-size: 2.7rem !important; }
  .hero-upgrade p { font-size: 1rem; }
  .hero { min-height: 620px !important; padding-inline: 20px !important; }
  .hero h1 { font-size: 2.7rem !important; }
  .hero p { font-size: 1rem !important; }
  .nav-logo { font-size: .9rem !important; }
  .nav-inner { padding-inline: 16px !important; }
  .upgrade-section { padding-block: 64px; }
  .two-col,
  .two-col > div,
  #paypal-container-68GP8RSCBG482 { min-width: 0; width: 100%; max-width: 100%; }
  #paypal-container-68GP8RSCBG482 { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-brand-logo { animation: none; }
}

.checkout-status {
  margin: 0.8rem 0 0;
  color: var(--text-medium);
  font-size: 0.84rem;
  line-height: 1.5;
}

.checkout-status.checkout-error {
  color: #8a1c1c;
  font-weight: 600;
}

#secure-workbook-download {
  display: inline-block;
  width: 100%;
  text-align: center;
}

.consent-banner {
  box-sizing: border-box;
  position: fixed;
  z-index: 10000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: calc(100% - 2rem);
  max-width: 980px;
  margin: auto;
  padding: 1rem 1.15rem;
  color: #24183f;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(90, 11, 99, 0.2);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(36, 24, 63, 0.2);
}

.consent-banner > div:first-child { min-width: 0; }
.consent-banner p { margin: 0.25rem 0 0; font-size: 0.9rem; line-height: 1.5; }
.consent-banner a { color: var(--purple-mid); text-decoration: underline; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; flex: 0 0 auto; }
.consent-actions button { padding: 0.65rem 0.9rem; border: 1px solid var(--purple-mid); border-radius: 999px; color: var(--purple-deep); background: #fff; font: inherit; font-weight: 600; white-space: nowrap; cursor: pointer; }
.consent-actions .consent-accept { color: #fff; background: var(--purple-deep); }

@media (max-width: 900px) {
  .consent-banner { align-items: stretch; flex-direction: column; }
  .consent-actions { width: 100%; }
  .consent-actions button { flex: 1; }
}
