:root {
  --bg: #FFFFFF;
  --bg-alt: #F7F7F8;
  --bg-dark: #0B0B0C;
  --charcoal: #1A1A1C;
  --text: #0B0B0C;
  --text-on-dark: #FFFFFF;
  --text-secondary: #4A4A4F;
  --text-muted: #8A8A92;
  --border: #E5E5E8;
  --accent: #1F7A4F;
  --accent-soft: #E8F2EC;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 18px; }
.nav-brand-dot {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--charcoal); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 16px;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 14px; border-radius: 6px;
  color: var(--text-secondary); font-weight: 600; font-size: 14px;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); font-weight: 800; }
.nav-login {
  color: var(--accent) !important; font-weight: 800 !important;
  border: 1px solid var(--accent);
  padding: 8px 14px !important; border-radius: 6px;
}
.nav-login:hover { background: var(--accent-soft); }
.nav-cta {
  background: var(--charcoal); color: var(--bg);
  padding: 10px 18px; border-radius: 6px;
  font-weight: 800; font-size: 13px; margin-left: 8px;
  cursor: pointer;
}
.nav-cta:hover { background: #000; }
.nav-menu-btn {
  display: none;
  width: 40px; height: 40px;
  border-radius: 6px; background: var(--bg-alt);
  align-items: center; justify-content: center;
  font-size: 22px;
}
.nav-mobile {
  display: none;
  padding: 0 20px 16px;
  border-top: 1px solid var(--border);
  flex-direction: column; gap: 4px;
}
.nav-mobile a {
  padding: 14px 0; font-weight: 700; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-of-type { border-bottom: 0; }
.nav-mobile .nav-mobile-login { color: var(--accent); }
.nav-mobile-cta {
  background: var(--charcoal); color: var(--bg);
  padding: 14px; border-radius: 6px;
  text-align: center; font-weight: 800; margin-top: 8px;
  display: block;
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
  .nav.open .nav-mobile { display: flex; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 560px;
  background: var(--bg-dark);
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  color: var(--text-on-dark);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(rgba(11,11,12,0.55), rgba(11,11,12,0.95));
}
.hero-inner {
  position: relative;
  max-width: 1200px; margin: 0 auto;
  padding: 80px 24px;
  display: flex; flex-direction: column; gap: 18px; justify-content: center;
  min-height: 560px;
}
.eyebrow {
  color: var(--accent);
  font-size: 11px; font-weight: 900; letter-spacing: 2.5px;
  text-transform: uppercase;
}
.h1 {
  font-size: 38px; font-weight: 900; letter-spacing: -1px;
  line-height: 1.15;
  color: var(--text-on-dark);
}
@media (min-width: 900px) { .h1 { font-size: 48px; } }
.hero-sub {
  color: #D8D8DC;
  font-size: 16px; line-height: 1.5; max-width: 640px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg); color: var(--text);
  padding: 14px 22px; border-radius: 6px;
  font-weight: 900; font-size: 13px; letter-spacing: 1.2px;
  cursor: pointer;
}
.btn-primary:hover { background: #f0f0f0; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid #FFFFFFCC;
  padding: 14px 22px; border-radius: 6px;
  color: var(--text-on-dark);
  font-weight: 900; font-size: 13px; letter-spacing: 1.2px;
  cursor: pointer;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.hero-login {
  margin-top: 8px;
  color: #D8D8DC; font-size: 13px; font-weight: 600;
}
.hero-login a { color: var(--accent); text-decoration: underline; }

/* ===== SECTIONS ===== */
.section { padding: 56px 20px; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section-charcoal { background: var(--charcoal); color: var(--text-on-dark); }
.inner { max-width: 1200px; margin: 0 auto; }
.h2 {
  font-size: 28px; font-weight: 900;
  letter-spacing: -0.5px; line-height: 1.25;
  margin: 8px 0 16px;
}
@media (min-width: 900px) { .h2 { font-size: 32px; } }
.body { color: var(--text-secondary); font-size: 15px; line-height: 1.6; margin-bottom: 12px; }
.section-dark .body, .section-charcoal .body { color: #C9C9D0; }

/* Row layout */
.row { display: grid; gap: 32px; }
@media (min-width: 900px) { .row-wide { grid-template-columns: 1fr 1fr; align-items: start; gap: 48px; } }
.portrait {
  width: 100%; aspect-ratio: 4/3;
  background: var(--bg-alt) center/cover;
  border-radius: 10px;
}

/* Grid */
.grid { display: grid; gap: 14px; }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* Cards */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
}
.card-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
  font-size: 20px;
}
.card-title { font-weight: 900; font-size: 16px; margin-bottom: 6px; }
.card-body { color: var(--text-secondary); font-size: 13px; line-height: 1.5; }

/* Program cards (home) */
.program-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.program-card-dark { background: var(--charcoal); border-color: var(--charcoal); color: var(--text-on-dark); }
.program-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--charcoal); color: var(--bg);
  padding: 4px 10px; border-radius: 999px;
  font-weight: 900; font-size: 10px; letter-spacing: 1.2px;
}
.program-badge-green { background: var(--accent); }
.program-title { font-size: 24px; font-weight: 900; letter-spacing: -0.5px; margin: 12px 0 8px; }
.program-body { color: var(--text-secondary); font-size: 14px; line-height: 1.5; margin-bottom: 14px; }
.program-card-dark .program-body { color: #C9C9D0; }
.program-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-alt); padding: 10px 14px;
  border-radius: 6px; font-weight: 800; font-size: 13px; color: var(--text);
}
.program-card-dark .program-cta { background: var(--bg); }

/* Audit pillars */
.pillar {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 22px;
}
.pillar-emoji { font-size: 26px; margin-bottom: 8px; }
.pillar-title { font-weight: 900; font-size: 18px; letter-spacing: -0.3px; margin-bottom: 6px; }
.pillar-intro { color: var(--text-secondary); font-size: 13px; margin-bottom: 8px; }
.pillar-list { list-style: none; padding: 0; }
.pillar-list li {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 13px; color: var(--text-secondary); line-height: 1.5;
  padding: 3px 0;
}
.pillar-list li::before {
  content: ""; flex-shrink: 0;
  width: 5px; height: 5px; border-radius: 3px;
  background: var(--accent); margin-top: 8px;
}
.pillar-outro { color: var(--text-secondary); font-size: 13px; font-style: italic; margin-top: 10px; line-height: 1.5; }

/* Callout */
.callout {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 18px;
  border-radius: 6px;
  margin-top: 18px;
  font-weight: 600; font-size: 15px;
}

/* Clean grid */
.clean-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.clean-item {
  display: flex; align-items: center; gap: 8px;
  min-width: 260px; flex: 1 1 48%;
  padding: 6px 0; font-weight: 600;
}
.clean-item-icon { color: var(--accent); font-size: 18px; flex-shrink: 0; }

/* Detail cards */
.detail-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 18px;
}
.detail-label { color: var(--text-muted); font-weight: 800; font-size: 10px; letter-spacing: 1.5px; }
.detail-value { font-weight: 800; font-size: 14px; margin-top: 6px; }

/* Steps */
.step-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.step-num {
  width: 38px; height: 38px; border-radius: 19px;
  background: var(--accent); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 16px;
  flex-shrink: 0;
}
.step-title { font-weight: 900; font-size: 16px; }
.step-body { color: var(--text-secondary); font-size: 13px; line-height: 1.5; margin-top: 2px; }

/* Stats strip (kickup) */
.stats {
  display: flex; background: var(--bg-alt);
  padding: 24px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stat { flex: 1; text-align: center; }
.stat-num { color: var(--accent); font-size: 32px; font-weight: 900; letter-spacing: -1px; }
.stat-label { color: var(--text-secondary); font-size: 10px; font-weight: 800; letter-spacing: 2px; margin-top: 2px; }
.stat-div { width: 1px; background: var(--border); margin: 12px 0; }

/* Reviews carousel */
.review-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 22px;
  min-height: 220px;
  transition: opacity 0.35s ease;
}
.review-quote { font-size: 16px; line-height: 1.5; font-weight: 600; margin: 14px 0; }
.review-icon {
  width: 34px; height: 34px; border-radius: 17px;
  background: var(--accent); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.review-footer {
  display: flex; align-items: center;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.review-name { font-weight: 800; font-size: 14px; }
.review-meta { color: var(--text-muted); font-size: 11px; margin-top: 2px; }
.review-level {
  background: var(--charcoal); color: var(--bg);
  padding: 4px 10px; border-radius: 6px;
  font-weight: 900; font-size: 11px; letter-spacing: 1px;
  margin-left: auto;
}
.review-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.review-dot { width: 6px; height: 6px; border-radius: 3px; background: var(--border); }
.review-dot.active { background: var(--accent); width: 18px; }

/* Forms */
.form-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 18px;
  max-width: 640px;
  display: flex; flex-direction: column; gap: 12px;
}
.section-alt .form-card { background: var(--bg); }
.form-input, .form-textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
}
.form-textarea { min-height: 110px; resize: vertical; }
.form-row { display: flex; gap: 10px; }
.form-row .form-input { flex: 1; }
.form-submit {
  background: var(--charcoal); color: var(--bg);
  padding: 14px; border-radius: 6px;
  font-weight: 900; font-size: 13px; letter-spacing: 1.2px;
  cursor: pointer;
}
.form-submit:hover { background: #000; }
.form-submit:disabled { opacity: 0.6; cursor: wait; }
.form-error { color: #B91C1C; font-size: 13px; }
.form-success {
  display: flex; align-items: center; gap: 10px;
  background: var(--accent-soft);
  padding: 16px; border-radius: 8px;
  max-width: 640px;
}
.form-success-icon { color: var(--accent); font-size: 24px; }
.form-success-title { font-weight: 800; font-size: 15px; }
.form-success-sub { color: var(--text-secondary); font-size: 13px; margin-top: 2px; }

/* Hero meta pills */
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.meta-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: var(--bg);
  padding: 5px 10px; border-radius: 999px;
  font-weight: 900; font-size: 10px; letter-spacing: 1.5px;
}

/* Calendar placeholder */
.placeholder {
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  margin-top: 16px;
}
.placeholder-icon { font-size: 32px; color: var(--text-muted); margin-bottom: 6px; }
.placeholder-text { font-weight: 700; font-size: 13px; }
.placeholder-sub { color: var(--text-muted); font-size: 12px; margin-top: 4px; }

/* Programs */
.programs-grid { display: grid; gap: 14px; margin-top: 12px; }
@media (min-width: 900px) { .programs-grid { grid-template-columns: 1fr 1fr; } }

/* Audit funnel strip (home) */
.funnel-strip {
  background: var(--charcoal); color: var(--text-on-dark);
  padding: 50px 20px;
}
.funnel-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; gap: 24px; align-items: center;
}
@media (min-width: 900px) { .funnel-inner { grid-template-columns: 1fr auto; gap: 40px; } }
.funnel-stack { display: flex; flex-direction: column; gap: 10px; }
.btn-primary-on-dark {
  background: var(--bg); color: var(--text);
}
.funnel-learn { color: #D8D8DC; font-size: 13px; font-weight: 700; text-align: center; }

/* Footer */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 40px 20px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between;
}
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-brand { font-weight: 900; font-size: 18px; }
.footer-tag { color: var(--text-secondary); font-size: 13px; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.footer-login-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--charcoal); color: var(--bg);
  padding: 10px 18px; border-radius: 6px;
  font-weight: 800; font-size: 13px;
  cursor: pointer;
}
.footer-social {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 6px;
  background: var(--bg); border: 1px solid var(--border);
  font-weight: 700; font-size: 13px;
}
.footer-copy {
  max-width: 1200px; margin: 24px auto 0;
  color: var(--text-muted); font-size: 12px; text-align: center;
  padding-top: 16px; border-top: 1px solid var(--border);
}

/* Util */
.center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.mt-md { margin-top: 24px; }
