/* ======================================================================
   ЮРИДИЧЕСКАЯ ИНФОРМАЦИЯ: СТИЛИ СТРАНИЦ LEGAL & PRIVACY (ОЧИЩЕНО ОТ TAILWIND)
   ====================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, #root {
  background-color: rgb(243, 238, 231);
  color: #181516;
  font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.relative { position: relative; }
.min-h-screen { min-height: 100vh; }
.pb-28 { padding-bottom: 7rem; }
.z-10 { z-index: 10; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-3 { gap: 0.75rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-8 { margin-top: 2rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.border { border: 1px solid rgba(93, 0, 0, 0.15); }
.border-l-4 { border-left-width: 4px; border-left-style: solid; }
.bg-white { background-color: #FFFFFF; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.no-underline { text-decoration: none; }
.transition-colors { transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.transition-all { transition: all 0.2s ease; }

.font-display { font-family: 'Cinzel', Georgia, serif; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-center { text-align: center; }
.leading-relaxed { line-height: 1.625; }

.light-card {
  background: #FFFFFF;
  border: 1px solid rgba(93, 0, 0, 0.12);
  box-shadow: 0 4px 18px -2px rgba(93, 0, 0, 0.04);
}

.grid { display: grid; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gap-1\.5 { gap: 0.375rem; }

.space-y-4 > * + * { margin-top: 1rem; }
.hidden { display: none !important; }

.tab-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #5e5959;
  font-family: inherit;
  font-size: 12px;
}
.tab-btn:hover { color: #181516; }
.tab-btn.active {
  background-color: #5d0000;
  color: #FFFFFF;
}

.bottom-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: #FFFFFF;
  border-top: 1px solid rgba(93, 0, 0, 0.15);
  box-shadow: 0 -4px 20px rgba(93, 0, 0, 0.08);
  padding: 8px 12px 12px 12px;
}
.bottom-nav-container {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  color: #5e5959;
  padding: 4px 12px;
  gap: 3px;
  transition: color 0.15s ease;
}
.bottom-nav-item svg { width: 20px; height: 20px; }
.bottom-nav-item.active,
.bottom-nav-item:hover { color: #5d0000; }

@media (min-width: 640px) {
  .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
}
