/* ═══════════════════════════════════════════════════════════════
   FOGS CONSULTANTS — OFFICIAL POLICY STYLESHEET
   File: /css/policy.css
   Unified styles for Policy Directory and all 21 Policy documents.
   Fully responsive, light/dark mode supported, zero external CDN dependencies.
   ═══════════════════════════════════════════════════════════════ */

/* ── ROOT DESIGN TOKENS ── */
:root {
  --bg: 222 25% 99%;
  --fg: 222 40% 12%;
  --card: 0 0% 100%;
  --muted: 220 22% 95%;
  --muted-fg: 220 10% 45%;
  --primary: 222 70% 32%;
  --primary-fg: 0 0% 100%;
  --accent: 199 90% 50%;
  --gold: 38 85% 50%;
  --border: 220 20% 89%;
  --input: 0 0% 100%;
  --grad: linear-gradient(135deg, hsl(222 70% 30%), hsl(210 80% 42%) 50%, hsl(199 90% 50%));
  --grad-text: linear-gradient(135deg, hsl(222 65% 26%), hsl(210 75% 38%), hsl(199 80% 42%));
  --shadow-sm: 0 4px 24px hsl(222 40% 20% / 0.08);
  --shadow-lg: 0 20px 50px -10px hsl(222 55% 25% / 0.22);
}

[data-theme="dark"] {
  --bg: 224 45% 6%;
  --fg: 220 25% 96%;
  --card: 224 38% 9%;
  --muted: 222 28% 13%;
  --muted-fg: 220 12% 65%;
  --primary: 217 90% 65%;
  --primary-fg: 224 45% 6%;
  --accent: 199 90% 60%;
  --gold: 40 90% 60%;
  --border: 222 26% 18%;
  --input: 222 26% 12%;
  --grad: linear-gradient(135deg, hsl(217 90% 65%), hsl(205 88% 60%) 50%, hsl(199 90% 60%));
  --grad-text: linear-gradient(135deg, hsl(217 88% 80%), hsl(205 85% 76%) 50%, hsl(199 90% 75%));
  --shadow-sm: 0 4px 24px hsl(0 0% 0% / 0.45);
  --shadow-lg: 0 20px 50px -10px hsl(217 80% 55% / 0.4);
}

/* ── BASE RESET & TYPOGRAPHY ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #fbf9fe;
  color: #241b36;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.25s ease, color 0.25s ease;
}

[data-theme="dark"] body {
  background-color: #050b18;
  color: #f8fafc;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: #241b36;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4 {
  color: #f8fafc;
}

a {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  background: #3b82f6;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  z-index: 9999;
  font-weight: 600;
  transition: top 0.2s;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* ── NAVBAR ── */
.nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(251, 249, 254, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(109, 40, 217, 0.12);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .nav {
  background: rgba(12, 24, 48, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .nav.scrolled {
  background: rgba(8, 16, 32, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: #6b6478;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  transition: all 0.25s ease;
  text-decoration: none;
}

[data-theme="dark"] .nav-links a {
  color: #94a3b8;
}

.nav-links a:hover,
.nav-links a.active {
  color: #241b36;
  background: rgba(109, 40, 217, 0.07);
  text-decoration: none;
}

[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active {
  color: #f8fafc;
  background: rgba(59, 130, 246, 0.15);
}

.nav-links a.active {
  color: #3b82f6;
  font-weight: 600;
}

[data-theme="dark"] .nav-links a.active {
  color: #60a5fa;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  opacity: 0.94;
  transform: translateY(-1px);
  text-decoration: none !important;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 0.65rem;
  border: 1px solid #e4def2;
  background: #fff;
  color: #241b36;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

[data-theme="dark"] .icon-btn {
  background: #0c1830;
  border-color: #1e293b;
  color: #f8fafc;
}

.icon-btn:hover {
  background: #f3effa;
}

[data-theme="dark"] .icon-btn:hover {
  background: #1e293b;
}

.mob-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 0.65rem;
  border: 1px solid #e4def2;
  background: #fff;
  color: #241b36;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

[data-theme="dark"] .mob-toggle {
  background: #0c1830;
  border-color: #1e293b;
  color: #f8fafc;
}

/* ── MOBILE DRAWER ── */
.mob-menu {
  display: none;
  position: fixed;
  top: 61px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(251, 249, 254, 0.98);
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
  z-index: 999;
  border-bottom: 1px solid rgba(109, 40, 217, 0.12);
}

[data-theme="dark"] .mob-menu {
  background: rgba(8, 16, 32, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.mob-menu.open {
  display: flex;
}

.mob-menu a {
  padding: 0.75rem 1rem;
  border-radius: 0.6rem;
  color: #241b36;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid #e4def2;
  background: #fff;
  text-decoration: none;
}

[data-theme="dark"] .mob-menu a {
  color: #f8fafc;
  background: #0c1830;
  border-color: #1e293b;
}

@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }
  .mob-toggle {
    display: inline-flex;
  }
}

/* ═══════════════════════════════════════════════════════════════
   POLICY HERO (Exact match to previous system)
   ═══════════════════════════════════════════════════════════════ */
.policy-hero {
  padding: 130px 1.5rem 60px;
  background: linear-gradient(135deg, #f5f0fc 0%, #fbf1e8 55%, #f5f0fc 100%);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .policy-hero {
  background: linear-gradient(135deg, #091326 0%, #0d1b38 55%, #091326 100%);
}

.policy-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 65% 50%, rgba(239, 106, 44, 0.10), transparent);
  pointer-events: none;
}

.policy-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.policy-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #6b6478;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

[data-theme="dark"] .policy-breadcrumb {
  color: #94a3b8;
}

.policy-breadcrumb a {
  color: #6b6478;
  text-decoration: none;
}

[data-theme="dark"] .policy-breadcrumb a {
  color: #94a3b8;
}

.policy-breadcrumb a:hover {
  color: #3b82f6;
}

[data-theme="dark"] .policy-breadcrumb a:hover {
  color: #60a5fa;
}

.policy-breadcrumb .separator {
  opacity: 0.5;
}

.eyebrow-container {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59, 130, 246, 0.10);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 100px;
  padding: 0.3rem 1rem;
  margin-bottom: 1.25rem;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  color: #3b82f6;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

[data-theme="dark"] .eyebrow {
  color: #60a5fa;
}

.policy-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: #241b36;
  margin-bottom: 0.85rem;
}

[data-theme="dark"] .policy-hero h1 {
  color: #f8fafc;
}

.policy-hero p.lead {
  font-size: 1.05rem;
  color: #6b6478;
  max-width: 620px;
  line-height: 1.7;
}

[data-theme="dark"] .policy-hero p.lead {
  color: #94a3b8;
}

.policy-hero .meta {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: #8b8496;
}

[data-theme="dark"] .policy-hero .meta {
  color: #64748b;
}

/* ═══════════════════════════════════════════════════════════════
   POLICY LAYOUT, TOC & SECTIONS (Exact match to previous system & image)
   ═══════════════════════════════════════════════════════════════ */
.policy-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}

.policy-toc {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid #e4def2;
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 4px 24px rgba(109, 40, 217, 0.06);
}

[data-theme="dark"] .policy-toc {
  background: #0c1830;
  border-color: #1e293b;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.policy-toc h3 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8b8496;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #ede8f5;
}

[data-theme="dark"] .policy-toc h3 {
  color: #94a3b8;
  border-bottom-color: #1e293b;
}

.policy-toc ol {
  list-style: none;
  padding: 0;
  counter-reset: toc;
}

.policy-toc li {
  counter-increment: toc;
  margin-bottom: 0.35rem;
}

.policy-toc a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #6b6478;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  transition: all 0.2s;
  line-height: 1.4;
  text-decoration: none;
}

[data-theme="dark"] .policy-toc a {
  color: #94a3b8;
}

.policy-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-size: 0.7rem;
  color: #3b82f6;
  font-weight: 700;
  flex-shrink: 0;
}

[data-theme="dark"] .policy-toc a::before {
  color: #60a5fa;
}

.policy-toc a:hover {
  color: #241b36;
  background: rgba(59, 130, 246, 0.07);
  text-decoration: none;
}

[data-theme="dark"] .policy-toc a:hover {
  color: #f8fafc;
  background: rgba(59, 130, 246, 0.15);
}

.policy-toc a.active {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  font-weight: 600;
}

[data-theme="dark"] .policy-toc a.active {
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.2);
}

.policy-body {
  min-width: 0;
}

.policy-section {
  margin-bottom: 3rem;
  scroll-margin-top: 100px;
}

.policy-section h2 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #241b36;
  margin-bottom: 1.1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #ede8f5;
}

[data-theme="dark"] .policy-section h2 {
  color: #f8fafc;
  border-bottom-color: #1e293b;
}

.sec-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

[data-theme="dark"] .sec-num {
  background: rgba(59, 130, 246, 0.22);
  color: #60a5fa;
}

.policy-section p {
  color: #4a4358;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0.9rem;
}

[data-theme="dark"] .policy-section p {
  color: #cbd5e1;
}

.policy-section ul,
.policy-section ol {
  padding-left: 1.35rem;
  margin-bottom: 1rem;
}

.policy-section li {
  color: #4a4358;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

[data-theme="dark"] .policy-section li {
  color: #cbd5e1;
}

.policy-section strong {
  color: #241b36;
  font-weight: 600;
}

[data-theme="dark"] .policy-section strong {
  color: #f8fafc;
}

.policy-section table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.policy-section th {
  background: #f3effa;
  color: #241b36;
  font-weight: 600;
  padding: 0.65rem 0.85rem;
  text-align: left;
  border: 1px solid #e4def2;
}

[data-theme="dark"] .policy-section th {
  background: #0f172a;
  color: #f8fafc;
  border-color: #1e293b;
}

.policy-section td {
  padding: 0.6rem 0.85rem;
  border: 1px solid #ede8f5;
  color: #4a4358;
  vertical-align: top;
}

[data-theme="dark"] .policy-section td {
  border-color: #1e293b;
  color: #cbd5e1;
}

.policy-section tr:nth-child(even) td {
  background: rgba(109, 40, 217, 0.02);
}

[data-theme="dark"] .policy-section tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.policy-callout {
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-left: 3px solid #3b82f6;
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}

[data-theme="dark"] .policy-callout {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.25);
  border-left-color: #60a5fa;
}

.policy-callout p {
  color: #4a4358;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.65;
}

[data-theme="dark"] .policy-callout p {
  color: #cbd5e1;
}

.policy-callout strong {
  color: #241b36;
}

[data-theme="dark"] .policy-callout strong {
  color: #f8fafc;
}

.policy-contact {
  background: linear-gradient(135deg, #f7f4fc, #fdf1e9);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  padding: 2rem;
  margin-top: 2rem;
  text-align: center;
}

[data-theme="dark"] .policy-contact {
  background: #0c1830;
  border-color: #1e293b;
}

.policy-contact h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #241b36;
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .policy-contact h3 {
  color: #f8fafc;
}

.policy-contact p {
  color: #6b6478;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

[data-theme="dark"] .policy-contact p {
  color: #94a3b8;
}

.policy-contact a.cta-btn,
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #3b82f6;
  color: #fff !important;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s;
  text-decoration: none !important;
}

.policy-contact a.cta-btn:hover,
.cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  text-decoration: none;
}

.reg-box {
  background: rgba(239, 106, 44, 0.07);
  border: 1px solid rgba(239, 106, 44, 0.22);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}

[data-theme="dark"] .reg-box {
  background: #0c1830;
  border-color: #1e293b;
}

.reg-box p {
  color: #4a4358;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.8;
}

[data-theme="dark"] .reg-box p {
  color: #94a3b8;
}

.reg-box strong {
  color: #ef6a2c;
}

@media (max-width: 1024px) {
  .policy-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .policy-toc {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   POLICY DIRECTORY (index.html) SPECIFIC
   ═══════════════════════════════════════════════════════════════ */
.directory-hero {
  text-align: center;
  padding: 4rem 1.5rem 3rem;
}

.directory-hero .policy-hero-inner {
  max-width: 860px;
}

.directory-hero p.lead {
  margin: 0 auto 1.5rem;
}

.directory-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin: 2.5rem auto 0;
  padding: 1.5rem 2rem;
  background: #fff;
  border: 1px solid #e4def2;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(109, 40, 217, 0.06);
}

[data-theme="dark"] .directory-stats {
  background: #0c1830;
  border-color: #1e293b;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.85rem;
  font-weight: 800;
  color: #241b36;
  line-height: 1.2;
}

[data-theme="dark"] .stat-number {
  color: #f8fafc;
}

.stat-label {
  font-size: 0.75rem;
  color: #8b8496;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-top: 0.25rem;
}

[data-theme="dark"] .stat-label {
  color: #94a3b8;
}

@media (max-width: 680px) {
  .directory-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.25rem;
  }
}

.policy-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 992px) {
  .filter-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.search-box {
  position: relative;
  min-width: 300px;
  max-width: 420px;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #8b8496;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid #e4def2;
  color: #241b36;
  font-size: 0.92rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

[data-theme="dark"] .search-input {
  background: #0c1830;
  border-color: #1e293b;
  color: #f8fafc;
}

.search-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cat-btn {
  background: #fff;
  border: 1px solid #e4def2;
  color: #6b6478;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.83rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  font-family: inherit;
}

[data-theme="dark"] .cat-btn {
  background: #0c1830;
  border-color: #1e293b;
  color: #94a3b8;
}

.cat-btn:hover {
  background: #f3effa;
  color: #241b36;
}

[data-theme="dark"] .cat-btn:hover {
  background: #1e293b;
  color: #f8fafc;
}

.cat-btn.active {
  background: #3b82f6;
  color: #fff !important;
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.28);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.policy-card {
  background: #fff;
  border: 1px solid #e4def2;
  border-radius: 1.15rem;
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(109, 40, 217, 0.05);
}

[data-theme="dark"] .policy-card {
  background: #0c1830;
  border-color: #1e293b;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.policy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(109, 40, 217, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
}

[data-theme="dark"] .policy-card:hover {
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5);
  border-color: #3b82f6;
}

.policy-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.85rem;
  background: rgba(109, 40, 217, 0.08);
  border: 1px solid #e4def2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  user-select: none;
}

[data-theme="dark"] .card-icon {
  background: rgba(59, 130, 246, 0.15);
  border-color: #1e293b;
}

.cat-badge {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  background: rgba(109, 40, 217, 0.06);
  color: #6b6478;
  border: 1px solid #e4def2;
}

[data-theme="dark"] .cat-badge {
  background: #1e293b;
  color: #94a3b8;
  border-color: #334155;
}

.policy-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.policy-card p {
  color: #6b6478;
  font-size: 0.88rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .policy-card p {
  color: #94a3b8;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #ede8f5;
  font-size: 0.82rem;
}

[data-theme="dark"] .card-footer {
  border-top-color: #1e293b;
}

.card-footer a {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #3b82f6;
}

[data-theme="dark"] .card-footer a {
  color: #60a5fa;
}

.card-footer .updated-tag {
  color: #8b8496;
  font-size: 0.75rem;
}

[data-theme="dark"] .card-footer .updated-tag {
  color: #64748b;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  color: #6b6478;
}

.no-results h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #241b36;
}

[data-theme="dark"] .no-results h3 {
  color: #f8fafc;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER (Official FOGS corporate footer)
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: #fff;
  border-top: 1px solid #e4def2;
  margin-top: 3rem;
  font-size: 0.88rem;
}

[data-theme="dark"] .site-footer {
  background: #081020;
  border-top-color: rgba(255, 255, 255, 0.08);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding: 3.5rem 0 2.5rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand p {
  color: #6b6478;
  font-size: 0.85rem;
  line-height: 1.7;
  margin-top: 0.85rem;
  max-width: 320px;
}

[data-theme="dark"] .footer-brand p {
  color: #94a3b8;
}

.foot-h {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #241b36;
  margin-bottom: 1.15rem;
}

[data-theme="dark"] .foot-h {
  color: #f8fafc;
}

.foot-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.foot-links a {
  color: #6b6478;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

[data-theme="dark"] .foot-links a {
  color: #94a3b8;
}

.foot-links a:hover {
  color: #3b82f6;
  text-decoration: none;
}

[data-theme="dark"] .foot-links a:hover {
  color: #60a5fa;
}

.footer-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  padding: 1.25rem 0;
  margin-top: 1.5rem;
  border-top: 1px solid #ede8f5;
}

[data-theme="dark"] .footer-trust-badges {
  border-top-color: #1e293b;
}

.trust-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f3effa;
  border: 1px solid #e4def2;
  border-radius: 9999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #241b36;
}

[data-theme="dark"] .trust-badge-pill {
  background: #0c1830;
  border-color: #1e293b;
  color: #f8fafc;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid #ede8f5;
  font-size: 0.8rem;
  color: #6b6478;
}

[data-theme="dark"] .footer-bottom {
  border-top-color: #1e293b;
  color: #94a3b8;
}

.footer-bottom a {
  color: #6b6478;
  text-decoration: none;
}

[data-theme="dark"] .footer-bottom a {
  color: #94a3b8;
}

.footer-bottom a:hover {
  color: #3b82f6;
  text-decoration: none;
}

[data-theme="dark"] .footer-bottom a:hover {
  color: #60a5fa;
}
