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

:root {
  --apex-purple:       #5d63a7;
  --apex-purple-dark:  #404364;
  --apex-purple-light: #c5c8e3;
  --bg-gray:           #f0f0f0;
  --black:             #000000;
  --text-black:        #222222;
  --white:             #ffffff;
  --blue:              #3e84dc;
  --gold:              #ddc244;
  --orange:            #d68f33;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  color: var(--text-black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ─── CONTAINER ─── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ─── NAVBAR ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e8e8e8;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.nav-logo img { height: 36px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a { color: var(--text-black); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--apex-purple); }
.nav-division {
  font-size: 12px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-division a { color: var(--apex-purple); font-weight: 600; }
.nav-pipe { color: #ccc; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 4px;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.btn-primary { background: var(--apex-purple); color: var(--white); border-color: var(--apex-purple); }
.btn-primary:hover { background: var(--apex-purple-dark); border-color: var(--apex-purple-dark); color: var(--white); }
.btn-secondary { background: transparent; color: var(--text-black); border-color: var(--text-black); }
.btn-secondary:hover { background: var(--text-black); color: var(--white); }
.btn-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-white:hover { background: rgba(255,255,255,0.15); color: var(--white); }

/* ─── NOTICE BAND ─── */
.notice-band {
  background: var(--apex-purple);
  color: var(--white);
  padding: 14px 40px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}
.notice-band a { color: var(--white); font-weight: 700; text-decoration: underline; }

/* ─── PAGE HERO ─── */
.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 80px 40px;
}
.page-hero.dark { background: var(--black); }
.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.page-hero-inner.centered {
  grid-template-columns: 1fr;
  max-width: 760px;
  text-align: center;
}
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--apex-purple-light);
  margin-bottom: 14px;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
.page-hero p {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.80);
  line-height: 1.65;
  margin-bottom: 16px;
}
.page-hero .tagline {
  font-size: 16px;
  font-weight: 600;
  color: var(--apex-purple-light);
  margin-bottom: 16px;
}
.page-hero-right img { max-width: 100%; opacity: 0.7; }

/* ─── CTA BAND ─── */
.cta-band {
  padding: 80px 40px;
  text-align: center;
  background: var(--white);
}
.cta-band .apex-icon { height: 44px; margin-bottom: 20px; }
.cta-band h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; margin-bottom: 12px; }
.cta-band h2 .accent { color: var(--apex-purple); }
.cta-band p { font-size: 17px; color: #555; margin-bottom: 28px; }

/* ─── PROGRAM DETAIL ─── */
.program-detail {
  padding: 80px 0;
  background: var(--bg-gray);
}
.program-detail h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 20px;
}
.program-detail p {
  font-size: 17px;
  color: #444;
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 720px;
}
.course-timeline {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin: 40px 0;
  flex-wrap: wrap;
}
.course-phase {
  flex: 1;
  min-width: 240px;
  background: var(--white);
  border-top: 4px solid var(--apex-purple);
  padding: 28px 24px;
  border-radius: 2px;
}
.phase-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--apex-purple);
  margin-bottom: 10px;
}
.course-phase h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.course-phase p { font-size: 15px; color: #555; line-height: 1.7; }
.phase-arrow { font-size: 28px; color: var(--apex-purple); padding-top: 40px; }
.discount-note {
  font-size: 15px !important;
  font-style: italic;
  color: #666 !important;
  border-left: 3px solid var(--apex-purple);
  padding-left: 16px;
}

/* ─── STEPS ─── */
.steps-section { padding: 80px 0; background: var(--white); }
.steps-section h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; margin-bottom: 40px; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card {
  background: var(--bg-gray);
  padding: 32px 28px;
  border-radius: 2px;
}
.step-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--apex-purple);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.step-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 14px; }
.step-card p { font-size: 15px; color: #444; line-height: 1.7; }

/* ─── CERTIFICATIONS ─── */
.cert-section { padding: 80px 0; background: var(--bg-gray); }
.cert-section h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 700; margin-bottom: 36px; max-width: 680px; }
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.cert-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: 2px;
  border-top: 4px solid var(--apex-purple);
}
.cert-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 14px;
}
.cert-badge.network { background: rgba(93,99,167,0.12); color: var(--apex-purple); }
.cert-badge.security { background: rgba(62,132,220,0.12); color: var(--blue); }
.cert-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.cert-card p { font-size: 15px; color: #444; line-height: 1.7; margin-bottom: 16px; }
.cert-card h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #888; margin-bottom: 10px; }
.cert-card ul { list-style: none; }
.cert-card ul li { font-size: 14px; color: #444; padding: 4px 0; border-bottom: 1px solid #f0f0f0; }
.cert-logos { display: flex; gap: 24px; align-items: center; }
.cert-logos img { height: 40px; opacity: 0.7; }

/* ─── ABOUT ─── */
.about-section { padding: 80px 0; }
.about-text .section-eyebrow { color: var(--apex-purple); }
.about-text h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; margin-bottom: 20px; margin-top: 10px; }
.about-text p { font-size: 16px; color: #444; line-height: 1.75; margin-bottom: 16px; }
.about-images img { width: 100%; border-radius: 4px; }

/* ─── TEAM ─── */
.team-section { padding: 80px 0; background: var(--bg-gray); }
.team-section .section-eyebrow { color: var(--apex-purple); margin-bottom: 8px; }
.team-section h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; margin-bottom: 40px; margin-top: 10px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card {
  background: var(--white);
  padding: 28px 24px;
  border-radius: 2px;
  border-top: 4px solid var(--apex-purple);
}
.team-role { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--apex-purple); margin-bottom: 8px; }
.team-name { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.team-card p { font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 14px; }
.team-email { font-size: 14px; color: var(--apex-purple); font-weight: 600; }

/* ─── PARTNERSHIPS ─── */
.partnerships-section { padding: 80px 0; }
.partner-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 60px; }
.partner-feature-card {
  background: var(--bg-gray);
  padding: 32px 24px;
  border-radius: 2px;
  text-align: center;
}
.partner-feature-card img { height: 48px; margin-bottom: 20px; object-fit: contain; }
.partner-feature-card p { font-size: 14px; color: #555; line-height: 1.7; }
.state-partnerships { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.state-map img { width: 100%; border-radius: 4px; }
.state-list-block { margin-bottom: 32px; }
.state-list-block h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.state-list { list-style: none; columns: 2; column-gap: 16px; }
.state-list li { font-size: 14px; color: #444; padding: 4px 0; border-bottom: 1px solid #eee; break-inside: avoid; }
.state-list-block.upcoming .state-list-block h3 { color: var(--apex-purple); }
.state-list-block.upcoming h3 { color: var(--apex-purple); }

/* ─── MEDIA ─── */
.media-section { padding: 80px 0; }
.media-featured { margin-bottom: 48px; }
.media-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--apex-purple); margin-bottom: 12px; }
.media-featured h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 700; margin-bottom: 16px; }
.media-featured p { font-size: 16px; color: #444; line-height: 1.75; margin-bottom: 20px; max-width: 720px; }
.media-doc-img { width: 100%; max-width: 800px; border-radius: 4px; margin-bottom: 12px; }
.media-credit { font-size: 13px; color: #888; }
.media-credit a { color: var(--apex-purple); }
.media-divider { border: none; border-top: 1px solid #e0e0e0; margin: 48px 0; }
.media-section h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 700; margin-bottom: 32px; }
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.media-card {
  background: var(--bg-gray);
  padding: 24px 20px;
  border-radius: 2px;
  border-left: 3px solid var(--apex-purple);
}
.media-type { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--apex-purple); margin-bottom: 10px; }
.media-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.media-card p { font-size: 14px; color: #555; line-height: 1.65; }
.recognition-block {
  background: var(--apex-purple);
  color: var(--white);
  padding: 48px 40px;
  border-radius: 4px;
  margin-bottom: 48px;
}
.recognition-badge { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.recognition-block h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; margin-bottom: 14px; }
.recognition-block p { font-size: 16px; color: rgba(255,255,255,0.85); line-height: 1.7; margin-bottom: 28px; max-width: 600px; }
.media-intro { font-size: 16px; color: #555; margin-bottom: 24px; }
.articles-list { list-style: none; }
.articles-list li { border-bottom: 1px solid #eee; padding: 14px 0; }
.articles-list a { font-size: 15px; color: var(--apex-purple); font-weight: 500; transition: color 0.2s; }
.articles-list a:hover { color: var(--apex-purple-dark); text-decoration: underline; }

/* ─── FOOTER ─── */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 48px 40px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}
.footer-logo img { height: 32px; margin-bottom: 12px; filter: brightness(0) invert(1); }
.footer-logo p { font-size: 13px; max-width: 280px; line-height: 1.6; color: rgba(255,255,255,0.6); }
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  background: transparent !important;
}
.footer-nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.72) !important;
  background: transparent !important;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white) !important; }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--white); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .page-hero-inner, .two-col, .state-partnerships { grid-template-columns: 1fr; }
  .steps-grid, .team-grid, .cert-grid, .partner-feature-grid, .media-grid { grid-template-columns: 1fr; }
  .page-hero-right { display: none; }
  nav { padding: 0 20px; }
  .nav-division { display: none; }
  .nav-links { gap: 16px; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  nav { padding: 0 16px; }
  .notice-band, footer { padding-left: 20px; padding-right: 20px; }
  .page-hero { padding: 60px 20px; }
  .cta-band, .program-detail, .steps-section, .cert-section,
  .about-section, .team-section, .partnerships-section, .media-section { padding: 60px 0; }
  .state-list { columns: 1; }
  .recognition-block { padding: 32px 24px; }
  .footer-inner { flex-direction: column; }
}
