:root {
  --page-bg: #f8fbff;
  --text: #07142f;
  --text-muted: #50607f;
  --blue: #2468f2;
  --cyan: #28c9d2;
  --border: rgba(63, 98, 156, 0.15);
  --card-bg: rgba(255, 255, 255, 0.78);
  --shadow-xs: 0 5px 18px rgba(21, 58, 122, 0.05);
  --shadow-sm: 0 12px 34px rgba(20, 56, 120, 0.08);
  --content-width: 1424px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--page-bg);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(850px 520px at 72% 19%, rgba(68, 135, 255, 0.13), transparent 65%),
    radial-gradient(620px 460px at 35% 34%, rgba(46, 201, 210, 0.055), transparent 72%),
    linear-gradient(180deg, #fff 0%, #f7fbff 49%, #fff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

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

svg {
  display: block;
  fill: currentColor;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 12px;
  color: #fff;
  background: var(--text);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(59, 93, 151, 0.12);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.header-inner {
  width: min(var(--content-width), calc(100% - 96px));
  height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 398px;
  align-items: center;
  gap: 24px;
}

.brand {
  width: 196px;
  display: inline-flex;
  align-items: center;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.brand:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.brand img {
  width: 196px;
  height: auto;
  display: block;
}

.desktop-nav {
  min-width: 0;
  display: flex;
  justify-content: center;
  gap: clamp(20px, 2.4vw, 38px);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.012em;
}

.desktop-nav a,
.header-login {
  position: relative;
  white-space: nowrap;
  color: #0c1731;
  transition: color 0.18s var(--ease);
}

.desktop-nav a::after,
.header-login::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s var(--ease);
}

.header-login::after {
  bottom: 2px;
}

.desktop-nav a:hover,
.header-login:hover {
  color: var(--blue);
}

.desktop-nav a:hover::after,
.header-login:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  font-size: 16px;
  font-weight: 650;
}

.header-login {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.button {
  min-height: 58px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -0.015em;
  transition:
    transform 0.24s var(--ease),
    box-shadow 0.24s var(--ease),
    border-color 0.24s var(--ease),
    background 0.24s var(--ease);
}

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

.button:active {
  transform: translateY(0);
}

.button .arrow {
  font-size: 20px;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 0.24s var(--ease);
}

.button:hover .arrow {
  transform: translate(4px, -1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #1f5ff2 0%, #237ff6 48%, #1f9df2 100%);
  box-shadow: 0 14px 32px rgba(35, 109, 242, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.button-primary:hover {
  box-shadow: 0 20px 42px rgba(35, 109, 242, 0.31), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(63, 98, 156, 0.16);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.button-secondary:hover {
  border-color: rgba(36, 104, 242, 0.28);
  box-shadow: var(--shadow-sm);
}

.header-start {
  width: 138px;
  min-width: 138px;
  min-height: 52px;
  padding: 0 18px;
  gap: 12px;
  font-size: 16px;
}

.button-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button-icon svg {
  width: 20px;
  height: 20px;
}

.mobile-menu {
  position: relative;
  z-index: 80;
  display: none;
}

.menu-button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  cursor: pointer;
  color: var(--text);
  border: 1px solid rgba(64, 97, 156, 0.16);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
}

.menu-button::-webkit-details-marker {
  display: none;
}

.menu-button:hover {
  color: var(--blue);
  border-color: rgba(36, 104, 242, 0.26);
  transform: translateY(-1px);
}

.burger-lines {
  width: 18px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger-lines span {
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.mobile-menu[open] .burger-lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu[open] .burger-lines span:nth-child(2) {
  opacity: 0;
}

.mobile-menu[open] .burger-lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(286px, calc(100vw - 28px));
  padding: 9px;
  border: 1px solid rgba(63, 98, 156, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(20, 56, 120, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.mobile-nav a {
  min-height: 46px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.015em;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease);
}

.mobile-nav a:hover {
  color: var(--blue);
  background: rgba(36, 104, 242, 0.07);
  transform: translateX(2px);
}

.level-page {
  flex: 1 0 auto;
}

.level-hero,
.level-content,
.level-process,
.level-final {
  width: min(var(--content-width), calc(100% - 96px));
  margin-right: auto;
  margin-left: auto;
}

.level-hero {
  padding: 48px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.62fr);
  align-items: center;
  gap: clamp(40px, 5vw, 78px);
}

.level-hero-copy {
  min-width: 0;
  max-width: 850px;
}

.hero-chips {
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chip {
  min-height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  color: var(--blue);
  border: 1px solid rgba(36, 104, 242, 0.2);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(38, 100, 219, 0.055), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.hero-chip-highlight {
  color: #168a45;
  border-color: rgba(15, 159, 69, 0.16);
  background: rgba(240, 252, 245, 0.82);
}

.level-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(52px, 5vw, 78px);
  line-height: 0.985;
  font-weight: 830;
  letter-spacing: -0.062em;
}

.level-note {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1.52;
  font-weight: 500;
  letter-spacing: -0.018em;
}

.level-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.level-actions .button {
  min-width: 212px;
}

.level-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  position: relative;
  min-height: 150px;
  padding: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--card-bg);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(180px 120px at 86% 0%, rgba(36, 104, 242, 0.08), transparent 72%);
  pointer-events: none;
}

.stat-card span,
.stat-card strong {
  position: relative;
  z-index: 1;
}

.stat-card span {
  color: #2457e6;
  font-size: 42px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.055em;
}

.stat-card strong {
  font-size: 17px;
  line-height: 1.25;
  font-weight: 820;
  letter-spacing: -0.025em;
}

.level-content {
  padding: 30px 0 50px;
}

.section-heading {
  margin-bottom: 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.section-heading.centered {
  max-width: 850px;
  margin-right: auto;
  margin-left: auto;
  display: block;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 2.7vw, 46px);
  line-height: 1.05;
  font-weight: 830;
  letter-spacing: -0.045em;
}

.section-heading p {
  max-width: 620px;
  margin: 0;
  color: var(--text-muted);
  text-align: right;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 580;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.module-card {
  min-height: 190px;
  padding: 22px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--card-bg);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s var(--ease), background 0.24s var(--ease);
}

.module-card:hover {
  border-color: rgba(36, 104, 242, 0.25);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(20, 56, 120, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(-3px);
}

.module-number {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #1f5ff2;
  border: 1px solid rgba(36, 104, 242, 0.16);
  border-radius: 20px;
  background: linear-gradient(180deg, #edf5ff, #e4efff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 10px 28px rgba(30, 88, 184, 0.07);
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.module-number.violet {
  color: #7754f3;
  border-color: rgba(119, 84, 243, 0.18);
  background: linear-gradient(180deg, #f2eaff, #ece2ff);
}

.module-number.green {
  color: #15934c;
  border-color: rgba(15, 159, 69, 0.16);
  background: linear-gradient(180deg, #e7fbef, #def6e7);
}

.module-card h3 {
  margin: 1px 0 10px;
  font-size: 22px;
  line-height: 1.12;
  font-weight: 830;
  letter-spacing: -0.04em;
}

.module-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.48;
  font-weight: 560;
}

.module-meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.module-meta span {
  min-height: 29px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  color: var(--text-muted);
  border: 1px solid rgba(63, 98, 156, 0.1);
  border-radius: 999px;
  background: rgba(245, 248, 255, 0.82);
  font-size: 12px;
  font-weight: 720;
}

.more-modules {
  margin-top: 18px;
}

.more-modules summary {
  width: fit-content;
  min-height: 44px;
  margin: 0 auto 18px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  cursor: pointer;
  color: var(--blue);
  border: 1px solid rgba(36, 104, 242, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, 0.96);
  font-size: 14px;
  font-weight: 780;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), background 0.22s var(--ease);
}

.more-modules summary::-webkit-details-marker {
  display: none;
}

.more-modules summary:hover {
  border-color: rgba(36, 104, 242, 0.28);
  background: rgba(255, 255, 255, 0.94);
  transform: translateY(-1px);
}

.more-modules .hide-label,
.more-modules[open] .show-label {
  display: none;
}

.more-modules[open] .hide-label {
  display: inline;
}

.level-process {
  padding-bottom: 52px;
}

.process-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-step {
  min-height: 130px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--card-bg);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.process-step span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #1f5ff2;
  border: 1px solid rgba(36, 104, 242, 0.16);
  border-radius: 14px;
  background: linear-gradient(180deg, #edf5ff, #e4efff);
  font-size: 15px;
  font-weight: 850;
}

.process-step strong {
  font-size: 17px;
  line-height: 1.2;
  font-weight: 820;
  letter-spacing: -0.025em;
}

.level-final {
  position: relative;
  margin-bottom: 54px;
  padding: clamp(30px, 3.3vw, 44px);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  border: 1px solid rgba(71, 105, 160, 0.16);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(246, 250, 255, 0.84));
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.level-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 220px at 88% 20%, rgba(36, 104, 242, 0.09), transparent 70%);
  pointer-events: none;
}

.level-final > * {
  position: relative;
  z-index: 1;
}

.level-final h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 2.65vw, 44px);
  line-height: 1.05;
  font-weight: 830;
  letter-spacing: -0.045em;
}

.level-final p {
  max-width: 760px;
  margin: 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 560;
}

.final-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.final-actions .button {
  min-width: 184px;
}

.site-footer {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.52);
}

.footer-inner {
  width: min(var(--content-width), calc(100% - 96px));
  margin: 0 auto;
  padding: 18px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.footer-note {
  min-width: 250px;
  display: flex;
  align-items: baseline;
  gap: 13px;
  color: #6f7f9b;
}

.copyright,
.footer-note p {
  margin: 0;
  white-space: nowrap;
  color: #6f7f9b;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 650;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--blue);
  transform: translateY(-1px);
}

.socials {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.social-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #31415f;
  border: 1px solid rgba(63, 98, 156, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
}

.social-icon svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 1360px) {
  .level-hero,
  .level-content,
  .level-process,
  .level-final {
    width: min(100% - 48px, var(--content-width));
  }

  .level-hero {
    gap: 56px;
  }

  .level-hero h1 {
    font-size: clamp(48px, 4.8vw, 64px);
  }

  .stat-card {
    min-height: 134px;
  }
}

@media (max-width: 1260px) {
  .header-inner {
    width: min(100% - 40px, var(--content-width));
    height: 72px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
  }

  .brand,
  .brand img {
    width: 160px;
  }

  .desktop-nav,
  .header-start {
    display: none;
  }

  .mobile-menu {
    display: block;
  }
}

@media (max-width: 1080px) {
  .level-hero {
    max-width: 920px;
    grid-template-columns: 1fr;
  }

  .level-hero-copy {
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
  }

  .hero-chips,
  .level-actions {
    justify-content: center;
  }

  .level-note {
    margin-inline: auto;
  }

  .level-stats {
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
  }

  .section-heading {
    display: block;
    text-align: center;
  }

  .section-heading p {
    margin: 12px auto 0;
    text-align: center;
  }

  .modules-grid,
  .process-grid {
    max-width: 820px;
    margin-right: auto;
    margin-left: auto;
  }

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

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

  .level-final {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .level-final p {
    margin-inline: auto;
  }
}

@media (max-width: 900px) {
  .button {
    min-height: 54px;
    padding-right: 22px;
    padding-left: 22px;
    font-size: 16px;
  }

  .level-hero,
  .level-content,
  .level-process,
  .level-final {
    width: min(100% - 28px, 760px);
  }

  .level-hero {
    padding-top: 30px;
    padding-bottom: 34px;
    gap: 28px;
  }

  .level-hero h1 {
    font-size: clamp(42px, 8.4vw, 60px);
  }

  .level-note {
    font-size: 18px;
  }

  .hero-chips {
    margin-bottom: 24px;
  }

  .hero-chip {
    min-height: 34px;
    padding: 0 12px;
    font-size: 13.5px;
  }

  .module-card {
    padding: 22px;
    border-radius: 24px;
  }

  .level-final {
    margin-bottom: 34px;
  }

  .footer-inner {
    width: min(100% - 28px, 720px);
    padding: 22px 0 26px;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .socials {
    order: 1;
  }

  .footer-links {
    order: 2;
    justify-content: flex-start;
  }

  .footer-note {
    min-width: 0;
    order: 3;
  }

  .footer-note p {
    order: -1;
    line-height: 1;
  }
}

@media (max-width: 760px) {
  .level-hero {
    padding-top: 28px;
  }
}

@media (max-width: 700px) {
  .mobile-menu {
    position: static;
  }

  .site-header:has(.mobile-menu[open]) {
    padding-bottom: 322px;
  }

  .mobile-nav {
    position: absolute;
    top: 82px;
    right: 14px;
    left: 14px;
    width: auto;
    padding: 0;
    display: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .mobile-menu[open] .mobile-nav {
    display: grid;
    gap: 10px;
  }

  .mobile-nav a {
    min-height: 50px;
    padding: 0 18px;
    color: var(--text-muted);
    border: 1px solid rgba(63, 98, 156, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, 0.96);
    font-size: 17px;
    font-weight: 760;
  }
}

@media (max-width: 640px) {
  .level-hero h1 {
    font-size: clamp(38px, 11.4vw, 50px);
    line-height: 1.02;
  }

  .level-note {
    font-size: 17px;
    line-height: 1.54;
  }

  .level-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .level-actions .button {
    width: 100%;
    min-width: 0;
  }

  .level-stats {
    gap: 12px;
  }

  .stat-card {
    min-height: 116px;
    padding: 18px;
    border-radius: 22px;
  }

  .stat-card span {
    font-size: 34px;
  }

  .stat-card strong {
    font-size: 15px;
  }

  .level-content {
    padding-bottom: 38px;
  }

  .module-card {
    min-height: 0;
    padding: 18px;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
  }

  .module-number {
    width: 50px;
    height: 50px;
    border-radius: 17px;
    font-size: 20px;
  }

  .module-card h3 {
    font-size: 20px;
  }

  .module-card p {
    font-size: 14.5px;
  }

  .module-meta span {
    font-size: 11.5px;
  }

  .section-heading h2 {
    font-size: 29px;
  }

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

  .process-step {
    min-height: 82px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    justify-content: start;
    column-gap: 14px;
    text-align: left;
  }

  .level-final {
    padding: 24px 18px;
    border-radius: 26px;
  }

  .level-final h2 {
    font-size: 28px;
  }

  .level-final p {
    font-size: 16px;
  }

  .final-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .final-actions .button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .header-inner {
    width: calc(100% - 20px);
    height: 64px;
    gap: 8px;
  }

  .brand,
  .brand img {
    width: 132px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-login {
    min-height: 36px;
    font-size: 13.5px;
    line-height: 1;
  }

  .menu-button {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    border-radius: 12px;
  }

  .burger-lines {
    width: 17px;
    height: 13px;
  }

  .mobile-nav {
    top: 72px;
  }

  .site-header:has(.mobile-menu[open]) {
    padding-bottom: 304px;
  }

  .footer-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .footer-note p {
    white-space: normal;
    line-height: 1.35;
  }

  .footer-links {
    gap: 9px 16px;
  }
}

@media (max-width: 380px) {
  .header-inner {
    width: calc(100% - 18px);
    height: 62px;
    gap: 6px;
  }

  .brand,
  .brand img {
    width: 118px;
  }

  .header-actions {
    gap: 5px;
  }

  .header-login {
    min-height: 34px;
    font-size: 13px;
  }

  .menu-button {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    border-radius: 11px;
  }

  .mobile-nav {
    top: 68px;
    right: 10px;
    left: 10px;
  }

  .site-header:has(.mobile-menu[open]) {
    padding-bottom: 294px;
  }
}

@media (max-width: 360px) {
  .level-hero h1 {
    font-size: 35px;
  }

  .hero-chips {
    gap: 8px;
  }

  .hero-chip {
    font-size: 13px;
  }

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

  .module-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .module-number {
    margin-inline: auto;
  }

  .module-meta {
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}
