@charset "UTF-8";
:root {
  --space-950: #050b1f;
  --space-900: #08142f;
  --space-800: #102354;
  --ink: #16213f;
  --ink-muted: #5f6880;
  --paper: #f6f8ff;
  --white: #fff;
  --cyan: #53d8ff;
  --cyan-hover: #25bfe9;
  --cyan-dark: #007fa8;
  --yellow: #ffd35a;
  --yellow-hover: #e8b92f;
  --yellow-dark: #8a6200;
  --orange: #ff8a5b;
  --orange-hover: #ed6d3f;
  --orange-dark: #ae3d17;
  --purple: #8f7cff;
  --line: #dbe2f4;
  --shadow: 0 18px 50px rgba(22, 33, 63, 0.1);
  --radius: 22px;
  --shell: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

button, input, select {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--space-950);
  background: var(--yellow);
  border-radius: 8px;
  transform: translateY(-150%);
}

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

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

.shell {
  width: min(100% - 40px, var(--shell));
  margin-inline: auto;
}

.shell--reading {
  max-width: 1040px;
}

.site-header {
  position: relative;
  z-index: 20;
  color: var(--white);
  background: var(--space-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand__mark {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.brand__mark::before {
  content: "";
  position: absolute;
  width: 52px;
  height: 15px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
}

.brand__mark span {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--cyan), var(--purple));
}

.brand__text {
  display: grid;
  line-height: 1.05;
}

.brand__text strong {
  font-size: 1.18rem;
  letter-spacing: 0.08em;
}

.brand__text small {
  margin-top: 5px;
  color: #9caed6;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
}

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 0.88rem;
  font-weight: 700;
}

.site-nav a {
  color: #dfe7ff;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--cyan);
}

.language-dropdown {
  position: relative;
}

.language-dropdown summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding-inline: 12px;
  color: #dfe7ff;
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
}

.language-dropdown summary::-webkit-details-marker {
  display: none;
}

.language-dropdown summary:hover,
.language-dropdown[open] summary {
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.06);
}

.language-dropdown__chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.18s ease;
}

.language-dropdown[open] .language-dropdown__chevron {
  transform: translateY(2px) rotate(225deg);
}

.language-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  padding: 8px;
  background: var(--space-900);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.site-nav .language-dropdown__menu a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 8px;
}

.site-nav .language-dropdown__menu a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.site-nav .language-dropdown__menu a[aria-current=page] {
  color: var(--white);
  background: rgba(83, 216, 255, 0.12);
}

.language-dropdown__mark {
  width: 30px;
  height: 30px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--space-950);
  border-radius: 50%;
  font-size: 0.62rem;
  letter-spacing: 0.01em;
}

.language-dropdown__mark--cyan {
  background: var(--cyan);
}

.language-dropdown__mark--yellow {
  background: var(--yellow);
}

.language-dropdown__mark--orange {
  background: var(--orange);
}

.language-dropdown__menu .beta-badge {
  margin-left: -5px;
}

.beta-badge {
  min-height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 5px;
  color: #aebcdf;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at 50% 0, rgba(83, 216, 255, 0.14), transparent 42%), var(--space-950);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.5px);
  background-size: 112px 112px;
  opacity: 0.18;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  padding-block: clamp(88px, 11vw, 132px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.eyebrow--dark {
  color: var(--cyan-dark);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.hero__lead {
  max-width: 880px;
  margin: 28px auto 0;
  color: #dbe4ff;
  font-size: 1.05rem;
  text-wrap: balance;
}

.hero__scope {
  margin: 8px auto 0;
  color: #aebddd;
  font-size: 0.92rem;
}

.hero__facts {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  color: #dbe4ff;
  font-size: 0.82rem;
  font-weight: 700;
  list-style: none;
}

.hero__facts li {
  display: flex;
  align-items: center;
}

.hero__facts li + li::before {
  content: "";
  width: 1px;
  height: 1em;
  margin-inline: 16px;
  background: rgba(255, 255, 255, 0.28);
}

.hero__languages {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.hero__language {
  flex: 0 1 190px;
  min-width: 0;
  border-color: transparent;
}

.button.hero__language {
  color: var(--space-950);
}

.hero__language .beta-badge {
  margin-left: -3px;
  color: rgba(8, 20, 47, 0.62);
  background: rgba(8, 20, 47, 0.07);
  border-color: rgba(8, 20, 47, 0.14);
}

.hero__language--cyan {
  background: var(--cyan);
}

.hero__language--yellow {
  background: var(--yellow);
}

.hero__language--orange {
  background: var(--orange);
}

.hero__language--cyan:hover {
  background: var(--cyan-hover);
}

.hero__language--yellow:hover {
  background: var(--yellow-hover);
}

.hero__language--orange:hover {
  background: var(--orange-hover);
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button--primary {
  color: var(--space-950);
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 10px 26px rgba(83, 216, 255, 0.24);
}

.button--primary:hover {
  background: var(--cyan-hover);
  border-color: var(--cyan-hover);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.06);
}

.section {
  padding-block: 96px;
}

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

.section--deep {
  color: var(--white);
  background: var(--space-900);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.section-heading > p {
  margin: 0;
  color: var(--ink-muted);
}

.section--deep .section-heading > p {
  color: #b9c6e8;
}

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

.course-hero--cyan {
  --course-accent: var(--cyan);
  --course-accent-hover: var(--cyan-hover);
  --course-accent-shadow: rgba(83,216,255,.24);
}

.course-hero--yellow {
  --course-accent: var(--yellow);
  --course-accent-hover: var(--yellow-hover);
  --course-accent-shadow: rgba(255,211,90,.24);
}

.course-hero--orange {
  --course-accent: var(--orange);
  --course-accent-hover: var(--orange-hover);
  --course-accent-shadow: rgba(255,138,91,.24);
}

.course-hero .button--primary {
  background: var(--course-accent);
  border-color: var(--course-accent);
  box-shadow: 0 10px 26px var(--course-accent-shadow);
}

.course-hero .button--primary:hover {
  background: var(--course-accent-hover);
  border-color: var(--course-accent-hover);
}

.course-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.5px);
  background-size: 88px 88px;
  opacity: 0.19;
}

.course-hero__grid {
  position: relative;
  min-height: 510px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.65fr);
  align-items: center;
  gap: 48px;
  padding-block: 70px;
}

.course-hero__label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.course-hero__label .eyebrow {
  margin: 0;
  color: var(--course-accent);
}

.course-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.course-hero__lead {
  max-width: 620px;
  margin: 24px 0 30px;
  color: #c9d5f5;
  font-size: 1.04rem;
}

.course-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 44px;
  color: #aebcdf;
  font-size: 0.78rem;
}

.breadcrumbs a {
  color: inherit;
}

.course-planet {
  position: relative;
  width: min(290px, 30vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  color: var(--space-950);
  font-size: 2rem;
  font-weight: 900;
  box-shadow: inset -38px -42px 60px rgba(8, 20, 47, 0.32), 0 0 80px rgba(255, 255, 255, 0.14);
}

.course-planet i {
  position: absolute;
  width: 130%;
  height: 30%;
  border: 3px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  transform: rotate(-17deg);
}

.course-planet--cyan {
  background: linear-gradient(145deg, #d1f7ff, var(--cyan));
}

.course-planet--yellow {
  background: linear-gradient(145deg, #fff8c9, var(--yellow));
}

.course-planet--orange {
  background: linear-gradient(145deg, #ffd0bd, var(--orange));
}

.course-overview {
  padding-bottom: 68px;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--line);
}

.course-overview__intro {
  max-width: 780px;
}

.course-overview__intro h2, .course-map__heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.course-overview__intro > p:last-child {
  margin: 20px 0 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
}

.course-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 30px 0 0;
}

.course-facts > div {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.course-facts dt {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.course-facts dd {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.course-map__heading {
  margin-bottom: 24px;
}

.lesson-grid {
  --lesson-accent: var(--cyan-dark);
  --lesson-accent-soft: #dff7ff;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.lesson-grid--yellow {
  --lesson-accent: var(--yellow-dark);
  --lesson-accent-soft: #fff5cc;
}

.lesson-grid--orange {
  --lesson-accent: var(--orange-dark);
  --lesson-accent-soft: #ffe8df;
}

.lesson-card a {
  min-height: 70px;
  height: 100%;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.lesson-card a:hover {
  transform: translateY(-2px);
  border-color: #aeb9d4;
  box-shadow: 0 8px 24px rgba(22, 33, 63, 0.08);
}

.lesson-card__number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--lesson-accent);
  background: var(--lesson-accent-soft);
  border-radius: 9px;
  font-size: 0.68rem;
  font-weight: 900;
}

.lesson-card__body {
  min-width: 0;
  display: grid;
  line-height: 1.3;
}

.lesson-card__body small {
  overflow: hidden;
  color: var(--ink-muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lesson-card__body strong {
  overflow: hidden;
  margin-top: 3px;
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lesson-card__arrow {
  color: var(--lesson-accent);
  font-size: 0.85rem;
  font-weight: 800;
}

.lesson-shell {
  min-height: 75vh;
  background: var(--paper);
}

.lesson-topbar {
  color: var(--white);
  background: var(--space-900);
}

.lesson-topbar__inner {
  padding-block: 22px;
}

.lesson-topbar .breadcrumbs {
  margin: 0 0 12px;
}

.lesson-topbar .beta-badge {
  min-height: 15px;
  margin-left: -2px;
  padding-inline: 4px;
  font-size: 0.5rem;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  color: #b9c6e8;
  font-size: 0.7rem;
  font-weight: 800;
}

.progress-track {
  height: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.13);
  border-radius: 999px;
}

.progress-track span {
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  border-radius: inherit;
}

.lesson-layout {
  display: grid;
  grid-template-columns: 225px minmax(0, 760px);
  justify-content: space-between;
  gap: 60px;
  padding-block: 56px 90px;
}

.lesson-sidebar {
  align-self: start;
}

.sidebar-course {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.sidebar-course strong {
  font-size: 0.95rem;
}

.mini-planet {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  box-shadow: inset -6px -7px 9px rgba(8, 20, 47, 0.22);
}

.mini-planet--cyan {
  background: var(--cyan);
}

.mini-planet--yellow {
  background: var(--yellow);
}

.mini-planet--orange {
  background: var(--orange);
}

.lesson-sidebar ol {
  list-style: none;
  padding: 14px 0 0;
  margin: 0;
}

.lesson-sidebar li a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink-muted);
  font-size: 0.78rem;
  text-decoration: none;
}

.lesson-sidebar li a span:first-child {
  font-size: 0.66rem;
  font-weight: 900;
}

.lesson-sidebar li a:hover {
  color: var(--ink);
  background: #e9eefb;
}

.lesson-sidebar li a[aria-current=page] {
  color: var(--space-950);
  background: #dff7ff;
  font-weight: 800;
}

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

.lesson-header h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.lesson-header > p:last-child {
  margin: 16px 0 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
}

.lesson-content {
  font-size: 1rem;
}

.lesson-content h2 {
  margin: 3em 0 0.8em;
  font-size: 1.65rem;
  line-height: 1.35;
}

.lesson-content h2:first-child {
  margin-top: 0;
}

.lesson-content h3 {
  margin: 2.2em 0 0.7em;
  font-size: 1.18rem;
}

.lesson-content p {
  margin: 1.1em 0;
}

.lesson-content hr {
  height: 1px;
  margin: 42px 0;
  background: var(--line);
  border: 0;
}

.lesson-content table {
  width: 100%;
  margin: 26px 0;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.lesson-content th, .lesson-content td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
}

.lesson-content th {
  background: #e9eefb;
}

.lesson-content code:not(pre code) {
  padding: 0.15em 0.4em;
  color: #20242d;
  background: #e7ecf4;
  border: 1px solid #cbd4e1;
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  font-weight: 600;
}

.lesson-content blockquote {
  margin: 28px 0;
  padding-left: 20px;
  color: var(--ink-muted);
  border-left: 4px solid var(--line);
}

.lesson-content blockquote p {
  margin-block: 0.6em;
}

.callout {
  margin: 28px 0;
  padding: 18px 20px;
  color: #24405f;
  background: #e7f8ff;
  border-left: 4px solid var(--cyan-dark);
  border-radius: 0 12px 12px 0;
}

.callout--tip {
  color: #413570;
  background: #f0edff;
  border-left-color: #7560d6;
}

.callout--warning {
  color: #65351f;
  background: #fff1e8;
  border-left-color: var(--orange-dark);
}

.callout__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.callout__label::before {
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
  content: "";
}

.callout__content > :first-child {
  margin-top: 0;
}

.callout__content > :last-child {
  margin-bottom: 0;
}

.lesson-content ul, .lesson-content ol {
  padding-left: 1.45em;
}

.lesson-exercises {
  margin-top: 64px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.lesson-exercises__header {
  margin-bottom: 34px;
}

.lesson-exercises__header .eyebrow {
  margin-bottom: 8px;
}

.lesson-exercises__header h2 {
  margin: 0 0 10px;
}

.lesson-exercises__header > p:last-child {
  margin: 0;
  color: var(--ink-muted);
}

.lesson-exercises > h3 {
  margin: 36px 0 12px;
}

.exercise-answer {
  margin: 20px 0 34px;
}

.exercise-answer summary {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  color: var(--space-900);
  background: var(--white);
  border: 1px solid #aeb9d4;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 800;
  list-style: none;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.exercise-answer summary::-webkit-details-marker {
  display: none;
}

.exercise-answer summary::before {
  content: "+";
  font-size: 1.1rem;
  line-height: 1;
}

.exercise-answer summary:hover {
  color: var(--cyan-dark);
  border-color: var(--cyan-dark);
}

.exercise-answer[open] summary {
  color: var(--space-950);
  background: #dff7ff;
  border-color: var(--cyan-dark);
}

.exercise-answer[open] summary::before {
  content: "−";
}

.exercise-answer__content {
  margin-top: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.exercise-answer__label {
  margin: 0 0 12px;
  color: var(--cyan-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.exercise-answer__content > :last-child {
  margin-bottom: 0;
}

.code-block {
  position: relative;
  margin: 26px 0;
}

.code-block pre {
  overflow-x: auto;
  margin: 0;
  padding: 24px 20px;
  color: #cbd1dc;
  background: #20242d;
  border: 1px solid #3a414f;
  border-radius: 14px;
  line-height: 1.65;
  tab-size: 4;
}

.code-block pre code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
}

.copy-button {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 10px;
  color: #cbd1dc;
  background: #2c323e;
  border: 1px solid #474f5f;
  border-radius: 7px;
  cursor: pointer;
  font-size: 0.69rem;
}

.copy-button:hover {
  color: #edf0f5;
  border-color: var(--cyan);
}

.highlight {
  background: transparent;
}

.highlight .c, .highlight .c1, .highlight .cm {
  color: #8292b8;
}

.highlight .k, .highlight .kd, .highlight .kn {
  color: #c9a7ff;
}

.highlight .s, .highlight .s1, .highlight .s2 {
  color: #9ee2a4;
}

.highlight .mi, .highlight .mf {
  color: #ffd27d;
}

.highlight .nb, .highlight .nf {
  color: #71d8ff;
}

.lesson-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 42px;
  margin-top: 52px;
  border-top: 1px solid var(--line);
}

.lesson-pager a {
  display: grid;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
}

.lesson-pager a:hover {
  border-color: #aeb9d4;
}

.lesson-pager small {
  color: var(--ink-muted);
  font-size: 0.7rem;
}

.lesson-pager__next {
  text-align: right;
}

.site-footer {
  padding-block: 24px;
  color: #b9c6e8;
  background: var(--space-950);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}

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

.site-footer p {
  margin: 0;
  font-size: 0.78rem;
}

.copyright {
  color: #7f8eb5;
}

@media (max-width: 900px) {
  .course-hero__grid {
    grid-template-columns: 1fr;
  }
  .course-planet {
    display: none;
  }
  .course-facts {
    grid-template-columns: 1fr;
  }
  .lesson-grid {
    grid-template-columns: 1fr 1fr;
  }
  .lesson-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .lesson-sidebar {
    position: static;
  }
  .lesson-sidebar ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 12px;
  }
}
@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, var(--shell));
  }
  .site-header__inner {
    min-height: 68px;
  }
  .brand__text small {
    display: none;
  }
  .site-nav {
    gap: 14px;
    font-size: 0.75rem;
  }
  .language-dropdown summary {
    padding-inline: 9px;
  }
  .language-dropdown__menu {
    width: 200px;
  }
  .hero__inner {
    padding-block: 72px;
  }
  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }
  .hero__lead {
    font-size: 1rem;
  }
  .hero__facts {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .hero__facts li + li::before {
    margin-inline: 10px;
  }
  .hero__languages {
    display: grid;
  }
  .hero__language {
    width: min(100%, 320px);
    margin-inline: auto;
  }
  .section {
    padding-block: 68px;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 30px;
  }
  .course-overview {
    padding-bottom: 52px;
    margin-bottom: 48px;
  }
  .lesson-grid {
    grid-template-columns: 1fr;
  }
  .course-hero__grid {
    min-height: 440px;
    padding-block: 54px;
  }
  .course-hero .breadcrumbs {
    margin-bottom: 30px;
  }
  .course-hero h1 {
    font-size: 2.6rem;
  }
  .lesson-layout {
    padding-block: 34px 64px;
  }
  .lesson-sidebar ol {
    grid-template-columns: 1fr;
  }
  .lesson-pager {
    grid-template-columns: 1fr;
  }
  .lesson-pager > span {
    display: none;
  }
  .lesson-pager__next {
    text-align: left;
  }
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/*# sourceMappingURL=main.css.map */