:root {
  --color-primary: #6328e8;
  --color-primary-light: #7a4cff;
  --color-primary-soft: #efe9ff;
  --color-violet: #8e2de2;
  --color-blue: #1232c7;
  --color-heading: #130b3f;
  --color-text: #24195f;
  --color-muted: #6b6394;
  --color-bg: #f8f5ff;
  --color-bg-soft: #fbfaff;
  --color-card: #ffffff;
  --color-border: #e4ddf7;
  --color-success: #14a38b;
  --color-warm: #f5a524;
  --shadow-soft: 0 24px 70px rgba(80, 45, 170, 0.14);
  --shadow-card: 0 14px 36px rgba(39, 20, 95, 0.09);
  --shadow-button: 0 16px 34px rgba(99, 40, 232, 0.28);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 44px;
  --font-main: Inter, Manrope, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --bg: var(--color-bg);
  --surface: var(--color-card);
  --surface-soft: var(--color-bg-soft);
  --surface-tint: var(--color-primary-soft);
  --text: var(--color-text);
  --muted: var(--color-muted);
  --line: rgba(228, 221, 247, 0.94);
  --brand: var(--color-primary);
  --brand-deep: var(--color-blue);
  --brand-bright: var(--color-primary-light);
  --cyan: var(--color-success);
  --amber: var(--color-warm);
  --danger: #b64b5b;
  --shadow: var(--shadow-soft);
  --soft-shadow: var(--shadow-card);
}

:root[data-theme="dark"] {
  --color-bg: #111024;
  --color-bg-soft: #17142d;
  --color-card: #201b3a;
  --color-heading: #ffffff;
  --color-text: #f2efff;
  --color-muted: #c9c2e8;
  --color-border: rgba(255, 255, 255, 0.14);
  --color-primary-soft: rgba(122, 76, 255, 0.18);
  --line: rgba(255, 255, 255, 0.14);
  --shadow-soft: 0 24px 70px rgba(0, 0, 0, 0.34);
  --shadow-card: 0 14px 36px rgba(0, 0, 0, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

:root[data-theme="dark"] {
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  background:
    radial-gradient(circle at 12% 8%, rgba(142, 45, 226, 0.16), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(99, 40, 232, 0.14), transparent 32%),
    radial-gradient(circle at 70% 90%, rgba(18, 50, 199, 0.1), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, var(--color-bg) 48%, #f0eaff 100%);
  background-attachment: fixed;
  line-height: 1.58;
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(circle at 12% 8%, rgba(142, 45, 226, 0.22), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(99, 40, 232, 0.18), transparent 32%),
    linear-gradient(180deg, #111024 0%, #18142f 55%, #100f21 100%);
}

a {
  color: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--color-heading);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 20px;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 780;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 760;
}

h3 {
  font-size: 21px;
  font-weight: 760;
}

p {
  color: var(--color-muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(228, 221, 247, 0.8);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(39, 20, 95, 0.05);
}

:root[data-theme="dark"] .site-header {
  background: rgba(17, 16, 36, 0.78);
}

.site-logo img,
.site-footer img {
  width: auto;
  height: 42px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 20px);
  font-size: 15px;
  font-weight: 720;
}

.site-nav a,
.link-button {
  color: var(--color-text);
  text-decoration: none;
  opacity: 0.78;
  transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.link-button:hover,
.text-link:hover {
  color: var(--color-primary);
  opacity: 1;
}

.site-nav .nav-login {
  color: var(--color-primary);
  opacity: 1;
}

.site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #6328e8 0%, #7a4cff 52%, #1232c7 100%);
  box-shadow: var(--shadow-button);
  font: inherit;
  font-size: 16px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  opacity: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.site-button:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(99, 40, 232, 0.34);
  filter: saturate(1.04);
}

.site-button.secondary {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.site-button.secondary:hover {
  color: var(--color-primary);
  border-color: rgba(99, 40, 232, 0.35);
}

.site-nav .nav-cta {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 15px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 460;
  white-space: nowrap;
}

.site-nav .nav-cta:hover {
  color: #ffffff;
}

.theme-toggle,
.menu-toggle,
.modal-close,
.link-button {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(122, 76, 255, 0.2);
  color: var(--color-primary);
  background: var(--color-primary-soft);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--color-heading);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.hero {
  min-height: calc(86svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 64px);
  padding-top: 56px;
  padding-bottom: 48px;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  content: "";
  display: block;
  width: 76px;
  height: 6px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-blue));
}

.hero-subtitle {
  max-width: 680px;
  color: var(--color-muted);
  font-size: clamp(18px, 2.1vw, 21px);
}

.hero-actions,
.faq-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.demo-note,
.fineprint,
.materials-note {
  margin-top: 16px;
  color: var(--color-muted);
  font-size: 15px;
}

.hero-showcase {
  position: relative;
  min-height: 520px;
  isolation: isolate;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 6% 4% 2% 6%;
  z-index: -1;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 0% 0%, rgba(142, 45, 226, 0.18), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(18, 50, 199, 0.13), transparent 42%),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(122, 76, 255, 0.18);
  box-shadow: var(--shadow-soft);
  transform: rotate(-2deg);
}

.hero-main-screen,
.hero-mini-screen,
.hero-metric,
.video-preview,
.cluster-hero img {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--color-card), var(--color-card)) padding-box,
    linear-gradient(135deg, rgba(99, 40, 232, 0.3), rgba(18, 50, 199, 0.12)) border-box;
  box-shadow: var(--shadow-soft);
}

.hero-main-screen {
  width: 92%;
  margin-left: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-xl);
  padding: 12px;
}

.hero-mini-screen {
  position: absolute;
  left: 0;
  bottom: 34px;
  width: min(48%, 320px);
  padding: 10px;
  border-radius: var(--radius-lg);
}

.hero-mini-screen img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 22px;
}

.hero-metric {
  position: absolute;
  right: 4px;
  bottom: 0;
  width: min(42%, 260px);
  padding: 20px;
  border-radius: var(--radius-lg);
}

.hero-metric span {
  display: block;
  color: var(--color-primary);
  font-size: 24px;
  font-weight: 850;
}

.hero-metric p {
  margin: 4px 0 0;
  color: var(--color-muted);
  font-size: 14px;
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-head p {
  margin-top: 14px;
  color: var(--color-muted);
  font-size: 18px;
}

.cards {
  display: grid;
  gap: 22px;
}

.cards.three,
.cards.tariffs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.feature-card,
.article-card,
.expert-card,
.tariff-card,
.empty-block,
.support-dialog,
.topic-chip {
  border: 1px solid rgba(228, 221, 247, 0.94);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

:root[data-theme="dark"] .feature-card,
:root[data-theme="dark"] .article-card,
:root[data-theme="dark"] .expert-card,
:root[data-theme="dark"] .tariff-card,
:root[data-theme="dark"] .empty-block,
:root[data-theme="dark"] .support-dialog,
:root[data-theme="dark"] .topic-chip {
  background: rgba(32, 27, 58, 0.88);
}

.feature-card:hover,
.article-card:hover,
.expert-card:hover,
.tariff-card:hover {
  transform: translateY(-4px);
  border-color: rgba(122, 76, 255, 0.34);
  box-shadow: 0 24px 56px rgba(80, 45, 170, 0.15);
}

.feature-card,
.article-card {
  padding: 22px;
  color: inherit;
  text-decoration: none;
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 18px;
  border-radius: 24px;
}

.article-card span,
.hub-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(122, 76, 255, 0.16);
  border-radius: 999px;
  background: var(--color-primary-soft);
  font-size: 13px;
}

.article-card span {
  display: flex;
  width: fit-content;
  margin-bottom: 24px;
  color: var(--color-muted);
  font-weight: 400;
}

.hub-pill {
  color: var(--color-primary);
  font-weight: 760;
}

.article-card p,
.feature-card p,
.tariff-card p,
.expert-card div,
.cluster-hero p,
.page-hero p,
.tariff-description,
.tariff-description li {
  color: var(--color-muted);
}

.band {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background:
    radial-gradient(circle at 8% 20%, rgba(142, 45, 226, 0.12), transparent 28%),
    radial-gradient(circle at 92% 70%, rgba(18, 50, 199, 0.09), transparent 32%),
    rgba(255, 255, 255, 0.46);
  border-top: 1px solid rgba(228, 221, 247, 0.66);
  border-bottom: 1px solid rgba(228, 221, 247, 0.66);
}

.training-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.training-flow::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 48px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light), var(--color-blue));
  opacity: 0.3;
}

.training-flow li {
  position: relative;
  min-height: 240px;
  padding: 24px;
  border: 1px solid rgba(122, 76, 255, 0.24);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0% 0%, rgba(142, 45, 226, 0.13), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(18, 50, 199, 0.1), transparent 38%),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 64px rgba(99, 40, 232, 0.12);
}

.training-flow span {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-blue));
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(99, 40, 232, 0.22);
  font-weight: 850;
}

.training-flow p {
  margin-bottom: 0;
}

.split-info,
.cluster-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: 38px;
  align-items: center;
}

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

.product-screens figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(var(--color-card), var(--color-card)) padding-box,
    linear-gradient(135deg, rgba(99, 40, 232, 0.24), rgba(18, 50, 199, 0.1)) border-box;
  box-shadow: var(--shadow-card);
}

.product-screens .directions-screen {
  grid-column: span 2;
}

.product-screens img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.product-screens figcaption {
  padding: 13px 16px;
  color: var(--color-heading);
  font-weight: 760;
}

.promo-section {
  padding-top: 34px;
}

.video-preview {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #0d1020;
}

.video-preview video {
  width: 100%;
  max-height: 680px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.expert-card,
.tariff-card,
.empty-block {
  padding: 26px;
}

.expert-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.expert-card img {
  grid-row: 1 / span 2;
  width: 116px;
  height: 116px;
  border: 4px solid rgba(122, 76, 255, 0.18);
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(39, 20, 95, 0.12);
}

.expert-card h3,
.expert-card div {
  grid-column: 2;
}

.expert-card h3 {
  margin-bottom: 10px;
}

.tariff-card {
  display: flex;
  flex-direction: column;
}

.tariff-card.is-featured {
  border-color: rgba(99, 40, 232, 0.44);
  box-shadow: 0 28px 70px rgba(99, 40, 232, 0.18);
  transform: translateY(-6px);
}

.tariff-card.is-featured::before {
  content: "Оптимальный выбор";
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 850;
}

.price {
  margin: 16px 0 20px;
  color: var(--color-heading);
  font-size: 40px;
  line-height: 1;
  font-weight: 850;
}

.tariff-description {
  margin-bottom: 20px;
}

.tariff-description ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.tariff-description li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.45;
}

.tariff-description li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: 900;
}

.tariff-card .site-button {
  margin-top: auto;
}

.telegram-band {
  padding: 44px;
  border: 1px solid rgba(122, 76, 255, 0.24);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0% 0%, rgba(142, 45, 226, 0.13), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(18, 50, 199, 0.1), transparent 38%),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 64px rgba(99, 40, 232, 0.12);
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--color-primary);
  font-weight: 760;
  text-decoration: none;
}

.faq details {
  padding: 18px 0;
  border-top: 1px solid var(--color-border);
}

.faq summary {
  color: var(--color-heading);
  cursor: pointer;
  font-size: 19px;
  font-weight: 560;
}

.faq details p {
  max-width: 820px;
  margin: 12px 0 0;
  color: var(--color-muted);
}

.site-footer {
  padding: 52px clamp(18px, 4vw, 56px);
  color: var(--color-muted);
  background: rgba(255, 255, 255, 0.56);
  border-top: 1px solid rgba(228, 221, 247, 0.8);
}

:root[data-theme="dark"] .site-footer {
  background: rgba(17, 16, 36, 0.62);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 30px;
  max-width: 1180px;
  margin: 0 auto;
}

.footer-grid h2 {
  font-size: 16px;
  font-weight: 760;
}

.footer-grid p {
  color: var(--color-muted);
}

.footer-grid a,
.footer-grid button {
  display: block;
  margin: 8px 0;
  color: var(--color-muted);
  text-align: left;
}

.footer-theme-toggle {
  margin-top: 14px;
}

.page-hero {
  padding-bottom: 34px;
}

.blog-search {
  display: flex;
  max-width: 720px;
  gap: 10px;
  margin-top: 26px;
}

.blog-search input,
.support-dialog input,
.support-dialog textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-card);
  color: var(--color-text);
  font: inherit;
  font-weight: 400;
}

.hub-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hub-filter a,
.hub-pill {
  border: 1px solid rgba(122, 76, 255, 0.16);
  border-radius: 999px;
  padding: 8px 12px;
  text-decoration: none;
}

.hub-filter a.active {
  background: var(--color-primary);
  color: #ffffff;
}

.breadcrumbs {
  margin-bottom: 20px;
  color: var(--color-muted);
  font-size: 14px;
}

.cluster-hero img {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-xl);
}

.article-shell {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 84px;
}

.article-header {
  margin-top: 26px;
  margin-bottom: 34px;
}

.article-header h1 {
  font-size: clamp(28px, 3.4vw, 40px);
}

.article-content {
  color: var(--color-text);
  font-size: 18px;
  line-height: 1.72;
}

.article-content h2,
.article-content h3,
.article-cta h2 {
  font-family: var(--font-main);
}

.article-content h2 {
  margin-top: 44px;
  margin-bottom: 28px;
  font-size: clamp(21px, 2.1vw, 27px);
}

.article-content h3 {
  margin-top: 30px;
  margin-bottom: 14px;
  font-size: clamp(20px, 2.1vw, 25px);
}

.article-content blockquote,
.article-content .ArticleCallout,
.article-content .MistakeBlock,
.article-content .BetterBlock,
.article-cta {
  margin: 28px 0;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.article-content blockquote,
.article-content .ArticleCallout,
.article-content .MistakeBlock,
.article-content .BetterBlock {
  font-style: italic;
}

.article-content blockquote p,
.article-content blockquote li {
  font-style: italic;
}

.article-content .MistakeBlock {
  border-color: rgba(182, 75, 91, 0.5);
}

.article-content .BetterBlock {
  border-color: rgba(20, 163, 139, 0.42);
}

.related {
  margin-top: 54px;
}

.related h2 {
  margin-bottom: 30px;
}

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

.topic-chip {
  min-height: 52px;
  padding: 13px 16px;
  color: var(--color-text);
  font: inherit;
  font-size: 15px;
  font-weight: 520;
  text-align: left;
  cursor: pointer;
}

.topic-chip:hover,
.topic-chip.is-active {
  color: #ffffff;
  border-color: rgba(99, 40, 232, 0.58);
  background: linear-gradient(135deg, var(--color-primary), var(--color-blue));
  box-shadow: 0 18px 42px rgba(99, 40, 232, 0.2);
}

.topic-article[hidden],
.topic-empty[hidden] {
  display: none;
}

.support-modal[hidden] {
  display: none;
}

.support-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
}

.support-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 15, 0.64);
}

.support-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  display: grid;
  gap: 14px;
  padding: 26px;
}

.support-dialog label {
  display: grid;
  gap: 6px;
  color: var(--color-heading);
  font-weight: 650;
}

.support-dialog span,
.support-result {
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 400;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  color: var(--color-heading);
  font-size: 26px;
}

@media (max-width: 1120px) {
  .site-nav {
    gap: 11px;
    font-size: 14px;
  }

  .site-nav .nav-cta {
    padding: 0 14px;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    border-bottom: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.96);
  }

  :root[data-theme="dark"] .site-nav {
    background: rgba(17, 16, 36, 0.96);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav button {
    margin: 4px 0;
  }

  .site-nav .nav-cta {
    justify-content: center;
    min-height: 50px;
    margin-top: 10px;
  }

  .hero,
  .split-info,
  .cluster-hero,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards.three,
  .cards.tariffs,
  .cards.experts,
  .training-flow,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-showcase {
    min-height: 430px;
  }

  .training-flow::before {
    display: none;
  }

  .tariff-card.is-featured {
    transform: none;
  }
}

@media (max-width: 620px) {
  .section {
    width: min(100% - 24px, 1180px);
    padding: 56px 0;
  }

  h1 {
    font-size: 32px;
  }

  .site-header {
    min-height: 68px;
  }

  .site-logo img {
    height: 36px;
  }

  .site-nav {
    top: 68px;
  }

  .blog-search,
  .hero-actions,
  .faq-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-showcase {
    min-height: 330px;
  }

  .hero-main-screen {
    width: 100%;
    border-radius: var(--radius-lg);
  }

  .hero-mini-screen,
  .hero-metric {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .product-screens {
    grid-template-columns: 1fr;
  }

  .product-screens figure:first-child {
    grid-column: auto;
  }

  .product-screens .directions-screen {
    grid-column: auto;
  }

  .expert-card {
    grid-template-columns: 1fr;
  }

  .expert-card img,
  .expert-card h3,
  .expert-card div {
    grid-column: auto;
    grid-row: auto;
  }

  .expert-card img {
    width: 96px;
    height: 96px;
  }

  .telegram-band {
    padding: 28px;
  }

  .site-button {
    width: 100%;
  }
}
