.terms-page {
  min-height: 100vh;
  background: var(--ink);
  color: var(--cream);
}

.terms-main {
  max-width: 1040px;
  margin: 40px auto 90px;
  padding: 0 28px;
}

.terms-hero {
  border-bottom: 1px solid var(--line);
  padding-bottom: 35px;
  margin-bottom: 45px;
}

.terms-hero h1 {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -2px;
  margin: 0 0 14px;
}

.terms-hero h1 em {
  font-style: normal;
  color: var(--lime);
}

.terms-meta {
  color: var(--muted);
  font-size: 13px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.terms-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.terms-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 50px;
  align-items: start;
}

.terms-sidebar {
  position: sticky;
  top: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.terms-sidebar h3 {
  font-family: var(--display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--lime);
  margin: 0 0 12px;
}

.terms-sidebar a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 3px;
  transition: background 0.15s ease, color 0.15s ease;
}

.terms-sidebar a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--cream);
}

.terms-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.terms-section {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 32px;
  scroll-margin-top: 30px;
}

.terms-section h2 {
  font-family: var(--display);
  font-size: 22px;
  color: var(--cream);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.terms-section h2 span {
  font-size: 13px;
  color: var(--lime);
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.3);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-family: var(--font);
  font-weight: 800;
}

.terms-section p {
  color: #c5cfe0;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 14px;
}

.terms-section p:last-child {
  margin-bottom: 0;
}

.terms-section ul {
  margin: 0 0 14px 20px;
  padding: 0;
  color: #c5cfe0;
  font-size: 14px;
  line-height: 1.7;
}

.terms-section li {
  margin-bottom: 6px;
}

.terms-alert {
  background: rgba(0, 242, 254, 0.08);
  border-left: 3px solid var(--lime);
  padding: 14px 18px;
  margin-top: 18px;
  font-size: 13px;
  color: #e2e8f0;
}

.terms-alert strong {
  color: var(--lime);
}

@media (max-width: 860px) {
  .terms-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .terms-sidebar {
    position: static;
    display: none;
  }

  .terms-section {
    padding: 24px;
  }
}
