:root {
  /* ПАЛИТРА ИЗ РЕКВИЗИТОВ */
  --brand-blue: oklch(65% 0.2 250);
  --brand-blue-hover: oklch(55% 0.2 250);
  --bg-page: oklch(98% 0.01 250);
  --text-main: oklch(25% 0.02 250);
  --text-muted: oklch(60% 0.02 250);
  --border: oklch(90% 0.02 250);
  --radius-main: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.main-page-wrapper {
  background-image:
    radial-gradient(at 0% 0%, oklch(93% 0.03 250) 0px, transparent 50%),
    radial-gradient(at 100% 100%, oklch(93% 0.03 250) 0px, transparent 50%);
  padding-bottom: 50px;
}

footer.footer-container.color-scheme-dark {
  margin: 0 !important;
}


.container {
  max-width: 1040px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-main);
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
  /* Плавный переход для ховера */
}

.feature-card svg{
  width: 20px;
  height: 20px;
}

/* ТЕПЕРЬ ВЫДЕЛЕНИЕ ТОЛЬКО ПРИ НАВЕДЕНИИ */
.feature-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px oklch(65% 0.5 250 / 0.15);
}

.f-icon {
  width: 48px;
  height: 48px;
  background: oklch(95% 0.02 250);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--brand-blue);
}

.f-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.f-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.legal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04);
}

.legal-header {
  margin-bottom: 40px;
}

.category-tag {
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: block;
}

.page-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.legal-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-content p {
  font-size: 15px;
  color: oklch(45% 0.02 250);
  margin-bottom: 20px;
}

.law-notice {
  background: oklch(98% 0.01 250);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin: 30px 0;
  position: relative;
}

.law-notice::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 20px;
  bottom: 20px;
  width: 3px;
  background: var(--brand-blue);
}

.law-title {
  display: block;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  font-size: 16px;
}

.contact-footer {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.support-link {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: 0.2s;
}

.support-link:hover {
  color: var(--brand-blue-hover);
}

@media (max-width: 850px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .legal-card {
    padding: 30px;
  }

  .contact-footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

.legal-header .page-title {
  --wd-title-sp: initial;
  --wd-title-font-s: initial;
  position: static;
  margin-block: 0;
  padding-block: 0;
}