/* ═══════════════════════════════════════════════════════════════════════════════
   GALAXYWARDEN LEGAL PAGES - FACETED COSMIC DESIGN
   Privacy Policy, Terms of Service, CCPA Compliance, Security Policy
   ═══════════════════════════════════════════════════════════════════════════════ */

/* =============================================================================
   BASE CONTAINERS
   ============================================================================= */
.privacy-container,
.terms-container,
.dns-container,
.request-container,
.security-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  position: relative;
}

/* Page Header */
.legal-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: linear-gradient(160deg, rgba(10, 14, 22, 0.95), rgba(8, 12, 20, 0.98));
  position: relative;
  
  clip-path: polygon(
    20px 0, calc(100% - 20px) 0,
    100% 20px, 100% calc(100% - 20px),
    calc(100% - 20px) 100%, 20px 100%,
    0 calc(100% - 20px), 0 20px
  );
  
  box-shadow:
    inset 2px 2px 0 rgba(168, 213, 229, 0.1),
    inset -2px -2px 0 rgba(139, 92, 246, 0.06),
    0 8px 40px rgba(0, 0, 0, 0.4);
}

/* Top accent bar */
.legal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(168, 213, 229, 0.6), 
    rgba(139, 92, 246, 0.4), 
    rgba(168, 213, 229, 0.6), 
    transparent
  );
}

.legal-header h1 {
  font-family: 'Exo 2', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0 0 0.75rem;
  letter-spacing: 1px;
}

.legal-header .meta {
  color: #64748b;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.legal-header .meta strong {
  color: #94a3b8;
}

/* =============================================================================
   COMPLIANCE BADGES
   ============================================================================= */
.ccpa-badge,
.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0.25rem;
  
  clip-path: polygon(
    4px 0, calc(100% - 4px) 0,
    100% 4px, 100% calc(100% - 4px),
    calc(100% - 4px) 100%, 4px 100%,
    0 calc(100% - 4px), 0 4px
  );
}

.ccpa-badge {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  color: white;
  box-shadow: 0 2px 10px rgba(96, 165, 250, 0.3);
}

.ccpa-badge.gdpr {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.ccpa-badge.security {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

/* =============================================================================
   TABLE OF CONTENTS - FACETED DESIGN
   ============================================================================= */
.privacy-toc,
.terms-toc {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.9), rgba(10, 14, 22, 0.95));
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  position: relative;
  
  clip-path: polygon(
    14px 0, calc(100% - 14px) 0,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0 calc(100% - 14px), 0 14px
  );
  
  box-shadow:
    inset 1px 1px 0 rgba(168, 213, 229, 0.08),
    inset -1px -1px 0 rgba(100, 116, 139, 0.04);
}

/* Left accent bar */
.privacy-toc::before,
.terms-toc::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 0;
  bottom: 14px;
  width: 3px;
  background: linear-gradient(180deg, #A8D5E5, #a78bfa, #A8D5E5);
}

.privacy-toc h3,
.terms-toc h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #A8D5E5;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.privacy-toc ul,
.terms-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.privacy-toc li,
.terms-toc li {
  padding: 0;
  border: none;
}

.privacy-toc a,
.terms-toc a {
  display: block;
  padding: 0.6rem 1rem;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  background: rgba(0, 0, 0, 0.2);
  
  clip-path: polygon(
    4px 0, calc(100% - 4px) 0,
    100% 4px, 100% calc(100% - 4px),
    calc(100% - 4px) 100%, 4px 100%,
    0 calc(100% - 4px), 0 4px
  );
}

.privacy-toc a:hover,
.terms-toc a:hover {
  background: rgba(168, 213, 229, 0.08);
  color: #A8D5E5;
  transform: translateX(4px);
}

/* =============================================================================
   CONTENT SECTIONS - FACETED CARDS
   ============================================================================= */
.privacy-section,
.terms-section {
  margin-bottom: 2rem;
  padding: 1.75rem 2rem;
  background: linear-gradient(160deg, rgba(10, 14, 22, 0.9), rgba(8, 12, 20, 0.95));
  position: relative;
  
  clip-path: polygon(
    12px 0, calc(100% - 12px) 0,
    100% 12px, 100% calc(100% - 12px),
    calc(100% - 12px) 100%, 12px 100%,
    0 calc(100% - 12px), 0 12px
  );
  
  box-shadow:
    inset 1px 1px 0 rgba(168, 213, 229, 0.06),
    inset -1px -1px 0 rgba(100, 116, 139, 0.03);
}

/* Top accent gradient */
.privacy-section::before,
.terms-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: linear-gradient(90deg, rgba(168, 213, 229, 0.4), rgba(139, 92, 246, 0.3), transparent);
}

.privacy-section h2,
.terms-section h2 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #A8D5E5;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(100, 116, 139, 0.15);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.privacy-section h3,
.terms-section h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 1.25rem 0 0.75rem;
}

.privacy-section p,
.terms-section p,
.privacy-section li,
.terms-section li {
  color: #94a3b8;
  line-height: 1.75;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.privacy-section ul,
.terms-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-section strong,
.terms-section strong {
  color: #e2e8f0;
}

/* =============================================================================
   HIGHLIGHT BOXES - FACETED STYLE
   ============================================================================= */
.privacy-highlight,
.terms-highlight,
.legal-highlight {
  background: linear-gradient(135deg, rgba(168, 213, 229, 0.06), rgba(139, 92, 246, 0.04));
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
  position: relative;
  
  clip-path: polygon(
    8px 0, calc(100% - 8px) 0,
    100% 8px, 100% calc(100% - 8px),
    calc(100% - 8px) 100%, 8px 100%,
    0 calc(100% - 8px), 0 8px
  );
  
  box-shadow: inset 0 0 0 1px rgba(168, 213, 229, 0.12);
}

/* Left accent bar */
.privacy-highlight::before,
.terms-highlight::before,
.legal-highlight::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(180deg, #A8D5E5, #a78bfa);
}

.privacy-highlight strong,
.terms-highlight strong,
.legal-highlight strong {
  color: #A8D5E5;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.privacy-highlight ul,
.terms-highlight ul,
.legal-highlight ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.privacy-highlight li,
.terms-highlight li,
.legal-highlight li {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

/* Warning variant */
.privacy-highlight.warning,
.legal-highlight.warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(239, 68, 68, 0.05));
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.2);
}

.privacy-highlight.warning::before,
.legal-highlight.warning::before {
  background: linear-gradient(180deg, #f59e0b, #ef4444);
}

/* Success variant */
.privacy-highlight.success,
.legal-highlight.success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(34, 197, 94, 0.05));
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.2);
}

.privacy-highlight.success::before,
.legal-highlight.success::before {
  background: linear-gradient(180deg, #10b981, #22c55e);
}

/* =============================================================================
   DATA TABLES - FACETED COSMIC DESIGN
   ============================================================================= */
.privacy-table,
.legal-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem 0;
  font-size: 0.85rem;
  overflow: hidden;
  
  /* Outer container styling handled by wrapper */
}

.privacy-table thead,
.legal-table thead {
  background: linear-gradient(135deg, rgba(168, 213, 229, 0.12), rgba(139, 92, 246, 0.08));
}

.privacy-table th,
.legal-table th {
  padding: 1rem;
  text-align: left;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  color: #A8D5E5;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(168, 213, 229, 0.15);
}

.privacy-table td,
.legal-table td {
  padding: 1rem;
  color: #94a3b8;
  border-bottom: 1px solid rgba(100, 116, 139, 0.1);
  vertical-align: top;
  line-height: 1.6;
}

.privacy-table tbody tr,
.legal-table tbody tr {
  transition: background 0.2s ease;
}

.privacy-table tbody tr:hover,
.legal-table tbody tr:hover {
  background: rgba(168, 213, 229, 0.03);
}

.privacy-table tbody tr:last-child td,
.legal-table tbody tr:last-child td {
  border-bottom: none;
}

.privacy-table td strong,
.legal-table td strong {
  color: #e2e8f0;
}

/* Table wrapper for faceted container */
.table-wrapper {
  background: linear-gradient(160deg, rgba(10, 14, 22, 0.9), rgba(8, 12, 20, 0.95));
  overflow: hidden;
  margin: 1.5rem 0;
  
  clip-path: polygon(
    10px 0, calc(100% - 10px) 0,
    100% 10px, 100% calc(100% - 10px),
    calc(100% - 10px) 100%, 10px 100%,
    0 calc(100% - 10px), 0 10px
  );
  
  box-shadow:
    inset 1px 1px 0 rgba(168, 213, 229, 0.08),
    inset -1px -1px 0 rgba(100, 116, 139, 0.04);
}

/* =============================================================================
   DO NOT SELL PAGE
   ============================================================================= */
.dns-container {
  max-width: 700px;
}

.dns-status {
  padding: 2rem;
  text-align: center;
  position: relative;
  
  clip-path: polygon(
    16px 0, calc(100% - 16px) 0,
    100% 16px, 100% calc(100% - 16px),
    calc(100% - 16px) 100%, 16px 100%,
    0 calc(100% - 16px), 0 16px
  );
}

.dns-status.success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(34, 197, 94, 0.06));
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.25);
}

.dns-status.warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.06));
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.25);
}

.dns-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  
  clip-path: polygon(
    6px 0, calc(100% - 6px) 0,
    100% 6px, 100% calc(100% - 6px),
    calc(100% - 6px) 100%, 6px 100%,
    0 calc(100% - 6px), 0 6px
  );
}

.dns-badge.success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* Opt-out Form */
.opt-out-form {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.9), rgba(10, 14, 22, 0.95));
  padding: 1.5rem;
  margin-top: 1.5rem;
  
  clip-path: polygon(
    12px 0, calc(100% - 12px) 0,
    100% 12px, 100% calc(100% - 12px),
    calc(100% - 12px) 100%, 12px 100%,
    0 calc(100% - 12px), 0 12px
  );
  
  box-shadow: inset 0 0 0 1px rgba(100, 116, 139, 0.1);
}

.opt-out-form label {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
  
  clip-path: polygon(
    6px 0, calc(100% - 6px) 0,
    100% 6px, 100% calc(100% - 6px),
    calc(100% - 6px) 100%, 6px 100%,
    0 calc(100% - 6px), 0 6px
  );
}

.opt-out-form label:hover {
  background: rgba(168, 213, 229, 0.05);
  box-shadow: inset 0 0 0 1px rgba(168, 213, 229, 0.15);
}

.opt-out-form input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #A8D5E5;
  cursor: pointer;
}

.opt-out-form .opt-label {
  flex: 1;
}

.opt-out-form .opt-title {
  font-weight: 600;
  color: #e2e8f0;
  display: block;
  margin-bottom: 0.25rem;
}

.opt-out-form .opt-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
}

.gpc-notice {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.08), rgba(139, 92, 246, 0.05));
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
  
  clip-path: polygon(
    6px 0, calc(100% - 6px) 0,
    100% 6px, 100% calc(100% - 6px),
    calc(100% - 6px) 100%, 6px 100%,
    0 calc(100% - 6px), 0 6px
  );
  
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.2);
}

/* =============================================================================
   CCPA REQUEST PAGE
   ============================================================================= */
.request-container {
  max-width: 700px;
}

.request-type {
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.9), rgba(10, 14, 22, 0.95));
  
  clip-path: polygon(
    10px 0, calc(100% - 10px) 0,
    100% 10px, 100% calc(100% - 10px),
    calc(100% - 10px) 100%, 10px 100%,
    0 calc(100% - 10px), 0 10px
  );
  
  box-shadow: inset 0 0 0 1px rgba(100, 116, 139, 0.15);
}

.request-type:hover {
  box-shadow: inset 0 0 0 1px rgba(168, 213, 229, 0.3);
  transform: translateY(-2px);
}

.request-type.selected {
  box-shadow: inset 0 0 0 2px rgba(168, 213, 229, 0.5);
  background: linear-gradient(160deg, rgba(168, 213, 229, 0.08), rgba(139, 92, 246, 0.05));
}

.request-type input[type="radio"] {
  display: none;
}

.request-type .type-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.request-type .type-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  
  clip-path: polygon(
    4px 0, calc(100% - 4px) 0,
    100% 4px, 100% calc(100% - 4px),
    calc(100% - 4px) 100%, 4px 100%,
    0 calc(100% - 4px), 0 4px
  );
}

.request-type .type-title {
  font-weight: 600;
  color: #e2e8f0;
  font-size: 1rem;
}

.request-type .type-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 0.5rem;
  margin-left: calc(40px + 0.75rem);
  line-height: 1.5;
}

/* Form Sections */
.form-section {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.85), rgba(10, 14, 22, 0.9));
  padding: 1.5rem;
  margin-top: 1.5rem;
  
  clip-path: polygon(
    10px 0, calc(100% - 10px) 0,
    100% 10px, 100% calc(100% - 10px),
    calc(100% - 10px) 100%, 10px 100%,
    0 calc(100% - 10px), 0 10px
  );
  
  box-shadow: inset 0 0 0 1px rgba(100, 116, 139, 0.1);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  color: #e2e8f0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  color: #e2e8f0;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  
  clip-path: polygon(
    6px 0, calc(100% - 6px) 0,
    100% 6px, 100% calc(100% - 6px),
    calc(100% - 6px) 100%, 6px 100%,
    0 calc(100% - 6px), 0 6px
  );
  
  box-shadow: inset 0 0 0 1px rgba(100, 116, 139, 0.2);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(168, 213, 229, 0.5);
  background: rgba(0, 0, 0, 0.4);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748b;
}

/* Verification Notice */
.verification-notice {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.06));
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #fbbf24;
  
  clip-path: polygon(
    6px 0, calc(100% - 6px) 0,
    100% 6px, 100% calc(100% - 6px),
    calc(100% - 6px) 100%, 6px 100%,
    0 calc(100% - 6px), 0 6px
  );
  
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.25);
}

/* Timeline */
.timeline {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.08), rgba(139, 92, 246, 0.05));
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  
  clip-path: polygon(
    6px 0, calc(100% - 6px) 0,
    100% 6px, 100% calc(100% - 6px),
    calc(100% - 6px) 100%, 6px 100%,
    0 calc(100% - 6px), 0 6px
  );
  
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.2);
}

.timeline h4 {
  color: #60a5fa;
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.timeline ul {
  margin: 0;
  padding-left: 1.25rem;
  color: #94a3b8;
  font-size: 0.85rem;
}

.timeline li {
  margin-bottom: 0.4rem;
}

/* Consent Checkbox */
.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  
  clip-path: polygon(
    6px 0, calc(100% - 6px) 0,
    100% 6px, 100% calc(100% - 6px),
    calc(100% - 6px) 100%, 6px 100%,
    0 calc(100% - 6px), 0 6px
  );
}

.consent-check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #A8D5E5;
  cursor: pointer;
}

.consent-check span {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Submit Button */
.legal-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 2rem;
  margin-top: 1.5rem;
  background: linear-gradient(135deg, #A8D5E5, #60a5fa);
  color: #0a0e17;
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  
  clip-path: polygon(
    8px 0, calc(100% - 8px) 0,
    100% 8px, 100% calc(100% - 8px),
    calc(100% - 8px) 100%, 8px 100%,
    0 calc(100% - 8px), 0 8px
  );
  
  box-shadow: 0 4px 20px rgba(168, 213, 229, 0.3);
}

.legal-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168, 213, 229, 0.4);
}

.legal-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* =============================================================================
   CONTACT SECTION
   ============================================================================= */
.contact-card {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.9), rgba(10, 14, 22, 0.95));
  padding: 1.5rem;
  margin: 1rem 0;
  
  clip-path: polygon(
    10px 0, calc(100% - 10px) 0,
    100% 10px, 100% calc(100% - 10px),
    calc(100% - 10px) 100%, 10px 100%,
    0 calc(100% - 10px), 0 10px
  );
  
  box-shadow: inset 0 0 0 1px rgba(168, 213, 229, 0.1);
}

.contact-card h4 {
  color: #A8D5E5;
  font-size: 1rem;
  margin: 0 0 0.75rem;
}

.contact-card p {
  margin: 0.4rem 0;
  color: #94a3b8;
}

.contact-card a {
  color: #A8D5E5;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* =============================================================================
   RESPONSIVE DESIGN
   ============================================================================= */
@media (max-width: 768px) {
  .privacy-container,
  .terms-container,
  .dns-container,
  .request-container {
    padding: 1rem;
  }
  
  .legal-header {
    padding: 1.5rem;
    clip-path: polygon(
      14px 0, calc(100% - 14px) 0,
      100% 14px, 100% calc(100% - 14px),
      calc(100% - 14px) 100%, 14px 100%,
      0 calc(100% - 14px), 0 14px
    );
  }
  
  .legal-header::before {
    left: 14px;
    right: 14px;
  }
  
  .legal-header h1 {
    font-size: 1.5rem;
  }
  
  .privacy-toc ul,
  .terms-toc ul {
    grid-template-columns: 1fr;
  }
  
  .privacy-section,
  .terms-section {
    padding: 1.25rem;
    clip-path: polygon(
      8px 0, calc(100% - 8px) 0,
      100% 8px, 100% calc(100% - 8px),
      calc(100% - 8px) 100%, 8px 100%,
      0 calc(100% - 8px), 0 8px
    );
  }
  
  .privacy-section::before,
  .terms-section::before {
    left: 8px;
    right: 8px;
  }
  
  .privacy-table,
  .legal-table {
    font-size: 0.8rem;
  }
  
  .privacy-table th,
  .privacy-table td,
  .legal-table th,
  .legal-table td {
    padding: 0.75rem 0.5rem;
  }
  
  .ccpa-badge {
    display: block;
    margin: 0.25rem auto;
    width: fit-content;
  }
}

@media (max-width: 480px) {
  .legal-header h1 {
    font-size: 1.25rem;
  }
  
  .privacy-section h2,
  .terms-section h2 {
    font-size: 1rem;
  }
  
  .request-type .type-desc {
    margin-left: 0;
    margin-top: 0.75rem;
  }
  
  .request-type .type-icon {
    width: 32px;
    height: 32px;
    font-size: 1.25rem;
  }
}
