:root {
  --page-ink: #14213d;
  --page-muted: #5c6b82;
  --page-blue: #2563eb;
  --page-blue-dark: #1746b3;
  --page-blue-soft: #eef4ff;
  --page-green: #138a50;
  --page-line: #dfe7f2;
  --page-surface: #ffffff;
  --page-soft: #f5f8fc;
  --page-shadow: 0 20px 60px rgba(30, 64, 175, 0.1);
}

html {
  scroll-padding-top: 84px;
}

body {
  color: var(--page-ink);
  background: var(--page-surface);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  height: auto;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.3);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--page-ink);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.container {
  max-width: 1160px;
  padding-inline: 28px;
}

.site-header {
  border-color: rgba(223, 231, 242, 0.9);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 0 rgba(20, 33, 61, 0.02);
}

.nav {
  min-height: 72px;
}

.brand {
  letter-spacing: -0.02em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.18);
}

.nav-side {
  gap: 20px;
}

.nav-link,
.nav-dd summary {
  color: #3c4c66;
}

.button {
  min-height: 48px;
  border-radius: 13px;
  padding-inline: 20px;
  background: linear-gradient(135deg, #2c6cf2, #1f56d2);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  background: linear-gradient(135deg, #245fdf, #1746b3);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.27);
  transform: translateY(-1px);
}

.button.wa {
  background: #fff;
  color: #167a49;
  border: 1px solid #b9e4cd;
  box-shadow: 0 8px 22px rgba(19, 138, 80, 0.1);
}

.button.wa:hover {
  color: #0d683b;
  background: #f1fcf6;
  border-color: #74c99a;
  box-shadow: 0 12px 26px rgba(19, 138, 80, 0.15);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 76px 0 70px;
  background:
    radial-gradient(circle at 82% 26%, rgba(148, 190, 255, 0.33), transparent 28rem),
    radial-gradient(circle at 12% 86%, rgba(185, 228, 205, 0.2), transparent 23rem),
    linear-gradient(145deg, #f5f9ff 0%, #fff 60%, #f8fbff 100%);
  border-bottom: 1px solid #edf2f8;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 330px;
  height: 330px;
  top: -235px;
  left: 18%;
  border: 65px solid rgba(37, 99, 235, 0.045);
}

.hero::after {
  width: 190px;
  height: 190px;
  right: -120px;
  bottom: -100px;
  background: rgba(37, 99, 235, 0.05);
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(34px, 5vw, 70px);
}

.hero-grid > * {
  min-width: 0;
}

.crumbs {
  margin-bottom: 22px;
  color: #738198;
  font-size: 0.82rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 17px;
  padding: 5px 10px;
  border: 1px solid #cbdcff;
  border-radius: 999px;
  color: #1d55c5;
  background: rgba(238, 244, 255, 0.9);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

h1 {
  max-width: 790px;
  color: var(--page-ink);
  font-size: clamp(2.35rem, 5.4vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.lead {
  max-width: 760px;
  margin-top: 22px;
  color: #53647c;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.7;
}

.hero-actions {
  gap: 11px;
  margin-top: 30px;
}

.trust {
  display: inline-flex;
  align-items: center;
  max-width: 700px;
  margin-top: 20px;
  padding: 9px 13px;
  border: 1px solid rgba(203, 220, 255, 0.9);
  border-radius: 12px;
  color: #40516a;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.06);
  font-size: 0.86rem;
  line-height: 1.45;
}

.trust::before {
  content: "✓";
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 23px;
  height: 23px;
  margin-right: 9px;
  border-radius: 50%;
  color: #fff;
  background: var(--page-green);
  font-size: 0.76rem;
}

.hero-shot {
  position: relative;
  width: min(100%, 245px);
  margin-inline: auto;
  transform: rotate(1.2deg);
}

.hero-shot::before {
  position: absolute;
  z-index: -1;
  inset: 10% -14% -2%;
  content: "";
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.16);
  filter: blur(35px);
}

.hero-shot::after {
  position: absolute;
  right: -28px;
  bottom: 38px;
  content: "Работает прямо на смене";
  padding: 10px 13px;
  border: 1px solid rgba(223, 231, 242, 0.85);
  border-radius: 12px;
  color: #33445d;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 32px rgba(20, 33, 61, 0.16);
  font-size: 0.74rem;
  font-weight: 800;
  transform: rotate(-1.2deg);
}

.hero-shot img {
  display: block;
  height: auto;
  border: 7px solid #17243b;
  border-radius: 30px;
  box-shadow: 0 34px 75px rgba(20, 33, 61, 0.25);
}

.course-preview {
  position: relative;
  width: min(100%, 330px);
  margin-inline: auto;
  padding: 26px;
  border: 1px solid rgba(203, 220, 255, 0.95);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 34px 75px rgba(20, 33, 61, 0.17);
  transform: rotate(1deg);
}

.course-preview::before {
  position: absolute;
  z-index: -1;
  inset: 12% -12% -8%;
  content: "";
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.14);
  filter: blur(34px);
}

.course-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #63718a;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.course-preview-top b {
  color: #1d55c5;
  font-size: 0.9rem;
}

.course-progress {
  height: 8px;
  margin: 12px 0 24px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4ebf5;
}

.course-progress span {
  display: block;
  width: 75%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2c6cf2, #54a0ff);
}

.course-preview > p {
  margin: 0 0 16px;
  color: #1c2b46;
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.35;
}

.course-preview ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-preview li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 45px;
  padding: 8px 11px;
  border: 1px solid #e6ebf3;
  border-radius: 12px;
  color: #617088;
  background: #fafbfd;
  font-size: 0.86rem;
  font-weight: 700;
}

.course-preview li span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: #687790;
  background: #edf1f6;
  font-size: 0.68rem;
}

.course-preview li.done span {
  color: #147747;
  background: #e4f7ed;
}

.course-preview li.active {
  border-color: #bfd2fa;
  color: #244372;
  background: #f1f6ff;
}

.course-preview li.active span {
  color: #fff;
  background: #2c6cf2;
}

.course-preview small {
  display: block;
  margin-top: 17px;
  color: #758299;
  font-size: 0.76rem;
  text-align: center;
}

.section {
  padding: 72px 0;
}

.section.soft {
  background:
    linear-gradient(180deg, rgba(245, 248, 252, 0.65), #f5f8fc 45%, rgba(245, 248, 252, 0.72));
}

h2 {
  max-width: 820px;
  margin-bottom: 14px;
  color: var(--page-ink);
  font-size: clamp(1.75rem, 3.7vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.section-copy {
  max-width: 730px;
  margin-bottom: 34px;
  color: var(--page-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.cards,
.steps,
.nums,
.related {
  gap: 18px;
}

.card,
.step,
.num-card,
.client,
.related-card,
.scen details {
  border-color: var(--page-line);
  border-radius: 17px;
  box-shadow: 0 8px 30px rgba(20, 33, 61, 0.045);
}

.card,
.step,
.num-card {
  padding: 26px;
}

.card,
.step,
.related-card {
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.card:hover,
.step:hover,
.related-card:hover {
  border-color: #b7cdf8;
  box-shadow: var(--page-shadow);
  transform: translateY(-3px);
}

.card h3,
.step h3,
.num-card h3 {
  color: #1d2b45;
  letter-spacing: -0.015em;
}

.card p,
.step p,
.num-card p,
.related-card span,
.scen p,
.timeline p {
  color: var(--page-muted);
  line-height: 1.65;
}

.step::before {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(145deg, #3475f4, #1d55c5);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.2);
}

.checks {
  max-width: 940px;
  column-gap: 48px;
}

.checks li {
  padding: 9px 0 9px 38px;
  color: #3f5068;
}

.checks li::before {
  top: 7px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  color: #1b6a44;
  background: #e6f7ee;
  font-size: 0.78rem;
}

.cmp-wrap {
  border: 1px solid var(--page-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(20, 33, 61, 0.06);
}

.cmp {
  border: 0;
  border-radius: 0;
}

.cmp th,
.cmp td {
  padding: 16px 18px;
  border-color: #e8edf4;
}

.cmp th {
  color: #40516a;
  background: #f8fafc;
}

.cmp th:last-child {
  color: #1746b3;
  background: #eaf2ff;
}

.cmp td:last-child {
  color: #1b477f;
  background: #f4f8ff;
}

.timeline::before {
  background: #cbdcff;
}

.timeline li::before {
  background: #2c6cf2;
  box-shadow: 0 0 0 5px #e4edff;
}

.timeline b {
  color: #1d55c5;
}

.num-card b {
  color: #c23e3e;
  font-size: 2.15rem;
  letter-spacing: -0.04em;
}

.num-card.good b {
  color: #1d55c5;
}

.clients {
  gap: 12px;
}

.client {
  padding: 18px;
}

.scen details {
  margin-bottom: 12px;
  padding: 18px 21px;
}

.scen details[open] {
  border-color: #bdd1fb;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.08);
}

.scen summary {
  color: #263650;
  line-height: 1.45;
}

.scen summary::after {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 9px;
  color: #1d55c5;
  background: #eaf2ff;
}

.offer {
  position: relative;
  overflow: hidden;
  padding: 38px 40px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 10%, rgba(91, 142, 255, 0.33), transparent 15rem),
    linear-gradient(135deg, #14213d, #1c315b);
  box-shadow: 0 26px 70px rgba(20, 33, 61, 0.2);
}

.offer::after {
  position: absolute;
  right: -75px;
  bottom: -95px;
  width: 220px;
  height: 220px;
  border: 42px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

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

.offer b {
  display: block;
  max-width: 620px;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.offer p {
  max-width: 650px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
}

.offer .button {
  background: #fff;
  color: #1746b3;
  box-shadow: 0 10px 28px rgba(4, 14, 32, 0.22);
}

.offer .button:hover {
  color: #113889;
  background: #f4f7ff;
}

.offer .button.wa {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.offer .button.wa:hover {
  background: rgba(255, 255, 255, 0.17);
}

.faq-section {
  border-top: 1px solid #edf2f8;
  background:
    radial-gradient(circle at 15% 0%, rgba(219, 232, 255, 0.5), transparent 22rem),
    #fff;
}

.faq-list {
  max-width: 860px;
  margin-top: 32px;
}

.faq-list details {
  background: rgba(255, 255, 255, 0.92);
}

.related-card {
  min-height: 174px;
  padding: 24px;
}

.related-card b {
  font-size: 1.08rem;
}

.related-card i {
  color: #1d55c5;
}

.nav-dd-menu {
  border-color: var(--page-line);
  border-radius: 16px;
  box-shadow: 0 22px 55px rgba(20, 33, 61, 0.16);
}

.footer {
  padding-top: 52px;
  color: #77849a;
  background: #f8fafc;
}

.footer-cols {
  border-color: var(--page-line);
}

.footer-cols a {
  color: #42526a;
}

@media (max-width: 920px) {
  .hero {
    padding-block: 62px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 238px;
    gap: 34px;
  }

  .hero-shot {
    width: 218px;
  }

  .hero-shot::after {
    right: -10px;
  }
}

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

  .hero-shot {
    display: block;
    width: min(64vw, 220px);
    margin-top: 10px;
  }

  .course-preview {
    width: min(78vw, 320px);
    margin-top: 12px;
  }

  .hero-shot::after {
    right: -22px;
  }

  .nav-side {
    gap: 13px;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 18px;
  }

  .nav {
    min-height: 64px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .nav-side > .button {
    min-height: 40px;
    padding-inline: 13px;
    border-radius: 11px;
    font-size: 0.82rem;
  }

  .nav-dd summary {
    font-size: 0.88rem;
  }

  .hero {
    padding: 46px 0 54px;
  }

  h1 {
    font-size: clamp(2rem, 9.6vw, 2.65rem);
    line-height: 1.04;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-actions {
    gap: 9px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust {
    align-items: flex-start;
    font-size: 0.8rem;
  }

  .hero-shot {
    margin-top: 18px;
  }

  .course-preview {
    width: min(92vw, 320px);
    margin-top: 20px;
    padding: 22px;
  }

  .hero-shot::after {
    right: -12px;
    bottom: 24px;
  }

  .section {
    padding: 56px 0;
  }

  h2 {
    font-size: clamp(1.7rem, 8.3vw, 2.25rem);
  }

  .section-copy {
    margin-bottom: 26px;
    font-size: 0.96rem;
  }

  .card,
  .step,
  .num-card,
  .related-card {
    padding: 22px;
  }

  .cmp th,
  .cmp td {
    min-width: 150px;
    padding: 13px 14px;
    font-size: 0.86rem;
  }

  .cmp th:first-child,
  .cmp td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: 155px;
    background: #fff;
    box-shadow: 8px 0 14px rgba(20, 33, 61, 0.04);
  }

  .cmp th:first-child {
    z-index: 2;
    background: #f8fafc;
  }

  .offer {
    padding: 30px 24px;
  }

  .offer .hero-actions {
    width: 100%;
  }

  .scen details {
    padding: 16px 17px;
  }

  .footer {
    padding-top: 42px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
