
:root {
  --ink: #122033;
  --muted: #5d6878;
  --line: #d9e2ea;
  --bg: #f5f8fb;
  --panel: #ffffff;
  --teal: #237a73;
  --cyan: #72d6c9;
  --amber: #f4c542;
  --blue: #3557a6;
  --shadow: 0 18px 45px rgba(18, 32, 51, .10);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(245, 248, 251, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
}
.logo span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--cyan);
  font-size: 13px;
}
.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.site-header nav a,
.site-footer nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.hero,
.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(48px, 8vw, 92px) clamp(18px, 5vw, 64px) 42px;
  background: linear-gradient(135deg, rgba(114, 214, 201, .28), rgba(53, 87, 166, .10) 45%, rgba(244, 197, 66, .15)), var(--bg);
}
.article-hero,
.article-hero.compact {
  display: block;
  max-width: 980px;
  margin: 0 auto;
  background: transparent;
}
.hero h1,
.article-hero h1 {
  max-width: 860px;
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}
.article-hero h1 { font-size: clamp(34px, 5vw, 58px); }
.hero p,
.article-hero p {
  max-width: 740px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 18px;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  border-radius: 8px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 760;
}
.button.primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.button.ghost { background: rgba(255,255,255,.62); }
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.course-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-head,
.course-row {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 10px;
  align-items: center;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
}
.panel-head {
  background: var(--ink);
  color: #fff;
}
.panel-head strong { color: var(--cyan); }
.course-row {
  text-decoration: none;
  color: var(--ink);
}
.course-row:hover { background: #eef8f7; }
.trustbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 64px);
  background: var(--line);
}
.trustbar span {
  background: #fff;
  padding: 14px;
  text-align: center;
  font-weight: 760;
  color: var(--muted);
}
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(38px, 6vw, 74px) clamp(18px, 4vw, 32px);
}
.section h2 {
  margin: 30px 0 14px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}
.section h2:first-child { margin-top: 0; }
.article h2 { font-size: clamp(26px, 3vw, 36px); }
.cards,
.anchor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 12px 25px rgba(18, 32, 51, .06);
}
.card h3 { margin-top: 0; }
.anchor-grid {
  grid-template-columns: repeat(2, 1fr);
}
.anchor-grid a {
  display: block;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
  color: var(--teal);
  text-decoration: none;
}
.breadcrumbs {
  max-width: 1120px;
  margin: 20px auto 0;
  padding: 0 clamp(18px, 4vw, 32px);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
}
.breadcrumbs a { color: var(--teal); text-decoration: none; }
.article {
  max-width: 920px;
}
.article p,
.article li {
  color: #354457;
}
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
th, td {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { background: #e9f5f4; }
.cta-band {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin: 34px 0;
  padding: 24px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}
.cta-band p { color: #dce7ef; }
.cta-band .button { background: var(--cyan); color: var(--ink); border-color: var(--cyan); white-space: nowrap; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 10px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 64px);
  background: var(--ink);
  color: #fff;
}
.site-footer p {
  color: #dce7ef;
  max-width: 540px;
}
.site-footer nav a { color: #dce7ef; }
@media (max-width: 900px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .trustbar {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .site-header nav { gap: 10px; }
  .cards,
  .anchor-grid,
  .trustbar {
    grid-template-columns: 1fr;
  }
  .panel-head,
  .course-row {
    grid-template-columns: 1fr;
  }
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* v4.6 visual system and crawlable course architecture */
.hero-image {
  display: block;
  width: calc(100% + 2rem);
  max-width: none;
  height: 210px;
  margin: -1rem -1rem 1rem;
  object-fit: cover;
  object-position: 66% center;
  border-radius: 18px 18px 8px 8px;
  aspect-ratio: 16 / 9;
}
.course-panel { overflow: hidden; }
.course-directory { border-top: 1px solid var(--line); }
.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.directory-grid article {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: 14px;
  background: var(--panel);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.directory-grid article:nth-child(2n) { border-top-color: var(--blue); }
.directory-grid article:nth-child(3n) { border-top-color: var(--amber); }
.directory-grid article:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.directory-grid h3 { margin-top: 0; }
.course-links { columns: 2; padding-left: 1.25rem; }
.directory-grid .course-links { columns: 1; }
.course-links li { margin: .35rem 0; break-inside: avoid; }
.silo-map { background: linear-gradient(135deg, rgba(114,214,201,.12), rgba(53,87,166,.08)); border-radius: 18px; padding: clamp(1.25rem, 3vw, 2rem); }
@media (max-width: 900px) { .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .directory-grid { grid-template-columns: 1fr; } .course-links { columns: 1; } .hero-image { height: 170px; } }
