:root {
  --ink: #061827;
  --muted: #53677c;
  --line: #d4e6f5;
  --paper: #f3f9ff;
  --white: #ffffff;
  --blue: #009fe3;
  --deep-blue: #063a6b;
  --navy: #02111f;
  --sky: #7dccf4;
  --cyan: #18b6ee;
  --ice: #eaf7ff;
  --shadow: 0 24px 70px rgba(3, 58, 107, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f8fcff 0%, var(--paper) 38%, #ffffff 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(212, 230, 245, 0.95);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(260px, 52vw);
  text-decoration: none;
}

.brand img {
  width: 100%;
  max-height: 54px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  border-radius: 8px;
  padding: 9px 12px;
  color: #254b67;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--deep-blue);
  background: rgba(0, 159, 227, 0.1);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(28px, 5vw, 72px);
  color: var(--white);
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 17, 31, 0.93), rgba(2, 48, 89, 0.72) 52%, rgba(0, 159, 227, 0.23)),
    linear-gradient(0deg, rgba(0, 159, 227, 0.26), rgba(2, 17, 31, 0));
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding-bottom: 38px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(46px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.hero-logo-title {
  display: block;
  width: min(640px, 82vw);
  padding: clamp(14px, 2.4vw, 24px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.hero-logo-title img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-logo-title span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: clamp(18px, 2.2vw, 24px);
}

.hero-actions,
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button,
.filter {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--deep-blue));
  box-shadow: 0 12px 30px rgba(0, 159, 227, 0.28);
}

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

.inner-hero .button.secondary,
.next-strip .button.secondary {
  color: var(--deep-blue);
  border-color: var(--line);
  background: var(--white);
}

.overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #cce4f5;
}

.overview article {
  padding: 28px clamp(18px, 4vw, 56px);
  background: var(--white);
}

.overview strong {
  display: block;
  color: var(--deep-blue);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
}

.overview span {
  color: var(--muted);
  font-weight: 700;
}

.section-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
}

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

.section-heading.compact {
  display: flex;
  flex-direction: column;
  margin-bottom: 26px;
}

.section-heading h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
  color: var(--navy);
}

.section-heading p:not(.eyebrow),
.final-cta p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.area-card {
  min-height: 238px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.area-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 159, 227, 0.46);
  box-shadow: var(--shadow);
}

.area-card span {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.area-card h3 {
  margin: 48px 0 10px;
  font-size: 26px;
}

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

.area-card.featured {
  color: var(--white);
  border-color: var(--blue);
  background:
    radial-gradient(circle at 18% 12%, rgba(125, 204, 244, 0.42), transparent 34%),
    linear-gradient(135deg, var(--deep-blue), var(--blue));
}

.area-card.featured p,
.area-card.featured span {
  color: rgba(255, 255, 255, 0.86);
}

.content-section {
  padding-top: 28px;
}

.filter {
  color: var(--deep-blue);
  border-color: var(--line);
  background: var(--white);
}

.filter.active,
.filter:hover {
  color: var(--white);
  border-color: var(--deep-blue);
  background: var(--deep-blue);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.content-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  overflow: hidden;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(3, 58, 107, 0.08);
}

.content-card.is-hidden {
  display: none;
}

.content-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-card div {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.content-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.content-card h3 {
  margin: 8px 0 10px;
  font-size: 23px;
  line-height: 1.15;
}

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

.content-card a {
  margin-top: auto;
  color: var(--deep-blue);
  font-weight: 800;
  text-decoration: none;
}

.video-band {
  padding: 86px clamp(18px, 4vw, 56px);
  background:
    linear-gradient(135deg, #eaf7ff 0%, #d7effd 100%);
}

.video-band .section-heading {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.video-grid {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px auto 0;
}

.video-grid article {
  overflow: hidden;
  border: 1px solid rgba(0, 159, 227, 0.2);
  border-radius: 8px;
  background: var(--white);
}

.video-grid iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.video-grid h3 {
  margin: 0;
  padding: 18px;
  font-size: 18px;
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: var(--ink);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.inner-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0 52px;
}

.inner-hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.inner-hero p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.inner-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 159, 227, 0.18);
}

.breadcrumb {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--deep-blue);
  text-decoration: none;
}

.lesson-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 86px;
}

.lesson-nav {
  position: sticky;
  top: 88px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(3, 58, 107, 0.08);
}

.lesson-nav a {
  display: block;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.lesson-nav a:last-child {
  border-bottom: 0;
}

.lesson-nav a:hover,
.lesson-nav a.active {
  color: var(--deep-blue);
  background: rgba(0, 159, 227, 0.1);
}

.lesson-main {
  display: grid;
  gap: 20px;
}

.lesson-block {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(3, 58, 107, 0.07);
}

.lesson-block h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.08;
}

.lesson-block h3 {
  margin: 24px 0 8px;
  font-size: 22px;
}

.lesson-block p {
  margin: 0 0 14px;
  color: var(--muted);
}

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

.lesson-list li {
  padding: 14px 16px;
  border-left: 4px solid var(--blue);
  background: var(--ice);
}

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

.step-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fcff;
}

.step-card span {
  color: var(--blue);
  font-weight: 900;
}

.step-card h3 {
  margin: 8px 0;
}

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

.resource-link {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #f8fcff;
  text-decoration: none;
}

.resource-link strong {
  font-size: 18px;
}

.resource-link span {
  color: var(--deep-blue);
  font-weight: 800;
}

.inline-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
}

.next-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

@media (max-width: 900px) {
  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .overview,
  .area-grid,
  .content-grid,
  .video-grid,
  .final-cta,
  .inner-hero,
  .lesson-layout,
  .step-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .lesson-nav {
    position: static;
  }

  .content-card {
    grid-template-columns: 1fr;
  }

  .content-card img {
    height: 220px;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .brand {
    width: min(210px, 58vw);
  }

  .hero {
    min-height: 570px;
  }

  .hero-actions .button {
    width: 100%;
    text-align: center;
  }

  .overview article {
    padding: 22px 18px;
  }

  .section-shell,
  .video-band {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .site-footer {
    flex-direction: column;
  }
}
