:root {
  --ink: #0b2545;
  --ink-soft: #274866;
  --blue: #123f6d;
  --teal: #127c7a;
  --green: #4f8f2f;
  --gold: #d5962d;
  --mist: #eef7f6;
  --leaf-mist: #f3f8ed;
  --paper: #ffffff;
  --line: #d9e5e6;
  --shadow: 0 12px 28px rgba(11, 37, 69, 0.09);
  --shadow-soft: 0 8px 20px rgba(11, 37, 69, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fbfdfd;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  margin-bottom: 12px;
}

h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

main {
  min-height: 70vh;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 14px clamp(18px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand-link {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  text-decoration: none;
}

.brand-link strong,
.brand-link small {
  display: block;
}

.brand-link strong {
  font-size: 1rem;
}

.brand-link small {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.brand-mark {
  align-items: center;
  background: var(--mist);
  border: 1px solid #cfe0e2;
  border-radius: 8px;
  color: var(--teal);
  display: inline-flex;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.site-nav,
.footer-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.site-nav a,
.site-footer a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--teal);
}

.section-heading p,
.course-card p,
.parent-note p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.subtitle {
  color: var(--ink);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  font-weight: 800;
  max-width: 760px;
}

.eyebrow,
.course-label {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.course-card,
.parent-note {
  background: var(--paper);
  border: 1px solid #d4e2e3;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.section {
  padding: clamp(46px, 7vw, 80px) clamp(18px, 5vw, 72px);
}

.course-library {
  padding-top: clamp(40px, 7vw, 76px);
}

.section-inner {
  margin: 0 auto;
  max-width: 1120px;
  width: 100%;
}

.band-light {
  background: var(--mist);
}

.section-heading {
  margin-bottom: 30px;
}

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

.course-card {
  border-top: 5px solid var(--teal);
  display: flex;
  flex-direction: column;
}

.course-card:nth-child(2) {
  border-top-color: var(--green);
}

.course-card:nth-child(3) {
  border-top-color: var(--gold);
}

.course-card:nth-child(4) {
  border-top-color: var(--blue);
}

.course-card p:not(.course-label) {
  flex: 1;
}

.button {
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  text-align: center;
  text-decoration: none;
}

.primary-button {
  background: var(--blue);
  color: #ffffff;
}

.primary-button:hover {
  background: #0d3155;
}

.parent-note {
  background: var(--leaf-mist);
  border-color: #c9ddc1;
  border-left: 6px solid var(--green);
  margin: 0 auto;
  max-width: 880px;
}

.parent-note p:last-child,
.course-card p:last-of-type {
  margin-bottom: 0;
}

.site-footer {
  align-items: flex-start;
  background: var(--ink);
  color: #ffffff;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  padding: 34px clamp(18px, 5vw, 72px);
}

.site-footer p {
  color: #d9e7ee;
  margin-bottom: 0;
  max-width: 560px;
}

.site-footer a {
  color: #eaf3f6;
}

@media (max-width: 980px) {
  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2rem;
  }

  .site-nav,
  .footer-nav {
    gap: 8px 12px;
  }

  .site-nav a,
  .site-footer a {
    font-size: 0.88rem;
  }

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

  .button {
    width: 100%;
  }

  .course-card,
  .parent-note {
    padding: 20px;
  }
}
