:root {
  --navy-950: #0c1231;
  --navy-900: #121a43;
  --navy-800: #1c285f;
  --navy-700: #263777;
  --navy-100: #e8ebf5;
  --gold-500: #c9a65d;
  --gold-700: #8a6a2a;
  --gold-100: #f6efdf;
  --paper: #faf8f3;
  --surface: #ffffff;
  --soft: #f3f4f8;
  --ink: #10172e;
  --muted: #566076;
  --line: #e2e5ec;
  --on-dark: #ffffff;
  --on-dark-muted: #c3c8dc;
  --success: #1f7a4d;
  --danger: #b42318;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 16px;
  --radius-lg: 20px;
  --shadow: 0 8px 24px rgba(16, 23, 46, 0.06);
  --shadow-lg: 0 16px 40px rgba(16, 23, 46, 0.1);
  --container: 1200px;
  --gutter: 24px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--navy-700);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy-900);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 72;
}

h1 {
  font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

p {
  margin: 0;
}

.container {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--on-dark);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--gold-700);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.on-dark .eyebrow {
  color: var(--gold-500);
}

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.55;
  color: var(--muted);
}

.on-dark,
.on-dark h1,
.on-dark h2,
.on-dark h3 {
  color: var(--on-dark);
}

.on-dark .lead,
.on-dark p {
  color: var(--on-dark-muted);
}

.on-dark .finder,
.on-dark .form-card,
.on-dark .finder h2,
.on-dark .form-card h3 {
  color: var(--ink);
}

.on-dark .finder p,
.on-dark .form-card .form-note {
  color: var(--muted);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.button-primary {
  background: var(--navy-900);
  color: var(--on-dark);
}

.button-primary:hover {
  background: var(--navy-700);
  color: var(--on-dark);
}

.button-accent {
  background: var(--gold-500);
  color: var(--navy-950);
}

.button-accent:hover {
  background: #d6b671;
  color: var(--navy-950);
}

.button-secondary {
  border-color: var(--navy-900);
  background: var(--surface);
  color: var(--navy-900);
}

.button-secondary:hover {
  background: var(--navy-100);
  color: var(--navy-900);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
  color: var(--on-dark);
}

.button-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--on-dark);
}

.button-block {
  width: 100%;
}

.button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* Utility bar + header */
.utility-bar {
  background: var(--navy-950);
  color: var(--on-dark-muted);
  font-size: 0.875rem;
}

.utility-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 8px;
}

.utility-bar a {
  color: var(--on-dark);
  text-decoration: none;
}

.utility-bar a:hover {
  text-decoration: underline;
}

.utility-links {
  display: flex;
  gap: 24px;
}

.utility-links .muted-link {
  color: var(--on-dark-muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand img {
  width: 58px;
  height: auto;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a,
.nav-toggle-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.main-nav a:hover,
.nav-toggle-sub:hover,
.main-nav a[aria-current="page"] {
  background: var(--soft);
  color: var(--navy-900);
}

.nav-toggle-sub::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.has-sub {
  position: relative;
}

.sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: none;
  min-width: 300px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  list-style: none;
}

.sub-menu.is-wide {
  min-width: 460px;
}

.has-sub.is-open > .sub-menu {
  display: block;
}

.sub-menu a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 10px 12px;
  font-weight: 600;
}

.sub-menu a small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.sub-menu .sub-heading {
  padding: 10px 12px 4px;
  color: var(--gold-700);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
  cursor: pointer;
}

.menu-toggle .bars,
.menu-toggle .bars::before,
.menu-toggle .bars::after {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--navy-900);
  transition: transform 0.2s ease, top 0.2s ease;
}

.menu-toggle .bars::before,
.menu-toggle .bars::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-toggle .bars::before {
  top: -6px;
}

.menu-toggle .bars::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .bars {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .bars::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .bars::after {
  top: 0;
  transform: rotate(-45deg);
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .mobile-cta {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
}

.hero::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(60rem 30rem at 85% -10%, rgba(201, 166, 93, 0.18), transparent 60%),
    radial-gradient(40rem 30rem at -10% 110%, rgba(38, 55, 119, 0.9), transparent 60%);
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 64px;
  align-items: center;
  padding-block: 88px 96px;
}

.hero h1 {
  max-width: 13ch;
  margin-bottom: 22px;
}

.hero .lead {
  max-width: 36rem;
  margin-bottom: 30px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.finder {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 30px 60px rgba(4, 8, 28, 0.35);
}

.finder h2 {
  margin-bottom: 18px;
  font: 600 1.25rem/1.3 var(--sans);
  letter-spacing: -0.01em;
}

.finder p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.875rem;
}

.finder p a {
  color: var(--navy-700);
  font-weight: 600;
}

/* Forms */
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.field > span {
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
}

.field em {
  color: var(--muted);
  font-style: normal;
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cfd4de;
  border-radius: 10px;
  background: var(--surface);
  font-size: 1rem;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy-700);
  outline: 3px solid rgba(38, 55, 119, 0.18);
  outline-offset: 0;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.field-hp {
  position: absolute;
  left: -9999px;
}

.form-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.8125rem;
}

.form-status {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.form-status.is-success {
  background: #e7f4ec;
  color: var(--success);
}

.form-status.is-error {
  background: #fdecea;
  color: var(--danger);
}

/* Trust strip */
.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-block: 0;
  padding: 26px 0;
  list-style: none;
}

.trust-grid strong {
  display: block;
  color: var(--navy-900);
  font-size: 1.125rem;
  font-weight: 600;
}

.trust-grid span {
  color: var(--muted);
  font-size: 0.875rem;
}

/* Sections */
.section {
  padding-block: clamp(64px, 6vw, 96px);
}

.section-paper {
  background: var(--paper);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.section-head.is-centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-head p:not(.eyebrow) {
  max-width: 40rem;
  margin-top: 12px;
  color: var(--muted);
}

/* Course filters + cards */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}

.filter[aria-pressed="true"] {
  background: var(--navy-900);
  color: var(--on-dark);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.course-card:hover {
  border-color: #c7cde0;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.course-card[hidden] {
  display: none;
}

.course-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.course-card h3 a::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
}

.course-card p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.875rem;
}

.code-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--navy-100);
  color: var(--navy-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: auto;
  padding-top: 6px;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
}

.card-link {
  color: var(--navy-700);
  font-size: 0.9375rem;
  font-weight: 600;
}

.grid-footer {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  counter-increment: step;
}

.steps li::before {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--gold-700);
  font-weight: 700;
  content: counter(step);
}

.steps h3 {
  margin-bottom: 8px;
}

.steps p {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Link tiles */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  padding: 22px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.tile:hover {
  background: var(--navy-100);
  color: var(--ink);
}

.tile strong {
  display: block;
  font-size: 1.0625rem;
}

.tile span {
  color: var(--muted);
  font-size: 0.875rem;
}

.tile::after {
  flex: none;
  color: var(--navy-700);
  font-size: 1.25rem;
  font-weight: 600;
  content: "→";
}

/* CTA band */
.cta-band {
  background: var(--navy-900);
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 64px;
  align-items: center;
  padding-block: 80px;
}

.cta-grid h2 {
  margin-bottom: 16px;
}

.cta-contact {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.cta-contact a {
  color: var(--on-dark);
  font-weight: 600;
  text-decoration: none;
}

.cta-contact a:hover {
  text-decoration: underline;
}

.form-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.form-card h3 {
  margin-bottom: 18px;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy-900);
}

.page-hero-inner {
  padding-block: 40px 64px;
}

.page-hero h1 {
  max-width: 22ch;
  margin-bottom: 16px;
  font-size: clamp(2.125rem, 1.4rem + 2.6vw, 3.25rem);
}

.page-hero .lead {
  max-width: 44rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 26px;
  padding: 0;
  color: var(--on-dark-muted);
  font-size: 0.875rem;
  list-style: none;
}

.breadcrumb li + li::before {
  margin-right: 6px;
  content: "/";
}

.breadcrumb a {
  color: var(--on-dark-muted);
}

.breadcrumb a:hover {
  color: var(--on-dark);
}

/* Course page */
.course-hero .page-hero-inner {
  padding-bottom: 120px;
}

.course-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.875rem;
}

.course-hero h1 {
  max-width: 20ch;
}

.course-hero .button-row {
  margin-top: 28px;
}

.glance {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0 28px;
  margin: -64px 0 0;
  padding: 8px 28px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  list-style: none;
}

.glance li,
.facts-list li {
  padding-block: 14px;
  border-top: 1px solid var(--line);
}

.glance li {
  border-top: 0;
}

.fact-label {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact-value {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
}

.glance .fact-value {
  font-size: 1.125rem;
}

.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: start;
  padding-block: 48px 96px;
}

.section-tabs {
  position: sticky;
  top: 77px;
  z-index: 10;
  display: flex;
  gap: 4px;
  margin: 0 0 40px;
  padding: 10px 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  list-style: none;
  scrollbar-width: none;
}

.section-tabs a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.section-tabs a:hover,
.section-tabs a.is-active {
  background: var(--soft);
  color: var(--navy-900);
}

.course-section {
  scroll-margin-top: 150px;
  margin-bottom: 56px;
}

.course-section > h2 {
  margin-bottom: 16px;
  font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem);
}

.prose > * + * {
  margin-top: 14px;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 6px;
}

.prose h3 {
  margin-top: 28px;
}

.prose h2 {
  margin-top: 44px;
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem);
}

.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.prose th,
.prose td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--soft);
  font-weight: 600;
}

.req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
}

.req-box {
  padding: 24px;
  border-radius: 14px;
  background: var(--soft);
}

.req-box h3 {
  margin-bottom: 12px;
  font-size: 1.0625rem;
}

.req-box ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9375rem;
}

.req-box li + li {
  margin-top: 8px;
}

.unit-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.unit-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.unit-table caption {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  font-weight: 600;
  text-align: left;
}

.unit-table th,
.unit-table td {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.unit-table thead th {
  border-top: 0;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.unit-table td:first-child {
  width: 130px;
  color: var(--navy-700);
  font-weight: 600;
  white-space: nowrap;
}

.unit-table + .unit-table,
.unit-table-wrap + .unit-table-wrap {
  margin-top: 20px;
}

.hours-table td:last-child,
.hours-table th:last-child {
  text-align: right;
}

.note {
  padding: 16px 18px;
  border-left: 3px solid var(--gold-500);
  border-radius: 0 10px 10px 0;
  background: var(--gold-100);
  font-size: 0.9375rem;
}

.facts-panel {
  position: sticky;
  top: 100px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.facts-panel h2 {
  margin-bottom: 6px;
  font: 600 1.25rem/1.3 var(--sans);
  letter-spacing: -0.01em;
}

.facts-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.facts-list .fact-value {
  font-size: 0.9375rem;
}

.facts-list .fact-value a {
  font-weight: 600;
}

.facts-panel .button + .button {
  margin-top: 10px;
}

.career-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.career-list li {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.9375rem;
}

.mobile-cta {
  display: none;
}

/* Generic content pages */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 64px;
  align-items: start;
  padding-block: 56px 96px;
}

.content-layout.is-single {
  grid-template-columns: minmax(0, 760px);
}

.side-card {
  position: sticky;
  top: 100px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.side-card h2 {
  margin-bottom: 12px;
  font: 600 1.125rem/1.3 var(--sans);
}

.side-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-card li + li {
  margin-top: 10px;
}

.side-card p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.doc-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.doc-list strong {
  display: block;
}

.doc-list span {
  color: var(--muted);
  font-size: 0.875rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}

.contact-grid li {
  padding: 24px;
  border-radius: 14px;
  background: var(--soft);
}

.contact-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-grid a,
.contact-grid address {
  color: var(--ink);
  font-size: 1.0625rem;
  font-style: normal;
  font-weight: 600;
  text-decoration: none;
}

.contact-grid a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  padding-block: 72px 40px;
}

.footer-brand img {
  width: 72px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-brand strong {
  display: block;
  margin-bottom: 8px;
  color: var(--on-dark);
  font-size: 1.0625rem;
}

.footer-brand address {
  font-style: normal;
  line-height: 1.7;
}

.site-footer a {
  color: var(--on-dark-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--on-dark);
  text-decoration: underline;
}

.footer-brand a {
  color: var(--on-dark);
}

.footer-col h2 {
  margin-bottom: 14px;
  color: var(--gold-500);
  font: 600 0.8125rem/1.3 var(--sans);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li + li {
  margin-top: 9px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 22px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.875rem;
}

.footer-bottom ul {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Responsive */
@media (max-width: 1100px) {
  .course-grid,
  .tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .glance {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .utility-bar {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .header-actions .button-secondary {
    display: none;
  }
  .main-nav {
    position: fixed;
    inset: 76px 0 0;
    display: none;
    overflow-y: auto;
    padding: 16px var(--gutter) 40px;
    background: var(--surface);
  }
  .main-nav.is-open {
    display: block;
  }
  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav a,
  .nav-toggle-sub {
    justify-content: space-between;
    width: 100%;
    font-size: 1.0625rem;
  }
  .sub-menu,
  .sub-menu.is-wide {
    position: static;
    min-width: 0;
    border: 0;
    box-shadow: none;
    padding: 0 0 8px 12px;
  }
  .hero-grid,
  .cta-grid,
  .course-layout,
  .content-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .facts-panel,
  .side-card {
    position: static;
  }
  .course-layout {
    padding-bottom: 120px;
  }
  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: flex;
    gap: 10px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--surface);
  }
  .mobile-cta .button {
    flex: 1;
  }
  .section-tabs {
    top: 76px;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 16px;
  }
  .header-inner {
    min-height: 68px;
  }
  .brand img {
    width: 48px;
  }
  .main-nav {
    inset: 68px 0 0;
  }
  .hero-grid {
    padding-block: 48px 56px;
  }
  .button-row .button {
    width: 100%;
  }
  .trust-grid,
  .course-grid,
  .tile-grid,
  .steps,
  .req-grid,
  .contact-grid,
  .field-row {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    gap: 14px;
  }
  .glance {
    grid-template-columns: 1fr 1fr;
    margin-top: -48px;
    padding: 4px 18px 10px;
  }
  .course-hero .page-hero-inner {
    padding-bottom: 88px;
  }
  .section-tabs {
    top: 68px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .finder,
  .form-card {
    padding: 22px;
  }
  .unit-table td:first-child {
    width: auto;
  }
}

@media print {
  .utility-bar,
  .site-header,
  .mobile-cta,
  .section-tabs,
  .cta-band,
  .site-footer .footer-grid {
    display: none;
  }
  .page-hero,
  .hero {
    background: none;
  }
  .on-dark,
  .on-dark h1,
  .on-dark p {
    color: var(--ink);
  }
}
