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

:root {
  /* Charcoal, Indigo & Gold */
  --charcoal: #18181b;
  --charcoal-deep: #09090b;
  --charcoal-hover: #27272a;
  --charcoal-rgb: 24, 24, 27;
  --indigo: #6366f1;
  --indigo-light: #818cf8;
  --gold: #d4af37;
  --gold-light: #e5c158;
  --paper: #fafafa;
  --paper-rgb: 250, 250, 250;
  --paper-dark: #f4f4f5;
  --text-body: #27272a;
  --text-muted: #52525b;
  --rule: rgba(24, 24, 27, 0.11);
  --font-body: 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-cta,
.btn-primary,
.btn-secondary,
.card-cta {
  border-radius: 4px;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(var(--charcoal-rgb), 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.nav-logo { height: 76px; width: auto; flex-shrink: 0; display: block; }

.nav-wordmark {
  font-size: calc(1.6rem + 10pt);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}

.nav-wordmark .logic {
  font-weight: 700;
  color: var(--charcoal);
}
.nav-wordmark .shift { color: var(--gold); font-weight: 700; font-style: normal; }

.nav-cta {
  background: var(--gold);
  color: var(--paper);
  border: none;
  padding: 0.5rem 1.25rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, opacity 0.2s;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--gold-light); opacity: 1; }

/* HERO */
.hero {
  background: var(--charcoal);
  color: var(--paper);
  padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 5vw, 4rem);
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 520px;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(45, 106, 99, 0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-image-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(50%, 620px);
  height: 100%;
  pointer-events: none;
}

.hero-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.hero-image-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--charcoal) 0%, rgba(var(--charcoal-rgb), 0.92) 18%, rgba(var(--charcoal-rgb), 0.55) 42%, rgba(var(--charcoal-rgb), 0.15) 68%, transparent 100%),
    linear-gradient(to top, rgba(var(--charcoal-rgb), 0.35) 0%, transparent 35%);
}

.hero-inner {
  max-width: min(1040px, calc(100vw - clamp(3rem, 10vw, 8rem) * 2));
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 3.5vw + 1rem, 4.6rem);
  line-height: 1.08;
  color: var(--paper);
  margin-bottom: 1.5rem;
}

@media (min-width: 901px) {
  .hero h1 { white-space: nowrap; }
}

.hero h1 em { color: var(--gold); font-style: italic; }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(var(--paper-rgb), 0.72);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1rem;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--paper);
  padding: 0.85rem 2rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  border: 1px solid rgba(var(--paper-rgb), 0.25);
  color: rgba(var(--paper-rgb), 0.75);
  padding: 0.85rem 2rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover { border-color: rgba(var(--paper-rgb), 0.5); color: var(--paper); }

.hero-or {
  font-size: 0.85rem;
  color: rgba(var(--paper-rgb), 0.35);
  align-self: center;
}

.hero-note {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(var(--paper-rgb), 0.35);
  letter-spacing: 0.03em;
}

/* STATS BANNER */
.stats-banner {
  background: var(--charcoal-deep);
  padding: 2.5rem clamp(1.5rem, 5vw, 4rem);
}

.stats-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.8vw, 2.55rem);
  font-weight: 500;
  color: var(--indigo);
  line-height: 1;
  margin-bottom: 0.4rem;
  white-space: nowrap;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(var(--paper-rgb), 0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* SECTIONS */
section { padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem); }

.section-inner { max-width: 1040px; margin: 0 auto; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  color: var(--charcoal);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 3rem;
  line-height: 1.65;
}

#who-its-for { background: var(--paper-dark); }

#assessment { background: var(--paper); }

#how-it-works {
  background: var(--charcoal);
  color: var(--paper);
}

#how-it-works .section-heading { color: var(--paper); }
#how-it-works .section-intro { color: rgba(var(--paper-rgb), 0.65); }
#how-it-works .step h3 { font-size: 1.35rem; color: var(--paper); margin-bottom: 0.75rem; font-weight: 500; }
#how-it-works .step p { font-size: 0.9rem; color: rgba(var(--paper-rgb), 0.55); line-height: 1.75; }

#what-you-get { background: var(--paper); }

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.roadmap-point {
  padding: 1.75rem;
  background: var(--paper-dark);
  border: 1px solid var(--rule);
}

.roadmap-point h3 {
  font-size: 1.15rem;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.roadmap-point p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

#pricing { background: var(--paper-dark); }

.what-you-get-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.what-left h2 {
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.what-left p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.what-right {
  background: var(--paper-dark);
  border: 1px solid var(--rule);
  padding: 2rem;
}

.what-right-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.deliverable-list { list-style: none; }

.deliverable-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-body);
}

.deliverable-list li:last-child { border-bottom: none; }

.check { color: var(--indigo); flex-shrink: 0; margin-top: 2px; }

/* PRICING CARDS */
.pricing-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 1.25rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  background: white;
  border: 1px solid var(--rule);
  padding: 2.5rem;
  position: relative;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card:hover { box-shadow: 0 8px 32px rgba(var(--charcoal-rgb), 0.1); }
.pricing-card.featured { border-color: var(--gold); }

.pricing-card.featured::before {
  content: 'Most popular';
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--gold);
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
}

.card-tier {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.card-price {
  font-family: var(--font-serif);
  font-size: 3.25rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.card-price sup { font-size: 1.3rem; vertical-align: super; }

.card-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 0;
  border-bottom: none;
}

.card-features {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.card-features li {
  font-size: 0.95rem;
  padding: 0.4rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-body);
}

.card-cta {
  display: block;
  text-align: center;
  background: var(--charcoal);
  color: var(--paper);
  padding: 0.9rem 1.5rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: opacity 0.2s;
  margin-top: auto;
}

.pricing-card.featured .card-cta { background: var(--gold); color: var(--paper); }
.card-cta:hover { opacity: 0.85; }

/* HOW IT WORKS */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.step-number {
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--indigo);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.7;
}

/* TESTIMONIAL */
#testimonial { background: var(--charcoal); }

#testimonial .section-label { color: var(--indigo-light); }
#testimonial .testimonial-text { color: var(--paper); }
#testimonial .testimonial-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

.testimonial-card { max-width: 720px; margin: 0 auto; text-align: center; }

.findings-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  max-width: 640px;
  margin: 0 auto;
}

.findings-list li {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--paper);
  background: rgba(var(--paper-rgb), 0.08);
  border: 1px solid rgba(var(--paper-rgb), 0.18);
  padding: 0.55rem 1.1rem;
  border-radius: 4px;
  line-height: 1.3;
}

.testimonial-quote-mark {
  font-size: 4rem;
  color: var(--indigo);
  line-height: 0.5;
  margin-bottom: 1.5rem;
  opacity: 0.6;
}

.testimonial-text {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  color: var(--charcoal);
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 0;
}

.testimonial-name { font-size: 0.875rem; font-weight: 600; color: var(--charcoal); letter-spacing: 0.04em; }

/* WHO IT'S FOR */
.profile-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.profile-point { border-left: 3px solid var(--indigo); padding-left: 1.25rem; }
.profile-point h4 { font-size: 1.1rem; color: var(--charcoal); margin-bottom: 0.4rem; }
.profile-point p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* FAQ */
#faq { background: var(--paper); }

.faq-list { max-width: 720px; }

.faq-item { border-bottom: 1px solid var(--rule); }

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-family: inherit;
  font-size: 1rem;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question:hover { color: var(--indigo); }

.faq-icon {
  font-size: 1.25rem;
  color: var(--indigo);
  flex-shrink: 0;
  transition: transform 0.2s;
  font-weight: 300;
  line-height: 1;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 620px;
}

.faq-item.open .faq-answer { display: block; }

/* CHECKOUT BRIDGE */
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.checkout-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(var(--charcoal-rgb), 0.72);
  backdrop-filter: blur(4px);
}

.checkout-panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 2.25rem 2rem 2rem;
  box-shadow: 0 24px 80px rgba(var(--charcoal-rgb), 0.25);
}

.checkout-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
}

.checkout-close:hover { color: var(--charcoal); }

.checkout-panel .section-label { margin-bottom: 0.5rem; }

.checkout-heading {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 0.35rem;
  padding-right: 1.5rem;
}

.checkout-price {
  font-size: 2.25rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.checkout-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--rule);
}

.checkout-steps-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.checkout-steps {
  list-style: none;
  margin-bottom: 1.75rem;
}

.checkout-steps li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.65rem 0;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.55;
}

.checkout-step-num {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.checkout-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkout-actions .btn-primary {
  text-align: center;
  width: 100%;
}

.checkout-back {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-back:hover { color: var(--charcoal); }

button.card-cta {
  border: none;
  cursor: pointer;
  width: 100%;
}

/* FOOTER */
footer {
  background: var(--charcoal-deep);
  color: rgba(var(--paper-rgb), 0.5);
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand { display: flex; align-items: center; gap: 6px; margin-bottom: 0.75rem; }
.footer-logo { height: 44px; width: auto; display: block; }

.footer-company { font-size: 0.78rem; color: rgba(var(--paper-rgb), 0.3); margin-top: 0.5rem; line-height: 1.8; }

.footer-links { display: flex; flex-direction: column; gap: 0.5rem; text-align: right; }

.footer-links a { color: rgba(var(--paper-rgb), 0.38); text-decoration: none; font-size: 0.82rem; transition: color 0.15s; }
.footer-links a:hover { color: var(--gold-light); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { padding-top: 0; align-items: flex-end; }
  .hero-image-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 42%;
  }
  .hero-image-panel::after {
    background: linear-gradient(to bottom, transparent 0%, rgba(var(--charcoal-rgb), 0.4) 50%, var(--charcoal) 100%);
  }
  .hero-inner {
    max-width: none;
    padding-top: clamp(12rem, 38vh, 16rem);
  }
}

@media (max-width: 768px) {
  .what-you-get-layout { grid-template-columns: 1fr; gap: 2rem; }
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .roadmap-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-links { text-align: left; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
  .hero-or { display: none; }
}
