/* Lightweight utility styles for the static terms page (CSP-safe, no external scripts). */
:root {
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

button {
  font: inherit;
}

.dark {
  color-scheme: dark;
}

.hidden {
  display: none !important;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-grow { flex-grow: 1; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.min-h-screen { min-height: 100vh; }

.fixed { position: fixed; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-50 { z-index: 50; }

.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; }

.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.pt-32 { padding-top: 8rem; }
.pb-24 { padding-bottom: 6rem; }
.p-2 { padding: 0.5rem; }
.pl-5 { padding-left: 1.25rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }

.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.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-3xl { font-size: 1.875rem; line-height: 2.25rem; }

.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.leading-relaxed { line-height: 1.625; }
.italic { font-style: italic; }
.text-center { text-align: center; }

.text-slate-900 { color: var(--slate-900); }
.text-slate-800 { color: var(--slate-800); }
.text-slate-600 { color: var(--slate-600); }
.text-slate-500 { color: var(--slate-500); }
.text-slate-400 { color: var(--slate-400); }
.text-white { color: #ffffff; }
.text-blue-600 { color: var(--blue-600); }

.bg-slate-50 { background-color: var(--slate-50); }
.bg-slate-100 { background-color: var(--slate-100); }
.bg-white { background-color: #ffffff; }
.bg-black { background-color: #000000; }
.bg-transparent { background-color: transparent; }
.bg-white\/80 { background-color: rgba(255, 255, 255, 0.8); }

.border { border: 1px solid transparent; }
.border-b { border-bottom: 1px solid transparent; }
.border-t { border-top: 1px solid transparent; }
.border-slate-200 { border-color: var(--slate-200); }

.rounded-md { border-radius: 0.375rem; }
.rounded-full { border-radius: 9999px; }

.outline-none { outline: none; }
.cursor-pointer { cursor: pointer; }
.list-disc { list-style-type: disc; }
.opacity-70 { opacity: 0.7; }

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.duration-300 { transition-duration: 300ms; }
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.group:hover .group-hover\:-translate-x-1 { transform: translateX(-0.25rem); }

.backdrop-blur-md {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hover\:underline:hover { text-decoration: underline; }
.hover\:text-blue-600:hover { color: var(--blue-600); }
.hover\:text-slate-900:hover { color: var(--slate-900); }
.hover\:bg-slate-200:hover { background-color: var(--slate-200); }
.focus\:border-blue-500:focus { border-color: var(--blue-500); }

#theme-toggle {
  border: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}

#theme-toggle:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}

.dark .dark\:bg-black { background-color: #000000; }
.dark .dark\:bg-black\/80 { background-color: rgba(0, 0, 0, 0.8); }
.dark .dark\:text-slate-100 { color: #f1f5f9; }
.dark .dark\:text-slate-400 { color: var(--slate-400); }
.dark .dark\:text-white { color: #ffffff; }
.dark .dark\:text-blue-400 { color: var(--blue-400); }
.dark .dark\:text-gray-500 { color: #6b7280; }
.dark .dark\:border-slate-700 { border-color: var(--slate-700); }
.dark .dark\:border-slate-800 { border-color: var(--slate-800); }
.dark .dark\:hover\:text-blue-400:hover { color: var(--blue-400); }
.dark .dark\:hover\:text-white:hover { color: #ffffff; }
.dark .dark\:hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1); }

@media (min-width: 768px) {
  .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
}
