﻿:root {
  --color-black: #000;
  --color-white: #fff;
  --color-text: #1e293b;
  --color-muted: #64748b;
  --color-logo: #1e3a5f;
  --color-accent: #2d9a4a;
  --color-brand: #2563eb;
  --color-telegram: #229ed9;
  --color-border: #e6e6e6;
  --container-max: 1280px;
  --page-max: 1440px;
  --pad-desktop: 80px;
  --pad-laptop: 40px;
  --pad-tablet: 32px;
  --pad-mobile: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--color-white);
  color: var(--color-black);
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

.container-custom {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 80px);
}

.intro,
.features,
.stats,
.analysis,
.courses,
.approach {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
}

.form-status {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-text);
}

.form-status--error {
  color: #b42318;
}

button:disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
}

a.course-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* ===== Logo ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  flex-shrink: 0;
}

.logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #2563eb;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding: 8px 5.5px;
  flex-shrink: 0;
}

.logo__mark span {
  display: block;
  width: 5px;
  background: #fff;
  border-radius: 2px;
}

.logo__mark span:nth-child(1) { height: 12px; }
.logo__mark span:nth-child(2) { height: 20px; }
.logo__mark span:nth-child(3) { height: 16px; }
.logo__mark span:nth-child(4) { height: 24px; }

.logo__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  white-space: nowrap;
}

.logo__name {
  font-weight: 700;
  font-size: 20px;
  line-height: normal;
  color: #1e3a5f;
}

.logo__tagline {
  font-weight: 500;
  font-size: 11px;
  line-height: normal;
  color: #64748b;
}

/* ===== Header ===== */
.header {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 80px;
  padding: 0 max(80px, calc((100% - var(--page-max)) / 2 + 80px));
  background: #fff;
  border-bottom: 3px solid #000;
  width: 100%;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.nav-link {
  font-weight: 700;
  font-size: 15px;
  line-height: normal;
  color: #1e293b;
  white-space: nowrap;
}

.nav-link--active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #2d9a4a;
  border-radius: 999px;
  padding: 8px 16px;
  background: #fff;
}

.header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.burger {
  display: none;
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.burger span {
  position: absolute;
  left: 9px;
  width: 18px;
  height: 2px;
  background: #21262e;
  border-radius: 1px;
}

.burger span:nth-child(1) { top: 10px; }
.burger span:nth-child(2) { top: 17px; }
.burger span:nth-child(3) { top: 24px; }

.mobile-nav {
  display: none;
}

.telegram {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #229ed9;
  border-radius: 24px;
  padding: 8px 16px 8px 12px;
  flex-shrink: 0;
}

.telegram__icon {
  width: 20px;
  height: 20px;
  overflow: hidden;
  flex-shrink: 0;
}

.telegram__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.telegram__label {
  font-weight: 600;
  font-size: 14px;
  line-height: normal;
  color: #fff;
  white-space: nowrap;
}

/* ===== Intro ===== */
.intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 60px 80px 20px;
  background: #fff;
}

.intro__content {
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.intro__title {
  font-weight: 400;
  font-size: 44px;
  line-height: normal;
  color: #000;
  text-align: left;
  white-space: nowrap;
}

.intro__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  width: 436px;
}

.intro__text {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #000;
}

.btn--course {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 3px solid #2d9a4a;
  border-radius: 100px;
  font-weight: 700;
  font-size: 16px;
  line-height: normal;
  color: #000;
  text-align: center;
  white-space: nowrap;
  background: #fff;
}

.intro__image {
  position: relative;
  width: 640px;
  height: 280px;
  max-width: 100%;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
}

.intro__image picture,
.intro__image img {
  display: block;
  width: 100%;
  height: 100%;
}

.intro__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
}

/* ===== Features ===== */
.features {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 80px;
  background: #fff;
}

.features__list {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 237px;
  padding: 28px 20px;
  border-radius: 24px;
  background: #fff;
}

.feature__icon {
  width: 160px;
  height: 120px;
  flex-shrink: 0;
  overflow: hidden;
}

.feature__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature__title {
  font-weight: 700;
  font-size: 18px;
  line-height: 17px;
  text-align: center;
  color: #000;
  width: 100%;
}

/* ===== Stats ===== */
.stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 64px;
  background: #fff;
}

.stats__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 191px;
  padding: 24px;
  background: #fff;
  border: 5px solid #2d9a4a;
  border-radius: 16px;
}

.stats__item {
  width: 180px;
  height: 180px;
  border-radius: 90px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stats__value {
  font-weight: 700;
  font-size: 40px;
  line-height: 44px;
  color: #2d9a4a;
  white-space: nowrap;
}

.stats__label {
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #000;
  width: 120px;
  margin-top: 5px;
  min-height: 60px;
}

/* ===== Analysis ===== */
.analysis {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 80px;
  background: #fff;
}

.section-title {
  font-weight: 700;
  font-size: 28px;
  line-height: normal;
  text-align: center;
  color: #000;
  width: 100%;
}

.section-lead {
  font-weight: 400;
  font-size: 18px;
  line-height: normal;
  text-align: center;
  color: #000;
  width: 100%;
}

.analysis__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 32px;
  padding-bottom: 16px;
}

.analysis-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  height: 100%;
  padding: 32px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.8);
  border-radius: 16px;
}

.analysis-card__title {
  font-weight: 700;
  font-size: 18px;
  line-height: normal;
  text-align: center;
  color: #000;
}

.analysis-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.analysis-card__list li {
  position: relative;
  padding-left: 17px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
}

.analysis-card__list li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 16px;
  line-height: normal;
}

/* ===== Courses ===== */
.courses {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 80px;
  background: #fff;
}

.courses__subtitle {
  display: none;
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
  text-align: center;
  color: #000;
}

.courses__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.course-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  min-height: 280px;
  height: auto;
  padding: 24px;
  background: #fff;
  border: 5px solid #e6e6e6;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
}

.course-card--highlight {
  box-shadow: 0 6px 10px rgba(45, 154, 74, 0.15);
}

.course-card__top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 88px;
  height: auto;
  overflow: visible;
}

.course-card__meta {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.course-card__type {
  font-weight: 400;
  font-size: 13px;
  line-height: 16px;
  color: #737373;
}

.course-card__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  gap: 8px;
}

.badge-row {
  display: contents;
}

@media (min-width: 1440px) {
  .courses__grid > .course-card:first-child .course-card__badges,
  .courses__grid > .course-card:nth-child(5) .course-card__badges {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .courses__grid > .course-card:first-child .badge-row,
  .courses__grid > .course-card:nth-child(5) .badge-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
  }

  .courses__grid > .course-card:first-child .badge--sale {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 0 1 auto;
  max-width: 100%;
  padding: 6px 12px;
  border: 1px solid #000;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  line-height: 15px;
  color: #000;
  white-space: nowrap;
}

.badge--start { background: rgba(184, 242, 163, 0.5); }
.badge--popular { background: rgba(221, 248, 94, 0.5); }
.badge--ai { background: rgba(191, 231, 255, 0.5); }
.badge--ai-solid { background: #bfe7ff; }
.badge--mini { background: rgba(255, 229, 138, 0.5); }
.badge--base { background: rgba(201, 244, 192, 0.5); }
.badge--base-solid { background: #c9f4c0; }
.badge--sale {
  background: #fff;
  padding: 2px 12px;
}

.badge__fire {
  width: 23px;
  height: 23px;
  object-fit: contain;
  flex-shrink: 0;
}

.course-card__ill {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.course-card__ill picture,
.course-card__ill img {
  display: block;
  width: 100%;
  height: 100%;
}

.course-card__ill img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
}

.course-card__ill--contain {
  background: #fff;
  overflow: hidden;
}

.course-card__ill--contain picture,
.course-card__ill--contain img {
  width: 100%;
  height: 100%;
}

.course-card__ill--contain img {
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
}

.course-card__ill--full {
  overflow: hidden;
  background: #fff;
}

.course-card__ill--full img {
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
}

.course-card__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  min-height: 30px;
  height: auto;
  text-align: center;
  color: #000;
  overflow-wrap: break-word;
}

.course-card__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.btn--details {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 40px;
  padding: 12px 16px;
  border: 3px solid #2d9a4a;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  line-height: normal;
  color: #000;
  text-align: center;
  white-space: nowrap;
  background: #fff;
}

.course-card__status {
  font-weight: 700;
  font-size: 12px;
  line-height: 15px;
  text-align: center;
  color: #000;
  margin-top: auto;
}

/* ===== Approach ===== */
.approach {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 80px;
  background: #fff;
}

.approach__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 12px;
}

.approach-card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  align-items: start;
  gap: 12px;
  padding: 20px;
  margin-bottom: 12px;
  border-radius: 16px;
}

.approach-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100px;
  overflow: hidden;
}

.approach-card__icon picture,
.approach-card__icon img {
  display: block;
  width: 160px;
  height: 100px;
  max-width: 160px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
}

.approach-card__icon--path {
  overflow: hidden;
}

.approach-card__icon--path img {
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
}

.approach-card__title {
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  width: 100%;
  text-align: center;
  color: #000;
}

.approach-card__text {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  width: 100%;
  text-align: center;
  color: #000;
}

/* ===== Footer ===== */
.footer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-height: 130px;
  padding: 20px max(80px, calc((100% - var(--page-max)) / 2 + 80px)) 16px;
  background: #fff;
  border-top: 3px solid #000;
  width: 100%;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-start;
  width: 100%;
}

.footer__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.footer__link {
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
  color: #000;
  white-space: nowrap;
}

.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-self: end;
  gap: 8px;
}

.footer__legal {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: normal;
  color: #000;
  text-align: right;
}

.footer__copy {
  font-weight: 400;
  font-size: 13px;
  line-height: normal;
  color: #000;
  text-align: center;
}

@media (min-width: 768px) {
  .footer {
    display: grid;
    align-content: start;
  }

  .footer__top,
  .footer__copy {
    grid-column: 1;
    grid-row: 1;
  }

  .footer__copy {
    align-self: end;
    justify-self: center;
  }
}

/* =========================================================
   1024px  (max-width: 1439px)
   ========================================================= */
@media (max-width: 1439px) {
  .header {
    padding: 0 40px;
  }

  .header__nav {
    gap: 18px;
  }

  .nav-link {
    font-size: 14px;
  }

  .intro {
    justify-content: flex-start;
    gap: 24px;
    padding: 20px 40px 10px;
  }

  .intro__content {
    flex: 1 0 0;
    align-items: flex-start;
  }

  .intro__title {
    font-size: 42px;
    text-align: left;
    white-space: nowrap;
  }

  .intro__cta {
    width: 100%;
  }

  .intro__text {
    font-size: 17px;
  }

  .intro__image {
    flex: 1 0 0;
    width: auto;
    min-width: 0;
    height: 280px;
  }

  .features {
    padding: 10px 40px;
  }

  .features__list {
    width: 100%;
    gap: 12px;
  }

  .feature {
    flex: 1 0 0;
    width: auto;
    min-width: 0;
    padding: 28px 20px;
  }

  .feature__icon {
    width: 120px;
    height: 90px;
  }

  .feature__title {
    font-size: 16px;
    line-height: 17px;
  }

  .stats {
    padding: 10px 40px 20px;
  }

  .stats__grid {
    height: auto;
    width: 742px;
    max-width: 100%;
    padding: 24px 20px;
    gap: 10px;
  }

  .stats__item {
    width: 170px;
    height: 110px;
    border-radius: 90px;
  }

  .stats__value {
    font-size: 38px;
  }

  .stats__label {
    font-size: 14px;
  }

  .analysis {
    padding: 20px 40px;
  }

  .section-title {
    font-size: 26px;
  }

  .section-lead {
    font-size: 16px;
  }

  .analysis__cards {
    gap: 16px;
  }

  .analysis-card {
    padding: 20px 32px;
  }

  .analysis-card__title {
    font-size: 16px;
  }

  .analysis-card__list li,
  .analysis-card__list li::before {
    font-size: 14px;
  }

  .courses {
    padding: 20px 40px;
  }

  .courses__subtitle {
    display: block;
  }

  .courses__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .course-card {
    height: auto;
    min-height: 250px;
    padding: 20px;
    gap: 12px;
  }

  .course-card__top {
    height: auto;
    min-height: 70px;
    overflow: visible;
  }

  .course-card__type {
    font-size: 11px;
    line-height: 13px;
  }

  .course-card__badges {
    gap: 4px;
  }

  .badge {
    padding: 4px 8px;
    font-size: 10px;
    line-height: 12px;
  }

  .badge--sale {
    padding: 4px 8px;
  }

  .badge__fire {
    width: 12px;
    height: 12px;
  }

  .course-card__ill {
    width: 70px;
    height: 70px;
  }

  .course-card__ill--contain,
  .course-card__ill--contain img {
    border-radius: 12px;
  }

  .course-card__title {
    font-size: 19px;
    line-height: 24px;
    min-height: 24px;
  }

  .btn--details {
    width: 130px;
    max-width: 100%;
    height: 30px;
    padding: 7.5px 16px;
    font-size: 12px;
  }

  .course-card__status {
    font-size: 10px;
    line-height: 12px;
  }

  .approach {
    padding: 20px 40px;
  }

  .approach__grid {
    column-gap: 16px;
    row-gap: 12px;
  }

  .approach-card {
    margin-bottom: 4px;
  }

  .approach-card__icon {
    height: 80px;
  }

  .approach-card__icon picture,
  .approach-card__icon img {
    width: 120px;
    height: 80px;
    max-width: 120px;
  }

  .approach-card__icon--path img {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
  }

  .approach-card__title {
    font-size: 16px;
  }

  .approach-card__text {
    font-size: 12px;
  }

  .footer {
    gap: 8px;
    min-height: 129px;
    padding: 20px 40px;
  }

  .footer__nav {
    gap: 16px;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .courses__grid > .course-card:nth-child(2) .course-card__top,
  .courses__grid > .course-card:nth-child(3) .course-card__top {
    min-height: 95px;
  }
}

@media (min-width: 1024px) and (max-width: 1059px) {
  .courses__grid > .course-card:nth-child(7) .course-card__top {
    min-height: 95px;
  }
}

/* =========================================================
   768px  (max-width: 1023px)
   ========================================================= */
@media (max-width: 1023px) {
  .header {
    padding: 0 32px;
  }

  .header__nav {
    gap: 8px;
    width: 295px;
  }

  .nav-link {
    font-size: 10px;
  }

  .nav-link--active {
    padding: 8px 16px;
    width: 73px;
    justify-content: center;
    display: inline-flex;
  }

  .logo__name {
    font-size: 18px;
  }

  .logo__tagline {
    font-size: 10px;
    white-space: nowrap;
  }

  .telegram {
    width: 111px;
    padding: 8px 16px 8px 12px;
  }

  .telegram__label {
    font-size: 12px;
  }

  .intro {
    gap: 16px;
    padding: 20px 32px 10px;
  }

  .intro__title {
    font-size: 34px;
    white-space: normal;
  }

  .intro__cta {
    gap: 20px;
  }

  .intro__text {
    font-size: 15px;
  }

  .btn--course {
    font-size: 14px;
    padding: 12px 24px;
  }

  .intro__image {
    flex: none;
    width: 340px;
    height: 190px;
  }

  .features {
    padding: 10px 32px;
  }

  .feature {
    padding: 10px 20px;
    gap: 16px;
  }

  .feature__icon {
    width: 100px;
    height: 80px;
  }

  .feature__title {
    font-size: 12px;
    line-height: 17px;
  }

  .stats {
    padding: 10px 32px 20px;
  }

  .stats__grid {
    width: 100%;
    padding: 24px 20px;
    justify-content: space-between;
  }

  .stats__item {
    width: 164px;
    height: 112px;
    padding: 12px 8px;
  }

  .stats__value {
    font-size: 34px;
  }

  .stats__label {
    font-size: 12px;
    width: 100%;
    min-height: 40px;
  }

  .analysis {
    padding: 20px 32px;
  }

  .section-title {
    font-size: 22px;
  }

  .section-lead {
    font-size: 14px;
  }

  .analysis-card {
    padding: 20px 32px;
  }

  .analysis-card__title {
    font-size: 14px;
  }

  .analysis-card__list li,
  .analysis-card__list li::before {
    font-size: 12px;
  }

  .courses {
    padding: 20px 32px;
  }

  .courses__subtitle {
    font-size: 14px;
  }

  .courses__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
  }

  .course-card {
    height: 230px;
    min-height: 0;
    padding: 20px;
    gap: 12px;
  }

  .course-card__top {
    height: 70px;
    min-height: 0;
    overflow: hidden;
  }

  .course-card__badges {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 4px;
  }

  .badge-row {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .course-card__type {
    font-size: 10px;
  }

  .course-card__title {
    font-size: 17px;
    line-height: 22px;
  }

  .course-card__status {
    margin-top: 0;
  }

  .btn--details {
    width: 130px;
    height: 30px;
    font-size: 10px;
    padding: 6px 12px;
  }

  .approach {
    padding: 20px 32px;
  }

  .approach__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 12px;
  }

  .approach-card {
    margin-bottom: 4px;
  }

  .approach-card__title {
    font-size: 16px;
  }

  .approach-card__text {
    font-size: 12px;
  }

  .footer {
    min-height: 120px;
    padding: 20px 32px;
    gap: 10px;
  }

  .footer__nav {
    gap: 16px;
  }

  .footer__link {
    font-size: 12px;
  }

  .footer__copy {
    font-size: 11px;
  }
}

/* =========================================================
   360px  (max-width: 767px)
   ========================================================= */
@media (max-width: 767px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    min-width: 0;
  }

  .header,
  main,
  footer,
  section {
    max-width: 100%;
    min-width: 0;
  }

  .header {
    display: flex;
    justify-content: space-between;
    height: auto;
    min-height: 60px;
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .header__nav {
    display: none;
  }

  .burger {
    display: block;
  }

  .logo {
    gap: 9px;
    min-width: 0;
    flex-shrink: 1;
  }

  .logo__text {
    min-width: 0;
  }

  .logo__mark {
    width: 30px;
    height: 30px;
    border-radius: 7.5px;
    padding: 6px 4.125px;
    gap: 2.25px;
    align-items: flex-end;
  }

  .logo__mark span {
    width: 3.75px;
    border-radius: 1.5px;
  }

  .logo__mark span:nth-child(1) { height: 9px; }
  .logo__mark span:nth-child(2) { height: 15px; }
  .logo__mark span:nth-child(3) { height: 12px; }
  .logo__mark span:nth-child(4) { height: 18px; }

  .logo__name {
    font-size: 13.5px;
  }

  .logo__tagline {
    font-size: 7.5px;
  }

  .header .telegram {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 18px;
    justify-content: center;
    gap: 0;
  }

  .header .telegram__label {
    display: none;
  }

  .mobile-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    padding: 12px 0 4px;
    background: #fff;
  }

  .mobile-nav.is-open {
    display: flex;
  }

  .mobile-nav .nav-link {
    font-size: 14px;
    text-align: center;
    padding: 8px 16px;
  }

  .mobile-nav .nav-link--active {
    align-self: center;
    width: auto;
  }

  .intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 16px;
  }

  .intro__content {
    width: 100%;
    align-items: stretch;
  }

  .intro__title {
    font-size: 30px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .intro__cta {
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 100%;
  }

  .intro__text {
    font-size: 14px;
    text-align: center;
  }

  .btn--course {
    font-size: 12px;
  }

  .intro__image {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 180px;
    flex-shrink: 1;
  }

  .intro__image picture,
  .intro__image img {
    max-width: 100%;
  }

  .features {
    padding: 16px;
  }

  .features__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .feature--requirements {
    display: none;
  }

  .feature {
    width: auto;
    max-width: 100%;
    min-width: 0;
    padding: 10px;
    gap: 8px;
  }

  .feature__icon {
    width: 80px;
    height: 64px;
  }

  .feature__title {
    font-size: 12px;
    line-height: 17px;
  }

  .stats {
    padding: 24px 16px 20px;
  }

  .stats__grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
    height: auto;
    overflow: hidden;
  }

  .stats__item {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 132px;
    border-radius: 0;
    padding: 8px;
  }

  .stats__value {
    font-size: 30px;
  }

  .stats__label {
    font-size: 10px;
    width: 100%;
    min-height: 0;
  }

  .analysis {
    padding: 20px 16px;
  }

  .section-title {
    font-size: 22px;
  }

  .section-lead {
    font-size: 14px;
  }

  .analysis__cards {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
  }

  .analysis-card {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 16px;
  }

  .analysis-card__title {
    font-size: 14px;
  }

  .analysis-card__list li,
  .analysis-card__list li::before {
    font-size: 12px;
  }

  .courses {
    padding: 20px 16px;
  }

  .courses__subtitle {
    display: none;
  }

  .courses__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 100%;
    min-width: 0;
  }

  .course-card {
    height: auto;
    min-height: 218px;
    max-width: 100%;
    min-width: 0;
    padding: 16px;
    gap: 12px;
    overflow: hidden;
  }

  .course-card__top {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .course-card__badges {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 100%;
  }

  .badge-row {
    display: contents;
  }

  .course-card__ill {
    width: 56px;
    height: 56px;
  }

  .course-card__ill--contain,
  .course-card__ill--contain img {
    border-radius: 10px;
  }

  .course-card__title {
    font-size: 17px;
    overflow-wrap: break-word;
  }

  .btn--details {
    width: 130px;
    height: 30px;
    font-size: 10px;
    padding: 6px 12px;
  }

  .approach {
    padding: 20px 16px;
  }

  .approach__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .approach-card {
    display: flex;
    flex-direction: column;
    grid-row: auto;
    grid-template-rows: none;
    align-items: stretch;
    max-width: 100%;
    min-width: 0;
    padding: 10px 16px;
    gap: 10px;
    margin-bottom: 0;
  }

  .approach-card__icon {
    height: 80px;
  }

  .approach-card__icon picture,
  .approach-card__icon img {
    width: 120px;
    height: 80px;
    max-width: 120px;
  }

  .approach-card__icon--path img {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
  }

  .approach-card__title {
    font-size: 16px;
  }

  .approach-card__text {
    font-size: 12px;
  }

  .footer {
    display: grid;
    min-height: 110px;
    padding: 20px 16px;
    gap: 10px;
    align-items: stretch;
  }

  .footer__top,
  .footer__copy {
    grid-column: 1;
    grid-row: 1;
  }

  .footer__copy {
    align-self: end;
    justify-self: center;
  }

  .footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer__nav,
  .footer .telegram {
    display: none;
  }

  .footer__right {
    gap: 0;
  }

  .footer__legal {
    font-size: 10px;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .footer__copy {
    font-size: 11px;
    width: 100%;
  }

  .course-card--title-center .course-card__title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .stats__label {
    width: 120px;
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .footer__legal {
    text-align: right;
  }

  .footer__copy {
    grid-row: 2;
    align-self: start;
    justify-self: center;
    text-align: center;
  }

  .stats__item:nth-child(3),
  .stats__item:nth-child(4) {
    justify-content: flex-start;
  }
}

@media (max-width: 320px) {
  .header,
  .intro,
  .features,
  .stats,
  .analysis,
  .courses,
  .approach,
  .footer {
    padding-left: 12px;
    padding-right: 12px;
  }

  .intro__title {
    font-size: 24px;
  }

  .stats__value {
    font-size: 24px;
  }

  .course-card {
    padding: 16px;
  }

  .course-card__ill {
    width: 56px;
    height: 56px;
  }

  .feature__icon {
    width: 64px;
    height: 52px;
  }
}

