* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

:root {
   --bg-dark: #0b0b0f;
   --bg-card: #14141c;
   --surface: #1e1e2a;
   --primary: #fbbf24;
   --primary-dark: #f59e0b;
   --primary-glow: rgba(251, 191, 36, 0.3);
   --accent: #fcd34d;
   --text-main: #f3f4f6;
   --text-muted: #9ca3af;
   --border-color: #2a2a3a;
   --radius: 24px;
   --radius-sm: 16px;
   --container: 1280px;
   --transition: 0.2s;
}

body {
   font-family: 'Inter', sans-serif;
   background-color: var(--bg-dark);
   color: var(--text-main);
   line-height: 1.6;
}

.container {
   max-width: var(--container);
   margin: 0 auto;
   padding: 0 2rem;
}

h1,
h2,
h3 {
   font-family: 'Space Grotesk', sans-serif;
   font-weight: 700;
}

h1 {
   font-size: 3.5rem;
   background: linear-gradient(to right, #fff, var(--primary));
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}

/* Шапка (скопируйте из about.html) */
.header {
   position: sticky;
   top: 0;
   z-index: 100;
   background: rgba(11, 11, 15, 0.8);
   backdrop-filter: blur(12px);
   border-bottom: 1px solid var(--border-color);
}

.header__container {
   display: flex;
   align-items: center;
   justify-content: space-between;
   height: 80px;
}

.logo {
   font-size: 2rem;
   font-weight: 700;
   font-family: 'Space Grotesk', sans-serif;
   background: linear-gradient(135deg, var(--primary), #fde68a);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   text-decoration: none;
}

.nav__list {
   display: flex;
   gap: 2.5rem;
   list-style: none;
}

.nav__link {
   text-decoration: none;
   color: var(--text-muted);
   font-weight: 500;
   transition: color var(--transition);
   position: relative;
}

.nav__link::after {
   content: '';
   position: absolute;
   bottom: -5px;
   left: 0;
   width: 0;
   height: 2px;
   background: linear-gradient(90deg, var(--primary), #fde68a);
   transition: width var(--transition);
}

.nav__link:hover {
   color: #fff;
}

.nav__link:hover::after {
   width: 100%;
}

.nav__link.active {
   color: var(--primary);
}

/* Стили для правовой информации */
.page-header {
   padding: 4rem 0 2rem;
   text-align: center;
}

.legal-grid {
   display: grid;
   grid-template-columns: 250px 1fr;
   gap: 3rem;
   margin: 3rem 0;
}

.legal-sidebar {
   position: sticky;
   top: 100px;
   height: fit-content;
}

.legal-menu {
   background: var(--bg-card);
   border: 1px solid var(--border-color);
   border-radius: var(--radius-sm);
   padding: 1.5rem;
}

.legal-menu h3 {
   color: #fff;
   margin-bottom: 1rem;
   padding-bottom: 0.5rem;
   border-bottom: 1px solid var(--border-color);
}

.legal-menu ul {
   list-style: none;
}

.legal-menu li {
   margin-bottom: 0.5rem;
}

.legal-menu a {
   color: var(--text-muted);
   text-decoration: none;
   transition: color var(--transition);
   display: block;
   padding: 0.5rem;
   border-radius: 8px;
}

.legal-menu a:hover {
   color: var(--primary);
   background: rgba(251, 191, 36, 0.1);
}

.legal-menu a.active {
   color: var(--primary);
   background: rgba(251, 191, 36, 0.1);
}

.legal-content {
   background: var(--bg-card);
   border: 1px solid var(--border-color);
   border-radius: var(--radius-sm);
   padding: 2rem;
}

.legal-section {
   margin-bottom: 3rem;
}

.legal-section h2 {
   color: #fff;
   font-size: 1.75rem;
   margin-bottom: 1.5rem;
   padding-bottom: 0.5rem;
   border-bottom: 1px solid var(--border-color);
}

.legal-section h3 {
   color: var(--primary);
   font-size: 1.25rem;
   margin: 1.5rem 0 1rem;
}

.legal-section p {
   color: var(--text-muted);
   margin-bottom: 1rem;
}

.legal-section ul {
   color: var(--text-muted);
   margin: 1rem 0 1rem 2rem;
}

.legal-section li {
   margin-bottom: 0.5rem;
}

.legal-section a {
   color: var(--primary);
   text-decoration: none;
}

.legal-section a:hover {
   text-decoration: underline;
}

.document-card {
   background: var(--bg-dark);
   border: 1px solid var(--border-color);
   border-radius: var(--radius-sm);
   padding: 1.5rem;
   margin-bottom: 1rem;
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.document-info h4 {
   color: #fff;
   margin-bottom: 0.25rem;
}

.document-info p {
   color: var(--text-muted);
   font-size: 0.875rem;
}

.document-download {
   color: var(--primary);
   font-size: 1.5rem;
}

/* Футер (скопируйте из about.html) */
.footer {
   background: var(--bg-card);
   border-top: 1px solid var(--border-color);
   padding: 4rem 0 2rem;
   margin-top: 4rem;
}

.footer__container {
   display: grid;
   grid-template-columns: 2fr 1fr 1fr 1fr;
   gap: 2rem;
   margin-bottom: 3rem;
}

.footer__logo {
   font-size: 2rem;
   font-weight: 700;
   font-family: 'Space Grotesk', sans-serif;
   background: linear-gradient(135deg, var(--primary), #fde68a);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   display: inline-block;
   margin-bottom: 1rem;
   text-decoration: none;
}

.footer__col p {
   color: var(--text-muted);
   margin: 0.5rem 0;
}

.footer__col h4 {
   color: #fff;
   margin-bottom: 1rem;
}

.footer__col ul {
   list-style: none;
}

.footer__col li {
   margin-bottom: 0.5rem;
}

.footer__col a {
   color: var(--text-muted);
   text-decoration: none;
   transition: color var(--transition);
}

.footer__col a:hover {
   color: var(--primary);
}

.footer__bottom {
   text-align: center;
   padding-top: 2rem;
   border-top: 1px solid var(--border-color);
   color: var(--text-muted);
}

@media (max-width: 768px) {
   .legal-grid {
      grid-template-columns: 1fr;
   }

   .legal-sidebar {
      position: static;
   }

   .document-card {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
   }

   .footer__container {
      grid-template-columns: 1fr;
   }
}

.fade-up {
   opacity: 0;
   transform: translateY(20px);
   animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
   to {
      opacity: 1;
      transform: translateY(0);
   }
}

/* Кнопки */
.btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 0.645rem 2rem;
   border-radius: 60px;
   font-weight: 600;
   font-size: 1rem;
   border: none;
   cursor: pointer;
   transition: all var(--transition);
   text-decoration: none;
   background: transparent;
   border: 2px solid transparent;
   position: relative;
   overflow: hidden;
   z-index: 1;
}

.btn::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 0;
   height: 100%;
   background: rgba(255, 255, 255, 0.1);
   transition: width 0.3s;
   z-index: -1;
}

.btn:hover::before {
   width: 100%;
}

.btn--primary {
   background: linear-gradient(135deg, var(--primary), var(--primary-dark));
   color: #0b0b0f;
   box-shadow: 0 8px 20px var(--primary-glow);
}

.btn--primary:hover {
   transform: translateY(-3px);
   box-shadow: 0 15px 30px var(--primary-glow);
}

.btn--outline {
   border-color: var(--primary);
   color: var(--primary);
}

.btn--outline:hover {
   background: rgba(251, 191, 36, 0.1);
   border-color: var(--accent);
}

.btn--large {
   padding: 1rem 2.5rem;
   font-size: 1.125rem;
   margin: 5px;
}