/* =========================================================
   Terms & Conditions
   ========================================================= */

body { background: var(--bg); }

.terms-container {
  width: min(100% - 32px, 760px);
  margin-inline: auto;
  margin-block: var(--space-10);
  padding: clamp(24px, 4vw, 56px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  animation: rgt-fade-up 480ms var(--ease-out) both;
}

.terms-container h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-align: center;
  margin-bottom: var(--space-2);
  background: linear-gradient(180deg, var(--ink-900), var(--ink-700));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.terms-container > p:first-of-type {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: var(--space-8);
}

.terms-container h2 {
  font-size: 1.15rem;
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  color: var(--text);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.terms-container h2::before {
  content: '';
  width: 6px; height: 24px;
  background: linear-gradient(180deg, var(--rgt-red-500), var(--rgt-red-700));
  border-radius: var(--radius-pill);
}

.terms-container p,
.terms-container li {
  color: var(--text-muted);
  line-height: 1.7;
}

.terms-container ul {
  margin: var(--space-3) 0;
  padding-left: 0;
  display: grid;
  gap: var(--space-2);
  list-style: none;
}
.terms-container ul li {
  position: relative;
  padding-left: 28px;
}
.terms-container ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--primary-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.terms-container a { color: var(--primary); font-weight: 600; }
.terms-container a:hover { text-decoration: underline; }

.contact-info {
  margin-top: var(--space-8);
  padding: var(--space-5);
  background: var(--surface-2);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
}
.contact-info h2 { margin-top: 0; }
.contact-info p { margin: 4px 0; color: var(--text); }
