/* Base Variables & Reset */
:root {
  --primary-bg: #0f172a;
  --surface-bg: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --touch-target: 44px;
  --spacing-base: 1.5rem;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  width: 100%;
  padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4 { color: var(--text-main); margin-bottom: 1rem; }
p { margin-bottom: 1rem; color: var(--text-muted); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Navigation */
header { background: var(--surface-bg); padding: 1rem 0; border-bottom: 1px solid #334155; }
.nav-wrapper { display: flex; flex-direction: column; gap: 1rem; }
.logo a { font-size: 1.5rem; font-weight: bold; color: var(--text-main); }

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-list a {
  display: flex;
  align-items: center;
  min-height: var(--touch-target);
  padding: 0.5rem 0;
  color: var(--text-main);
}

/* Dropdown */
.dropdown-menu { display: none; list-style: none; padding-left: 1rem; }
.dropdown:hover .dropdown-menu { display: flex; flex-direction: column; }

/* CTAs & Touch Targets */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-target);
  min-width: var(--touch-target);
  background-color: var(--accent);
  color: var(--primary-bg);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 4px;
  margin-top: 1rem;
}
.cta-button:hover { background-color: #7dd3fc; text-decoration: none; }

/* Layouts & Sections */
.section-padding { padding: 3rem 0; }
.lead-text { font-size: 1.125rem; color: var(--text-main); }
.structured-list { padding-left: 1.5rem; margin-bottom: 2rem; }
.structured-list li { margin-bottom: 0.75rem; }

/* Certifications Grid */
.certifications-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.cert-card {
  background: var(--surface-bg);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #334155;
}

/* Footer */
footer { border-top: 1px solid #334155; padding: 2rem 0; margin-top: 3rem; text-align: center; }
.footer-links { list-style: none; display: flex; justify-content: center; gap: 1rem; margin-bottom: 1rem; }
.footer-links a { min-height: var(--touch-target); display: inline-flex; align-items: center; }

/* Tablet & Desktop Escalation */
@media (min-width: 768px) {
  .container { max-width: 720px; margin: 0 auto; }
  .nav-wrapper { flex-direction: row; justify-content: space-between; align-items: center; }
  .nav-list { flex-direction: row; gap: 2rem; }
  .dropdown { position: relative; }
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface-bg);
    min-width: 200px;
    padding: 1rem;
    border: 1px solid #334155;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }
  .certifications-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .container { max-width: 1140px; }
  .certifications-grid { grid-template-columns: repeat(4, 1fr); }
}
/* ==============================================
   FIXES APPLIED 2026-04-28
   ============================================== */

/* FIX: Space Grotesk for headings — was system-ui, fonts loaded but unused */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }

/* FIX: skip-link visible focus state — WCAG 2.4.1 Level A */
.skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  padding: 0.75rem 1.5rem;
  background: #39FF14;
  color: #000;
  font-weight: 600;
  font-size: 1rem;
  z-index: 9999;
  text-decoration: none;
  clip: auto;
  overflow: auto;
}

/* FIX: prefers-reduced-motion — WCAG 2.3.3 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
