/* ========== TERMS OF USE PAGE ========== */
.terms-page {
  min-height: 100vh;
  background: var(--bg-terms-page);
  padding: 3rem 1rem;
  transition: background 0.4s ease;
  margin-top: 3rem;
}

.terms-card {
  max-width: 56rem;
  margin: 0 auto;
  background: var(--bg-terms-card);
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-terms);
  overflow: hidden;
  transition: background 0.4s ease, border-color 0.4s ease;
}

/* Header */
.terms-header {
  background: linear-gradient(135deg, var(--plag-red), #9b1b30);
  padding: 2.5rem 2rem;
  text-align: center;
  color: #fff;
}

@media (min-width: 640px) {
  .terms-header {
    padding: 3rem 3rem;
  }
}

.terms-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}

.terms-title {
  font-family: 'Rubik', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.terms-subtitle {
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

/* Body */
.terms-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .terms-body {
    padding: 3rem;
  }
}

/* Sections */
.terms-section-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: var(--plag-red);
}

.terms-num {
  font-size: 1.5rem;
  font-weight: 900;
  opacity: 0.3;
  font-family: 'Rubik', sans-serif;
  line-height: 1;
}

.terms-h2 {
  font-family: 'Rubik', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-terms);
}

.terms-section-body {
  padding-left: 2.5rem;
  color: var(--text-terms-muted);
  line-height: 1.7;
}

.terms-section-body-sm {
  font-size: 0.9rem;
}

.terms-mb {
  margin-bottom: 0.85rem;
}

/* Surveillance callout */
.terms-callout {
  background: var(--bg-terms-callout);
  padding: 1.5rem;
  border-radius: 1rem;
  border-left: 4px solid var(--plag-gold);
}

.terms-callout-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: var(--text-terms-callout-head);
}

.terms-callout-head svg {
  flex-shrink: 0;
  color: var(--plag-gold);
}

.terms-callout-head .terms-h2 {
  color: var(--text-terms-callout-head);
}

.terms-callout-body {
  padding-left: 2.25rem;
  color: var(--text-terms-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.terms-bullet-list {
  list-style: disc;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-style: italic;
}

/* Meta footer */
.terms-meta {
  padding-top: 2rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border-terms);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .terms-meta {
    flex-direction: row;
  }
}

.terms-version {
  font-size: 0.875rem;
  color: var(--text-terms-faint);
  font-style: italic;
}

.terms-print-btn {
  padding: 0.6rem 1.5rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--plag-red), #a01830);
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(196, 30, 58, 0.3);
  transition: all 0.2s;
}

.terms-print-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(196, 30, 58, 0.4);
}

/* Print */
@media print {
  .terms-page {
    background: #fff;
    padding: 0;
  }
  .terms-card {
    box-shadow: none;
    border: none;
  }
  .terms-print-btn {
    display: none;
  }
}