:root {
  --navy: #14304a;
  --navy-dark: #071c30;
  --navy-mid: #245173;
  --accent: #ffffff;
  --accent-soft: #dfe8f0;
  --paper: #ffffff;
  --mist: #f5f7f9;
  --mist-strong: #e7edf2;
  --ink: #111923;
  --muted: #6a7480;
  --line: rgba(20, 48, 74, 0.14);
  --shadow: 0 28px 70px rgba(7, 28, 48, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(180deg, var(--navy-dark) 0 520px, var(--paper) 520px 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px) 0 0 / 62px 62px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 62px 62px;
  opacity: 0.7;
}

.site-header,
.site-footer {
  width: 100%;
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 6vw, 96px);
  color: var(--paper);
  border-radius: 0;
  background: rgba(7, 28, 48, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

main {
  width: 100%;
  margin-inline: auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--navy-dark);
  background: var(--paper);
  border-radius: 14px;
  font-weight: 950;
  line-height: 1;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-size: 1.45rem;
  letter-spacing: -0.06em;
}

.brand small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: clamp(18px, 4vw, 46px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  font-weight: 800;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 180ms ease;
}

.main-nav a:hover::after {
  opacity: 1;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  min-height: 640px;
  padding: clamp(46px, 5vw, 70px) clamp(20px, 6vw, 96px) clamp(46px, 5vw, 72px);
  background:
    radial-gradient(circle at 72% 28%, rgba(36, 81, 115, 0.72), transparent 34%),
    linear-gradient(135deg, var(--navy-dark), var(--navy));
}

.hero::before,
.hero::after,
.tracks-section::before,
.tracks-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  right: clamp(32px, 7vw, 106px);
  bottom: 118px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 11px 11px 0 -5px var(--paper), 11px 11px 0 -3px var(--navy-dark);
}

.hero::after {
  left: clamp(24px, 5vw, 78px);
  top: 34%;
  width: 128px;
  height: 84px;
  border-top: 2px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.eyebrow,
.section-kicker,
.promo-banner span,
.category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker,
.promo-banner span {
  padding: 9px 13px;
  border: 1px solid rgba(20, 48, 74, 0.18);
  border-radius: 999px;
  background: var(--accent-soft);
}

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

h1 {
  max-width: 13ch;
  margin: 26px 0 22px;
  color: var(--paper);
  font-size: clamp(3.3rem, 7vw, 6.9rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

h1 span,
.about-grid h2 em,
.section-heading h2 em,
.thin-banner span {
  color: var(--navy-mid);
  font-style: normal;
}

h1 span {
  color: rgba(255, 255, 255, 0.82);
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.04rem;
  line-height: 1.75;
}

.hero-actions,
.carousel-controls,
.price-row,
.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--navy-dark);
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 900;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--navy-dark);
  border-color: var(--paper);
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

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

.button-light {
  color: var(--navy-dark);
  border-color: var(--paper);
  background: var(--paper);
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 500px;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: min(420px, 78vw);
  aspect-ratio: 1;
  border: 30px solid var(--paper);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.24);
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(390px, 74vw);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  mix-blend-mode: multiply;
}

.floating-note {
  position: absolute;
  z-index: 3;
  width: 190px;
  padding: 15px 16px;
  border: 2px solid var(--navy);
  border-radius: 9px;
  background: var(--paper);
  box-shadow: 0 16px 34px rgba(7, 28, 48, 0.22);
}

.floating-note::before {
  content: "";
  position: absolute;
  inset: 14px auto auto 14px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--navy);
  opacity: 0.18;
}

.floating-note span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin-bottom: 10px;
  color: var(--navy-dark);
  border-radius: 9px;
  color: var(--paper);
  background: var(--navy);
  font-weight: 950;
}

.floating-note strong {
  display: block;
  color: var(--navy-dark);
  font-size: 0.92rem;
}

.floating-note p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.floating-note-left {
  left: -16px;
  top: 110px;
}

.floating-note-right {
  right: -10px;
  top: 250px;
}

.about-section,
.tracks-section,
.courses-section {
  position: relative;
  padding: clamp(34px, 4vw, 52px) clamp(18px, 6vw, 96px);
}

.section-number {
  display: none;
}

.about-grid,
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto;
}

.about-grid h2,
.section-heading h2,
.promo-banner h2 {
  margin: 18px 0 22px;
  color: var(--ink);
  font-size: clamp(2.25rem, 5vw, 5.2rem);
  font-weight: 760;
  letter-spacing: -0.075em;
  line-height: 0.96;
}

.about-grid h2::first-line,
.section-heading h2::first-line {
  color: var(--navy-dark);
}

.about-grid p,
.section-heading p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 18px;
  border: 2px solid var(--navy);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 18px 34px rgba(7, 28, 48, 0.12);
}

.stats article {
  padding: 18px 20px;
  text-align: center;
}

.stats article + article {
  border-left: 1px solid var(--navy-dark);
}

.stats strong {
  display: block;
  color: var(--navy-dark);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 0.95;
}

.stats span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.stats p {
  grid-column: 1 / -1;
  margin: 14px 0 0;
  padding: 16px 18px;
  color: var(--navy-dark);
  border-radius: 9px;
  background: var(--accent-soft);
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
}

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

.tracks-section::before {
  top: 68px;
  left: 7%;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 9px 9px 0 -5px var(--paper), 9px 9px 0 -3px var(--navy);
}

.tracks-section::after {
  right: 10%;
  bottom: 82px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 10px 10px 0 -5px var(--paper), 10px 10px 0 -3px var(--navy);
}

.tracks-carousel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-auto-columns: minmax(295px, 360px);
  grid-auto-flow: column;
  gap: 28px;
  max-width: 1180px;
  margin: 24px auto 0;
  overflow-x: auto;
  padding: 2px 2px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.tracks-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-controls {
  justify-content: end;
}

.icon-button {
  width: 46px;
  height: 46px;
  color: var(--navy-dark);
  border: 1px solid var(--navy-dark);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
  font-size: 1.08rem;
}

.track-card {
  min-height: 250px;
  padding: 26px;
  border-radius: 12px;
  background: var(--mist);
  scroll-snap-align: start;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.track-card:nth-child(2) {
  background: var(--navy);
}

.track-card:nth-child(2) span,
.track-card:nth-child(2) h3,
.track-card:nth-child(2) p,
.track-card:nth-child(2) a {
  color: var(--paper);
}

.track-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(7, 28, 48, 0.16);
}

.track-card b {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 42px;
  color: var(--paper);
  border-radius: 12px;
  background: var(--navy-dark);
  font-size: 1rem;
}

.track-card:nth-child(2) b {
  color: var(--navy-dark);
  background: var(--paper);
}

.track-card span {
  display: block;
  color: var(--navy-mid);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.track-card h3 {
  margin: 13px 0 13px;
  color: var(--navy-dark);
  font-size: 1.35rem;
  line-height: 1.12;
}

.track-card p {
  min-height: 70px;
  color: var(--muted);
  line-height: 1.55;
}

.track-card a {
  color: var(--navy-dark);
  font-weight: 950;
}

.promo-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  margin: clamp(18px, 3vw, 30px) clamp(20px, 6vw, 96px);
  padding: clamp(24px, 4vw, 38px);
  color: var(--paper);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(7, 28, 48, 0.94), rgba(20, 48, 74, 0.7)),
    url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1600&q=80") center / cover;
  box-shadow: 0 24px 48px rgba(7, 28, 48, 0.18);
}

.promo-banner h2 {
  max-width: 820px;
  margin-bottom: 14px;
  color: var(--paper);
}

.promo-banner p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.62;
}

.courses-section {
  padding-top: clamp(34px, 4vw, 52px);
}

.courses-section .section-heading {
  align-items: center;
  text-align: center;
}

.courses-section .section-heading > * {
  margin-inline: auto;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1180px;
  margin: 26px auto 0;
}

.course-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: var(--mist);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.course-card:nth-child(2),
.course-card:nth-child(5) {
  background: var(--navy);
}

.course-card:nth-child(2) .category,
.course-card:nth-child(2) h3,
.course-card:nth-child(2) p,
.course-card:nth-child(2) .old-price,
.course-card:nth-child(2) .price-row strong,
.course-card:nth-child(5) .category,
.course-card:nth-child(5) h3,
.course-card:nth-child(5) p,
.course-card:nth-child(5) .old-price,
.course-card:nth-child(5) .price-row strong {
  color: var(--paper);
}

.course-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 48px rgba(7, 28, 48, 0.16);
}

.course-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.course-body {
  display: flex;
  flex: 1;
  min-height: 270px;
  flex-direction: column;
  padding: 22px;
}

.course-card h3 {
  margin: 12px 0 10px;
  color: var(--navy-dark);
  font-size: 1.22rem;
  line-height: 1.12;
}

.course-card p {
  color: #3e4b56;
  font-size: 0.92rem;
  line-height: 1.55;
}

.price-row {
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
}

.old-price {
  color: rgba(17, 25, 35, 0.52);
  text-decoration: line-through;
}

.price-row strong {
  color: var(--navy-dark);
  font-size: 1.35rem;
}

.course-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 11px 16px;
  color: var(--paper);
  border: 1px solid var(--navy-dark);
  border-radius: 9px;
  background: var(--navy-dark);
  font-size: 0.86rem;
  font-weight: 950;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.course-button:hover {
  transform: translateY(-2px);
  background: var(--navy-mid);
}

.thin-banner {
  margin-top: 18px;
  color: var(--paper);
  background: var(--navy-dark);
  text-align: center;
}

.thin-banner a {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  font-size: clamp(1.25rem, 3vw, 2.1rem);
  font-weight: 850;
  letter-spacing: -0.055em;
}

.thin-banner span {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 0;
  padding: 64px clamp(18px, 6vw, 96px);
  color: var(--paper);
  background: var(--navy-dark);
  box-shadow: none;
}

.footer-brand .brand-mark {
  color: var(--navy-dark);
  background: var(--paper);
}

.site-footer p {
  max-width: 390px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 850;
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 420px;
  }

  .floating-note-left {
    left: 4%;
  }

  .floating-note-right {
    right: 4%;
  }

  .about-grid,
  .section-heading,
  .promo-banner {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

@media (max-width: 680px) {
  .site-header,
  main,
  .site-footer {
    width: 100%;
  }

  .site-header {
    padding: 16px;
  }

  .hero {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  h1 {
    font-size: 3.25rem;
  }

  .hero-visual {
    min-height: 370px;
  }

  .floating-note {
    width: 158px;
    padding: 12px;
  }

  .floating-note-left {
    left: 0;
    top: 82px;
  }

  .floating-note-right {
    right: 0;
    top: 218px;
  }

  .about-section,
  .tracks-section,
  .courses-section {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .stats,
  .courses-grid {
    grid-template-columns: 1fr;
  }

  .stats article + article {
    border-top: 1px solid var(--navy-dark);
    border-left: 0;
  }

  .tracks-carousel {
    grid-auto-columns: minmax(260px, 86vw);
  }

  .promo-banner {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .site-footer,
  .thin-banner a {
    align-items: flex-start;
    flex-direction: column;
  }
}
