/* docs.css — minimal utility-class subset for docs.html, help.html, privacy.html
   Replaces Tailwind CDN. Uses the same CSS variables defined in styles.css. */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }

/* ---- Base ---- */
html.scroll-smooth { scroll-behavior: smooth; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ---- Layout ---- */
.flex { display: flex; }
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.shrink-0 { flex-shrink: 0; }
.min-w-0 { min-width: 0; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.hidden { display: none; }

/* ---- Position ---- */
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }

/* ---- Borders ---- */
.border-b { border-bottom: 1px solid; }
.border-r { border-right: 1px solid; }
.border-t { border-top: 1px solid; }
.rounded { border-radius: 0.25rem; }

/* ---- Sizing ---- */
.h-16 { height: 4rem; }
.h-8 { height: 2rem; }
.w-64 { width: 16rem; }
.w-8 { width: 2rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-none { max-width: none; }
.min-h-\[calc\(100vh-64px\)\] { min-height: calc(100vh - 64px); }

/* ---- Spacing ---- */
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-1 { margin-left: 0.25rem; margin-right: 0.25rem; }
.mr-1 { margin-right: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-20 { margin-top: 5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-10 { margin-bottom: 2.5rem; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.pt-6 { padding-top: 1.5rem; }

/* ---- Typography ---- */
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.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-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-widest { letter-spacing: 0.1em; }

/* ---- Colors — theme-aware via CSS vars ---- */
.bg-gray-950 { background-color: var(--bg); }
.bg-gray-950\/95 { background-color: color-mix(in srgb, var(--bg) 95%, transparent); }
.bg-gray-950\/90 { background-color: color-mix(in srgb, var(--bg) 90%, transparent); }
.bg-gray-800 { background-color: var(--bg-elev); }
.bg-indigo-600 { background-color: var(--accent); }
.bg-indigo-950\/40 { background-color: color-mix(in srgb, var(--accent) 14%, var(--bg)); }

.text-white { color: var(--text); }
.text-gray-100 { color: var(--text); }
.text-gray-300 { color: var(--text); }
.text-gray-400 { color: var(--text-dim); }
.text-gray-500 { color: var(--text-faint); }
.text-gray-600 { color: var(--text-faint); }
.text-gray-700 { color: var(--text-faint); }
.text-indigo-300 { color: var(--accent-strong); }
.text-indigo-400 { color: var(--accent); }

.border-gray-800 { border-color: var(--line); }
.border-gray-800\/60 { border-color: color-mix(in srgb, var(--line) 60%, transparent); }

/* ---- Hover ---- */
.hover\:bg-gray-800:hover { background-color: var(--bg-elev); }
.hover\:bg-indigo-500:hover { background-color: color-mix(in srgb, var(--accent) 90%, white); }
.hover\:text-white:hover { color: var(--text); }
.hover\:text-gray-100:hover { color: var(--text); }
.hover\:text-gray-300:hover { color: var(--text-dim); }
.hover\:text-indigo-300:hover { color: var(--accent-strong); }

/* ---- Effects ---- */
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.transition-colors { transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }

/* ---- Responsive ---- */
@media (min-width: 640px) {
  .sm\:inline { display: inline; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
}

@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
}
