/* ── Terms page ── */
.terms-page {
  background: #000;
  color: rgba(255,255,255,0.9);
  font-family: 'Montserrat', sans-serif;
}

.terms-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.terms-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
}

/* Header */
.terms-header {
  padding: 40px 48px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: transparent;
}

.terms-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 10px;
}

.terms-title .accent {
  color: #4d9fff;
}

.terms-updated {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}

/* Body */
.terms-body {
  padding: 40px 48px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.terms-intro {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
}

.terms-intro strong {
  color: rgba(255,255,255,0.9);
}

/* Sections */
.terms-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.terms-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4d9fff;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(77,159,255,0.2);
}

.terms-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.terms-list li {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  padding-left: 18px;
  position: relative;
}

.terms-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(77,159,255,0.5);
  font-weight: 700;
}

/* Clause paragraphs (numbered sub-clauses) */
.terms-clause {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.terms-clause strong {
  color: rgba(255,255,255,0.85);
}

.terms-clause-num {
  color: rgba(77,159,255,0.7);
  font-weight: 700;
  margin-right: 6px;
}

/* Inline links */
.terms-link {
  color: rgb(62,134,183);
  text-decoration: none;
}
.terms-link:hover {
  text-decoration: underline;
}

/* Sub-list (indented, same dash bullet) */
.terms-list--sub {
  margin-left: 14px;
}

/* Lawful basis table */
.terms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}

.terms-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(77,159,255,0.8);
  padding: 8px 12px;
  border-bottom: 1px solid rgba(77,159,255,0.2);
}

.terms-table td {
  padding: 9px 12px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: top;
}

.terms-table td:last-child {
  white-space: nowrap;
  color: rgba(255,255,255,0.45);
  padding-left: 20px;
}

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

/* Footer of the doc */
.terms-footer {
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.terms-footer strong {
  color: rgba(255,255,255,0.7);
}

/* ── Global site footer (used on all pages) ── */
.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 40px;
  background: #000;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.8rem;
}

.footer-brand {
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.35);
}

.footer-sep {
  color: rgba(255,255,255,0.2);
}

.footer-link {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-weight: 500;
  transition: color 160ms;
}

.footer-link:hover,
.footer-link.active {
  color: #4d9fff;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .terms-main { padding: 20px 12px 60px; }

  .terms-card { border-radius: 14px; }

  .terms-header {
    padding: 28px 20px 24px;
  }

  .terms-body {
    padding: 28px 20px 36px;
    gap: 24px;
  }

  .terms-title { font-size: 2rem; }

  .site-footer { padding: 14px 16px; }
  .footer-inner { flex-wrap: wrap; gap: 8px 10px; }
}
