:root {
  --navy: #0b1833;
  --navy-2: #12234a;
  --blue: #1f4c9a;
  --red: #e6242f;
  --red-dark: #bd1823;
  --ink: #13213a;
  --muted: #5d6778;
  --line: #dde4ee;
  --soft: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(10, 24, 51, 0.14);
  --font: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(230, 36, 47, 0.45);
  outline-offset: 3px;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 13ch;
  font-size: clamp(2.75rem, 6vw, 5.8rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 800;
}

h3 {
  font-size: 1.18rem;
  font-weight: 700;
}

p {
  color: var(--muted);
}

.container {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
}

.topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar a {
  color: var(--white);
  font-weight: 700;
}

.nav__inner {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  background: var(--navy);
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
}

.brand img {
  width: 176px;
  height: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav__links a:not(.nav__cta):hover {
  color: var(--red);
}

.nav__cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0.85rem 1.25rem;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
}

.nav__cta,
.button--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(230, 36, 47, 0.22);
}

.nav__cta:hover,
.button--primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.button--secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid rgba(11, 24, 51, 0.16);
}

.button--secondary:hover {
  border-color: var(--red);
  color: var(--red);
}

.button--full {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  padding: 0;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

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

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy-2);
  opacity: 0.46;
}

.hero__grid {
  position: relative;
  min-height: calc(100vh - 124px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.78fr);
  gap: 3rem;
  align-items: center;
  padding: 4rem 0 5rem;
}

.hero__copy {
  padding-top: 1rem;
}

.eyebrow {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ff5961;
}

.hero h1,
.hero p {
  color: var(--white);
}

.hero__lead {
  max-width: 700px;
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 760px);
  margin-top: 2.4rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
}

.hero__facts div {
  min-width: 0;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.08);
}

.hero__facts strong {
  display: block;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1;
}

.hero__facts span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
}

.hero__media {
  position: relative;
  display: flex;
  min-height: 570px;
  align-items: flex-end;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #172d5c;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero__media::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 62%;
  border-radius: 260px 260px 0 0;
  background: #234b93;
}

.hero__person {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: center top;
}

.hero__panel {
  position: absolute;
  z-index: 3;
  right: 1.1rem;
  bottom: 1.1rem;
  width: min(240px, calc(100% - 2.2rem));
  border-left: 4px solid var(--red);
  border-radius: 6px;
  padding: 1rem;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero__panel span {
  display: block;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero__panel strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.05rem;
}

.intro,
.features,
.curriculum,
.chapters,
.support,
.pricing {
  padding: 5.25rem 0;
}

.intro {
  background: var(--white);
}

.intro__grid {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 3rem;
  align-items: end;
}

.intro__grid p:last-child {
  font-size: 1.15rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.feature-card {
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.65rem;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(19, 33, 58, 0.07);
}

.feature-card img {
  width: 62px;
  height: 62px;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
}

.curriculum {
  background: var(--soft);
}

.curriculum__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 3rem;
  align-items: center;
}

.curriculum__image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.curriculum__image img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
}

.curriculum__copy h2 {
  margin-bottom: 1.5rem;
}

.check-list {
  display: grid;
  gap: 0.78rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--ink);
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: inset 0 0 0 3px var(--white);
}

.chapters {
  background: var(--white);
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.chapter-card {
  min-height: 214px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(19, 33, 58, 0.06);
}

.chapter-card span {
  display: inline-flex;
  min-width: 54px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0.35rem 0.55rem;
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
}

.chapter-card h3 {
  margin-top: 1rem;
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.chapter-card p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.chapter-card--exam {
  background: var(--navy);
  border-color: var(--navy);
}

.chapter-card--exam span {
  background: var(--red);
}

.chapter-card--exam h3,
.chapter-card--exam p {
  color: var(--white);
}

.support {
  background: var(--navy);
  color: var(--white);
}

.support p,
.support h2,
.support h3 {
  color: var(--white);
}

.support__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 3rem;
  align-items: start;
}

.support__copy p:not(.eyebrow) {
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
}

.steps {
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 1rem;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.07);
}

.step span {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
}

.step p {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.78);
}

.pricing {
  background: var(--white);
}

.pricing__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 3rem;
  align-items: center;
}

.pricing__grid h2 {
  margin-bottom: 1rem;
}

.pricing__grid p {
  max-width: 650px;
  font-size: 1.08rem;
}

.price-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.6rem;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.price-box__label {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price-box strong {
  display: block;
  margin: 0.25rem 0 0.35rem;
  color: var(--navy);
  font-size: clamp(3rem, 8vw, 4.6rem);
  line-height: 1;
}

.price-box p {
  max-width: none;
  margin-bottom: 0.45rem;
  font-size: 0.98rem;
}

.price-box .button {
  margin-top: 1.1rem;
}

.footer {
  background: var(--navy);
  color: var(--white);
  padding: 1.7rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer img {
  width: 155px;
}

.footer p {
  color: rgba(255, 255, 255, 0.72);
}

.footer a {
  font-weight: 800;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav__links {
    position: fixed;
    top: 124px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 20px 1.4rem;
    background: var(--white);
    box-shadow: 0 18px 30px rgba(10, 24, 51, 0.15);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    padding: 0.95rem 0;
  }

  .nav__cta {
    margin-top: 0.45rem;
  }

  .hero__grid,
  .intro__grid,
  .curriculum__grid,
  .support__grid,
  .pricing__grid {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    min-height: auto;
    padding: 4rem 0;
  }

  .hero__media {
    min-height: 500px;
  }

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

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .topbar__inner {
    justify-content: center;
    text-align: center;
  }

  .topbar__inner span {
    display: none;
  }

  .nav__inner {
    height: 76px;
  }

  .brand img {
    width: 145px;
  }

  .nav__links {
    top: 114px;
  }

  .hero__grid {
    padding: 3rem 0;
  }

  .hero__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .hero__media {
    min-height: 430px;
  }

  .hero__person {
    min-height: 410px;
  }

  .intro,
  .features,
  .curriculum,
  .chapters,
  .support,
  .pricing {
    padding: 3.75rem 0;
  }

  .curriculum__image img {
    min-height: 280px;
  }

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

  .chapter-card {
    min-height: 0;
  }

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

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