:root {
  --navy: #16244a;
  --navy-deep: #0e1730;
  --gold: #c9a227;
  --cream: #f6f4ee;
  --ink: #1c2333;
  --muted: #6b7284;
  --radius: 14px;
  font-family: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--cream); color: var(--ink); line-height: 1.5; }
h1, h2, h3 { font-family: 'Manrope', sans-serif; color: var(--navy); }
a { text-decoration: none; color: inherit; }

/* Topbar */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px; background: #fff; border-bottom: 1px solid #e7e4da;
  position: sticky; top: 0; z-index: 10;
}
.brand { display: flex; align-items: center; gap: 12px; }
.crest {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), #a8811e);
  color: #fff; font-family: 'Manrope', sans-serif; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.brand-text strong { display: block; font-family: 'Manrope', sans-serif; color: var(--navy); font-size: 1.05rem; }
.brand-text span { font-size: 0.68rem; letter-spacing: 0.06em; color: var(--muted); }
.nav { display: flex; gap: 28px; font-weight: 600; font-size: 0.9rem; color: var(--muted); }
.nav .active { color: var(--navy); }
.btn-ghost {
  border: 1.5px solid var(--navy); color: var(--navy); background: none;
  padding: 9px 20px; border-radius: 999px; font-weight: 700; cursor: pointer;
}
.btn-primary {
  display: inline-block; background: var(--navy); color: #fff; font-weight: 700;
  padding: 13px 26px; border-radius: 999px; border: none; cursor: pointer; font-size: 0.95rem;
}
.btn-primary.full { width: 100%; text-align: center; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px;
  padding: 64px 48px; align-items: start;
}
.eyebrow { color: var(--gold); font-weight: 700; letter-spacing: 0.08em; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.15; margin-bottom: 18px; }
.lede { color: var(--muted); font-size: 1.05rem; max-width: 46ch; margin-bottom: 28px; }
.stats { display: flex; gap: 40px; margin-top: 40px; }
.stat strong { display: block; font-family: 'Manrope', sans-serif; font-size: 1.8rem; color: var(--navy); }
.stat span { color: var(--muted); font-size: 0.85rem; }

.login-card {
  background: #fff; border-radius: var(--radius); padding: 28px;
  box-shadow: 0 20px 40px -20px rgba(22,36,74,0.25); border: 1px solid #eee;
}
.login-card h3 { margin-bottom: 18px; }
.login-card label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--muted); margin: 14px 0 6px; }
.login-card input {
  width: 100%; padding: 11px 14px; border: 1.5px solid #e2e0d6; border-radius: 8px; font-size: 0.95rem;
}
.login-card .full { margin-top: 22px; }
.login-note { text-align: center; font-size: 0.75rem; color: var(--muted); margin-top: 12px; }

/* Modules */
.modules { padding: 20px 48px 60px; }
.program-section { margin-bottom: 44px; }
.program-section:last-child { margin-bottom: 0; }
.loading-text { color: var(--muted); font-size: 0.9rem; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; }
.see-all { color: var(--gold); font-weight: 700; font-size: 0.9rem; }
.module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.module-card {
  background: #fff; border-radius: var(--radius); padding: 24px;
  border-top: 4px solid var(--accent); box-shadow: 0 10px 24px -18px rgba(0,0,0,0.35);
}
.module-icon {
  width: 46px; height: 46px; border-radius: 10px; background: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 14px;
}
.module-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.module-card p { color: var(--muted); font-size: 0.85rem; margin-bottom: 14px; }
.module-cta { color: var(--accent); font-weight: 700; font-size: 0.85rem; }
.module-classroom {
  display: block; margin-top: 8px; font-size: 0.8rem; font-weight: 600;
  color: var(--muted); text-decoration: none;
}
.module-classroom:hover { color: var(--navy); }

/* Learning path */
.learning-path { background: #fff; padding: 48px; text-align: center; }
.learning-path h2 { margin-bottom: 32px; }
.path-track { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.path-step { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.path-icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--cream);
  border: 2px solid var(--gold); color: var(--navy); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.path-step span { font-size: 0.8rem; font-weight: 600; color: var(--navy); }
.path-arrow { color: var(--muted); }

.site-footer { padding: 28px 48px; text-align: center; color: var(--muted); font-size: 0.8rem; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .topbar { padding: 14px 20px; }
  .nav { display: none; }
  .modules, .learning-path, .site-footer { padding-left: 20px; padding-right: 20px; }
}
