/* Hand-written, no framework — deliberate. This audience is often on
   metered Android data (see build spec §6 and the JAMB-pilot notes on
   phone-first constraints); a CDN utility framework ships a JIT
   compiler to the browser on every page load for a fraction of the
   payload this file needs. Keep it small; that's the whole point.
   "Small" doesn't mean "plain" — this file is still under 8KB. */

:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f9fafb;
  --color-text: #111827;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-primary: #166534;
  --color-primary-dark: #113f24;
  --color-primary-soft: #ecfdf5;
  --color-locked-bg: #f3f4f6;
  --color-success-bg: #ecfdf5;
  --color-success-text: #065f46;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-hover: 0 2px 4px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.10);
  --max-width: 1080px;
  --content-width: 720px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Pages that read best narrow (lesson player, dashboard, forms) opt
   into this instead of fighting the wider default container. */
.container-narrow { max-width: var(--content-width); }

header.site-header {
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  z-index: 10;
}

header.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header.site-header a.brand {
  font-weight: 800;
  font-size: 17px;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
}

.logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; letter-spacing: 0; margin-right: 9px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  flex-shrink: 0;
}

header.site-header nav a {
  color: var(--color-muted);
  text-decoration: none;
  margin-left: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
header.site-header nav a:hover { color: var(--color-text); }

.logout-form { display: inline-block; margin-left: 20px; }
.logout-form button {
  background: none; border: none; padding: 0; margin: 0;
  color: var(--color-muted); text-decoration: none;
  font-size: 14px; font-weight: 500; font-family: inherit;
  cursor: pointer; transition: color 0.15s;
}
.logout-form button:hover { color: var(--color-text); }

main { padding: 40px 0 64px; }
main.container-narrow { padding: 32px 20px 56px; }

.messages { list-style: none; padding: 0; margin: 0 0 20px; }
.messages li {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #eff6ff;
  color: #1e3a8a;
  margin-bottom: 8px;
  font-size: 14px;
  border: 1px solid #dbeafe;
}

h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.02em; font-weight: 800; }
h2 { font-size: 1.3rem; margin: 32px 0 12px; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0 0 14px; }
a { color: var(--color-primary); }

a.btn, button.btn {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
a.btn:hover, button.btn:hover { background: var(--color-primary-dark); box-shadow: var(--shadow-hover); transform: translateY(-1px); }
a.btn:active, button.btn:active { transform: translateY(0); }
a.btn.secondary, button.btn.secondary {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  box-shadow: none;
}
a.btn.secondary:hover, button.btn.secondary:hover { background: var(--color-primary-soft); }

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.15s;
  overflow: hidden;
}
a.course-card-link:hover .card { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.progress-track {
  background: var(--color-locked-bg);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
  margin: 10px 0;
}
.progress-fill {
  background: var(--color-primary);
  height: 100%;
  border-radius: 999px;
}

.module-block { margin-bottom: 24px; }
.module-block.locked { opacity: 0.55; }
.module-title { font-weight: 700; margin-bottom: 6px; font-size: 15px; }
.lock-note { font-size: 13px; color: var(--color-muted); margin-bottom: 10px; }

ul.lesson-list { list-style: none; padding: 0; margin: 0; }
ul.lesson-list li {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  transition: border-color 0.15s;
}
ul.lesson-list li:not(.locked):hover { border-color: var(--color-primary); }
ul.lesson-list li.locked { background: var(--color-locked-bg); color: var(--color-muted); }
ul.lesson-list a { color: var(--color-text); text-decoration: none; font-weight: 500; }
.badge-done { color: var(--color-success-text); font-size: 13px; font-weight: 600; }
.badge-preview {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 4px;
  padding: 2px 7px;
  margin-left: 6px;
  font-weight: 600;
}

.video-placeholder {
  background: var(--color-locked-bg);
  border-radius: var(--radius);
  padding: 56px 16px;
  text-align: center;
  color: var(--color-muted);
  margin-bottom: 16px;
}

form.login-form input, form.signup-form input {
  display: block;
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.15s;
}
form.login-form input:focus, form.signup-form input:focus {
  outline: none;
  border-color: var(--color-primary);
}
form.login-form label, form.signup-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.nav-row { display: flex; justify-content: space-between; margin-top: 32px; gap: 8px; }

.site-footer {
  border-top: 1px solid var(--color-border);
  margin-top: 64px;
  padding: 24px 0;
  font-size: 13px;
  color: var(--color-muted);
}

/* Landing / sales page */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 64px 20px 44px;
  background: linear-gradient(180deg, var(--color-primary-soft) 0%, rgba(236,253,245,0) 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 8px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); z-index: 0;
  background: var(--color-primary);
}
.hero::before { width: 300px; height: 300px; top: -140px; left: -90px; opacity: 0.14; }
.hero::after { width: 340px; height: 340px; bottom: -180px; right: -110px; opacity: 0.10; }
.hero > * { position: relative; z-index: 1; }
.hero h1 { font-size: 2.5rem; }
.hero p.lead { font-size: 18px; color: var(--color-muted); max-width: 560px; margin: 12px auto 24px; }

.hero-split { display: flex; align-items: center; justify-content: space-between; text-align: left; gap: 32px; }
.hero-split .hero-text { flex: 1 1 400px; }
.hero-split .hero-text p.lead { margin-left: 0; margin-right: 0; }
.hero-split .trust-row { justify-content: flex-start; }
.hero-split .hero-art { flex: 1 1 360px; display: flex; justify-content: center; }
.hero-split .hero-art svg { width: 100%; height: auto; max-width: 380px; }
@media (max-width: 860px) {
  .hero-split { flex-direction: column; text-align: center; }
  .hero-split .hero-text p.lead { margin-left: auto; margin-right: auto; }
  .hero-split .trust-row { justify-content: center; }
  .hero-split .hero-art { order: -1; max-width: 260px; }
}

.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 22px; }
.trust-row span { font-size: 13px; color: var(--color-muted); display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.trust-row svg { width: 15px; height: 15px; color: var(--color-primary); flex-shrink: 0; }

.course-grid { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 640px) { .course-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .course-grid { grid-template-columns: 1fr 1fr 1fr; } }

.course-card-link { text-decoration: none; color: inherit; display: block; }
.course-card { padding: 0; }
.course-cover {
  height: 92px;
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 10px 12px;
  margin-bottom: 16px;
}
.course-card-body { padding: 0 20px 20px; }

.detail-cover {
  height: 220px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
@media (max-width: 640px) { .detail-cover { height: 160px; } }
.cover-a { background: linear-gradient(135deg, #0f766e, #134e4a); }
.cover-b { background: linear-gradient(135deg, #166534, #052e16); }
.cover-c { background: linear-gradient(135deg, #1e3a8a, #1e293b); }
.cover-d { background: linear-gradient(135deg, #92400e, #451a03); }
.cover-e { background: linear-gradient(135deg, #3730a3, #1e1b4b); }

.chip {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; padding: 4px 10px; border-radius: 999px;
  background: var(--color-primary-soft); color: var(--color-primary);
}
.chip-light { background: rgba(255,255,255,0.22); color: #fff; backdrop-filter: blur(2px); }

.price-row { display: flex; align-items: baseline; gap: 10px; }
.price-strike { text-decoration: line-through; color: var(--color-muted); font-size: 14px; }
.price-now { font-size: 24px; font-weight: 800; color: var(--color-primary); }

ul.check-list, ul.cross-list { list-style: none; padding: 0; margin: 8px 0; }
ul.check-list li, ul.cross-list li {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 15px;
}
ul.check-list li svg, ul.cross-list li svg { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
ul.check-list li svg { color: var(--color-primary); }
ul.cross-list li svg { color: #9ca3af; }

.faq-item { border-bottom: 1px solid var(--color-border); padding: 16px 0; }
.faq-item summary { font-weight: 600; cursor: pointer; font-size: 15px; }
.faq-item summary:hover { color: var(--color-primary); }

ul.plain-list { padding-left: 22px; margin: 8px 0; }
ul.plain-list li { margin-bottom: 6px; }

/* Landing page: value props, how-it-works, closing CTA — added so
   the homepage reads as a finished product rather than a bare hero +
   grid. Reuses .card/.btn tokens rather than inventing new ones. */
.feature-grid { display: grid; gap: 20px; grid-template-columns: 1fr; margin: 8px 0 40px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .feature-grid { grid-template-columns: 1fr 1fr 1fr; } }
.feature-card { text-align: left; }
.feature-card { transition: box-shadow 0.2s, transform 0.15s, border-color 0.15s; }
.feature-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: var(--color-primary); }
.feature-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--color-primary-soft); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.feature-card p { font-size: 14px; color: var(--color-muted); margin: 0; }

.steps { display: grid; gap: 24px; grid-template-columns: 1fr; margin: 24px 0 40px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: 1fr 1fr 1fr; } }
.step { position: relative; padding-left: 52px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
}
.step h3 { font-size: 15px; font-weight: 700; margin: 4px 0 6px; }
.step p { font-size: 14px; color: var(--color-muted); margin: 0; }

.cta-band {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  margin: 8px 0 40px;
}
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0 0 20px; }
.cta-band a.btn { background: #fff; color: var(--color-primary); }
.cta-band a.btn:hover { background: var(--color-primary-soft); }

.section-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--color-primary); margin: 0 0 6px;
}

.search-row { display: flex; gap: 10px; margin: 4px 0 28px; max-width: 480px; }
.search-row input {
  flex: 1; padding: 11px 14px; border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm); font-size: 15px; font-family: inherit;
}
.search-row input:focus { outline: none; border-color: var(--color-primary); }

.empty-state {
  text-align: center; padding: 40px 20px; color: var(--color-muted);
  border: 1px dashed var(--color-border); border-radius: var(--radius);
}

/* Footer — multi-column, replaces the single-line version */
.site-footer { padding: 40px 0 24px; }
.footer-grid {
  display: grid; gap: 24px; grid-template-columns: 1fr;
  padding-bottom: 24px; margin-bottom: 20px; border-bottom: 1px solid var(--color-border);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand { font-weight: 800; color: var(--color-text); font-size: 15px; margin-bottom: 6px; }
.footer-col h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--color-text); margin: 0 0 12px;
}
.footer-col a {
  display: block; color: var(--color-muted); text-decoration: none;
  font-size: 14px; margin-bottom: 10px;
}
.footer-col a:hover { color: var(--color-primary); }

/* Auth pages (login/signup/forgot/reset) — a centered card instead
   of a bare form on the page background. */
.auth-wrap { max-width: 420px; margin: 24px auto 0; }
.auth-card {
  padding: 32px 28px;
  text-align: center;
}
.auth-card .logo-mark { width: 44px; height: 44px; font-size: 17px; margin: 0 auto 16px; }
.auth-card h1 { font-size: 1.5rem; margin-bottom: 6px; }
.auth-card .auth-sub { color: var(--color-muted); font-size: 14px; margin-bottom: 22px; }
.auth-card form { text-align: left; }
.auth-card .form-error-list {
  background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius-sm);
  padding: 12px 14px; margin-bottom: 16px; text-align: left;
}
.auth-card .form-error-list p, .auth-card .form-error-list li { color: #b91c1c; margin: 2px 0; font-size: 13.5px; }
.auth-links { font-size: 14px; margin-top: 16px; color: var(--color-muted); }
.auth-links a { font-weight: 600; }

/* Dashboard stat row */
.stat-row { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin-bottom: 32px; }
@media (min-width: 640px) { .stat-row { grid-template-columns: repeat(3, 1fr); } }
.stat-tile { text-align: center; padding: 20px 14px; }
.stat-tile .stat-value { font-size: 28px; font-weight: 800; color: var(--color-primary); line-height: 1.1; }
.stat-tile .stat-label { font-size: 13px; color: var(--color-muted); margin-top: 6px; }

/* Enrolled-course card on the dashboard */
.enrolled-card { display: flex; gap: 16px; align-items: stretch; padding: 0; overflow: hidden; }
.enrolled-cover {
  width: 96px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85); font-size: 26px;
}
.enrolled-body { padding: 18px 20px 18px 0; flex: 1; min-width: 0; }
@media (max-width: 480px) { .enrolled-cover { width: 64px; } }

/* Curriculum page */
.curriculum-header { padding: 28px 24px; margin-bottom: 28px; }
.curriculum-header h1 { margin-bottom: 10px; }
.module-card { padding: 20px; margin-bottom: 16px; }
.module-card.locked { opacity: 0.6; }
.module-card .module-title { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.module-num {
  width: 26px; height: 26px; border-radius: 50%; background: var(--color-primary-soft);
  color: var(--color-primary); font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.locked .module-num { background: var(--color-locked-bg); color: var(--color-muted); }
ul.lesson-list li { transition: border-color 0.15s, box-shadow 0.15s; }
ul.lesson-list li:not(.locked):hover { box-shadow: var(--shadow); }
.lesson-icon { display: inline-flex; color: var(--color-muted); margin-right: 4px; vertical-align: -3px; }
.lesson-icon svg { width: 16px; height: 16px; }

/* Lesson player */
.lesson-crumb { font-size: 13px; color: var(--color-muted); margin-bottom: 8px; display: inline-flex; align-items: center; gap: 6px; }
.video-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.video-placeholder svg { width: 40px; height: 40px; color: var(--color-muted); opacity: 0.6; }
.type-pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-primary);
  background: var(--color-primary-soft); border-radius: 999px; padding: 4px 12px; margin-bottom: 10px;
}
.type-pill svg { width: 13px; height: 13px; }

/* Checkout */
.checkout-card { padding: 28px; }
.checkout-price { font-size: 32px; font-weight: 800; color: var(--color-primary); }
.checkout-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--color-border); font-size: 14px; }
.checkout-row:last-of-type { border-bottom: none; }
.secure-note { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--color-muted); margin-top: 14px; }
.secure-note svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--color-primary); }

/* Certificate — mirrors the PDF's design (double border, corner
   flourishes, drawn seal, serif ceremonial text) so the on-screen
   version and the downloaded PDF read as the same object. */
.cert-frame {
  border: 3px solid var(--color-primary); border-radius: var(--radius-lg);
  padding: 48px 32px 40px; text-align: center; position: relative;
  background: linear-gradient(180deg, var(--color-primary-soft) 0%, #fff 45%);
  box-shadow: var(--shadow-hover);
}
.cert-frame::before {
  content: ""; position: absolute; top: 10px; bottom: 10px; left: 10px; right: 10px;
  border: 1px solid var(--color-primary); border-radius: calc(var(--radius-lg) - 6px); opacity: 0.4;
  pointer-events: none;
}
/* Four corner flourishes — same idea as the PDF's drawn L-marks. */
.cert-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  --fl: 28px;
  background:
    linear-gradient(var(--color-primary), var(--color-primary)) top 22px left 22px / 2px var(--fl) no-repeat,
    linear-gradient(var(--color-primary), var(--color-primary)) top 22px left 22px / var(--fl) 2px no-repeat,
    linear-gradient(var(--color-primary), var(--color-primary)) top 22px right 22px / 2px var(--fl) no-repeat,
    linear-gradient(var(--color-primary), var(--color-primary)) top 22px right 22px / var(--fl) 2px no-repeat,
    linear-gradient(var(--color-primary), var(--color-primary)) bottom 22px left 22px / 2px var(--fl) no-repeat,
    linear-gradient(var(--color-primary), var(--color-primary)) bottom 22px left 22px / var(--fl) 2px no-repeat,
    linear-gradient(var(--color-primary), var(--color-primary)) bottom 22px right 22px / 2px var(--fl) no-repeat,
    linear-gradient(var(--color-primary), var(--color-primary)) bottom 22px right 22px / var(--fl) 2px no-repeat;
  opacity: 0.55;
}
.cert-seal {
  width: 68px; height: 68px; border-radius: 50%; background: var(--color-primary);
  color: #fff; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; position: relative; z-index: 1;
  box-shadow: 0 2px 10px rgba(22,101,52,0.35);
}
.cert-seal svg { width: 30px; height: 30px; }
.cert-frame .cert-brand {
  font-size: 12px; font-weight: 800; letter-spacing: 0.08em; color: var(--color-muted);
  margin: 0 0 6px; position: relative; z-index: 1;
}
.cert-frame .cert-heading {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 30px; font-weight: 700; color: var(--color-primary);
  margin: 0 0 18px; position: relative; z-index: 1;
}
.cert-frame .cert-name {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 26px; font-weight: 700; color: var(--color-text);
  margin: 4px 0 8px; padding-bottom: 10px; position: relative; z-index: 1;
  border-bottom: 1px solid var(--color-primary); display: inline-block; min-width: 60%;
}
.cert-frame .cert-course {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 20px; font-weight: 700; color: var(--color-primary-dark);
  margin: 6px 0 10px; position: relative; z-index: 1;
}
.cert-frame .cert-meta { font-size: 13px; color: var(--color-muted); margin: 0 0 4px; position: relative; z-index: 1; }
.cert-footer-row {
  display: flex; justify-content: center; gap: 48px; margin-top: 22px;
  padding-top: 18px; border-top: 1px solid var(--color-border);
  position: relative; z-index: 1;
}
.recap-box {
  background: var(--color-primary-soft);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 28px 0 8px;
}
.recap-box h3 {
  margin: 0 0 10px; font-size: 14px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-primary);
  display: flex; align-items: center; gap: 8px;
}
.recap-box h3 svg { width: 16px; height: 16px; }
.recap-box ul { margin: 0; padding-left: 20px; }
.recap-box li { margin-bottom: 6px; font-size: 14.5px; }
.recap-box li:last-child { margin-bottom: 0; }

.reading-time {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--color-muted); margin-left: 10px;
}
.reading-time svg { width: 14px; height: 14px; }

.cert-serial {
  display: inline-block; font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 12px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  padding: 4px 10px; margin-top: 10px; position: relative; z-index: 1;
}

/* Mobile nav — pure CSS checkbox toggle, no JS. This audience is
   mostly on phones (see the file header note on why there's no
   framework here at all), so a working small-screen nav isn't
   optional polish. */
.nav-toggle-checkbox { display: none; }
.nav-toggle-label {
  display: none; cursor: pointer; color: var(--color-text);
  padding: 6px; border-radius: var(--radius-sm); margin-left: auto;
}
.nav-toggle-label svg { width: 24px; height: 24px; display: block; }

@media (max-width: 720px) {
  header.site-header .container { flex-wrap: wrap; }
  .nav-toggle-label { display: block; }
  header.site-header nav {
    display: none; width: 100%; flex-direction: column; align-items: flex-start;
    gap: 4px; padding-top: 16px; order: 3;
  }
  .nav-toggle-checkbox:checked ~ nav { display: flex; }
  header.site-header nav a, header.site-header nav .logout-form {
    margin-left: 0; width: 100%; padding: 10px 0; border-bottom: 1px solid var(--color-border);
  }
  header.site-header nav a.btn { width: auto; border-bottom: none; margin-top: 6px; }
  .logout-form button { width: 100%; text-align: left; padding: 10px 0; }
}

@media (max-width: 640px) {
  h1 { font-size: 1.6rem; }
  .hero h1 { font-size: 1.9rem; }
  .hero { padding: 40px 16px 28px; }
}
