@charset "UTF-8";
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  color: #334e9a;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  padding-right: 20px;
  padding-left: 20px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
    padding-right: 32px;
    padding-left: 32px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

.header {
  width: 100%;
  background-color: #ffffff;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.header__logo {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  z-index: 101;
}
.header__logo-svg {
  display: block;
  height: 100%;
  width: auto;
  flex: 0 0 auto;
}
.header__logo-text {
  display: none;
}
.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 101;
}
.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background-color: #334e9a;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.header__burger--active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.header__burger--active span:nth-child(2) {
  opacity: 0;
}
.header__burger--active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.header__wrapper {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  padding: 88px 20px 40px;
  background-color: #ffffff;
  overflow-y: auto;
  visibility: hidden;
  transform: translateX(-100%);
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
  z-index: 100;
}
.header__wrapper--open {
  visibility: visible;
  transform: translateX(0);
  transition: transform 0.3s ease, visibility 0s linear 0s;
}
.header__menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.header__menu-link {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #64748b;
  transition: color 0.2s ease;
}
.header__menu-link:hover {
  color: #5879d1;
}
.header__menu-link--active {
  color: #5879d1;
  font-weight: 600;
}
.header__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
.header__link--login {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #334e9a;
  width: 100%;
  padding: 12px 16px;
  text-align: center;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.header__link--login:hover {
  background-color: #f8fafc;
  border-color: rgb(75.4456327986%, 80.5258467023%, 87.2994652406%);
}
.header__btn {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  background-color: #5879d1;
  width: 100%;
  padding: 12px 16px;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}
.header__btn:hover {
  background-color: #4563b8;
}

@media (min-width: 768px) {
  .header {
    padding: 20px 0;
  }
  .header__burger {
    display: none;
  }
  .header__logo {
    width: 280px;
    overflow: visible;
  }
  .header__logo-text {
    display: block;
  }
  .header__wrapper {
    position: static;
    visibility: visible;
    transform: none;
    flex: 1;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    width: auto;
    height: auto;
    margin-left: 40px;
    padding: 0;
    background: transparent;
    overflow: visible;
  }
  .header__menu {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }
  .header__menu-link {
    font-size: 14px;
    padding: 4px 0;
    position: relative;
  }
  .header__menu-link--active::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #5879d1;
    border-radius: 2px;
  }
  .header__nav {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin-left: auto;
  }
  .header__link--login, .header__btn {
    width: auto;
    font-size: 15px;
    padding: 8px 26px;
    border-radius: 14px;
  }
}
.hero {
  padding: 40px 0;
  background-color: #ffffff;
}
.hero__container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}
.hero__content {
  text-align: center;
}
.hero__badge {
  display: inline-block;
  background-color: #f0f4ff;
  color: #334e9a;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero__title {
  font-size: 32px;
  font-weight: 800;
  color: #334e9a;
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero__title--dark {
  color: #5879d1;
}
.hero__text {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
}
.hero__illustration {
  width: 100%;
  max-width: 320px;
}
.hero__illustration img {
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .hero__container {
    flex-direction: row;
    justify-content: space-between;
    gap: 50px;
  }
  .hero__content {
    text-align: left;
    flex: 1;
  }
  .hero__title {
    font-size: 46px;
  }
  .hero__illustration {
    max-width: 460px;
    flex: 1;
  }
}
.levels {
  padding: 20px 0 40px 0;
  background-color: #ffffff;
}
.levels__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.hero-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 220px;
}
.hero-card--active {
  border-color: rgba(88, 121, 209, 0.3);
  box-shadow: 0 10px 30px rgba(88, 121, 209, 0.05);
}
.hero-card--locked {
  background-color: #f5f7fb;
  border-color: transparent;
}
.hero-card--locked .hero-card__title {
  color: #64748b;
}
.hero-card__price {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  background-color: #ffffff;
  padding: 5px 12px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  z-index: 5;
}
.hero-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  z-index: 2;
}
.hero-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.hero-card__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #4971ff;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50%;
}
.hero-card__circle--locked {
  background-color: #94a3b8;
}
.hero-card__status {
  background-color: #f0f4ff;
  color: #4971ff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 10px;
}
.hero-card__lock {
  margin-left: 2px;
}
.hero-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}
.hero-card__desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 16px;
}
.hero-card__btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  text-align: center;
  transition: all 0.2s ease;
}
.hero-card__btn--primary {
  background-color: #5879d1;
  color: #ffffff;
}
.hero-card__btn--primary:hover {
  background-color: #4563b8;
}
.hero-card__btn--disabled {
  background-color: #e8ecf4;
  color: #94a3b8;
}
.hero-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.hero-card__img {
  display: block;
  width: 85px;
  height: auto;
}

@media (min-width: 768px) {
  .levels {
    padding: 30px 0 60px 0;
  }
  .levels__container {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .hero-card {
    padding: 32px;
    gap: 24px;
    min-height: 250px;
  }
  .hero-card__price {
    top: 32px;
    right: 32px;
    font-size: 14px;
    padding: 6px 14px;
  }
  .hero-card__circle {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
  .hero-card__status {
    font-size: 13px;
    padding: 6px 14px;
  }
  .hero-card__title {
    font-size: 20px;
    margin-bottom: 8px;
  }
  .hero-card__desc {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .hero-card__btn {
    padding: 12px 24px;
    border-radius: 14px;
    font-size: 14px;
  }
  .hero-card__img {
    width: 125px;
  }
}
.trainer {
  padding: 40px 0;
  background-color: #ffffff;
  scroll-margin-top: 100px;
}
.trainer__card {
  position: relative;
  background-color: #f1f8f6;
  border-radius: 28px;
  padding: 24px;
  width: 100%;
  overflow: hidden;
}
.trainer__decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}
.trainer__header {
  position: relative;
  z-index: 2;
  text-align: left;
  margin-bottom: 24px;
}
.trainer__badge {
  display: inline-block;
  background-color: #f0f4ff;
  color: #4971ff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
}
.trainer__title {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.trainer__subtitle {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  max-width: 640px;
}
.trainer__white-box {
  position: relative;
  z-index: 2;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 20px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.trainer__top-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.trainer__question {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.trainer__audio-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: #ffffff;
  color: #5879d1;
  border: 1.5px solid #cbd5e1;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.trainer__audio-btn:hover:not(:disabled) {
  background-color: #f8fafc;
}
.trainer__audio-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.trainer__phrase {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trainer__sentence {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}
.trainer__blank {
  color: #334e9a;
  border-bottom: 2px solid #334e9a;
  display: inline-block;
  min-width: 50px;
}
.trainer__translation {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}
.trainer__progress {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trainer__counter {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
}
.trainer__bar {
  width: 70px;
  height: 6px;
  background-color: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}
.trainer__fill {
  height: 100%;
  background-color: #5879d1;
  border-radius: 10px;
}
.trainer__options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.trainer__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.trainer__actions [hidden] {
  display: none;
}
.trainer__submit-btn, .trainer__next-btn, .trainer__restart-btn {
  width: 100%;
  padding: 14px;
  background-color: #5879d1;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.trainer__submit-btn:hover:not(:disabled), .trainer__next-btn:hover:not(:disabled), .trainer__restart-btn:hover:not(:disabled) {
  background-color: #4563b8;
}
.trainer__submit-btn:disabled, .trainer__next-btn:disabled, .trainer__restart-btn:disabled {
  background-color: #cbd5e1;
  color: #ffffff;
  border-color: #cbd5e1;
  cursor: not-allowed;
}
.trainer__next-btn {
  background-color: #ffffff;
  color: #5879d1;
  border: 1px solid #5879d1;
}
.trainer__next-btn:hover:not(:disabled) {
  background-color: #f8fafc;
}
.trainer__restart-btn {
  grid-column: 1/-1;
  justify-self: center;
}

.trainer-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.trainer-option:hover {
  border-color: #94a3b8;
  background-color: #f8fafc;
}
.trainer-option__word {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.trainer-option__transcription {
  font-size: 13px;
  color: #64748b;
  font-family: monospace;
  margin-bottom: 2px;
}
.trainer-option__translation {
  font-size: 13px;
  color: #94a3b8;
}
.trainer-option.isActive {
  border-color: #5879d1;
  box-shadow: 0 0 0 1px #5879d1;
}
.trainer-option.isCorrect {
  border-color: #10b981;
  background-color: #f0fdf4;
  box-shadow: 0 0 0 1px #10b981;
}
.trainer-option.hasError {
  border-color: #ef4444;
  background-color: #fef2f2;
  box-shadow: 0 0 0 1px #ef4444;
}

@media (min-width: 768px) {
  .trainer {
    padding: 60px 0;
  }
  .trainer__card {
    padding: 40px;
  }
  .trainer__white-box {
    padding: 32px;
  }
  .trainer__title {
    font-size: 32px;
  }
  .trainer__top-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .trainer__sentence {
    font-size: 24px;
  }
  .trainer__options {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .trainer__actions {
    grid-template-columns: 1fr 1fr;
  }
  .trainer__restart-btn {
    width: calc(50% - 8px);
  }
}
.advantages {
  padding: 60px 0;
  background-color: #ffffff;
}
.advantages__main-title {
  font-size: 28px;
  font-weight: 800;
  color: #1e293b;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}
.advantages__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.advantage-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
}
.advantage-item__icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: #f0f4ff;
  color: #4971ff;
  border-radius: 50%;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.advantage-item__title {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.advantage-item__desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  max-width: 90%;
}

@media (min-width: 768px) {
  .advantages {
    padding: 80px 0;
  }
  .advantages__main-title {
    font-size: 34px;
    margin-bottom: 64px;
  }
  .advantages__grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
  }
  .advantage-item {
    padding: 0 32px;
  }
  .advantage-item:first-child {
    padding-left: 0;
  }
  .advantage-item:last-child {
    padding-right: 0;
  }
  .advantage-item:not(:first-child) {
    border-left: 1px solid rgba(226, 232, 240, 0.6);
  }
}
.reviews {
  padding: 40px 0;
  background-color: #ffffff;
}
.reviews__wrapper {
  background-color: #f0f4ff;
  border-radius: 28px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.reviews__header {
  flex-shrink: 0;
}
.reviews__title {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
  text-align: left;
}
.reviews__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.review-card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}
.review-card__body {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.review-card__text {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 12px;
  font-weight: 500;
}
.review-card__author {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 6px;
}
.review-card__stars {
  display: flex;
  gap: 2px;
}

@media (min-width: 768px) {
  .reviews {
    padding: 60px 0;
  }
  .reviews__wrapper {
    flex-direction: row;
    align-items: center;
    padding: 32px 40px;
    gap: 40px;
  }
  .reviews__title {
    font-size: 26px;
  }
  .reviews__list {
    flex-direction: row;
    gap: 20px;
  }
  .review-card {
    flex: 1;
    min-height: 160px;
    padding: 24px;
  }
}
.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.category-badge__icon {
  display: block;
  flex-shrink: 0;
}
.category-badge--food, .category-badge--nature {
  background-color: #f2f9f5;
  color: #55a97d;
}
.category-badge--qualities, .category-badge--function {
  background-color: #f4efff;
  color: #9275eb;
}
.category-badge--study, .category-badge--communication {
  background-color: #ebf2fc;
  color: #4985db;
}
.category-badge--people {
  background-color: #fdf1f7;
  color: #bf5c9e;
}
.category-badge--home, .category-badge--city {
  background-color: #fff6eb;
  color: #e59c3c;
}
.category-badge--time, .category-badge--actions, .category-badge--general {
  background-color: #f5f7fb;
  color: #64748b;
}

.alphabet-nav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 32px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.alphabet-nav::-webkit-scrollbar {
  display: none;
}
.alphabet-nav__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}
.alphabet-nav__btn:hover {
  border-color: #5879d1;
  color: #5879d1;
}
.alphabet-nav__btn--active {
  background-color: #5879d1;
  border-color: #5879d1;
  color: #ffffff;
}
.alphabet-nav__btn--active:hover {
  color: #ffffff;
}

@media (min-width: 768px) {
  .alphabet-nav {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    max-width: 750px;
    margin-right: auto;
    margin-left: auto;
    padding-bottom: 0;
  }
}
.dict-table-container {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  background-color: #ffffff;
  margin-bottom: 32px;
}

.dict-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.dict-table thead {
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.dict-table thead th {
  padding: 16px 24px;
  font-weight: 500;
  color: #64748b;
}
.dict-table tbody tr {
  border-bottom: 1px solid #f8fafc;
  transition: background-color 0.15s;
}
.dict-table tbody tr:hover {
  background-color: #fafbfe;
}
.dict-table tbody tr:last-child {
  border-bottom: none;
}
.dict-table tbody td {
  padding: 18px 24px;
  vertical-align: middle;
}
.dict-table__word {
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dict-table__audio {
  border: none;
  background: transparent;
  color: #5879d1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 50%;
  background-color: #f1f5f9;
  transition: background-color 0.2s;
}
.dict-table__audio:hover {
  background-color: #f0f4ff;
}
.dict-table__transcription {
  font-family: "Inter", monospace;
  color: #5879d1;
  font-weight: 500;
}
.dict-table__translation {
  color: #64748b;
  font-weight: 500;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}
.pagination__arrow, .pagination__page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}
.pagination__arrow:hover, .pagination__page:hover {
  border-color: #5879d1;
  color: #5879d1;
}
.pagination__page--active {
  background-color: #5879d1;
  border-color: #5879d1;
  color: #ffffff;
}
.pagination__page--active:hover {
  color: #ffffff;
}
.pagination__dots {
  color: #94a3b8;
  font-weight: 600;
}

.dictionary-section {
  padding: 40px 0;
  background-color: #ffffff;
}

.dict-filters {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.dict-filters__search-wrapper {
  position: relative;
  flex: 1;
}
.dict-filters__search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.dict-filters__input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  font-size: 14px;
  color: #1e293b;
  background-color: #ffffff;
  outline: none;
  transition: border-color 0.2s;
}
.dict-filters__input:focus {
  border-color: #5879d1;
}
.dict-filters__select-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background-color: #ffffff;
}
.dict-filters__select {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  background-color: transparent;
}

.dict-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 14px;
}
.dict-meta__found {
  color: #64748b;
}
.dict-meta__found strong {
  color: #5879d1;
}
.dict-meta__sort {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dict-meta__sort-label {
  color: #64748b;
}
.dict-meta__sort-select {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  outline: none;
}

.dict-tip {
  background-color: #f0f4ff;
  border: 1px solid rgba(88, 121, 209, 0.15);
  border-radius: 20px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.dict-tip__icon {
  font-size: 24px;
}
.dict-tip__text {
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
}
.dict-tip__badge {
  font-size: 12px;
  font-weight: 700;
  color: #5879d1;
}

@media (min-width: 768px) {
  .dict-filters {
    flex-direction: row;
    gap: 20px;
    margin-bottom: 32px;
  }
  .dict-filters__select-wrapper {
    width: 180px;
  }
  .dict-tip {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    padding: 24px 32px;
  }
}
.auth-section {
  padding: 40px 0;
  background-color: #ffffff;
}
.auth-section__container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.auth-form-block {
  width: 100%;
}
.auth-form-block__badge {
  display: inline-block;
  background-color: #f0f4ff;
  color: #5879d1;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.auth-form-block__title {
  font-size: 32px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.auth-form-block__subtitle {
  font-size: 15px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 28px;
}

.auth-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.auth-form__input-wrapper {
  position: relative;
  width: 100%;
}
.auth-form__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}
.auth-form__input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
  color: #1e293b;
  outline: none;
  background-color: #ffffff;
  transition: border-color 0.2s;
}
.auth-form__input:focus {
  border-color: #4971ff;
}
.auth-form__hint {
  font-size: 12px;
  color: #94a3b8;
  padding-left: 4px;
}
.auth-form__submit {
  width: 100%;
  padding: 14px;
  background-color: #4971ff;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(73, 113, 255, 0.15);
  transition: background-color 0.2s;
}
.auth-form__submit:hover {
  background-color: rgb(18.6274509804%, 36.511527688%, 100%);
}
.auth-form__legal {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
  text-align: center;
  margin-top: 24px;
}
.auth-form__legal a {
  color: #64748b;
  text-decoration: underline;
}
.auth-form__legal a:hover {
  color: #4971ff;
}
.auth-form .form-error {
  color: #ef4444;
  font-size: 14px;
  line-height: 1.4;
  margin: 2px 0 16px;
}

.auth-info-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.auth-info-block__visual {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}
.auth-info-block__cat {
  display: block;
  width: 100%;
  height: auto;
}
.auth-info-block__speech {
  position: absolute;
  top: -20px;
  right: -20px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 10px 16px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 700;
  color: #1b357a;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  white-space: nowrap;
  transform: rotate(6deg);
}
.auth-info-block__speech::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 30px;
  width: 10px;
  height: 10px;
  background-color: #ffffff;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  transform: rotate(45deg);
}

.auth-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 400px;
}

.auth-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.auth-feature-item__icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: #e6f0ff;
  color: #4971ff;
  border-radius: 50%;
  flex-shrink: 0;
}
.auth-feature-item__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.auth-feature-item__text h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
}
.auth-feature-item__text p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
}

@media (min-width: 992px) {
  .auth-section {
    padding: 80px 0;
  }
  .auth-section__container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
  }
  .auth-form-block {
    flex: 1.1;
    max-width: 520px;
  }
  .auth-info-block {
    flex: 0.9;
    max-width: 420px;
    padding-top: 40px;
  }
}
.lk-section {
  padding: 40px 0 80px 0;
  background-color: #ffffff;
}

.lk-card {
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 20px;
  padding: 24px;
  width: 100%;
}
.lk-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lk-card__title-icon {
  color: #4971ff;
}

.lk-grid-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .lk-grid-row {
    flex-direction: row;
    align-items: stretch;
  }
  .lk-grid-row > .lk-card {
    flex: 1;
  }
}
.lk-profile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #f8fafc;
  border-color: transparent;
}
.lk-profile__user-info {
  display: flex;
  align-items: center;
  gap: 20px;
}
.lk-profile__meta {
  display: flex;
  flex-direction: column;
}
.lk-profile__meta .lk-card__title {
  margin-bottom: 12px;
}
.lk-profile__label {
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.lk-profile__name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.lk-profile__name {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
}
.lk-profile__edit-btn {
  padding: 6px 12px;
  border: 1px solid #5879d1;
  background-color: transparent;
  color: #5879d1;
  font-size: 13px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.lk-profile__edit-btn:hover {
  background-color: rgba(88, 121, 209, 0.1);
}
.lk-profile__edit-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.lk-profile__edit-form[hidden] {
  display: none;
}
.lk-profile__edit-input {
  width: 160px;
  min-width: 0;
  padding: 6px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background-color: #ffffff;
  color: #1e293b;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.lk-profile__edit-input:focus {
  border-color: #5879d1;
}
.lk-profile__save-btn {
  padding: 6px 12px;
  border: 1px solid #5879d1;
  border-radius: 12px;
  background-color: #5879d1;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}
.lk-profile__save-btn:hover {
  background-color: #4563b8;
}
.lk-profile__cancel-btn {
  padding: 6px 4px;
  border: none;
  background-color: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
}
.lk-profile__cancel-btn:hover {
  color: #1e293b;
}
.lk-profile__date {
  font-size: 13px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.lk-profile__date svg {
  color: #94a3b8;
}

.lk-progress__card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.lk-progress__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0 24px 0;
}
.lk-progress__footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}
.lk-progress__label-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.lk-progress__label-row span {
  color: #1e293b;
  font-weight: 600;
}
.lk-progress__label-row strong {
  color: #4971ff;
  font-weight: 700;
}
.lk-progress__bar {
  width: 100%;
  height: 8px;
  background-color: #e6effd;
  border-radius: 10px;
  overflow: hidden;
}
.lk-progress__fill {
  height: 100%;
  background-color: #4971ff;
  border-radius: 10px;
}

.lk-stat-box {
  background-color: #f8fafc;
  border-radius: 14px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.lk-stat-box__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.lk-stat-box__icon--blue {
  background-color: #e0f2fe;
  color: #0284c7;
}
.lk-stat-box__icon--cyan {
  background-color: #e0f7fa;
  color: #00acc1;
}
.lk-stat-box__icon--purple {
  background-color: #f3e5f5;
  color: #8e24aa;
}
.lk-stat-box strong {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}
.lk-stat-box span {
  font-size: 11px;
  color: #64748b;
  line-height: 1.3;
}
.lk-stat-box__badge {
  background-color: #e6f4ea;
  color: #137333;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  margin-top: 2px;
}

.lk-purchases {
  width: 100%;
  margin-top: 16px;
}
.lk-purchases__header {
  margin-bottom: 24px;
}
.lk-purchases__header .lk-card__title {
  margin-bottom: 4px;
}
.lk-purchases__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.purchase-item {
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.purchase-item__info {
  display: flex;
  align-items: center;
  gap: 16px;
}
.purchase-item__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: #4971ff;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50%;
}
.purchase-item__circle--success {
  background-color: #10b981;
}
.purchase-item__text h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}
.purchase-item__text p {
  font-size: 13px;
  color: #64748b;
}
.purchase-item__text strong {
  font-size: 15px;
  color: #1e293b;
  font-weight: 700;
  display: block;
  margin-top: 4px;
}
.purchase-item__status-text {
  color: #10b981;
  font-weight: 700;
}
.purchase-item__btn {
  padding: 10px 20px;
  background-color: #4971ff;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.purchase-item__btn:hover {
  background-color: rgb(18.6274509804%, 36.511527688%, 100%);
}
.purchase-item__check-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #4971ff;
}
.purchase-item__check-link:hover {
  color: rgb(8.6274509804%, 28.7093298858%, 100%);
}
@media (min-width: 992px) {
  .purchase-item--buy {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
  }
}
@media (min-width: 768px) {
  .purchase-item--paid {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.purchase-lock-tip {
  background-color: #f8fafc;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.purchase-lock-tip__icon {
  color: #94a3b8;
  padding-top: 2px;
}
.purchase-lock-tip__text h4 {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}
.purchase-lock-tip__text p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}
@media (min-width: 992px) {
  .purchase-lock-tip {
    flex: 0 0 320px;
  }
}

.purchase-receipt {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 320px;
}
.purchase-receipt__row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.purchase-receipt__row span {
  color: #64748b;
}
.purchase-receipt__row strong {
  color: #1e293b;
  font-weight: 600;
}

.knowledge {
  padding: 40px 0 60px 0;
  background-color: #ffffff;
}
.knowledge__container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.knowledge__main {
  flex: 1;
}
.knowledge__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.knowledge__title {
  font-size: 22px;
  font-weight: 800;
  color: #1e293b;
}
.knowledge__all-link {
  font-size: 13px;
  font-weight: 600;
  color: #4971ff;
  text-decoration: none;
}
.knowledge__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
.knowledge__sidebar {
  width: 100%;
}

.knowledge-card {
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  gap: 16px;
}
.knowledge-card__media {
  position: relative;
  width: 100%;
  height: 160px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.knowledge-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}
.knowledge-card__level {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #4971ff;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 2;
}
.knowledge-card__body {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.knowledge-card__tag {
  font-size: 12px;
  font-weight: 600;
  color: #4971ff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.knowledge-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin-bottom: 6px;
}
.knowledge-card__desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 16px;
}
.knowledge-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.knowledge-card__time {
  font-size: 12px;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.knowledge-card__link {
  font-size: 13px;
  font-weight: 600;
  color: #4971ff;
  text-decoration: none;
}

.knowledge-sidebar {
  background-color: #f8faff;
  border-radius: 24px;
  padding: 24px;
}
.knowledge-sidebar__title {
  font-size: 18px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 20px;
  padding-left: 4px;
}
.knowledge-sidebar__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.knowledge-sidebar__item {
  display: flex;
  align-items: center;
  background-color: transparent;
  border: none;
  border-radius: 14px;
  padding: 12px 6px;
  transition: all 0.2s ease;
  text-decoration: none;
}
.knowledge-sidebar__item:hover {
  background-color: rgba(73, 113, 255, 0.04);
  transform: translateX(2px);
}
.knowledge-sidebar__item:hover .knowledge-sidebar__arrow {
  color: #4971ff;
}
.knowledge-sidebar__item:hover .knowledge-sidebar__icon-box {
  background-color: #d4e4f7;
}
.knowledge-sidebar__icon-box {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #e2ecf9;
  color: #3b66c4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  flex-shrink: 0;
  border: none;
  transition: background-color 0.2s ease;
}
.knowledge-sidebar__icon-box svg {
  display: block;
}
.knowledge-sidebar__item-text {
  flex: 1;
}
.knowledge-sidebar__item-text h3 {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}
.knowledge-sidebar__item-text p {
  font-size: 11px;
  color: #64748b;
}
.knowledge-sidebar__arrow {
  color: #94a3b8;
  transition: color 0.2s;
}

@media (min-width: 768px) {
  .knowledge {
    padding: 60px 0;
  }
  .knowledge__container {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }
  .knowledge__grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .knowledge__sidebar {
    width: 280px;
    flex-shrink: 0;
  }
}
@media (min-width: 1200px) {
  .knowledge__sidebar {
    width: 320px;
  }
}
.hero--article {
  padding-bottom: 24px;
}
.hero--article .hero__badges-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.hero--article .hero__badge--level {
  background-color: #4971ff;
  color: #ffffff;
  font-weight: 700;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 13px;
}

.breadcrumbs {
  padding: 20px 0 8px 0;
}
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.breadcrumbs__item {
  font-size: 13px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumbs__item:not(:last-child)::after {
  content: ">";
  font-size: 11px;
  color: #94a3b8;
}
.breadcrumbs__item[aria-current=page] {
  color: #64748b;
  pointer-events: none;
}
.breadcrumbs__link {
  color: inherit;
}
.breadcrumbs__link:hover {
  color: #4971ff;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.article-author__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #f8fafc;
}
.article-author__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-author__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.article-author__name {
  font-size: 14px;
  color: #1e293b;
  font-weight: 700;
}
.article-author__desc {
  font-size: 12px;
  color: #64748b;
}

.article-page__meta {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.4);
  margin-bottom: 32px;
}
.article-page__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}
.article-page__meta-item svg {
  color: #94a3b8;
}
.article-page__layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 32px;
}
.article-page__sidebar {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.article-page__back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #4971ff;
  margin-top: 40px;
  text-decoration: none;
}

.article-toc {
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 20px;
  padding: 24px 16px;
}
.article-toc__title {
  font-size: 16px;
  font-weight: 800;
  color: #1b357a;
  margin-bottom: 20px;
  padding-left: 12px;
}
.article-toc__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
}
.article-toc__item {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
}
.article-toc__item a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.article-toc__item span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  background-color: #eaf2ff;
  color: #4971ff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}
.article-toc__item:hover {
  color: #4971ff;
  background-color: #f8fafc;
}
.article-toc__item--active {
  background-color: #eaf2ff;
  color: #4971ff;
  font-weight: 700;
}
.article-toc__item--active span {
  background-color: #4971ff;
  color: #ffffff;
}

.article-sidebar-banner {
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-areas: "icon title" "icon text" "btn btn";
  column-gap: 12px;
  row-gap: 8px;
}
.article-sidebar-banner__icon {
  grid-area: icon;
  width: 44px;
  height: 44px;
  background-color: #eaf2ff;
  color: #4971ff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0;
  align-self: start;
}
.article-sidebar-banner__icon svg {
  display: block;
}
.article-sidebar-banner__title {
  grid-area: title;
  font-size: 15px;
  font-weight: 800;
  color: #1b357a;
  margin-bottom: 0;
}
.article-sidebar-banner__text {
  grid-area: text;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 0;
}
.article-sidebar-banner__btn {
  grid-area: btn;
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  background-color: #4971ff;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 12px rgba(73, 113, 255, 0.1);
  transition: background-color 0.2s;
}
.article-sidebar-banner__btn:hover {
  background-color: rgb(18.6274509804%, 36.511527688%, 100%);
}

.article-content {
  flex: 1;
}
.article-content__section {
  margin-bottom: 40px;
}
.article-content__section h2 {
  font-size: 24px;
  font-weight: 800;
  color: #1b357a;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.article-content__section p {
  font-size: 15px;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 20px;
}
.article-content__section p strong {
  color: #0f172a;
}
.article-content__section p em {
  color: #4971ff;
  font-style: normal;
  font-weight: 600;
}
.article-content__section > .article-examples-box,
.article-content__section > .article-note,
.article-content__section > .article-content__two-cols,
.article-content__section > .article-answers {
  margin-top: 24px;
}
.article-content__two-cols {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-examples-box {
  background-color: #f4f8ff;
  border-radius: 16px;
  padding: 20px 24px;
  flex: 1;
}
.article-examples-box h5 {
  font-size: 14px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.article-examples-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-examples-box ol {
  padding-left: 20px;
}
.article-examples-box ol li {
  margin-bottom: 10px;
}
.article-examples-box li {
  font-size: 14px;
  color: #475569;
  font-weight: 500;
}
.article-examples-box li strong {
  color: #4971ff;
  font-weight: 700;
}

.article-answers {
  background-color: #f8faff;
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 16px;
  padding: 18px 22px;
}
.article-answers__summary {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
  color: #1b357a;
}
.article-answers__summary::-webkit-details-marker {
  display: none;
}
.article-answers__summary::before {
  content: "+";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #eaf2ff;
  color: #4971ff;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.article-answers[open] .article-answers__summary::before {
  content: "−";
}
.article-answers__list {
  margin-top: 14px;
  padding-left: 38px;
}
.article-answers__list li {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 8px;
}

.article-note {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: 16px;
  flex: 1;
  align-items: flex-start;
  border: none;
}
.article-note__icon {
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4971ff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(73, 113, 255, 0.05);
}
.article-note__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-note__content h4 {
  font-size: 15px;
  font-weight: 800;
  color: #1e3a8a;
}
.article-note__content p {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0 !important;
}
.article-note__content ul {
  list-style: none;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.article-note__content li {
  font-size: 13.5px;
  color: #475569;
  font-weight: 500;
}
.article-note__content li strong {
  color: #4971ff;
}
.article-note--info {
  background-color: #ebf3ff;
}
.article-note--warning {
  background-color: #ebf3ff;
}
.article-note--warning .article-note__icon {
  background-color: #4971ff;
  color: #ffffff;
}

@media (min-width: 992px) {
  .article-page__layout {
    flex-direction: row;
    gap: 48px;
    align-items: flex-start;
  }
  .article-page__sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
  }
  .article-content__two-cols {
    flex-direction: row;
    align-items: stretch;
  }
  .article-content__two-cols > * {
    flex: 1;
  }
}
.policy {
  background-color: #ffffff;
}
.policy__container {
  padding-top: 20px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.policy__header {
  max-width: 820px;
}
.policy__badge {
  display: inline-block;
  background-color: #f0f4ff;
  color: #5879d1;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.policy__title {
  font-size: 30px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.policy__intro {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 18px;
}
.policy__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}
.policy__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
}
.policy__meta-item svg {
  color: #94a3b8;
  flex-shrink: 0;
}
.policy__layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.policy__content {
  order: 2;
  min-width: 0;
}
.policy__sidebar {
  order: 1;
}
.policy__toc {
  background-color: #f8faff;
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 20px;
  padding: 20px;
}
.policy__toc-title {
  font-size: 16px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 14px;
}
.policy__toc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  counter-reset: none;
}
.policy__toc-link {
  font-size: 13px;
  line-height: 1.45;
  color: #64748b;
  transition: color 0.2s ease;
}
.policy__toc-link:hover {
  color: #5879d1;
}
.policy__section {
  margin-bottom: 32px;
  scroll-margin-top: 96px;
}
.policy__section:last-child {
  margin-bottom: 0;
}
.policy__section h2 {
  font-size: 22px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.3;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}
.policy__section h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin: 18px 0 10px;
}
.policy__section p {
  font-size: 15px;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 12px;
}
.policy__section p:last-child {
  margin-bottom: 0;
}
.policy__section ul,
.policy__section ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 14px 20px;
}
.policy__section ul:last-child,
.policy__section ol:last-child {
  margin-bottom: 0;
}
.policy__section li {
  font-size: 15px;
  color: #334155;
  line-height: 1.55;
  padding-left: 2px;
}
.policy__section li::marker {
  color: #5879d1;
}
.policy__section a {
  color: #5879d1;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.policy__section a:hover {
  color: #4563b8;
}
.policy__section strong {
  color: #1e293b;
  font-weight: 700;
}
.policy__operator {
  background-color: #f0f6ff;
  border: 1px solid rgba(88, 121, 209, 0.12);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 16px 0;
}
.policy__operator-title {
  font-size: 15px;
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 8px;
}
.policy__operator-text {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}
.policy__note {
  background-color: #f4faf8;
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 20px;
  padding: 20px;
  margin-top: 20px;
}
.policy__note-title {
  font-size: 15px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 8px;
}
.policy__note-text {
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 10px;
}
.policy__note-text:last-child {
  margin-bottom: 0;
}
.policy__note-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #5879d1;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.policy__note-link:hover {
  color: #4563b8;
}
.policy__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #5879d1;
  text-decoration: none;
}
.policy__back:hover {
  color: #4563b8;
}

@media (min-width: 768px) {
  .policy__title {
    font-size: 38px;
  }
  .policy__intro {
    font-size: 16px;
  }
  .policy__section h2 {
    font-size: 24px;
  }
  .policy__section p,
  .policy__section li {
    font-size: 15px;
  }
}
@media (min-width: 992px) {
  .policy__layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }
  .policy__sidebar {
    order: 1;
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
  }
  .policy__content {
    order: 2;
    flex: 1;
  }
}
@media (min-width: 1200px) {
  .policy__sidebar {
    width: 300px;
  }
}
.contacts-page {
  padding: 0 0 80px 0;
  background-color: #ffffff;
}
.contacts-page__layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 64px;
}

.contacts-card {
  background-color: #f4f8ff;
  border-radius: 20px;
  padding: 24px;
  width: 100%;
}
.contacts-card__title {
  font-size: 24px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.contacts-card__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-item__icon-box {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e2ecf9;
  color: #3b66c4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item__info {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}
.contact-item__info h3 {
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 2px;
}
.contact-item__info a {
  font-size: 15px;
  font-weight: 700;
  color: #4971ff;
  text-decoration: none;
}
.contact-item__info a:hover {
  text-decoration: underline;
}
.contact-item__info strong {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
}
.contact-item__info p {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

.feedback-form {
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 20px;
  padding: 24px;
  width: 100%;
}
.feedback-form__title {
  font-size: 24px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}
.feedback-form__subtitle {
  font-size: 14px;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 24px;
}
.feedback-form__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.feedback-form__field {
  position: relative;
  width: 100%;
}
.feedback-form__field--textarea .feedback-form__icon {
  top: 20px;
  transform: none;
}
.feedback-form__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}
.feedback-form__input, .feedback-form__select, .feedback-form__textarea {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
  color: #1e293b;
  background-color: #ffffff;
  outline: none;
  transition: border-color 0.2s;
}
.feedback-form__input:focus, .feedback-form__select:focus, .feedback-form__textarea:focus {
  border-color: #4971ff;
}
.feedback-form__select {
  cursor: pointer;
  appearance: none;
}
.feedback-form__textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}
.feedback-form__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 24px;
}
.feedback-form__checkbox {
  margin-top: 3px;
}
.feedback-form__checkbox-text {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
}
.feedback-form__checkbox-text a {
  color: #64748b;
  text-decoration: underline;
}
.feedback-form__submit {
  width: 100%;
  padding: 14px;
  background-color: #4971ff;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.feedback-form__submit:hover {
  background-color: rgb(18.6274509804%, 36.511527688%, 100%);
}

.faq-block {
  width: 100%;
  background-color: #f4f8ff;
  border-radius: 28px;
  padding: 24px;
}
.faq-block__header {
  margin-bottom: 24px;
}
.faq-block__title {
  font-size: 24px;
  font-weight: 800;
  color: #1b357a;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.faq-block__subtitle {
  font-size: 14px;
  color: #64748b;
  line-height: 1.4;
  max-width: 680px;
  margin-bottom: 24px;
}
.faq-block__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  box-shadow: 0 4px 14px rgba(27, 53, 122, 0.02);
  border: 1px solid rgba(226, 232, 240, 0.5);
  transition: all 0.2s ease;
}
.faq-item__trigger {
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.faq-item__trigger span {
  font-size: 15px;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.4;
  transition: color 0.2s;
}
.faq-item__trigger:hover span {
  color: #4971ff;
}
.faq-item__arrow {
  color: #94a3b8;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
}
.faq-item__inner-text {
  padding: 0 20px 18px 20px;
}
.faq-item__inner-text p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}
.faq-item.isOpen {
  border-color: rgba(73, 113, 255, 0.3);
}
.faq-item.isOpen .faq-item__trigger span {
  color: #4971ff;
}
.faq-item.isOpen .faq-item__arrow {
  transform: rotate(180deg);
  color: #4971ff;
}

@media (min-width: 768px) {
  .contacts-page__layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }
  .contacts-card {
    flex: 0.9;
    max-width: 400px;
    padding: 32px;
  }
  .feedback-form {
    flex: 1.1;
    padding: 32px;
  }
  .faq-block {
    padding: 40px;
  }
  .faq-block__header {
    margin-bottom: 32px;
  }
  .faq-block__title {
    font-size: 28px;
  }
  .faq-item__trigger {
    padding: 20px 28px;
  }
  .faq-item__inner-text {
    padding: 0 28px 20px 28px;
  }
}
.footer {
  width: 100%;
  background-color: #ffffff;
  padding: 24px 0;
  border-top: 1px solid rgba(226, 232, 240, 0.5);
}
.footer__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}
.footer__copy {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}
.footer__link {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  transition: color 0.2s ease;
}
.footer__link:hover {
  color: #5879d1;
}
.footer__right {
  display: flex;
  align-items: center;
}
.footer__social-link {
  color: #64748b;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
.footer__social-link svg {
  display: block;
}
.footer__social-link:hover {
  color: #ff3c00;
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .footer {
    padding: 32px 0;
  }
  .footer__container {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
    text-align: left;
  }
  .footer__center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}