/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
  --bg: #0a0a0f;
  --bg-surface: #12121a;
  --bg-card: #1a1a26;
  --bg-card-hover: #22223a;
  --text: #e8e6e3;
  --text-muted: #9a97a0;
  --text-dim: #6b687a;
  --accent: #a78bfa;
  --accent-light: #c4b5fd;
  --accent-dark: #7c3aed;
  --accent-glow: rgba(167, 139, 250, 0.15);
  --gold: #f5c542;
  --success: #34d399;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.4);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.logo-symbol {
  font-size: 1.5rem;
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-cta {
  background: var(--accent-dark);
  color: white !important;
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 500 !important;
  transition: all var(--transition) !important;
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--bg) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right var(--transition);
    border-left: 1px solid rgba(255,255,255,0.05);
  }
  .nav-links.open { right: 0; }
  .nav-cta { text-align: center; display: block; }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  gap: 8px;
}

.btn-primary {
  background: var(--accent-dark);
  color: white;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 12px 20px;
}
.btn-ghost:hover { color: var(--text); }
.btn-ghost:disabled { opacity: 0.3; cursor: not-allowed; }
.btn-ghost:disabled:hover { color: var(--text-muted); }

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(124, 58, 237, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(167, 139, 250, 0.06) 0%, transparent 40%),
              var(--bg);
}

.enneagram-symbol {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(500px, 80vw);
  height: min(500px, 80vw);
  animation: rotate-slow 120s linear infinite;
}

@keyframes rotate-slow {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub em {
  color: var(--accent-light);
  font-style: italic;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* ============================================
   Sections (General)
   ============================================ */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 500;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
  background: var(--bg-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}

.about-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(167, 139, 250, 0.15);
  transform: translateY(-4px);
}

.about-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================
   Types Section
   ============================================ */
.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.type-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.type-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent, var(--accent-dark));
  opacity: 0;
  transition: opacity var(--transition);
}

.type-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.1);
}

.type-card:hover::before {
  opacity: 1;
}

.type-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: var(--accent, var(--accent-light));
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.type-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.type-card p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  padding: 60px 0;
}

.cta-box {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(167, 139, 250, 0.05) 100%);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-box p {
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-note {
  font-size: 0.8rem;
  color: var(--text-dim) !important;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
  background: var(--bg-surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 32px;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-dark);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 64px 0 32px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  max-width: 700px;
  margin: 0 auto 48px;
}

.footer-brand {
  max-width: 360px;
}

@media (max-width: 480px) {
  .footer-grid {
    flex-direction: column;
    gap: 32px;
  }
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 16px;
  line-height: 1.6;
}

.footer-links h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--text-muted); }

/* ============================================
   Quiz Page
   ============================================ */
.quiz-page {
  min-height: 100vh;
  padding-top: 72px;
}

.quiz-screen {
  display: none;
  animation: fadeIn 0.5s ease;
}

.quiz-screen.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Quiz Intro */
.quiz-intro-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 24px;
}

.quiz-badge {
  display: inline-block;
  background: var(--accent-glow);
  border: 1px solid rgba(167, 139, 250, 0.2);
  color: var(--accent-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.quiz-intro-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.quiz-intro-content > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.quiz-meta {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.quiz-disclaimer {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 20px;
}

/* Quiz Progress */
.quiz-progress-bar {
  height: 3px;
  background: rgba(255,255,255,0.05);
  position: sticky;
  top: 72px;
  z-index: 10;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  transition: width 0.4s ease;
  width: 0%;
  border-radius: 0 2px 2px 0;
}

.quiz-progress-text {
  display: flex;
  justify-content: space-between;
  max-width: 680px;
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Question Container */
.question-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 24px 20px;
}

.question-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 600;
  margin-bottom: 32px;
  line-height: 1.3;
  text-align: center;
}

.answers-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.answer-option {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 18px 24px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  width: 100%;
}

.answer-option:hover {
  background: var(--bg-card-hover);
  border-color: rgba(167, 139, 250, 0.2);
}

.answer-option.selected {
  background: rgba(124, 58, 237, 0.12);
  border-color: var(--accent);
  color: var(--text);
}

.answer-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: all var(--transition);
}

.answer-option.selected .answer-letter {
  background: var(--accent-dark);
  color: white;
}

.answer-option-text {
  flex: 1;
}

/* Answer Hint */
.answer-hint {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #f87171;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.answer-hint.visible {
  opacity: 1;
}

/* Shake Animation */
.answers-grid.shake {
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* Quiz Nav */
.quiz-nav {
  display: flex;
  justify-content: space-between;
  max-width: 680px;
  margin: 0 auto;
  padding: 8px 24px 48px;
}

/* Loading Screen */
.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 72px);
  padding: 24px;
  text-align: center;
}

.loading-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 32px;
}

.spinner-ring {
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}

.spinner-ring:nth-child(2) {
  inset: 8px;
  border-top-color: var(--accent-light);
  animation-duration: 1.8s;
  animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
  inset: 16px;
  border-top-color: var(--accent-dark);
  animation-duration: 2.4s;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.loading-step {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
  min-height: 1.4em;
}

.loading-bar {
  width: 240px;
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
}

.loading-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  width: 0%;
  transition: width 0.3s ease;
}

/* Results Screen */
.results-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.results-header {
  text-align: center;
  margin-bottom: 48px;
}

.results-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 500;
}

.results-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.result-type-badge {
  display: inline-block;
  background: var(--accent-glow);
  border: 1px solid rgba(167, 139, 250, 0.2);
  color: var(--accent-light);
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
}

.results-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 48px;
}

.result-summary {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.result-traits h3,
.result-compat h3,
.result-growth h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.traits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trait-tag {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.result-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 540px) {
  .result-details-grid { grid-template-columns: 1fr; }
}

.result-detail-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 24px;
}

.result-detail-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 14px;
  font-weight: 600;
}

.result-detail-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.result-detail-card li {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-left: 18px;
  position: relative;
}

.result-detail-card li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.3;
}

.result-compat p,
.result-growth p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.results-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.results-footer {
  text-align: center;
}

.results-footer p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Share toast */
.share-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
  pointer-events: none;
}

.share-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================
   Legal Pages (Privacy, Terms)
   ============================================ */
.legal-page {
  padding-top: 120px;
  padding-bottom: 80px;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.legal-updated {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 48px;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-page p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-page a {
  color: var(--accent-light);
}

.legal-page a:hover {
  color: var(--accent);
}
