﻿:root {
  --ink: #071c5f;
  --ink-soft: #50628c;
  --blue: #0b5cff;
  --blue-dark: #06296f;
  --blue-deep: #041d55;
  --line: #dfe8f4;
  --surface: #ffffff;
  --surface-soft: #f6f9fe;
  --red: #f0141e;
  --green: #16c978;
  --shadow: 0 18px 48px rgba(7, 28, 95, .11);
  --soft-shadow: 0 10px 28px rgba(7, 28, 95, .08);
  --radius: 8px;
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.resource-home {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(360px, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 1.5vw, 28px);
  min-height: 88px;
  padding: 12px clamp(24px, 3vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
  padding-right: clamp(8px, .75vw, 14px);
  border-right: 1px solid #cfd9ea;
  font-weight: 700;
  line-height: 1.2;
  color: #113377;
}

.site-brand img {
  width: clamp(180px, 11.5vw, 218px);
  height: auto;
  display: block;
}

.site-brand span {
  width: 178px;
  max-width: 178px;
  min-height: 42px;
  display: flex;
  align-items: center;
  padding-left: 13px;
  border-left: 1px solid #cfd9ea;
  font-size: 13px;
  font-weight: 700;
  white-space: normal;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  gap: clamp(12px, .85vw, 18px);
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
}

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

.site-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
}

.login-button,
.primary-action,
.secondary-action,
.cta-section a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: var(--radius);
  font-weight: 900;
}

.login-button {
  min-width: 86px;
  min-height: 54px;
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(180deg, #0b64ff, #0045dc);
  box-shadow: var(--soft-shadow);
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(500px, .58fr) minmax(0, 1.42fr);
  gap: clamp(30px, 2.4vw, 48px);
  align-items: start;
  padding: 14px clamp(28px, 3.4vw, 58px) 42px;
  overflow: visible;
}

.hero-section::before {
  content: none;
}

.hero-copy,
.hero-preview {
  width: 100%;
  max-width: var(--hero-max-width, 1100px);
  justify-self: end;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-copy h1 {
  margin: 0 0 15px;
  font-size: clamp(46px, 2.95vw, 60px);
  line-height: 1.12;
  letter-spacing: 0;
  color: var(--ink);
}

.hero-copy h1::after {
  content: "";
  display: block;
  width: 54px;
  height: 5px;
  margin-top: 13px;
  background: var(--red);
}

.hero-copy p {
  max-width: 560px;
  margin: 0;
  font-size: clamp(20px, 1.22vw, 24px);
  line-height: 1.45;
  color: #21396f;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
  margin-top: 20px;
}

.primary-action {
  width: 194px;
  min-width: 194px;
  min-height: 56px;
  padding: 0;
  color: transparent;
  background: transparent url("/assets/buttons/home/login_to_platform_normal.png") center / contain no-repeat;
  box-shadow: none;
}

.secondary-action {
  width: 227px;
  min-width: 227px;
  min-height: 56px;
  padding: 0;
  border: 0;
  color: transparent;
  background: transparent url("/assets/buttons/home/how_learning_works_normal.png") center / contain no-repeat;
}

.primary-action:hover {
  background-image: url("/assets/buttons/home/login_to_platform_hover.png");
}

.primary-action:active {
  background-image: url("/assets/buttons/home/login_to_platform_pressed.png");
}

.secondary-action:hover {
  background-image: url("/assets/buttons/home/how_learning_works_hover.png");
}

.secondary-action:active {
  background-image: url("/assets/buttons/home/how_learning_works_pressed.png");
}

.quick-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(88px, 1fr));
  gap: 20px;
  max-width: 520px;
  margin-top: 28px;
}

.quick-features div {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  color: #334978;
  font-size: 13px;
  line-height: 1.18;
}

.quick-features span,
.benefit-grid span,
.audience-grid span {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  color: var(--blue);
  background: #f0f6ff;
  box-shadow: inset 0 0 0 1px #dbe8ff;
  font-size: 28px;
  font-weight: 900;
}

.quick-features img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.hero-preview {
  width: 100%;
  max-width: var(--hero-max-width, 1100px);
  justify-self: end;
  border: 1px solid #d7e4f4;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
}

.hero-preview-image {
  position: relative;
  aspect-ratio: var(--hero-aspect-ratio, 1.65 / 1);
  display: grid;
  background: #fff;
}

.hero-preview-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.hero-preview-image.is-cover-mode img {
  object-fit: cover;
}

.hero-preview-image [data-hero-frame] {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateX(0);
  transition: opacity .7s ease, transform .7s ease;
}

.hero-preview-image [data-hero-frame].is-active {
  opacity: 1;
  z-index: 1;
}

.hero-preview-image.is-slide-mode [data-hero-frame] {
  transform: translateX(24px);
}

.hero-preview-image.is-slide-mode [data-hero-frame].is-active {
  transform: translateX(0);
}

.preview-top {
  display: grid;
  grid-template-columns: .9fr .55fr .55fr 1.8fr;
  gap: 1px;
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.preview-top div {
  min-height: 88px;
  padding: 20px 18px 16px;
  background: #fff;
}

.preview-top small,
.word-card small {
  display: block;
  margin-bottom: 8px;
  color: #607096;
  font-size: 11px;
  font-weight: 900;
}

.preview-top strong {
  display: block;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.25;
}

.preview-body {
  display: grid;
  grid-template-columns: minmax(170px, .92fr) minmax(175px, .8fr) minmax(170px, .64fr);
  gap: 12px;
  padding: 12px;
  background: linear-gradient(180deg, #fbfdff, #f6faff);
}

.preview-cards {
  display: grid;
  gap: 12px;
}

.word-card {
  min-height: 82px;
  padding: 15px 16px;
  border: 1px solid #dde8f5;
  border-radius: var(--radius);
  background: #fff;
}

.word-card.lead {
  display: grid;
  place-items: center;
  min-height: 120px;
  text-align: center;
  background: linear-gradient(180deg, #fff, #f7fbff);
}

.word-card strong {
  display: block;
  font-size: clamp(22px, 1.8vw, 30px);
}

.word-card.lead strong { font-size: clamp(28px, 2.3vw, 36px); }
.word-card.soft-red {
  border-color: #ffd8d8;
  background: #fff7f7;
  color: #d3131b;
}

.preview-media {
  display: grid;
  grid-template-rows: minmax(230px, 1fr) auto auto;
  gap: 12px;
  min-height: 390px;
  overflow: hidden;
  border-radius: var(--radius);
  background: transparent;
}

.preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 245px;
  border: 1px solid #dbe8f7;
  border-radius: var(--radius);
}

.preview-comment,
.preview-play-row > div {
  border: 1px solid #dfe8f4;
  border-radius: var(--radius);
  background: #fff;
}

.preview-comment {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 16px;
  color: #607096;
  font-size: 12px;
  font-weight: 800;
}

.preview-comment:first-letter {
  color: var(--blue);
}

.preview-play-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.preview-play-row > div {
  display: grid;
  gap: 7px;
  min-height: 72px;
  padding: 11px 13px;
}

.preview-play-row small {
  justify-self: start;
  padding: 4px 9px;
  border-radius: 7px;
  color: #5f6570;
  background: #edf0f3;
  font-size: 10px;
  font-weight: 900;
}

.preview-play-row b {
  color: #29447e;
  font-size: 10px;
  line-height: 1.2;
}

.preview-panel {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(180deg, #064bb8, #041f59);
}

.preview-panel img {
  width: 135px;
  justify-self: center;
  margin-bottom: 10px;
}

.preview-panel h3 {
  margin: 8px 0 2px;
  font-size: 12px;
  letter-spacing: 0;
}

.preview-panel button,
.preview-panel .pager {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, .12);
  font-size: 11px;
  font-weight: 900;
}

.preview-panel .pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font-size: 16px;
}

.preview-panel button.active {
  background: linear-gradient(180deg, #1c7bff, #0053ef);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}

section h2 {
  margin: 0 0 34px;
  text-align: center;
  font-size: clamp(28px, 2.15vw, 38px);
  line-height: 1.2;
  color: var(--ink);
}

.language-section,
.benefits-section,
.audience-section,
.trust-section,
.company-section {
  padding: 48px clamp(24px, 4.6vw, 80px);
  border-top: 1px solid var(--line);
}

.language-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  gap: clamp(16px, 1.5vw, 24px);
  align-items: center;
  max-width: 1360px;
  margin: 0 auto;
}

.language-row button,
.company-row button {
  width: 40px;
  height: 40px;
  border: 0;
  color: #8aa1c9;
  background: transparent;
  font-size: 32px;
}

.language-viewport {
  overflow: hidden;
}

.language-track {
  --language-gap: clamp(18px, 1.8vw, 28px);
  --visible-languages: 7;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--visible-languages) - 1) * var(--language-gap)) / var(--visible-languages));
  gap: var(--language-gap);
  transition: transform .45s ease;
  will-change: transform;
}

.language-track div {
  display: grid;
  justify-items: center;
  gap: 10px;
  font-size: 14px;
  color: #263d73;
}

.language-track span {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.language-track span img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.site-actions {
  position: relative;
}

.home-nav-wrap {
  position: relative;
  display: inline-flex;
}

.home-nav-button,
.home-help-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 118px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #cbd9ef;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  transition: background .14s ease, border-color .14s ease, box-shadow .14s ease, transform .12s ease;
}

.home-nav-button:hover,
.home-nav-button:focus-visible,
.home-help-button:hover,
.home-help-button:focus-visible {
  background: #f7fbff;
  border-color: #abc4ee;
  box-shadow: 0 8px 18px rgba(7, 28, 95, .08);
  outline: none;
}

.home-nav-button:active,
.home-help-button:active {
  transform: translateY(1px);
  background: #eef5ff;
}

.home-navigation-menu {
  position: absolute;
  z-index: 1200;
  top: calc(100% + 10px);
  right: 0;
  width: min(360px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid #bed4f8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 44px rgba(0, 35, 105, .16);
}

.home-navigation-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: #082b73;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}

.home-navigation-menu a:hover,
.home-navigation-menu a:focus-visible {
  background: #eef5ff;
  color: #0057ff;
}

.home-nav-grid {
  width: 22px;
  height: 22px;
  display: grid;
  grid-template-columns: repeat(3, 4px);
  grid-auto-rows: 4px;
  gap: 3px;
  place-content: center;
}

.home-nav-grid i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  display: block;
}

.home-help-icon {
  width: 22px;
  height: 22px;
  border: 1.6px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  line-height: 1;
}

.home-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  min-width: 100px;
  height: 39px;
  min-height: 39px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(180deg, #0b67ff 0%, #0351df 100%);
  box-shadow: 0 12px 26px rgba(11, 92, 255, .18);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.home-login-button.signed-in {
  max-width: 134px;
}

.home-login-button.signed-in span {
  max-width: 104px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-login-button:hover {
  background: linear-gradient(180deg, #1b72ff 0%, #0b54df 100%);
}

.home-login-button:active,
.home-login-button[aria-expanded="true"] {
  background: linear-gradient(180deg, #073fba 0%, #062f91 100%);
  transform: translateY(1px);
}

.home-lang-button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.home-login-button span {
  display: block;
  transform: translateY(-1px);
}

.language-switcher {
  position: relative;
  display: inline-flex;
}

.home-lang-button {
  width: 76px;
  height: 19px;
  padding: 0;
  border: 0;
  background: transparent center / contain no-repeat;
}

.home-lang-ru {
  background-image: url("/assets/buttons/home/RU_01.png");
}

.home-lang-ru:hover,
.language-switcher.is-open .home-lang-ru {
  background-image: url("/assets/buttons/home/RU_02.png");
}

.home-lang-ru:active {
  background-image: url("/assets/buttons/home/RU_03.png");
}

.home-lang-en {
  background-image: url("/assets/buttons/home/EN_01.png");
}

.home-lang-en:hover,
.language-switcher.is-open .home-lang-en {
  background-image: url("/assets/buttons/home/EN_02.png");
}

.home-lang-en:active {
  background-image: url("/assets/buttons/home/EN_03.png");
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 45;
  width: 138px;
  padding: 6px;
  border: 1px solid #b9d2ff;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(7, 28, 95, .15);
}

.language-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 18px;
  width: 10px;
  height: 10px;
  border-left: 1px solid #b9d2ff;
  border-top: 1px solid #b9d2ff;
  background: #fff;
  transform: rotate(45deg);
}

.language-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  color: var(--ink);
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
}

.language-menu button:hover,
.language-menu button:focus-visible {
  background: #edf5ff;
  outline: none;
}

.language-menu b {
  color: #60708f;
  font-size: 15px;
  font-weight: 600;
}

.auth-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 50;
  width: 310px;
}

.home-account-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 52;
  width: 260px;
  padding: 14px;
  border: 1px solid #d7e4f5;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 18px 52px rgba(7, 28, 95, .16);
}

.home-account-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 28px;
  width: 16px;
  height: 16px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: -4px -4px 10px rgba(7, 28, 95, .06);
}

.home-account-menu .account-menu-user {
  display: grid;
  gap: 4px;
  padding: 2px 6px 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid #e3ebf7;
}

.home-account-menu .account-menu-user b {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.home-account-menu .account-menu-user span {
  color: #506a96;
  font-size: 13px;
}

.home-account-menu a,
.home-account-menu button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  padding: 0 10px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
}

.home-account-menu a:hover,
.home-account-menu button:hover,
.home-account-menu a:focus-visible,
.home-account-menu button:focus-visible {
  background: #eef5ff;
  outline: none;
}

.home-account-menu .danger {
  color: #e01422;
  border-top: 1px solid #e3ebf7;
  margin-top: 8px;
}

.auth-popover::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 28px;
  width: 16px;
  height: 16px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: -4px -4px 10px rgba(7, 28, 95, .06);
}

.auth-card,
.register-modal {
  color: var(--ink);
  background: #fff;
  border: 1px solid #d9e4f4;
  border-radius: 8px;
  box-shadow: 0 18px 52px rgba(7, 28, 95, .16);
}

.auth-card {
  position: relative;
  display: grid;
  gap: 13px;
  padding: 24px 24px 20px;
}

.auth-card h2,
.register-modal h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.auth-card label,
.register-modal label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
}

.auth-card input,
.register-modal input,
.register-modal select {
  width: 100%;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid #cdd8e8;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 600;
}

.auth-card input:focus,
.register-modal input:focus,
.register-modal select:focus {
  border-color: #0b5cff;
  box-shadow: 0 0 0 3px rgba(11, 92, 255, .12);
  outline: none;
}

.auth-card input::placeholder,
.register-modal input::placeholder {
  color: #94a3bd;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 42px;
}

.password-field button {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: 0;
  color: #6b7894;
  background: transparent;
  font-size: 15px;
}

.forgot-link {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.auth-submit {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(180deg, #0b64ff, #004ee9);
  font-weight: 900;
}

.auth-submit:hover {
  filter: brightness(1.04);
}

.auth-submit:active {
  transform: translateY(1px);
}

.auth-card p,
.register-switch {
  margin: 0;
  color: #53617f;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.auth-card p button,
.register-switch button {
  border: 0;
  color: var(--blue);
  background: transparent;
  font-weight: 900;
}

.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: start center;
  padding: 86px 24px 40px;
  background: rgba(11, 20, 45, .58);
  backdrop-filter: blur(4px);
  overflow: auto;
}

.auth-modal-backdrop[hidden],
.auth-popover[hidden],
.language-menu[hidden] {
  display: none;
}

.register-modal {
  position: relative;
  width: min(540px, 100%);
  padding: 26px 28px 24px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 28px;
  height: 28px;
  border: 0;
  color: #4f6185;
  background: transparent;
  font-size: 26px;
  line-height: 1;
}

.register-modal > p {
  margin: 8px 0 22px;
  color: #34466b;
  font-size: 14px;
  font-weight: 700;
}

.register-modal form {
  display: grid;
  gap: 15px;
}

.register-modal fieldset {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.register-modal legend {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 900;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.form-grid.two,
.phone-row {
  grid-template-columns: repeat(2, 1fr);
}

.phone-row {
  display: grid;
  gap: 10px;
  align-items: end;
}

.verification-code-row {
  grid-column: 1 / -1;
}

.verification-code-row small {
  display: block;
  margin-top: 6px;
  color: #0057ff;
  font-weight: 800;
}

.phone-input {
  position: relative;
}

.phone-input span {
  position: absolute;
  left: 12px;
  bottom: 11px;
  font-size: 13px;
  font-weight: 900;
}

.phone-input input {
  padding-left: 42px;
}

.whatsapp-button {
  min-height: 42px;
  border: 1px solid #10b85a;
  border-radius: 6px;
  color: #0a9c48;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.register-modal small {
  color: #6c7a98;
  font-size: 12px;
  font-weight: 600;
}

.terms {
  display: block;
  text-align: center;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 42px 70px;
  max-width: 1360px;
  margin: 0 auto;
}

.benefit-grid article {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: start;
}

.benefit-grid h3,
.audience-grid h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.benefit-grid p,
.audience-grid p,
.review-grid p,
.site-footer p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.audience-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 36px;
  max-width: 1360px;
  margin: 0 auto;
}

.audience-grid article,
.review-grid article {
  padding: 32px;
  border: 1px solid #e5edf7;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff, #f8fbff);
  box-shadow: var(--soft-shadow);
}

.audience-grid article {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  column-gap: 18px;
}

.audience-grid p {
  grid-column: 2;
}

.review-grid {
  grid-template-columns: repeat(4, minmax(220px, 1fr));
}

.review-grid b {
  display: block;
  margin-bottom: 18px;
  color: #049b62;
}

.review-grid small {
  display: block;
  margin-top: 22px;
  color: #233d72;
  font-weight: 700;
}

.cta-section {
  max-width: calc(100% - clamp(48px, 9.2vw, 160px));
  margin: 30px auto 48px;
  padding: 46px 40px 50px;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  background: linear-gradient(115deg, #6c18f5, #006fff 70%, #0077ff);
  box-shadow: var(--shadow);
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: clamp(50px, 8vw, 150px);
  margin-bottom: 28px;
}

.stats-row strong {
  display: grid;
  gap: 4px;
  font-size: 34px;
}

.stats-row span {
  font-size: 13px;
  font-weight: 700;
  opacity: .9;
}

.cta-section h2 {
  margin-bottom: 14px;
  color: #fff;
}

.cta-section p {
  margin: 0 0 26px;
  font-size: 18px;
}

.cta-section a {
  min-width: 250px;
  padding: 0 36px;
  color: #042960;
  background: var(--green);
}

.company-row {
  display: grid;
  grid-template-columns: 40px repeat(6, 1fr) 40px;
  align-items: center;
  gap: 28px;
  max-width: 1360px;
  margin: 0 auto;
}

.company-row b {
  text-align: center;
  color: #6a7282;
  font-size: clamp(28px, 2vw, 40px);
  filter: grayscale(1);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 36px;
  padding: 42px clamp(24px, 4.6vw, 80px) 0;
  border-top: 1px solid var(--line);
  background: #f8fbff;
}

.footer-brand img {
  width: 190px;
  display: block;
  margin-bottom: 16px;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 12px;
}

.site-footer h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.site-footer a {
  color: #53658d;
  font-weight: 700;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: #647394;
  font-size: 13px;
}

@media (max-width: 1350px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: center;
    order: 3;
  }

  .hero-copy {
    max-width: 900px;
  }
}

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

  .preview-body {
    grid-template-columns: 1fr;
  }

  .preview-media {
    min-height: 320px;
  }

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

  .preview-panel img,
  .preview-panel h3 {
    display: none;
  }

  .language-row {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 12px;
  }

  .language-track {
    --visible-languages: 2;
  }

  .language-track span {
    width: 76px;
    height: 76px;
  }

  .language-row button {
    width: 32px;
    height: 32px;
    font-size: 24px;
  }

  .benefit-grid,
  .audience-grid,
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }

  .company-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .company-row button {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    display: flex;
    flex-wrap: wrap;
    min-height: auto;
  }

  .site-brand span,
  .site-nav {
    display: none;
  }

  .site-actions {
    margin-left: auto;
  }

  .hero-section {
    padding-top: 24px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .quick-features {
    grid-template-columns: 1fr 1fr;
  }

  .preview-top {
    grid-template-columns: 1fr 1fr;
  }

  .preview-panel {
    grid-template-columns: 1fr;
  }

  .language-row,
  .benefit-grid,
  .audience-grid,
  .review-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .audience-grid article,
  .benefit-grid article {
    grid-template-columns: 58px 1fr;
  }

  .audience-grid p {
    grid-column: 1 / -1;
  }

  .stats-row,
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cta-section {
    max-width: calc(100% - 32px);
    padding-inline: 20px;
  }

  .auth-popover {
    right: -6px;
    width: min(310px, calc(100vw - 28px));
  }

  .language-menu {
    right: -110px;
  }

  .form-grid.three,
  .form-grid.two,
  .phone-row {
    grid-template-columns: 1fr;
  }

  .auth-modal-backdrop {
    padding: 28px 14px;
  }

  .register-modal {
    padding: 24px 18px 20px;
  }
}
