:root {
  --navy: #0b1426;
  --blue: #2f6fed;
  --green: #20a654;
  --text: #132238;
  --muted: #5e6b7c;
  --line: #dfe6ef;
  --light: #f5f8fc;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--white);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-row {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--text);
  font-size: 29px;
  font-weight: 900;
  letter-spacing: -1px;
}

.brand > span:not(.brand-mark) {
  color: var(--green);
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-right: 10px;
  color: var(--green);
  border: 5px solid #123354;
  border-radius: 50%;
  font-size: 16px;
}

.nav-row nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
}

.nav-row nav a,
.button,
.journey-card,
.course-card,
.learning-card,
.steps article {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    background 0.25s ease;
}

.nav-row nav > a:not(.nav-cta):hover {
  color: var(--blue);
}

.nav-cta,
.button.primary {
  padding: 13px 21px;
  color: var(--white);
  background: var(--blue);
  border-radius: 14px;
}

.nav-cta:hover,
.button.primary:hover {
  background: #1f56c2;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(47, 111, 237, 0.24);
}

.menu-button {
  display: none;
  padding: 8px;
  background: transparent;
  border: 0;
  font-size: 26px;
  cursor: pointer;
}

/* Hero */

.hero {
  padding: 95px 0;
  color: var(--white);
  background:
    radial-gradient(
      circle at 90% 5%,
      rgba(47, 111, 237, 0.26),
      transparent 34%
    ),
    var(--navy);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 55px;
}

.tagline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #9aacc4;
  font-size: 14px;
  font-weight: 700;
}

.tagline span {
  color: #5388f2;
}

.hero h1 {
  margin: 14px 0 24px;
  font-size: clamp(45px, 6vw, 74px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  animation: heroEnter 0.7s 0.08s ease both;
}

.hero-copy {
  max-width: 720px;
  color: #c7d2e1;
  font-size: 18px;
  animation: heroEnter 0.7s 0.16s ease both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0;
  animation: heroEnter 0.7s 0.24s ease both;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.button.secondary {
  padding: 12px 20px;
  border: 1px solid #8091aa;
  border-radius: 14px;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

.proof {
  display: flex;
  gap: 10px 22px;
  flex-wrap: wrap;
  color: #adbbce;
  font-size: 13px;
  animation: heroEnter 0.7s 0.32s ease both;
}

.journey-card {
  padding: 34px;
  color: var(--text);
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.33);
  animation: cardEnter 0.8s 0.15s ease both;
}

.journey-card:hover,
.learning-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 65px rgba(7, 16, 31, 0.22);
}

.journey-card h2 {
  font-size: 31px;
  line-height: 1.2;
}

.journey-card ul {
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.journey-card li {
  padding: 7px;
}

.journey-card a,
.course-card a {
  color: var(--blue);
  font-weight: 800;
}

.journey-card a:hover,
.course-card a:hover,
.back-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Shared sections */

.section {
  padding: 90px 0;
}

.section h2,
.waitlist h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

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

.section-copy {
  max-width: 780px;
  margin: 18px 0 40px;
  color: var(--muted);
  font-size: 17px;
}

/* About */

.about,
.roadmap {
  background: var(--light);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.about h2 em {
  display: block;
  color: var(--green);
  font-style: normal;
}

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

.stats div {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  color: var(--blue);
  font-size: 22px;
}

.stats span {
  color: var(--muted);
  font-size: 12px;
}

.learning-card {
  padding: 28px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(20, 42, 74, 0.09);
}

.learning-card h3 {
  margin: 0 0 15px;
  font-size: 26px;
}

.lesson {
  display: flex;
  gap: 14px;
  padding: 15px;
  border-top: 1px solid var(--line);
}

.lesson b {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #eaf2ff;
  border-radius: 50%;
}

.lesson strong,
.lesson small {
  display: block;
}

.lesson small {
  color: var(--muted);
}

.lesson.done b {
  color: var(--green);
  background: #e8f8ee;
}

/* Courses */

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.course-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(26, 46, 76, 0.05);
}

.course-card.featured {
  border-top: 4px solid var(--blue);
}

.course-card:hover {
  transform: translateY(-7px);
  border-color: #b8cdf7;
  box-shadow: 0 22px 50px rgba(20, 42, 74, 0.1);
}

.course-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-top > span {
  font-size: 33px;
}

.course-top small {
  padding: 7px 10px;
  color: var(--blue);
  background: #eaf2ff;
  border-radius: 99px;
  font-weight: 800;
}

.course-card h3 {
  margin: 18px 0 8px;
  font-size: 25px;
}

.course-card p {
  color: var(--muted);
}

.course-card a {
  margin-top: auto;
}

.skills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 23px;
}

.skills span {
  padding: 6px 10px;
  background: var(--light);
  border-radius: 99px;
  font-size: 12px;
}

/* Career section */

.career-card {
  margin-top: 24px;
  padding: 34px;
  color: var(--white);
  background: var(--navy);
  border-radius: 22px;
}

.career-card h3 {
  margin: 5px 0;
  font-size: 31px;
}

.career-card > p:not(.label) {
  color: #c7d2e1;
}

.career-skills {
  display: flex;
  gap: 10px 20px;
  flex-wrap: wrap;
  margin: 20px 0;
  color: #90dfb3;
}

/* Roadmap */

.steps {
  display: grid;
  gap: 15px;
}

.steps article {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 27px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.steps article:hover {
  transform: translateX(6px);
  border-color: #b8cdf7;
  box-shadow: 0 12px 30px rgba(20, 42, 74, 0.07);
}

.steps article > b {
  color: var(--blue);
  font-size: 35px;
}

.steps h3 {
  margin: 0;
}

.steps p {
  margin: 5px 0;
  color: var(--muted);
}

/* Waitlist */

.waitlist {
  padding: 90px 0;
  color: var(--white);
  background: #101b30;
}

.waitlist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 65px;
}

.waitlist p {
  color: #bdc8d8;
}

.form-row {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 12px;
}

.form-row input {
  min-width: 0;
  padding: 17px;
  color: var(--white);
  background: #0b1426;
  border: 1px solid #3b4b64;
  border-radius: 14px;
}

.form-row input:focus {
  border-color: #6f9cff;
  box-shadow: 0 0 0 4px rgba(47, 111, 237, 0.15);
}

.form-row button {
  color: var(--white);
  background: var(--blue);
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.form-row button:hover:not(:disabled) {
  background: #1f56c2;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(47, 111, 237, 0.24);
}

.form-row button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  color: #bdc8d8;
  font-size: 13px;
}

.consent input {
  margin-top: 4px;
}

.privacy {
  font-size: 12px;
}

.form-message {
  min-height: 24px;
  font-weight: 800;
}

.form-message.success {
  color: #65e6a5;
}

.form-message.error {
  color: #ffb4b4;
}

.hidden-frame {
  display: none;
}

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

/* Footer */

footer {
  padding: 28px 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #617088;
  font-size: 14px;
}

/* Lesson page */

.lesson-header {
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.back-link {
  color: var(--blue);
  font-weight: 700;
}

.lesson-hero {
  padding: 74px 0;
  color: var(--white);
  background: var(--navy);
}

.lesson-hero-grid {
  display: grid;
  grid-template-columns: 1fr 290px;
  align-items: end;
  gap: 60px;
}

.lesson-hero h1 {
  margin: 10px 0;
  font-size: clamp(42px, 5vw, 65px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.lesson-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.lesson-meta span {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 99px;
}

.progress-card {
  padding: 24px;
  color: var(--text);
  background: var(--white);
  border-radius: 17px;
}

.progress-track {
  height: 9px;
  overflow: hidden;
  background: #e2e8f0;
  border-radius: 10px;
}

.progress-track div {
  width: 16%;
  height: 100%;
  background: var(--green);
}

.lesson-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 65px;
  padding: 65px 0 100px;
}

.lesson-nav {
  position: sticky;
  top: 110px;
  height: max-content;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.lesson-nav a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
}

.lesson-content {
  max-width: 800px;
}

.lesson-content section {
  padding: 10px 0 45px;
  border-bottom: 1px solid var(--line);
}

.lesson-content h2 {
  font-size: 34px;
  line-height: 1.2;
}

.lesson-content p,
.lesson-content li {
  color: var(--muted);
  font-size: 17px;
}

.callout {
  padding: 20px;
  background: #eef4ff;
  border-left: 5px solid var(--blue);
  border-radius: 0 13px 13px 0;
}

.term-grid,
.question-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.term-grid div,
.question-grid label {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.quiz fieldset {
  margin: 15px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.quiz label {
  display: block;
  padding: 6px;
  color: var(--muted);
}

.quiz button {
  padding: 12px 20px;
  color: var(--white);
  background: var(--blue);
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}

.quiz-result {
  display: none;
  margin-top: 15px;
  padding: 15px;
  border-radius: 12px;
}

.quiz-result.show {
  display: block;
  color: #13743c;
  background: #e9f9f0;
}

/* Keyboard accessibility */

input:focus-visible,
button:focus-visible,
a:focus-visible,
textarea:focus-visible {
  outline: 3px solid #76a1ff;
  outline-offset: 3px;
}

/* Animations */

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardEnter {
  from {
    opacity: 0;
    transform: translateX(24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes menuDrop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Laptop */

@media (max-width: 1100px) {
  .container {
    width: min(calc(100% - 48px), 1040px);
  }

  .hero {
    padding: 82px 0;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(43px, 6vw, 64px);
  }

  .journey-card {
    padding: 28px;
  }

  .about-grid {
    gap: 42px;
  }

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

  .section {
    padding: 78px 0;
  }

  .course-card {
    padding: 25px;
  }
}

/* Tablet */

@media (max-width: 900px) {
  html {
    scroll-padding-top: 78px;
  }

  .nav-row {
    min-height: 78px;
  }

  .brand {
    font-size: 25px;
  }

  .brand-mark {
    width: 43px;
    height: 43px;
    border-width: 4px;
  }

  .menu-button {
    display: block;
  }

  .nav-row nav {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 20px 24px 25px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(20, 42, 74, 0.08);
  }

  .nav-row nav.open {
    display: flex;
    animation: menuDrop 0.22s ease both;
  }

  .nav-row nav a {
    padding: 11px 6px;
  }

  .nav-row .nav-cta {
    margin-top: 5px;
    padding: 13px 20px;
    text-align: center;
  }

  .hero {
    padding: 68px 0;
  }

  .hero-grid,
  .about-grid,
  .waitlist-grid,
  .lesson-hero-grid,
  .lesson-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 46px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .journey-card {
    max-width: 680px;
  }

  .about-grid {
    gap: 48px;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .waitlist-grid {
    gap: 38px;
  }

  .lesson-layout {
    padding-top: 48px;
  }

  .lesson-nav {
    display: none;
  }
}

/* Mobile */

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 32px), 620px);
  }

  .hero {
    padding: 56px 0 62px;
  }

  .tagline {
    gap: 6px 8px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 55px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin: 25px 0;
  }

  .button {
    width: 100%;
    min-height: 52px;
  }

  .proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .journey-card {
    padding: 25px;
    border-radius: 20px;
  }

  .journey-card h2 {
    font-size: 27px;
  }

  .section {
    padding: 66px 0;
  }

  .section h2,
  .waitlist h2 {
    font-size: clamp(32px, 9vw, 43px);
  }

  .section-copy {
    margin-bottom: 30px;
    font-size: 16px;
  }

  .stats,
  .course-grid,
  .term-grid,
  .question-grid {
    grid-template-columns: 1fr;
  }

  .learning-card {
    padding: 21px;
  }

  .lesson {
    padding: 14px 6px;
  }

  .course-grid {
    gap: 17px;
  }

  .course-card {
    padding: 23px;
    border-radius: 17px;
  }

  .career-card {
    padding: 25px;
  }

  .career-card h3 {
    font-size: 27px;
    line-height: 1.2;
  }

  .career-skills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .steps article {
    grid-template-columns: 48px 1fr;
    gap: 15px;
    padding: 21px;
  }

  .steps article > b {
    font-size: 27px;
  }

  .steps h3 {
    font-size: 19px;
    line-height: 1.3;
  }

  .steps p {
    font-size: 14px;
  }

  .waitlist {
    padding: 68px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-row input,
  .form-row button {
    min-height: 54px;
  }

  .footer-row {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .footer-row p {
    margin: 0;
  }

  .lesson-header .brand {
    font-size: 21px;
  }

  .lesson-header .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .back-link {
    font-size: 13px;
  }

  .lesson-hero {
    padding: 55px 0;
  }

  .lesson-hero h1 {
    font-size: clamp(37px, 11vw, 50px);
  }

  .lesson-meta {
    font-size: 12px;
  }

  .lesson-content h2 {
    font-size: 29px;
  }

  .lesson-content p,
  .lesson-content li {
    font-size: 16px;
  }
}

/* Small mobile */

@media (max-width: 430px) {
  .container {
    width: calc(100% - 26px);
  }

  .brand {
    font-size: 22px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    margin-right: 7px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .tagline span {
    display: none;
  }

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

  .journey-card {
    padding: 21px;
  }

  .stats div {
    padding: 17px;
  }

  .career-skills {
    grid-template-columns: 1fr;
  }

  .steps article {
    grid-template-columns: 1fr;
  }

  .steps article > b {
    font-size: 25px;
  }

  .lesson-header .brand-mark {
    display: none;
  }
}

/* Reduced-motion accessibility */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Course progress inside learning card */

.course-progress {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.progress-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 15px;
}

.progress-heading strong {
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
}

.course-progress-track {
  width: 100%;
  height: 10px;
  overflow: hidden;
  background: #e6edf7;
  border-radius: 999px;
}

.course-progress-bar {
  width: 0;
  height: 100%;
  background: var(--blue);
  border-radius: inherit;
  transition: width 0.8s ease;
}

.progress-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.progress-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 700px) {
  .course-progress {
    margin-top: 18px;
    padding-top: 18px;
  }

  .progress-link {
    margin-top: 18px;
    font-size: 14px;
  }
}
/* Lesson completion */

.lesson-completion {
  width: min(calc(100% - 40px), 1000px);
  margin: 64px auto;
  padding: 36px;
  background: #eef4ff;
  border: 1px solid #c9dcff;
  border-radius: 24px;
}

.lesson-completion h2 {
  margin: 0 0 18px;
}

.lesson-completion p {
  margin: 0 0 22px;
  line-height: 1.7;
}

.lesson-completion .completion-message {
  min-height: 24px;
  margin-top: 22px;
  margin-bottom: 0;
  color: var(--green);
  font-weight: 700;
}

@media (max-width: 700px) {
  .lesson-completion {
    width: min(calc(100% - 28px), 1000px);
    margin: 40px auto;
    padding: 24px;
    border-radius: 18px;
  }
}
.complete-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 24px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: var(--blue);
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.complete-button:hover {
  background: #1f56c2;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(47, 111, 237, 0.22);
}

.complete-button.completed {
  background: var(--green);
  cursor: default;
  box-shadow: none;
  transform: none;
}

.complete-button:focus-visible {
  outline: 3px solid rgba(47, 111, 237, 0.3);
  outline-offset: 3px;
}
/* New logo and header alignment */
.site-header .nav-row.container {
  width: calc(100% - 40px);
  max-width: 1540px !important;
  margin-inline: auto !important;
  padding-inline: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}

.brand-logo {
  display: block;
  width: 285px;
  max-width: 100%;
  height: auto;
}

.site-header nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

/* Align the logo on every lesson page */
.lesson-header .container {
  width: calc(100% - 40px);
  max-width: 1540px;
  min-height: 110px;
  margin-inline: auto;
  padding-inline: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lesson-header .brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}

.lesson-header .brand-logo {
  display: block;
  width: 245px;
  max-width: 100%;
  height: auto;
}

.lesson-header .back-link {
  margin-left: auto;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .lesson-header .container {
    width: calc(100% - 28px);
    min-height: 86px;
    padding-inline: 0;
  }

  .lesson-header .brand-logo {
    width: 190px;
  }

  .lesson-header .back-link {
    font-size: 14px;
  }
}
@media (max-width: 700px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
  }

  .site-header .nav-row.container {
    position: relative;
    width: calc(100% - 28px);
    min-height: 86px;
  }

  .site-header .brand-logo {
    width: 205px;
  }

  .menu-button {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font-size: 26px;
    cursor: pointer;
  }

  .site-header nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    margin: 0;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 18px 35px rgba(16, 35, 63, 0.14);
  }

  .site-header nav.open {
    display: grid;
    gap: 8px;
  }

  .site-header nav a {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    text-align: center;
  }

  .site-header nav a:not(.nav-cta):hover {
    background: #f4f7fb;
  }

  .site-header nav .nav-cta {
    margin-top: 6px;
    color: #ffffff;
    background: var(--blue);
  }
}
@media (max-width: 700px) {
  .tagline {
    line-height: 1.7;
    word-spacing: 2px;
  }

  .tagline span {
    display: inline-block;
    margin-inline: 5px;
  }
}