/* ==========================================================================
   MathHeroes — Official Studio Privacy & Support Portal
   Dark Navy Fantasy Theme | Google Play & COPPA Compliant
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-darkest: #060913;
  --bg-primary: #0a0f24;
  --bg-secondary: #0f1738;
  --bg-surface: #141e43;
  --bg-surface-elevated: #1b2858;
  
  --bg-glass: rgba(16, 25, 58, 0.75);
  --bg-glass-card: rgba(20, 31, 70, 0.65);
  --bg-glass-hover: rgba(28, 43, 94, 0.85);

  --border-subtle: rgba(99, 102, 241, 0.18);
  --border-medium: rgba(139, 92, 246, 0.35);
  --border-bright: rgba(165, 180, 252, 0.5);
  --border-gold: rgba(245, 158, 11, 0.45);
  --border-green: rgba(52, 211, 153, 0.4);

  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --text-gold: #fde047;
  --text-cyan: #38bdf8;
  --text-indigo: #818cf8;
  --text-green: #4ade80;

  --accent-blue: #38bdf8;
  --accent-indigo: #6366f1;
  --accent-purple: #8b5cf6;
  --accent-magenta: #ec4899;
  --accent-gold: #f59e0b;
  --accent-green: #10b981;

  --gradient-magic: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
  --gradient-gold: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);
  --gradient-cyan: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  --gradient-card: linear-gradient(145deg, rgba(23, 35, 78, 0.7) 0%, rgba(13, 20, 48, 0.85) 100%);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --glow-indigo: 0 0 30px rgba(99, 102, 241, 0.28);
  --glow-purple: 0 0 35px rgba(139, 92, 246, 0.32);
  --glow-gold: 0 0 25px rgba(245, 158, 11, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --max-w-container: 1180px;
  --max-w-content: 860px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Base Reset & Smooth Scroll */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-darkest);
  color: var(--text-secondary);
  line-height: 1.7;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.22), transparent 75%),
    radial-gradient(ellipse 60% 40% at 10% 45%, rgba(139, 92, 246, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 75%, rgba(56, 189, 248, 0.1), transparent 60%),
    var(--bg-primary);
  background-attachment: fixed;
  overflow-x: hidden;
  font-size: 1.05rem;
}

/* Reading Progress Bar */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-magic);
  z-index: 1000;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.8);
}

/* Typography */
h1, h2, h3, h4, h5 {
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.45rem, 3.8vw, 2rem);
  margin-top: 2rem;
  margin-bottom: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

h3 {
  font-size: clamp(1.18rem, 2.8vw, 1.45rem);
  margin-top: 1.6rem;
  margin-bottom: 0.75rem;
  color: var(--text-cyan);
}

p {
  margin-bottom: 1.2rem;
  color: var(--text-secondary);
}

a {
  color: var(--accent-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

a:hover, a:focus-visible {
  color: var(--text-gold);
  text-decoration-color: var(--text-gold);
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.35rem;
}

li {
  margin-bottom: 0.6rem;
  padding-left: 0.25rem;
}

li::marker {
  color: var(--accent-indigo);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background-color: rgba(99, 102, 241, 0.18);
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  color: var(--text-cyan);
  font-size: 0.88em;
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(10, 15, 36, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 1.5rem;
  transition: var(--transition);
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-magic);
}

.nav-container {
  max-width: var(--max-w-container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.015em;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
  border: 1.5px solid var(--border-bright);
  object-fit: cover;
  transition: var(--transition);
}

.brand-link:hover .brand-logo {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.6);
}

.brand-text-magic {
  background: var(--gradient-magic);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 0.55rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

.nav-links a:hover {
  color: var(--text-primary);
  background-color: rgba(99, 102, 241, 0.14);
  border-color: var(--border-subtle);
}

.nav-links a.active {
  color: #ffffff;
  background-color: rgba(99, 102, 241, 0.25);
  border-color: var(--border-bright);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.25);
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Main Layout */
main {
  flex: 1;
  max-width: var(--max-w-container);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
  width: 100%;
}

.policy-container {
  max-width: var(--max-w-content);
  margin: 0 auto;
}

/* Badges & Tags */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(99, 102, 241, 0.16);
  color: var(--text-indigo);
  border: 1px solid var(--border-subtle);
  margin-bottom: 0.75rem;
}

.badge-gold {
  background: rgba(245, 158, 11, 0.18);
  color: var(--text-gold);
  border-color: var(--border-gold);
}

.badge-green {
  background: rgba(16, 185, 129, 0.18);
  color: var(--text-green);
  border-color: var(--border-green);
}

.badge-cyan {
  background: rgba(56, 189, 248, 0.18);
  color: var(--text-cyan);
  border-color: rgba(56, 189, 248, 0.4);
}

/* Hero Section (Home) */
.hero-wrapper {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  align-items: center;
  gap: 3rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-lg), var(--glow-indigo);
  position: relative;
  overflow: hidden;
}

.hero-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-magic);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
}

.hero-visual {
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero-art-card {
  background: rgba(10, 15, 36, 0.75);
  border: 1.5px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md), var(--glow-purple);
  position: relative;
  overflow: hidden;
}

.hero-art-img {
  max-width: 220px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.6));
  transition: transform 0.3s ease;
}

.hero-art-card:hover .hero-art-img {
  transform: scale(1.04);
}

.hero-art-label {
  margin-top: 1rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.hero-art-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gradient-magic);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(139, 92, 246, 0.65);
  color: #ffffff;
  text-decoration: none;
}

.btn-secondary {
  background: rgba(30, 41, 75, 0.75);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(45, 60, 110, 0.9);
  border-color: var(--border-bright);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Privacy Highlights Matrix */
.highlights-panel {
  background: linear-gradient(145deg, rgba(16, 25, 58, 0.9) 0%, rgba(10, 15, 36, 0.95) 100%);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-md);
}

.highlights-header {
  text-align: center;
  margin-bottom: 2rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.highlight-item {
  background: rgba(20, 31, 70, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
}

.highlight-item:hover {
  border-color: var(--border-bright);
  background: rgba(28, 43, 94, 0.75);
  transform: translateY(-3px);
}

.highlight-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.highlight-item h3 {
  color: var(--text-primary);
  font-size: 1.18rem;
  margin-top: 0;
  margin-bottom: 0.4rem;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.75rem;
  margin: 2.5rem 0 3.5rem;
}

.feature-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-bright);
  background: var(--bg-glass-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--glow-indigo);
}

.feature-card-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

/* Policy Content Cards */
.policy-header {
  text-align: center;
  padding: 2.5rem 1rem 3rem;
  margin-bottom: 2.5rem;
  background: linear-gradient(180deg, rgba(23, 35, 78, 0.55) 0%, rgba(10, 15, 36, 0) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(20, 31, 70, 0.4);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.policy-card {
  background-color: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.policy-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-magic);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

/* Quick Search / Filter */
.search-filter-box {
  margin-bottom: 2rem;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.95rem 1.25rem 0.95rem 3rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 56, 0.9);
  border: 1.5px solid var(--border-bright);
  color: #ffffff;
  font-size: 1.05rem;
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}

.search-input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.search-icon-decor {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--text-muted);
  pointer-events: none;
}

/* Table of Contents */
.toc-box {
  background: rgba(15, 23, 56, 0.95);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 2.75rem;
  box-shadow: var(--shadow-md);
}

.toc-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-print {
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid var(--border-subtle);
  color: var(--text-cyan);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-print:hover {
  background: rgba(99, 102, 241, 0.4);
  color: #ffffff;
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.6rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc-grid a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.96rem;
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.65rem;
  transition: var(--transition);
}

.toc-grid a:hover {
  color: #ffffff;
  background-color: rgba(99, 102, 241, 0.2);
}

.toc-idx {
  color: var(--accent-blue);
  font-weight: 800;
  font-size: 0.88rem;
  min-width: 24px;
}

/* Callout Notices */
.notice-box {
  background: rgba(99, 102, 241, 0.09);
  border-left: 4px solid var(--accent-indigo);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.35rem;
  margin: 1.4rem 0;
}

.notice-box.notice-green {
  background: rgba(16, 185, 129, 0.09);
  border-left-color: var(--accent-green);
}

.notice-box.notice-gold {
  background: rgba(245, 158, 11, 0.09);
  border-left-color: var(--accent-gold);
}

.notice-title {
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
}

/* Data Tables */
.data-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.96rem;
  background-color: rgba(15, 23, 56, 0.85);
}

.data-table th, .data-table td {
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
}

.data-table th {
  background-color: rgba(28, 43, 94, 0.85);
  color: var(--text-primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.84rem;
  letter-spacing: 0.05em;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background-color: rgba(99, 102, 241, 0.08);
}

/* Support & Contact Cards */
.contact-card-main {
  background: linear-gradient(145deg, rgba(23, 35, 78, 0.85) 0%, rgba(13, 20, 48, 0.95) 100%);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg), var(--glow-indigo);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.email-pill-container {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.email-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(99, 102, 241, 0.22);
  border: 1.5px solid var(--border-bright);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition);
  word-break: break-all;
}

.email-pill:hover {
  background: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.5);
  transform: scale(1.02);
  color: #ffffff;
}

.btn-copy-email {
  background: rgba(56, 189, 248, 0.2);
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  color: var(--text-cyan);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-copy-email:hover {
  background: rgba(56, 189, 248, 0.4);
  color: #ffffff;
}

/* Steps List */
.step-list {
  list-style: none;
  margin: 1.75rem 0;
  padding: 0;
}

.step-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
  background: rgba(20, 31, 70, 0.45);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.step-item:hover {
  border-color: var(--border-bright);
  background: rgba(28, 43, 94, 0.65);
}

.step-num {
  background: var(--gradient-magic);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.step-body h4 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

/* Toast Notification */
#toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--gradient-magic);
  color: #ffffff;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#toast-notification.toast-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Site Footer */
.site-footer {
  background-color: var(--bg-darkest);
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 1.5rem 2.5rem;
  margin-top: auto;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-container {
  max-width: var(--max-w-container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem;
}

.footer-brand {
  max-width: 400px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-col h4 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.6rem;
  padding: 0;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--text-cyan);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

/* Accessibility & Print Stylesheet */
@media print {
  body {
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 11pt;
  }

  .site-header, .site-footer, .search-filter-box, .btn-print, #reading-progress, .hero-actions {
    display: none !important;
  }

  .policy-card, .highlights-panel {
    background: transparent !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: none !important;
    color: #111827 !important;
    page-break-inside: avoid;
  }

  h1, h2, h3 {
    color: #111827 !important;
  }

  p, li {
    color: #374151 !important;
  }

  a {
    color: #1f2937 !important;
    text-decoration: underline !important;
  }
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(10, 15, 36, 0.98);
    flex-direction: column;
    padding: 1.25rem;
    border-bottom: 1.5px solid var(--border-bright);
    gap: 0.65rem;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.nav-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 0.85rem;
    font-size: 1.1rem;
  }

  .policy-card {
    padding: 1.5rem 1.15rem;
  }

  .email-pill-container {
    flex-direction: column;
    width: 100%;
  }

  .email-pill {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 1.85rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  .btn {
    width: 100%;
  }

  .policy-meta {
    flex-direction: column;
    gap: 0.6rem;
  }
}
