/*
 * Self-hosted utility styles for the static content pages (privacy, terms,
 * disclaimer, refund, about, magic-link-confirm).
 *
 * These pages previously loaded the Tailwind CDN JIT compiler plus Google
 * Fonts to get a small, fixed set of utility classes and a display font.
 * This file reproduces just the classes those pages actually use, and the
 * font stack falls back to the system UI font instead of a hosted webfont,
 * so no third-party network requests are required to render them.
 */

.font-headline,
.font-body {
  font-family: var(--bmp-font-sans);
}

/* Layout */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.hidden { display: none; }
.min-h-screen { min-height: 100vh; }
.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.break-all { word-break: break-all; }

/* Max widths */
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-2xl { max-width: 42rem; }

/* Spacing */
.p-0 { padding: 0; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.pl-5 { padding-left: 1.25rem; }
.m-0 { margin: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }

.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.leading-relaxed { line-height: 1.625; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.no-underline { text-decoration: none; }
.list-none { list-style-type: none; }
.list-disc { list-style-type: disc; }

/* Borders / radius */
.rounded-xl { border-radius: 0.75rem; }

/* Colors — dark theme is the default (matches html.dark default in theme.js);
   theme.css supplies the html:not(.dark) light-mode overrides for the ones
   that need to flip. */
.text-white { color: #ffffff; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-red-400 { color: #f87171; }
.text-purple-400 { color: #c084fc; }
.hover\:text-purple-300:hover { color: #d8b4fe; }
