:root {
  --blue: #00274c;
  --blue-ink: #182b3d;
  --blue-soft: #eef3f8;
  --crimson: #a51c30;
  --crimson-deep: #7f111f;
  --gold: #c8a44d;
  --paper: #fbfaf7;
  --paper-warm: #f3efe7;
  --line: #ded6ca;
  --muted: #607083;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(24, 43, 61, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

#courses,
#math-check,
#levels,
#pathway,
#placement,
#practice,
#request-form,
#registration,
#contact {
  scroll-margin-top: 150px;
}

body {
  overflow-x: clip;
  margin: 0;
  color: var(--blue-ink);
  background: var(--paper);
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

main,
.site-header > *,
.nav-links,
.level-card,
.method-grid > *,
.contact-info-card {
  min-width: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-weight: 850;
  transform: translateY(calc(-100% - 24px));
}

.skip-link:focus {
  transform: translateY(0);
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--blue);
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 78px;
  padding: 12px 32px;
  border-bottom: 1px solid rgba(222, 214, 202, 0.82);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(18px);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 92px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(0, 39, 76, 0.18);
  border-radius: 8px;
  color: var(--blue);
  background: var(--white);
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.nav-toggle-icon {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle-icon span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-header[data-menu-open="true"] .nav-toggle-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header[data-menu-open="true"] .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.site-header[data-menu-open="true"] .nav-toggle-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.brand {
  width: 218px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.15vw, 18px);
  min-width: 0;
  color: var(--blue-ink);
  font-size: 14px;
  font-weight: 750;
}

.nav-links a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  border-color: var(--crimson);
  color: var(--crimson);
}

.nav-links a[aria-current="page"] {
  border-color: var(--crimson);
  color: var(--crimson);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.header-cta {
  padding: 0 18px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 8px 24px rgba(0, 39, 76, 0.18);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(0, 39, 76, 0.97) 0%, rgba(0, 39, 76, 0.92) 52%, rgba(127, 17, 31, 0.88) 100%),
    linear-gradient(180deg, var(--blue) 0%, var(--crimson-deep) 100%);
}

.hero::before,
.subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.hero::after,
.subpage-hero::after {
  content: "";
  position: absolute;
  background: url("./assets/wise-zebra-seal-trimmed.png") center / contain no-repeat;
  filter: saturate(0.85);
}

.hero::after {
  right: -90px;
  bottom: -40px;
  width: 600px;
  height: 600px;
  opacity: 0.18;
}

.subpage-hero::after {
  right: -50px;
  bottom: -30px;
  width: 470px;
  height: 470px;
  opacity: 0.16;
}

.hero-mark {
  position: absolute;
  top: 94px;
  right: 8%;
  width: 132px;
  height: 4px;
  background: var(--gold);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 680px;
  padding: 72px 0 56px;
}

.subpage-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(0, 39, 76, 0.97) 0%, rgba(0, 39, 76, 0.92) 54%, rgba(127, 17, 31, 0.86) 100%),
    linear-gradient(180deg, var(--blue) 0%, var(--crimson-deep) 100%);
}

.subpage-hero-content {
  position: relative;
  z-index: 1;
  padding: 96px 0 84px;
}

.subpage-hero h1 {
  max-width: 840px;
}

.subpage-hero .hero-facts {
  margin-top: 46px;
}

.hero-facts.two-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 620px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--crimson);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #f1d18a;
}

.subpage-hero .eyebrow {
  color: #f1d18a;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-width: 180px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 15px;
}

.button.primary {
  color: var(--white);
  background: var(--crimson);
}

.button.primary:hover {
  background: var(--crimson-deep);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.14);
}

.button.secondary.light {
  color: var(--blue);
  border-color: rgba(0, 39, 76, 0.2);
  background: var(--white);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(920px, 100%);
  margin: 56px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.hero-facts div {
  padding: 22px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-facts div:last-child {
  border-right: 0;
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 8px 0 0;
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.announcement {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.announcement-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 48px;
  padding: 64px 0;
}

.announcement h2,
.section-heading h2,
.pathway-teaser h2,
.framework-intro h2,
.pathway-intro h2,
.practice-copy h2,
.placement-copy h2,
.registration-intro h2,
.math-check-copy h2,
.contact-panel h2 {
  color: var(--blue);
  font-size: 36px;
  line-height: 1.16;
  letter-spacing: 0;
}

.announcement p:last-child,
.pathway-teaser p,
.framework-intro > p,
.practice-copy p,
.placement-copy p,
.registration-intro > p,
.math-check-copy > p,
.contact-panel p {
  color: var(--muted);
  font-size: 17px;
}

.levels-section,
.math-check-section,
.placement-overview,
.framework-section,
.pathway-section,
.practice-section,
.method-section {
  padding: 86px 0;
}

.placement-overview {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.framework-section {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.pathway-teaser {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.pathway-teaser-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
}

.pathway-teaser h2 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: 31px;
}

.pathway-teaser p {
  max-width: 720px;
  margin-bottom: 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 560px;
}

.framework-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 34px;
}

.framework-intro > p {
  margin-bottom: 0;
}

.framework-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.framework-steps.four-step {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.framework-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(24, 43, 61, 0.08);
}

.framework-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--white);
  background: var(--crimson);
  font-size: 13px;
  font-weight: 950;
}

.framework-card h3 {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 22px;
  line-height: 1.18;
}

.framework-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.framework-steps.compact .framework-card {
  min-height: 218px;
}

.domain-block {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 28px;
  align-items: start;
  padding: 30px 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.domain-block h3 {
  margin-bottom: 0;
  color: var(--blue);
  font-size: 24px;
  line-height: 1.2;
}

.domain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.domain-list span {
  padding: 9px 11px;
  border-radius: 8px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 13px;
  font-weight: 850;
}

.band-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: end;
  margin: 42px 0 24px;
}

.band-heading h3 {
  margin-bottom: 0;
  color: var(--blue);
  font-size: 28px;
  line-height: 1.18;
}

.band-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.band-card {
  min-height: 216px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.band-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--crimson);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.band-card h4 {
  margin-bottom: 10px;
  color: var(--blue-ink);
  font-size: 18px;
  line-height: 1.2;
}

.band-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.featured-band {
  border-color: rgba(0, 39, 76, 0.32);
  background: var(--blue-soft);
}

.level-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

#coding-courses .level-grid {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 32px;
  align-items: stretch;
}

#coding-courses .level-card {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  writing-mode: horizontal-tb;
}

#courses .container {
  width: min(1180px, calc(100% - 48px));
}

#courses {
  position: relative;
  overflow: hidden;
  padding: 96px 0 108px;
  color: var(--blue-ink);
  background: var(--paper);
}

#courses::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 39, 76, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 39, 76, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}

#courses::after {
  content: "COURSES";
  position: absolute;
  top: 58px;
  right: clamp(20px, 4vw, 64px);
  color: rgba(0, 39, 76, 0.055);
  font-size: clamp(58px, 10vw, 142px);
  font-weight: 950;
  line-height: 0.85;
}

#courses .container {
  position: relative;
  z-index: 1;
}

#courses .section-heading {
  max-width: 820px;
  margin-bottom: 44px;
}

#courses .section-kicker {
  color: var(--crimson);
}

#courses .section-heading h2 {
  color: var(--blue);
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.08;
}

#courses .level-grid {
  gap: 18px;
  align-items: stretch;
}

#courses .level-card {
  display: flex;
  flex-direction: column;
  min-height: auto;
  padding: 36px 34px 34px;
  border-color: rgba(222, 214, 202, 0.92);
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 26px 70px rgba(24, 43, 61, 0.13);
}

#courses .level-card::before {
  inset: 34px auto auto 34px;
  width: 82px;
  height: 5px;
  border-radius: 0;
  background: var(--gold);
}

#courses .level-card-header {
  display: block;
  margin: 58px 0 24px;
}

#courses .level-card-header span {
  padding: 0;
  border: 0;
  color: var(--blue-ink);
  font-size: 21px;
  font-weight: 950;
  line-height: 1.1;
}

#courses .level-card h3 {
  margin-bottom: 20px;
  color: var(--blue-ink);
  font-size: 36px;
  line-height: 1.06;
}

#courses .level-card > p {
  color: rgba(24, 43, 61, 0.74);
  font-size: 18px;
}

#courses .course-card-main > p {
  color: rgba(24, 43, 61, 0.74);
  font-size: 18px;
}

#courses .detail-row {
  border-top-color: rgba(0, 39, 76, 0.14);
}

#courses .detail-row h4,
#courses .course-details-label,
#courses .course-meta-list dt {
  color: var(--crimson);
}

#courses .course-meta-list {
  border-top-color: rgba(0, 39, 76, 0.14);
}

#courses .course-card-details {
  height: auto;
  margin: auto 0 18px;
}

#courses .course-meta-list div {
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  min-height: 66px;
  padding: 16px 0 19px;
  border-bottom-color: rgba(0, 39, 76, 0.14);
}

#courses .course-meta-list dt {
  font-size: 13px;
}

#courses .course-meta-list dd {
  color: var(--blue-ink);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.32;
}

#courses .level-e {
  border-color: rgba(0, 39, 76, 0.22);
  background: #f7fbff;
  box-shadow: 0 30px 78px rgba(0, 39, 76, 0.16);
}

#courses .level-practice {
  background: #fff8ef;
}

#courses .course-card-action {
  margin-top: 0;
}

.math-check-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-warm);
}

.math-check-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: 34px;
  align-items: stretch;
  overflow: hidden;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.math-check-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 42px;
  width: 92px;
  height: 5px;
  background: var(--gold);
}

.math-check-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.math-check-copy h2 {
  max-width: 720px;
  margin-bottom: 18px;
}

.math-check-copy > p {
  max-width: 720px;
  margin-bottom: 26px;
}

.math-check-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.math-check-card {
  display: grid;
  gap: 16px;
  padding: 30px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(140deg, rgba(0, 39, 76, 0.98) 0%, rgba(0, 39, 76, 0.92) 58%, rgba(127, 17, 31, 0.88) 100%),
    var(--blue);
}

.math-check-card-label {
  margin-bottom: 4px;
  color: #f1d18a;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.math-check-card article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.math-check-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #f1d18a;
  font-size: 13px;
  font-weight: 950;
}

.math-check-card h3 {
  margin-bottom: 6px;
  color: var(--white);
  font-size: 20px;
  line-height: 1.18;
}

.math-check-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.level-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.level-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  border-radius: 8px 8px 0 0;
}

.level-d::before {
  background: var(--crimson);
}

.level-e::before {
  background: var(--blue);
}

.level-practice::before {
  background: var(--gold);
}

.level-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.level-label {
  margin: 0;
  color: var(--crimson);
  font-size: 31px;
  font-weight: 950;
  line-height: 1.05;
}

.level-e .level-label {
  color: var(--blue);
}

.level-practice .level-label {
  color: var(--blue-ink);
  font-size: 27px;
}

.level-card-header span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.level-card h3 {
  margin-bottom: 18px;
  color: var(--blue-ink);
  font-size: 28px;
  line-height: 1.18;
}

.level-card > p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 16px;
}

.course-meta-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.course-card-details {
  margin-top: 26px;
  margin-bottom: 18px;
}

.course-details-label {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.course-meta-list div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 48px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.course-meta-list dt {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.course-meta-list dd {
  margin: 0;
  color: var(--blue-ink);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

.course-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  border-radius: 8px;
  color: var(--white);
  background: var(--crimson);
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(165, 28, 48, 0.18);
}

.course-card-action:hover {
  background: var(--crimson-deep);
}

.detail-row {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.detail-row h4 {
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.detail-row p {
  margin-bottom: 0;
}

.course-more {
  margin-top: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.course-more summary {
  position: relative;
  padding: 16px 34px 16px 0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.course-more summary::-webkit-details-marker {
  display: none;
}

.course-more summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  color: var(--crimson);
  font-size: 22px;
}

.course-more[open] summary::after {
  content: "-";
}

.course-more .detail-row {
  border-top: 1px solid rgba(0, 39, 76, 0.12);
}

.course-more .skill-list {
  margin-bottom: 18px;
}

.skill-list,
.readiness-block ul {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-list li {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 13px;
  font-weight: 850;
}

.pathway-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.pathway-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 44px;
}

.pathway-intro p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.pathway-details {
  margin-bottom: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 253, 249, 0.98), rgba(245, 250, 255, 0.92));
  box-shadow: 0 20px 50px rgba(24, 43, 61, 0.09);
}

.pathway-details summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  color: var(--blue);
  cursor: pointer;
  list-style: none;
}

.pathway-details summary::-webkit-details-marker {
  display: none;
}

.pathway-details summary::after {
  content: "+";
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(181, 22, 45, 0.22);
  border-radius: 50%;
  color: var(--crimson);
  background: rgba(181, 22, 45, 0.06);
  font-size: 22px;
  font-weight: 850;
}

.pathway-details[open] summary::after {
  content: "-";
}

.pathway-details summary span {
  display: block;
  margin-bottom: 6px;
  color: var(--crimson);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pathway-details summary strong {
  color: var(--blue);
  font-size: 22px;
  line-height: 1.2;
}

.pathway-details .track-header,
.pathway-details .level-map {
  margin-right: 24px;
  margin-left: 24px;
}

.pathway-details .track-header {
  padding-top: 24px;
}

.pathway-details .level-map {
  margin-bottom: 24px;
}

.future-pathways .advanced-track {
  margin: 0 24px 24px;
  padding-top: 28px;
}

.track-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.track-header h3,
.advanced-track h3 {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 28px;
  line-height: 1.18;
}

.track-header p {
  margin-bottom: 0;
  color: var(--muted);
}

.track-note {
  max-width: 280px;
  padding: 12px 14px;
  border-left: 4px solid var(--crimson);
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 14px;
  font-weight: 850;
}

.level-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.pathway-level {
  min-height: 198px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.pathway-level span {
  display: block;
  margin-bottom: 12px;
  color: var(--crimson);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.pathway-level h4 {
  margin-bottom: 10px;
  color: var(--blue-ink);
  font-size: 18px;
  line-height: 1.2;
}

.pathway-level p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.pathway-level.featured {
  background: var(--white);
  box-shadow: 0 14px 34px rgba(24, 43, 61, 0.1);
}

.pathway-level.featured.crimson {
  border-color: rgba(165, 28, 48, 0.36);
}

.pathway-level.featured.blue {
  border-color: rgba(0, 39, 76, 0.32);
}

.pathway-level.featured.blue span {
  color: var(--blue);
}

.advanced-track {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 44px;
  align-items: start;
  margin-top: 54px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.advanced-track > div:first-child > p:last-child {
  color: var(--muted);
  font-size: 16px;
}

.advanced-course-list {
  display: grid;
  gap: 22px;
}

.course-group {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.course-group-heading {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.course-group-heading span {
  display: block;
  margin-bottom: 8px;
  color: var(--crimson);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.course-group-heading h4 {
  margin-bottom: 0;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.2;
}

.advanced-course {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.42fr);
  gap: 22px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.course-group .advanced-course:nth-of-type(1) {
  border-top: 0;
}

.advanced-course h4,
.advanced-course h5 {
  margin-top: 0;
  margin-bottom: 6px;
  color: var(--blue-ink);
  font-size: 19px;
}

.advanced-course p {
  margin-bottom: 0;
  color: var(--muted);
}

.advanced-course .course-cn {
  margin: -2px 0 6px;
  color: var(--crimson);
  font-size: 13px;
  font-weight: 850;
}

.advanced-course span {
  justify-self: end;
  max-width: 190px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 13px;
  font-weight: 850;
  text-align: right;
}

.course-note {
  margin-top: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.course-cta-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  padding: 24px 0 0;
}

.course-cta-strip h3 {
  margin-bottom: 6px;
  color: var(--blue-ink);
  font-size: 24px;
  line-height: 1.15;
}

.course-cta-strip p {
  max-width: 760px;
  margin: 0;
}

.practice-section {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.practice-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: stretch;
}

.practice-copy {
  padding-right: 16px;
}

.practice-copy p {
  max-width: 720px;
}

.practice-copy .hero-actions {
  margin-top: 26px;
}

.practice-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--crimson);
  border-radius: 8px;
  background: var(--blue-soft);
  box-shadow: 0 16px 40px rgba(24, 43, 61, 0.08);
}

.practice-panel h3 {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 28px;
  line-height: 1.18;
}

.practice-panel p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.practice-pricing {
  margin: 22px 0;
  border-top: 1px solid rgba(0, 39, 76, 0.14);
  border-bottom: 1px solid rgba(0, 39, 76, 0.14);
}

.practice-pricing div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
}

.practice-pricing div + div {
  border-top: 1px solid rgba(0, 39, 76, 0.1);
}

.practice-pricing dt {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.practice-pricing dd {
  margin: 0;
  color: var(--crimson);
  font-size: 22px;
  font-weight: 950;
}

.practice-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.practice-steps article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.practice-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: 13px;
  font-weight: 950;
}

.practice-steps article:nth-child(odd) span {
  background: var(--crimson);
}

.practice-steps h3 {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 19px;
}

.practice-steps p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.placement-section {
  padding: 86px 0;
  color: var(--white);
  background: var(--blue);
}

.placement-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 44px;
  align-items: start;
}

.placement-copy h2,
.placement-copy p {
  color: var(--white);
}

.placement-copy p {
  opacity: 0.78;
}

.readiness-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.readiness-block {
  min-height: 340px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.readiness-block h3 {
  margin-bottom: 20px;
  font-size: 20px;
  line-height: 1.25;
}

.readiness-block li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.readiness-block li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.registration-section {
  padding: 86px 0;
  background: var(--paper-warm);
}

.registration-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.registration-intro {
  position: sticky;
  top: 110px;
}

.flow-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.flow-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.flow-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: 13px;
  font-weight: 950;
}

.flow-list h3 {
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 19px;
}

.flow-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.registration-form {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-header {
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.form-label {
  margin-bottom: 8px;
  color: var(--crimson);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.form-header h3,
.submission-card h3 {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 24px;
  line-height: 1.2;
}

.form-header p:last-child,
.submission-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.registration-form label {
  min-width: 0;
}

.registration-form label > span,
.authorization legend {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-ink);
  font-size: 13px;
  font-weight: 850;
}

.registration-form input,
.registration-form select,
.registration-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #cfd7df;
  border-radius: 8px;
  color: var(--blue-ink);
  background: var(--paper);
  font: inherit;
  font-size: 15px;
}

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

.registration-form input:focus,
.registration-form select:focus,
.registration-form textarea:focus {
  outline: 3px solid var(--white);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--blue);
  border-color: var(--blue);
  background: var(--white);
}

.wide-field {
  display: block;
  margin-top: 18px;
}

.form-note {
  padding: 14px 16px;
  margin: 18px 0 0;
  border: 1px solid rgba(0, 39, 76, 0.12);
  border-radius: 8px;
  color: var(--blue-ink);
  background: var(--blue-soft);
  font-size: 14px;
  font-weight: 750;
}

.authorization {
  display: grid;
  gap: 12px;
  padding: 22px 0 0;
  margin: 24px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.checkbox-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
}

.checkbox-row input {
  width: 18px;
  min-height: 18px;
  margin: 3px 0 0;
  accent-color: var(--crimson);
}

.checkbox-row span {
  margin-bottom: 0;
  font-size: 14px;
}

.submission-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px;
  margin-top: 26px;
  border-left: 5px solid var(--crimson);
  border-radius: 8px;
  background: var(--blue-soft);
}

.submission-note {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 39, 76, 0.12);
  color: var(--blue-ink);
  font-size: 14px;
  line-height: 1.55;
}

.submit-button {
  min-width: 170px;
  white-space: nowrap;
}

.submit-button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.form-status[data-state="success"] {
  color: #116149;
}

.form-status[data-state="error"] {
  color: var(--crimson);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.method-grid.three-card {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.method-grid article {
  min-height: 220px;
  padding: 26px;
  border-top: 4px solid var(--crimson);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(24, 43, 61, 0.09);
}

.method-grid article:nth-child(2),
.method-grid article:nth-child(4) {
  border-top-color: var(--blue);
}

.method-grid h3 {
  color: var(--blue);
  font-size: 20px;
}

.method-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.policy-grid,
.faq-list {
  display: grid;
  gap: 18px;
}

.policy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.policy-grid article,
.faq-list article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(24, 43, 61, 0.08);
}

.policy-grid h3,
.faq-list h3 {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.2;
}

.policy-grid p,
.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.policy-grid ul {
  display: grid;
  gap: 9px;
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--crimson);
  font-size: 14px;
  font-weight: 900;
}

.text-link:hover {
  color: var(--blue);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.team-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(24, 43, 61, 0.08);
}

.team-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  object-fit: cover;
  object-position: center top;
}

.team-role {
  margin-bottom: 12px;
  color: var(--crimson);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.team-card h3 {
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 28px;
  line-height: 1.15;
}

.team-credential {
  margin-bottom: 20px;
  color: var(--blue-ink);
  font-size: 14px;
  font-weight: 850;
}

.team-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.curriculum-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.curriculum-list span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  background: var(--paper);
  font-size: 14px;
  font-weight: 850;
}

.about-note {
  margin-top: 22px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.contact-info-card {
  min-height: 300px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-info-card h2 {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 30px;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.contact-info-card p:not(.section-kicker) {
  color: var(--muted);
}

.contact-info-card .button {
  margin-top: 12px;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.card-actions .button {
  margin-top: 0;
}

.contact-section {
  padding: 86px 0;
  background: var(--paper-warm);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-actions {
  justify-content: flex-end;
}

.location-note {
  margin-top: 18px;
  color: var(--blue-ink);
  font-weight: 850;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #101820;
}

.footer-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-content img {
  width: 44px;
  height: 44px;
}

.footer-content p {
  margin: 0;
  font-size: 14px;
}

.footer-content a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-content a:hover {
  color: var(--white);
}

.footer-content p:nth-of-type(1) {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .nav-links {
    justify-content: flex-end;
  }

  .header-cta {
    display: none;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  #courses .level-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #courses .level-card {
    grid-template-rows: auto auto auto;
  }

  #courses .course-card-details {
    height: auto;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
    gap: 18px;
    justify-content: space-between;
    padding: 10px 24px;
  }

  .brand {
    width: 174px;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 24px;
    left: 24px;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
    width: auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 0 0 8px 8px;
    background: rgba(251, 250, 247, 0.99);
    box-shadow: 0 24px 48px rgba(24, 43, 61, 0.18);
    font-size: 14px;
    text-align: left;
  }

  .site-header[data-menu-open="true"] .nav-links {
    display: grid;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 44px;
    padding: 8px 10px;
    line-height: 1.2;
  }

  .header-cta {
    width: max-content;
  }

  #courses,
  #math-check,
  #levels,
  #pathway,
  #placement,
  #practice,
  #request-form,
  #registration,
  #contact {
    scroll-margin-top: 92px;
  }

  .hero,
  .hero-content {
    min-height: 620px;
  }

  .hero-mark {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-facts,
  .announcement-grid,
  .pathway-teaser-inner,
  .framework-intro,
  .framework-steps,
  .domain-block,
  .band-heading,
  .pathway-intro,
  .track-header,
  .level-grid,
  .advanced-track,
  .practice-layout,
  .practice-steps,
  .placement-grid,
  .readiness-columns,
  .registration-layout,
  .submission-card,
  .method-grid,
  .policy-grid,
  .faq-list,
  .team-grid,
  .contact-info-grid,
  .math-check-panel,
  .course-cta-strip,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .band-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-facts div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-facts div:last-child {
    border-bottom: 0;
  }

  .announcement h2,
  .section-heading h2,
  .pathway-teaser h2,
  .framework-intro h2,
  .pathway-intro h2,
  .practice-copy h2,
  .placement-copy h2,
  .registration-intro h2,
  .contact-panel h2 {
    font-size: 31px;
  }

  .level-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .track-note {
    max-width: none;
  }

  .registration-intro {
    position: static;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  #courses .level-grid {
    grid-template-columns: 1fr;
  }

  .framework-steps.four-step {
    grid-template-columns: 1fr;
  }

  .course-cta-strip .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  #coding-courses .level-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100vw - 32px);
    max-width: 1120px;
  }

  #courses .container {
    width: calc(100vw - 32px);
    max-width: 1180px;
  }

  .site-header {
    grid-template-columns: auto auto;
    gap: 12px;
    padding: 9px 16px;
  }

  .brand {
    width: 158px;
  }

  .nav-links {
    right: 16px;
    left: 16px;
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 10px;
    font-size: 15px;
  }

  .nav-links a {
    min-width: 0;
    min-height: 46px;
    padding: 8px 12px;
    line-height: 1.18;
  }

  #courses,
  #math-check,
  #levels,
  #pathway,
  #placement,
  #practice,
  #request-form,
  #registration,
  #contact {
    scroll-margin-top: 82px;
  }

  .hero,
  .hero-content {
    min-height: 560px;
  }

  .hero::after,
  .subpage-hero::after {
    right: -170px;
    bottom: -20px;
    width: 430px;
    height: 430px;
    opacity: 0.11;
  }

  .hero-content {
    padding: 42px 0;
  }

  .subpage-hero-content {
    padding: 42px 0 44px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.08;
    max-width: calc(100vw - 32px);
  }

  .hero-copy,
  .hero-actions,
  .hero-facts {
    max-width: calc(100vw - 32px);
  }

  .hero-copy {
    margin-bottom: 26px;
  }

  .hero-facts,
  .hero-facts.two-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
  }

  .hero-facts.two-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-facts div {
    min-width: 0;
    padding: 15px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 0;
  }

  .hero-facts div:last-child {
    border-right: 0;
  }

  .hero-facts dt {
    font-size: 10px;
  }

  .hero-facts dd {
    font-size: 14px;
    line-height: 1.28;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-info-card h2 {
    margin-bottom: 12px;
    font-size: 24px;
    line-height: 1.22;
  }

  .site-header {
    min-height: 0;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .header-cta {
    display: none;
  }

  .announcement-grid,
  .levels-section,
  .math-check-section,
  .placement-overview,
  .framework-section,
  .pathway-teaser,
  .pathway-section,
  .practice-section,
  .placement-section,
  .registration-section,
  .method-section,
  .contact-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .level-card,
  .framework-card,
  .band-card,
  .pathway-level,
  .practice-panel,
  .practice-steps article,
  .readiness-block,
  .registration-form,
  .submission-card,
  .math-check-panel,
  .math-check-card,
  .policy-grid article,
  .faq-list article,
  .contact-panel {
    padding: 24px;
  }

  .math-check-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .math-check-panel::before {
    left: 24px;
  }

  .level-map,
  .advanced-course,
  .policy-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .band-grid {
    grid-template-columns: 1fr;
  }

  .advanced-course span {
    justify-self: start;
    max-width: none;
    text-align: left;
  }

  .level-card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .course-meta-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  #courses .level-card {
    width: 100%;
    min-width: 0;
    padding: 28px 24px 24px;
  }

  #courses .section-heading h2 {
    width: 100%;
    max-width: 340px;
    font-size: 27px;
    line-height: 1.12;
  }

  #courses .level-grid,
  #courses .course-card-main,
  #courses .course-card-details {
    width: 100%;
    min-width: 0;
  }

  #courses .section-heading,
  #courses .level-grid,
  #courses .level-card {
    max-width: 340px;
    margin-right: auto;
    margin-left: auto;
  }

  #courses .course-card-details {
    height: auto;
  }

  #courses .level-card h3 {
    font-size: 31px;
  }

  #courses .course-card-main > p,
  #courses .detail-row p,
  #courses .course-meta-list dd {
    overflow-wrap: anywhere;
  }

  #courses .course-meta-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  #courses .course-meta-list dd {
    font-size: 17px;
  }
}

@media (min-width: 561px) and (max-width: 900px) {
  .method-grid:not(.three-card),
  .practice-steps,
  .framework-steps.four-step {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .method-grid.three-card {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
