/* ── Faith & AI — Design System (IMB-inspired) ──────────────────────────── */
/* Fonts: Plus Jakarta Sans (like Soleil), Source Sans 3 for body           */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Source+Sans+3:wght@300;400;600&display=swap');

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

:root {
  /* ── Brand palette ── */
  --navy:      #1C2B4A;   /* primary dark — slightly warmer than IMB navy */
  --navy-deep: #111E35;   /* darkest, for hero/headers */
  --orange:    #EE7C22;   /* IMB orange — primary CTA & everyday track */
  --teal:      #237D81;   /* IMB teal — leaders track */
  --green:     #16a34a;

  /* ── Semantic aliases (for existing templates) ── */
  --ink:       var(--navy);
  --ink-deep:  var(--navy-deep);
  --accent:    var(--teal);
  --warm:      var(--orange);
  --black:     #0D1117;

  /* ── Surfaces ── */
  --white:     #FFFFFF;
  --bg:        #F7F4EF;   /* warm beige — IMB-inspired section background */
  --bg-warm:   #FFF8F0;
  --muted:     #6B7280;
  --border:    rgba(134,134,134,0.18);

  /* ── Tinted surfaces ── */
  --accent-light: rgba(35,125,129,0.09);
  --accent-mid:   rgba(35,125,129,0.22);
  --warm-light:   rgba(238,124,34,0.08);

  /* ── Shadows ── */
  --shadow-sm:  0 1px 3px rgba(28,43,74,0.07);
  --shadow-md:  0 4px 12px rgba(28,43,74,0.10);
  --shadow-lg:  0 8px 28px rgba(28,43,74,0.13);
  --shadow-orange: 0 8px 24px rgba(238,124,34,0.22);
  --shadow-teal:   0 8px 24px rgba(35,125,129,0.22);

  /* ── Radii ── */
  --radius:    12px;
  --radius-lg: 20px;
  --radius-pill: 999px;   /* IMB-style pill buttons */
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--navy);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-deep);
}
p  { line-height: 1.75; }
a  { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ── */
.container      { max-width: 960px;  margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section        { padding: 5rem 0; }

/* ── Sticky Nav ── */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid rgba(134,134,134,0.12);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(28,43,74,0.06);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 65px;           /* matches IMB header height */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-logo span { color: var(--orange); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.nav-links a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--orange); text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 0.75rem; }
.nav-user-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  display: none;
}
.nav-user-name.visible { display: block; }

@media (max-width: 680px) { .nav-links { display: none; } }

/* ── Buttons (pill-shaped — IMB-style) ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s, color 0.2s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }

/* Primary = orange (IMB-style CTA) */
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: #d46d1a;
  border-color: #d46d1a;
  box-shadow: var(--shadow-orange);
  color: var(--white);
}

/* Warm = orange alias */
.btn-warm {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-warm:hover {
  background: #d46d1a;
  border-color: #d46d1a;
  box-shadow: var(--shadow-orange);
  color: var(--white);
}

/* Secondary = teal (leaders accent) */
.btn-secondary {
  background: var(--white);
  color: var(--teal);
  border-color: var(--teal);
}
.btn-secondary:hover {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-teal);
}

/* Ghost = outline navy */
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(28,43,74,0.25);
}
.btn-ghost:hover {
  background: var(--bg);
  border-color: var(--orange);
  color: var(--orange);
}

.btn-google {
  background: var(--white);
  color: #111;
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
  gap: 0.6rem;
}
.btn-google:hover { background: #e8f0fe; }

.btn-sm  { font-size: 0.8rem;  padding: 0.45rem 1.1rem; }
.btn-lg  { font-size: 1rem;    padding: 0.9rem 2.25rem; }
.btn-full { width: 100%; }

/* Sign-in gets orange treatment */
#nav-sign-in {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
#nav-sign-in:hover {
  background: #d46d1a;
  border-color: #d46d1a;
  box-shadow: var(--shadow-orange);
  transform: none;
}

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
}
.badge-beginner     { background: #dcfce7; color: #15803d; }
.badge-intermediate { background: var(--accent-light); color: var(--teal); }
.badge-expert       { background: rgba(28,43,74,0.08); color: var(--navy); }
.badge-leaders      { background: var(--accent-light); color: var(--teal); }
.badge-everyday     { background: var(--warm-light); color: var(--orange); }
.badge-complete     { background: #dcfce7; color: #15803d; }
.badge-lab          { background: rgba(238,124,34,0.12); color: #c05a10; }

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  box-shadow: var(--shadow-orange);
  transform: translateY(-3px);
}
.card-teal  { border-top: 3px solid var(--teal); }
.card-warm  { border-top: 3px solid var(--orange); }
.card-green { border-top: 3px solid var(--green); }

/* ── Progress bar ── */
.progress-bar-wrap {
  background: var(--border);
  border-radius: var(--radius-pill);
  height: 7px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--teal);
  transition: width 0.6s ease;
}
.progress-bar-fill.warm { background: var(--orange); }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ── Timeline dots ── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0.6rem; top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item    { position: relative; margin-bottom: 1rem; }
.timeline-dot {
  position: absolute;
  left: -2rem; top: 0.25rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  z-index: 1;
}
.timeline-dot.done    { background: var(--green); border-color: var(--green); }
.timeline-dot.current { background: var(--teal);  border-color: var(--teal);  box-shadow: 0 0 0 4px var(--accent-light); }
.timeline-dot.locked  { background: var(--border); border-color: var(--border); }

/* ── Module card ── */
.module-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}
.module-card:hover       { box-shadow: var(--shadow-orange); transform: translateY(-2px); }
.module-card.locked      { opacity: 0.6; pointer-events: none; }
.module-card.current     { border-left: 3px solid var(--teal); }
.module-card-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius);
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--teal);
  flex-shrink: 0;
}
.module-card-body  { flex: 1; }
.module-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 1rem; color: var(--navy-deep); margin-bottom: 0.25rem;
}
.module-card-desc  { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }
.module-card-meta  { display: flex; gap: 0.5rem; align-items: center; margin-top: 0.5rem; flex-wrap: wrap; }
.module-card-time  { font-size: 0.78rem; color: var(--muted); }
.module-card-action { flex-shrink: 0; }

/* ── Lab component ── */
.lab-component {
  background: linear-gradient(135deg, #fdf8f4 0%, #eef6f6 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
}
.lab-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.lab-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
}
.lab-title    { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--navy-deep); }
.lab-subtitle { font-size: 0.85rem; color: var(--muted); }

.tool-picker { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.tool-btn {
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem; font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}
.tool-btn:hover  { border-color: var(--teal);  color: var(--teal); }
.tool-btn.active { border-color: var(--teal); background: var(--teal); color: var(--white); }

.lab-section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); margin-bottom: 0.5rem;
}

.prompt-box {
  background: var(--navy-deep);
  color: #e2e8f0;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-family: 'Source Sans 3', monospace;
  font-size: 0.9rem; line-height: 1.7;
  position: relative; margin-bottom: 1.25rem;
}
.copy-btn {
  position: absolute; top: 0.75rem; right: 0.75rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
  cursor: pointer; transition: all 0.15s;
}
.copy-btn:hover  { background: rgba(255,255,255,0.2); color: #fff; }
.copy-btn.copied { background: var(--green); border-color: var(--green); color: #fff; }

.notice-list { list-style: none; margin-bottom: 1.5rem; }
.notice-list li {
  display: flex; gap: 0.5rem;
  font-size: 0.875rem; color: var(--muted); margin-bottom: 0.4rem; line-height: 1.6;
}
.notice-list li::before { content: '→'; color: var(--teal); font-weight: 700; flex-shrink: 0; }

.reflection-textarea {
  width: 100%;
  min-height: 100px;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem; color: var(--navy);
  background: var(--white);
  resize: vertical; transition: border-color 0.2s;
  margin-bottom: 1rem;
}
.reflection-textarea:focus { outline: none; border-color: var(--teal); }

.btn-complete {
  width: 100%; padding: 1rem; font-size: 1rem;
  border-radius: var(--radius-pill);
  background: var(--green); color: var(--white); border: none;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
}
.btn-complete:hover { background: #15803d; transform: translateY(-1px); }
.btn-complete.done  { background: #bbf7d0; color: #15803d; pointer-events: none; }

/* ── Video placeholder ── */
.video-placeholder {
  background: var(--navy-deep);
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.75rem; color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
  position: relative; overflow: hidden;
}
.video-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(35,125,129,0.18) 0%, transparent 70%);
}
.video-play-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
}
.video-label    { font-size: 0.85rem; font-weight: 600; text-align: center; padding: 0 1rem; }
.video-duration { font-size: 0.78rem; opacity: 0.5; }

/* ── Stat bars (scenario) ── */
.stat-bars { display: flex; flex-direction: column; gap: 0.75rem; }
.stat-bar-row { display: flex; align-items: center; gap: 1rem; }
.stat-bar-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem; font-weight: 700; color: var(--navy); width: 100px; flex-shrink: 0;
}
.stat-bar-track {
  flex: 1; background: var(--border); border-radius: var(--radius-pill); height: 8px; overflow: hidden;
}
.stat-bar-fill {
  height: 100%; border-radius: var(--radius-pill); background: var(--teal); transition: width 0.6s ease;
}
.stat-bar-fill.discernment { background: #7c3aed; }
.stat-bar-fill.boldness    { background: var(--orange); }
.stat-bar-fill.humility    { background: var(--green); }
.stat-bar-fill.integrity   { background: var(--teal); }
.stat-bar-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem; font-weight: 700; color: var(--muted); width: 32px; text-align: right;
}

/* ── Assessment screens ── */
.assessment-header { text-align: center; padding: 2.5rem 1.5rem 1.5rem; }
.question-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem; margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.question-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 1rem;
}
.scale-row { display: flex; gap: 0.5rem; }
.scale-btn {
  flex: 1; aspect-ratio: 1; max-width: 52px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 0.9rem; color: var(--muted);
  cursor: pointer; transition: all 0.15s;
}
.scale-btn:hover  { border-color: var(--teal); color: var(--teal); }
.scale-btn.active { background: var(--teal); border-color: var(--teal); color: var(--white); }

/* ── Profile card ── */
.profile-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem; color: var(--white); text-align: center;
}
.profile-tier {
  display: inline-block;
  background: rgba(35,125,129,0.2);
  border: 1px solid rgba(35,125,129,0.4);
  color: #a7d4d5;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem;
}
.profile-name { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.5rem; }
.profile-desc { font-size: 0.95rem; opacity: 0.75; line-height: 1.7; max-width: 480px; margin: 0 auto; }

/* ── Circular progress ring ── */
.ring-wrap  { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.ring-label { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.875rem; font-weight: 700; color: var(--navy); }
.ring-pct   { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2rem; font-weight: 800; fill: var(--navy-deep); }

/* ── Coaching SSE box ── */
.coaching-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  min-height: 120px;
  font-size: 0.9rem; line-height: 1.8; color: var(--navy);
}
.coaching-cursor {
  display: inline-block; width: 2px; height: 1em;
  background: var(--teal);
  animation: blink 0.8s step-end infinite;
  vertical-align: text-bottom; margin-left: 1px;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── Prompt library ── */
.prompt-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: box-shadow 0.25s, transform 0.25s;
}
.prompt-card:hover { box-shadow: var(--shadow-orange); transform: translateY(-2px); }
.prompt-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem; font-weight: 700; color: var(--navy-deep);
}
.prompt-card-desc  { font-size: 0.85rem; color: var(--muted); line-height: 1.6; flex: 1; }
.prompt-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.5rem; margin-top: 0.25rem;
}
.prompt-tool-tag {
  font-size: 0.75rem; color: var(--muted);
  background: var(--bg); padding: 0.2rem 0.55rem; border-radius: var(--radius-pill);
}

.filter-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.filter-tab {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem; font-weight: 600; color: var(--muted);
  cursor: pointer; transition: all 0.15s;
}
.filter-tab:hover  { border-color: var(--teal); color: var(--teal); }
.filter-tab.active { background: var(--teal); border-color: var(--teal); color: var(--white); }

/* ── Certificate page ── */
.cert-wrap {
  max-width: 760px; margin: 3rem auto;
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: var(--radius-lg);
  padding: 3rem; text-align: center;
  box-shadow: var(--shadow-teal); position: relative; overflow: hidden;
}
.cert-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(35,125,129,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.cert-seal {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 1.5rem;
  box-shadow: 0 4px 16px rgba(35,125,129,0.35);
}
.cert-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.cert-name  { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.25rem; font-weight: 800; color: var(--navy-deep); margin-bottom: 0.5rem; }
.cert-track { font-size: 1.1rem; color: var(--muted); margin-bottom: 0.25rem; }
.cert-date  { font-size: 0.875rem; color: var(--muted); margin-bottom: 1.5rem; }
.cert-code  {
  font-family: 'Source Sans 3', monospace;
  font-size: 1rem; font-weight: 700; letter-spacing: 0.2em;
  color: var(--teal); background: var(--accent-light);
  padding: 0.4rem 1rem; border-radius: var(--radius); display: inline-block; margin-bottom: 2rem;
}

/* ── Admin table ── */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.data-table th {
  text-align: left; padding: 0.75rem 1rem;
  background: var(--bg); border-bottom: 2px solid var(--border);
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; color: var(--muted);
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em;
}
.data-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); color: var(--navy); }
.data-table tr:hover td { background: var(--bg); }

/* ── Form elements ── */
.form-group   { margin-bottom: 1.25rem; }
.form-label   {
  display: block; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem; color: var(--navy); background: var(--white);
  transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--teal);
}
.form-textarea { resize: vertical; min-height: 100px; }

/* ── Skill level picker ── */
.level-picker {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem; margin: 1.5rem 0;
}
.level-btn {
  padding: 1.25rem; border: 2px solid var(--border);
  border-radius: var(--radius-lg); background: var(--white);
  cursor: pointer; text-align: center; transition: all 0.15s;
}
.level-btn:hover  { border-color: var(--teal); }
.level-btn.active { border-color: var(--teal); background: var(--accent-light); }
.level-btn .level-name {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
  font-size: 0.95rem; color: var(--navy-deep); margin-bottom: 0.25rem;
}
.level-btn .level-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }

/* ── Toast ── */
.toast {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  background: var(--navy-deep); color: var(--white);
  padding: 0.65rem 1.5rem; border-radius: var(--radius-pill);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.875rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.1);
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
  z-index: 9999; white-space: nowrap;
}
.toast.show { opacity: 1; }

/* ── Hero ── */
.hero-dark {
  background: var(--navy-deep);
  position: relative; overflow: hidden;
}
/* Subtle texture/pattern overlay */
.hero-dark::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% -10%, rgba(238,124,34,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 110%, rgba(35,125,129,0.12) 0%, transparent 55%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 10;
  padding: 6rem 1.5rem 5rem;
  text-align: center; max-width: 820px; margin: 0 auto;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(238,124,34,0.15);
  color: #ffa857;
  border: 1px solid rgba(238,124,34,0.3);
  border-radius: var(--radius-pill);
  padding: 0.35rem 1.1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.75rem;
}
.hero-h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800; color: var(--white);
  line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 1.25rem;
}
.hero-h1 em { color: #ffa857; font-style: normal; }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.58); line-height: 1.8;
  margin-bottom: 2.75rem; max-width: 600px;
  margin-left: auto; margin-right: auto;
}
.hero-ctas {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

/* ── Track cards ── */
.track-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin: 2rem 0;
}
@media (max-width: 640px) { .track-grid { grid-template-columns: 1fr; } }

.track-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}
.track-card:hover        { transform: translateY(-4px); }
.track-card.leaders      { border-top: 4px solid var(--teal); }
.track-card.leaders:hover { box-shadow: var(--shadow-teal); }
.track-card.everyday      { border-top: 4px solid var(--orange); }
.track-card.everyday:hover { box-shadow: var(--shadow-orange); }
.track-card-icon  { font-size: 2rem; margin-bottom: 0.875rem; }
.track-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 0.5rem;
}
.track-card-desc { font-size: 0.925rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }

/* ── Social proof strip ── */
.social-strip {
  background: var(--white);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 1.5rem 1.5rem;
  text-align: center; font-size: 0.95rem; color: var(--muted);
}
.social-strip strong { color: var(--navy); }

/* ── Footer ── */
.site-footer {
  background: var(--navy-deep);
  padding: 3rem 1.5rem; text-align: center;
}
.site-footer p { color: rgba(255,255,255,0.3); font-size: 0.82rem; }
.site-footer a { color: rgba(255,255,255,0.5); }
.site-footer a:hover { color: rgba(255,255,255,0.8); text-decoration: none; }
.footer-links {
  display: flex; gap: 1.5rem; justify-content: center;
  list-style: none; margin-bottom: 1rem; flex-wrap: wrap;
}
.footer-links a {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.82rem; font-weight: 600;
}

/* ── Skill level indicator ── */
.skill-indicator {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.8rem; font-weight: 600;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08); padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,0.15);
}
.skill-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--muted);
}
.skill-dot.beginner     { background: var(--green); }
.skill-dot.intermediate { background: var(--teal); }
.skill-dot.expert       { background: var(--orange); }
.skill-dot.exploring    { background: var(--green); }
.skill-dot.building     { background: var(--teal); }
.skill-dot.leading      { background: var(--orange); }

/* ── Choice cards (scenario) ── */
.choice-grid { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.5rem 0; }
.choice-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem 1.5rem;
  cursor: pointer; transition: all 0.2s; text-align: left;
  font-family: 'Source Sans 3', sans-serif;
}
.choice-card:hover    { border-color: var(--teal); box-shadow: var(--shadow-md); }
.choice-card.selected { border-color: var(--teal); background: var(--accent-light); }
.choice-letter {
  display: inline-flex; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg); color: var(--muted);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.85rem; font-weight: 700;
  align-items: center; justify-content: center;
  margin-right: 0.75rem; flex-shrink: 0;
}

/* ── Readiness result ── */
.readiness-level-badge {
  display: inline-block; padding: 0.4rem 1.25rem;
  border-radius: var(--radius-pill);
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.03em;
}
.level-unaware    { background: #fee2e2; color: #991b1b; }
.level-curious    { background: #fff7ed; color: #9a3412; }
.level-developing { background: var(--warm-light); color: #92400e; }
.level-discerning { background: var(--accent-light); color: #0f5c5f; }
.level-steward    { background: #dcfce7; color: #15803d; }
/* legacy aliases */
.level-exploring  { background: #fee2e2; color: #991b1b; }
.level-learning   { background: #fef9c3; color: #713f12; }
.level-capable    { background: var(--accent-light); color: var(--teal); }
.level-leading    { background: #dcfce7; color: #15803d; }

/* ── Print styles ── */
@media print {
  .site-nav, .site-footer, .btn, .toast { display: none !important; }
  .cert-wrap { border: 2px solid #000; box-shadow: none; }
  body { background: white; }
}

/* ── Responsive tweaks ── */
@media (max-width: 768px) {
  .level-picker        { grid-template-columns: 1fr; }
  .prompt-card-footer  { flex-direction: column; align-items: flex-start; }
  .hero-ctas           { flex-direction: column; align-items: center; }
  .section             { padding: 3.5rem 0; }
}
