/* ── TERMS & CONDITIONS PAGE ── */

.terms-header .project-desc { max-width: 620px; }

.terms-section {
  background: var(--bg);
  padding: 4vh 5vw 14vh;
}

.terms-toolbar {
  max-width: 780px;
  margin: 0 auto 1.5rem;
  display: flex; justify-content: flex-end;
}

.terms-toggle-all {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  cursor: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.terms-toggle-all:hover {
  background: var(--accent);
  color: var(--bg);
}

.terms-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 1rem;
}

.terms-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.terms-item[open] { border-color: var(--accent-dim); }

.terms-summary {
  list-style: none;
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  cursor: pointer;
  user-select: none;
}

.terms-summary::-webkit-details-marker { display: none; }

.terms-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem; font-weight: 800;
  color: var(--accent);
  min-width: 2.4rem;
}

.terms-title {
  flex: 1;
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.terms-chevron {
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
}

.terms-chevron::before,
.terms-chevron::after {
  content: '';
  position: absolute;
  background: var(--text-muted);
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1), background 0.3s ease;
}

.terms-chevron::before {
  top: 50%; left: 0; width: 100%; height: 1.5px;
  transform: translateY(-50%);
}

.terms-chevron::after {
  top: 0; left: 50%; width: 1.5px; height: 100%;
  transform: translateX(-50%);
}

.terms-item[open] .terms-chevron::after { transform: translateX(-50%) scaleY(0); }
.terms-item[open] .terms-chevron::before { background: var(--accent); }

.terms-body {
  padding: 0 1.75rem 1.75rem;
  display: flex; flex-direction: column; gap: 0.9rem;
}

.terms-body p {
  font-size: 0.92rem; color: var(--text-muted);
  line-height: 1.75;
}

.terms-clause {
  font-family: 'Geist', 'Inter', sans-serif;
  font-weight: 600; color: var(--text);
  margin-right: 0.3rem;
}

.terms-bullets {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.5rem;
  margin: 0; padding: 0;
}

.terms-bullets li {
  font-size: 0.92rem; color: var(--text-muted);
  line-height: 1.6;
  padding-left: 1.4rem;
  position: relative;
}

.terms-bullets li::before {
  content: '';
  position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.terms-closing {
  max-width: 780px;
  margin: 4rem auto 0;
  text-align: center;
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 600; line-height: 1.5;
  color: var(--text);
}

@media (max-width: 700px) {
  .terms-summary { padding: 1.25rem 1.25rem; gap: 1rem; }
  .terms-body { padding: 0 1.25rem 1.5rem; }
  .terms-title { font-size: 0.95rem; }
}
