/* Scot Cop legal pages – self-hosted styles (replaces Tailwind CDN) */

:root {
  --police-blue: #1E40AF;
  --police-light: #3B82F6;
  --police-dark: #1E3A8A;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --green-50: #f0fdf4;
  --green-400: #4ade80;
  --green-700: #15803d;
  --green-800: #166534;
  --blue-50: #eff6ff;
  --blue-400: #60a5fa;
  --blue-800: #1e40af;
  --yellow-50: #fefce8;
  --yellow-400: #facc15;
  --yellow-800: #854d0e;
  --red-50: #fef2f2;
  --red-400: #f87171;
  --red-800: #991b1b;
}

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

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Layout & spacing */
.bg-white { background-color: var(--white); }
.bg-gray-50 { background-color: var(--gray-50); }
.bg-gray-900 { background-color: var(--gray-900); }
.bg-police-blue { background-color: var(--police-blue); }
.bg-green-50 { background-color: var(--green-50); }
.bg-blue-50 { background-color: var(--blue-50); }
.bg-yellow-50 { background-color: var(--yellow-50); }
.bg-red-50 { background-color: var(--red-50); }
.bg-police-blue\/10 { background-color: rgba(30, 64, 175, 0.1); }

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

.w-full { width: 100%; }
.w-8 { width: 2rem; }
.w-6 { width: 1.5rem; }
.h-8 { height: 2rem; }
.h-6 { height: 1.5rem; }
.h-16 { height: 4rem; }
.max-w-none { max-width: none; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.pt-8 { padding-top: 2rem; }
.pt-24 { padding-top: 6rem; }
.pb-16 { padding-bottom: 4rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.pl-4 { padding-left: 1rem; }
.pl-6 { padding-left: 1.5rem; }

.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }

.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* Typography */
.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-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.text-white { color: var(--white); }
.text-gray-400 { color: var(--gray-400); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-gray-900 { color: var(--gray-900); }
.text-green-700 { color: var(--green-700); }
.text-green-800 { color: var(--green-800); }
.text-blue-800 { color: var(--blue-800); }
.text-yellow-800 { color: var(--yellow-800); }
.text-red-800 { color: var(--red-800); }
.text-police-dark { color: var(--police-dark); }
.text-police-blue { color: var(--police-blue); }

.leading-relaxed { line-height: 1.625; }

/* Borders & shadows */
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border { border-width: 1px; border-style: solid; }
.border-l-4 { border-left-width: 4px; border-left-style: solid; }
.border-gray-200 { border-color: var(--gray-200); }
.border-gray-800 { border-color: var(--gray-800); }
.border-green-400 { border-color: var(--green-400); }
.border-blue-400 { border-color: var(--blue-400); }
.border-yellow-400 { border-color: var(--yellow-400); }
.border-red-400 { border-color: var(--red-400); }
.border-police-blue\/20 { border-color: rgba(30, 64, 175, 0.2); }

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* Nav glass effect */
.bg-white\/95 {
  background-color: rgba(255, 255, 255, 0.95);
}
.backdrop-blur-sm {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Lists */
.list-disc { list-style-type: disc; }

/* Prose-like content spacing */
.prose {
  color: var(--gray-700);
}

.prose-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.prose section + section,
.prose > div > section + section {
  margin-top: 0;
}

.prose p + p {
  margin-top: 1rem;
}

/* Interactive */
.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.hover\:text-police-blue:hover { color: var(--police-blue); }
.hover\:text-white:hover { color: var(--white); }
.hover\:bg-police-dark:hover { background-color: var(--police-dark); }
.hover\:underline:hover { text-decoration: underline; }

button.bg-police-blue {
  background-color: var(--police-blue);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
}

/* Responsive */
@media (min-width: 640px) {
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
