:root {
  --ink: #161616;
  --muted: #5c6470;
  --navy: #0b1f3a;
  --navy-dark: #071427;
  --blue: #1261a6;
  --blue-light: #e8f2ff;
  --aqua: #168aad;
  --aqua-light: #e4f5f8;
  --orange: #e75b12;
  --paper: #f6f7fb;
  --white: #ffffff;
  --border: #d8dce5;
  --focus: #0a76f5;
  --shadow: 0 14px 38px rgb(7 20 39 / 10%);
  --radius: 0.35rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.container {
  width: min(74rem, calc(100% - 2rem));
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--navy-dark);
  font-weight: 700;
  transform: translateY(-160%);
}

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

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.site-header {
  border-top: 0.45rem solid var(--navy);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 6.75rem;
  padding-block: 1.25rem;
}

.site-identity {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--navy);
  text-decoration: none;
}

.identity-mark {
  display: grid;
  flex: 0 0 auto;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}

.site-name,
.site-baseline {
  display: block;
}

.site-name {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.25;
}

.site-baseline {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-logo {
  display: flex;
  height: 4.25rem;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  width: auto;
  max-width: 100%;
  max-height: 3.65rem;
  object-fit: contain;
}

.partner-logo--creps {
  height: 4.25rem;
}

.partner-logo--creps img {
  max-height: 4.25rem;
}

.platform-admin {
  max-width: none;
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
  text-align: left;
}

.platform-admin a {
  color: var(--navy);
  font-weight: 700;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
}

.hero::before {
  width: 34rem;
  height: 34rem;
  right: -10rem;
  bottom: -27rem;
  border: 4rem solid rgb(22 138 173 / 55%);
}

.hero::after {
  width: 24rem;
  height: 24rem;
  right: 5rem;
  bottom: -21rem;
  border: 2.25rem solid rgb(255 255 255 / 10%);
}

.hero-inner {
  display: grid;
  max-width: 74rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(22rem, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.hero-copy {
  min-width: 0;
}

.hero-partners {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-top: 0.35rem solid var(--aqua);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 18px 46px rgb(0 0 0 / 20%);
}

.hero-partners__title {
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: currentColor;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  max-width: 70ch;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: inherit;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h1 {
  max-width: 17ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.35rem, 7vw, 4.5rem);
}

.hero-intro {
  max-width: 45rem;
  margin: 0;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.courses {
  padding-block: clamp(3rem, 7vw, 5.5rem);
  background: var(--paper);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.25rem);
}

.course-card {
  --card-accent: var(--blue);
  overflow: hidden;
  border: 1px solid var(--border);
  border-bottom: 0.4rem solid var(--card-accent);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.course-card--ease {
  --card-accent: var(--orange);
}

.course-card > a {
  display: flex;
  height: 100%;
  flex-direction: column;
  text-decoration: none;
}

.course-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--aqua-light);
}

.course-card__media::after {
  position: absolute;
  inset: 0;
  border: 0 solid var(--card-accent);
  content: "";
  pointer-events: none;
  transition: border-width 180ms ease;
}

.course-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.course-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.course-card__meta {
  margin: 0 0 0.55rem;
  color: var(--card-accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.course-card h3 {
  margin-bottom: 0.75rem;
  color: var(--navy);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
}

.course-card__body > p:not(.course-card__meta) {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.course-card__action {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  margin-top: auto;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--card-accent);
  font-weight: 800;
  line-height: 1.2;
}

.course-card__action span {
  margin-left: 0.55rem;
  font-size: 1.25rem;
}

.course-card > a:hover .course-card__media::after,
.course-card > a:focus-visible .course-card__media::after {
  border-width: 0.35rem;
}

.course-card > a:hover img,
.course-card > a:focus-visible img {
  transform: scale(1.025);
}

.course-card > a:focus-visible {
  outline-offset: -5px;
}

.redirect-note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.15rem 1.25rem;
  border-left: 0.35rem solid var(--aqua);
  background: var(--aqua-light);
}

.redirect-note__icon {
  display: grid;
  flex: 0 0 auto;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
  line-height: 1;
}

.redirect-note p {
  margin: 0;
}

.redirect-note code {
  font: inherit;
  font-weight: 700;
}

.partnership {
  border-top: 1px solid var(--border);
  background: var(--white);
}

.partnership-inner {
  padding-block: clamp(3rem, 7vw, 5rem);
}

.partnership .eyebrow {
  color: var(--blue);
}

.partnership h2 {
  max-width: 25ch;
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
}

.partnership p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.site-footer {
  color: rgb(255 255 255 / 78%);
  background: var(--navy-dark);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 2.5rem;
}

.footer-inner p {
  margin: 0.35rem 0 0;
}

.footer-title {
  color: var(--white);
}

.footer-note {
  max-width: 28rem;
  font-size: 0.9rem;
  text-align: right;
}

@media (max-width: 48rem) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .footer-note {
    text-align: left;
  }
}

@media (max-width: 25rem) {
  .container {
    width: min(100% - 1.25rem, 74rem);
  }

  .identity-mark {
    width: 2.75rem;
    height: 2.75rem;
  }

  .partner-logo,
  .partner-logo--creps {
    height: 4rem;
  }

  .partner-logo img,
  .partner-logo--creps img {
    max-height: 3.75rem;
  }

  .redirect-note {
    padding-inline: 0.9rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .redirect-note {
    border-color: #000;
    color: #000;
    background: #fff;
  }

  .hero {
    color: #000;
    background: #fff;
  }

  .course-card {
    box-shadow: none;
  }
}
