/* ==========================================================================
   Terms & Conditions — terms-and-conditions.css
   Uses design tokens from :root in styles.css
   ========================================================================== */

.terms-hero {
  padding: 140px 0 64px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.terms-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.terms-hero p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

.terms-content {
  padding: 64px 0;
}

.terms-content .container {
  max-width: 800px;
}

/* Shared with privacy-policy.css: .content-wrapper, .last-updated, .intro-text,
   .section-number, .highlight-box, .contact-section, .contact-button
   Re-declaring for independence if loaded separately */

.terms-content .content-wrapper {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border);
}

.terms-content .last-updated {
  display: inline-block;
  background: var(--accent-muted);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 32px;
}

.terms-content .intro-text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

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

.terms-section h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.terms-content .section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: var(--bg-primary);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.terms-section p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.terms-section ul {
  margin: 12px 0;
  padding-left: 24px;
  list-style: disc;
}

.terms-section ul li {
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.7;
}

.terms-section ul li::marker {
  color: var(--accent);
}

.terms-content .highlight-box {
  background: var(--accent-muted);
  border: 1px solid rgba(184, 255, 87, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 28px 0;
}

.terms-content .highlight-box h4 {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.terms-content .highlight-box p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.8;
}

.terms-content .contact-section {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin-top: 40px;
}

.terms-content .contact-section h3 {
  font-family: var(--font-display);
  color: var(--text-primary);
  margin-bottom: 12px;
  justify-content: center;
}

.terms-content .contact-section p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.terms-content .contact-button {
  display: inline-block;
  background: var(--accent);
  color: var(--bg-primary);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

.terms-content .contact-button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(184, 255, 87, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
  .terms-hero {
    padding: 120px 0 48px;
  }

  .terms-content {
    padding: 32px 0;
  }

  .terms-content .content-wrapper {
    padding: 32px 20px;
  }

  .terms-content .intro-text {
    font-size: 0.9375rem;
    margin-bottom: 28px;
    padding-bottom: 28px;
  }

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

  .terms-section h3 {
    font-size: 1.125rem;
  }

  .terms-content .highlight-box {
    padding: 20px;
    margin: 20px 0;
  }
}
