*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #1e1e2e;
  --surface: #181825;
  --border:  #313244;
  --muted:   #6c7086;
  --text:    #cdd6f4;
  --mauve:   #cba6f7;
  --blue:    #89b4fa;
  --yellow:  #f9e2af;
}

html {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Courier New', Consolas, monospace;
  line-height: 1.6;
  padding: 40px 20px;
}

#terms-document {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 40px 48px;
}

#terms-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 28px;
}

#terms-header h1 {
  color: var(--mauve);
  font-size: 26px;
}

.terms-effective {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}

.terms-intro {
  margin-bottom: 28px;
}

.terms-section {
  margin-bottom: 28px;
}

.terms-section h2 {
  color: var(--blue);
  font-size: 18px;
  margin-bottom: 12px;
}

.terms-section p {
  margin-bottom: 12px;
}

.terms-list {
  margin: 8px 0 12px 24px;
}

.terms-list li {
  margin-bottom: 10px;
}

.terms-emphasis {
  border-left: 3px solid var(--yellow);
  background: rgba(249, 226, 175, 0.08);
  padding: 12px 16px;
  border-radius: 4px;
}

#terms-footer {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 32px;
}

.terms-back-link {
  color: var(--blue);
  text-decoration: none;
}

.terms-back-link:hover {
  text-decoration: underline;
}