/* ===================================================================
   KikiGenie — Shared Design Tokens & Components
   Mapped from thrills_app/lib/theme/design_system.dart
   =================================================================== */

/* --- Design Tokens --- */
:root {
  /* Brand Purple Scale */
  --purple-900: #4A148C;
  --purple-800: #6A1B9A;
  --purple-700: #7B1FA2;
  --purple-600: #8E24AA;
  --purple-500: #9C27B0;
  --purple-400: #AB47BC;
  --purple-300: #CE93D8;
  --purple-200: #E1BEE7;
  --purple-100: #F3E5F5;
  --purple-50:  #F9F5FC;

  /* Neutral Scale */
  --neutral-950: #0A0A0A;
  --neutral-900: #171717;
  --neutral-800: #262626;
  --neutral-700: #404040;
  --neutral-600: #525252;
  --neutral-500: #737373;
  --neutral-400: #A3A3A3;
  --neutral-300: #D4D4D4;
  --neutral-200: #E5E5E5;
  --neutral-100: #F5F5F5;
  --neutral-50:  #FAFAFA;

  /* Semantic */
  --success: #16A34A;
  --warning: #EA580C;
  --error:   #DC2626;
  --info:    #2563EB;

  /* Role Aliases */
  --accent:        var(--purple-700);
  --accent-light:  var(--purple-100);
  --accent-hover:  var(--purple-800);
  --accent-dark:   var(--purple-900);
  --bg:            var(--neutral-50);
  --card:          #ffffff;
  --muted:         var(--neutral-500);
  --text:          var(--neutral-900);
  --text-secondary:var(--neutral-600);
  --glass:         rgba(123, 31, 162, 0.06);
  --border:        rgba(123, 31, 162, 0.08);
  --border-strong: rgba(123, 31, 162, 0.16);

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #9C27B0, #7B1FA2);
  --gradient-soft:  linear-gradient(180deg, #F3E5F5, #F9F5FC);
  --gradient-hero:  linear-gradient(180deg, #F9F5FC 0%, #FAFAFA 100%);
  --gradient-dark:  linear-gradient(135deg, #4A148C, #7B1FA2);

  /* Radius */
  --radius-xs:   6px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   20px;
  --radius-xxl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.04);
  --shadow-lg:  0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl:  0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-purple: 0 4px 14px rgba(123, 31, 162, 0.25);
  --shadow-nav: 0 1px 3px rgba(0,0,0,0.04);

  /* Spacing (8-pt grid) */
  --space-2: 2px;   --space-4: 4px;   --space-6: 6px;
  --space-8: 8px;   --space-12: 12px; --space-16: 16px;
  --space-20: 20px; --space-24: 24px; --space-32: 32px;
  --space-40: 40px; --space-48: 48px; --space-64: 64px;

  /* Typography */
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, sans-serif;
  --maxw: 1120px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 350ms;
}

/* --- Base Reset --- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  margin: 0;
  background: var(--gradient-hero);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; font-weight: 600; }
a:hover { color: var(--accent-hover); }

/* --- Container --- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--space-16);
}

@media (min-width: 768px) {
  .container { padding: 0 var(--space-24); }
}

@media (min-width: 1024px) {
  .container { padding: 0 var(--space-32); }
}

/* --- Sticky Glass Nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--duration-normal) var(--ease);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--space-12) var(--space-16);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .nav-inner { padding: var(--space-12) var(--space-24); }
}

@media (min-width: 1024px) {
  .nav-inner { padding: var(--space-12) var(--space-32); }
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.logo-text {
  font-weight: 700;
  font-size: 18px;
}

.logo-tagline {
  font-size: 11px;
  color: var(--muted);
  margin-top: -2px;
}

.nav-links {
  display: none;
  gap: var(--space-24);
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
  transition: color var(--duration-fast) var(--ease);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-cta {
  display: none;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-8);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--duration-normal) var(--ease), opacity var(--duration-fast) var(--ease);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-32);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 20px;
  color: var(--text);
  font-weight: 600;
}

.mobile-menu a:hover {
  color: var(--accent);
}

.mobile-close {
  position: absolute;
  top: var(--space-16);
  right: var(--space-16);
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text);
  padding: var(--space-8);
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta { display: block; }
  .nav-toggle { display: none; }
}

/* --- Typography --- */
h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.25;
}

.heading-display {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.heading-1 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.3px;
}

.heading-2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: -0.2px;
}

.heading-3 {
  font-size: 18px;
  font-weight: 600;
}

.heading-4 {
  font-size: 16px;
  font-weight: 600;
}

.text-lead {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-secondary);
  line-height: 1.6;
}

.text-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.text-small {
  font-size: 13px;
  color: var(--muted);
}

.text-caption {
  font-size: 12px;
  color: var(--muted);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-12) var(--space-24);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease),
              box-shadow var(--duration-normal) var(--ease),
              background var(--duration-normal) var(--ease);
  font-family: var(--font);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--gradient-brand);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  box-shadow: var(--shadow-purple);
  color: white;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--accent);
  padding: 11px var(--space-24);
}

.btn-ghost:hover {
  background: var(--glass);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-sm {
  padding: var(--space-8) var(--space-16);
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-full {
  width: 100%;
}

@media (min-width: 768px) {
  .btn-full { width: auto; }
}

/* --- Cards --- */
.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border);
  transition: transform var(--duration-normal) var(--ease),
              box-shadow var(--duration-normal) var(--ease);
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-purple {
  background: var(--purple-50);
  border-color: rgba(123, 31, 162, 0.12);
}

/* --- Pills / Badges --- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-full);
  background: var(--purple-50);
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
}

/* --- Sections --- */
section {
  padding: var(--space-48) 0;
  scroll-margin-top: 80px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-40);
}

.section-header .heading-2 {
  margin-bottom: var(--space-12);
}

.section-bg {
  background: var(--purple-50);
}

.section-dark {
  background: var(--gradient-dark);
  color: white;
}

.section-dark .text-lead,
.section-dark .text-body,
.section-dark .text-small {
  color: rgba(255, 255, 255, 0.8);
}

.section-dark .heading-2,
.section-dark .heading-3 {
  color: white;
}

/* --- Grid helpers --- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: var(--space-24); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: var(--space-24); }
}

/* --- Hero --- */
.hero {
  padding-top: calc(80px + var(--space-48));
  padding-bottom: var(--space-48);
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(123, 31, 162, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-40);
  align-items: center;
}

.hero-content {
  max-width: 540px;
  text-align: center;
}

.hero-content .heading-display {
  margin-bottom: var(--space-16);
}

.hero-content .text-lead {
  margin-bottom: var(--space-24);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  align-items: center;
}

.hero-visual {
  position: relative;
  max-width: 380px;
  width: 100%;
}

.mascot-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-24);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.mascot-card img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease);
}

.mascot-card img:hover {
  transform: scale(1.03);
}

.speech-bubble {
  background: var(--purple-50);
  color: var(--accent);
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: var(--space-16);
  text-align: center;
  box-shadow: var(--shadow-xs);
}

@media (min-width: 768px) {
  .hero-grid {
    flex-direction: row;
    justify-content: space-between;
  }
  .hero-content {
    text-align: left;
    flex: 1;
  }
  .hero-cta {
    flex-direction: row;
    justify-content: flex-start;
  }
  .hero-visual {
    flex-shrink: 0;
  }
}

@media (min-width: 1024px) {
  .hero { padding-top: calc(80px + var(--space-64)); padding-bottom: var(--space-64); }
  .hero-visual { max-width: 420px; }
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--purple-50);
  padding: var(--space-32) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
}

.stat-card {
  text-align: center;
  padding: var(--space-20);
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(123, 31, 162, 0.08);
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
}

.stat-source {
  font-size: 11px;
  color: var(--neutral-400);
  margin-top: var(--space-4);
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-24); }
}

/* --- Steps (How it works) --- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-24);
  counter-reset: step;
}

.step-card {
  text-align: center;
  padding: var(--space-32) var(--space-24);
  counter-increment: step;
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--purple-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto var(--space-16);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--gradient-brand);
  color: white;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: var(--space-12);
}

.step-card .heading-4 {
  margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Activity Gallery --- */
.activity-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-16);
}

.activity-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease),
              box-shadow var(--duration-normal) var(--ease),
              border-color var(--duration-normal) var(--ease);
  position: relative;
}

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--purple-300);
}

.activity-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease);
}

.activity-card:hover .activity-image {
  transform: scale(1.05);
}

.activity-icon-badge {
  position: absolute;
  top: var(--space-8);
  right: var(--space-8);
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(4px);
}

.activity-info {
  padding: var(--space-12);
}

.activity-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-bottom: var(--space-2);
}

.activity-desc {
  font-size: 12px;
  color: var(--muted);
}

.gallery-toggle {
  text-align: center;
  margin-top: var(--space-24);
}

.gallery-hidden {
  display: none;
}

.gallery-hidden.show {
  display: contents;
}

@media (min-width: 768px) {
  .activity-gallery { grid-template-columns: repeat(3, 1fr); }
  .activity-icon-badge { width: 40px; height: 40px; font-size: 20px; }
}

@media (min-width: 1024px) {
  .activity-gallery { grid-template-columns: repeat(4, 1fr); }
}

/* --- Waitlist / CTA Section --- */
.cta-section {
  background: var(--gradient-dark);
  color: white;
  padding: var(--space-64) 0;
  text-align: center;
}

.cta-section .heading-2 {
  color: white;
  margin-bottom: var(--space-12);
}

.cta-section .text-lead {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-32);
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  max-width: 480px;
  margin: 0 auto;
}

.waitlist-form input[type="email"] {
  padding: var(--space-12) var(--space-16);
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--duration-normal) var(--ease);
}

.waitlist-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.waitlist-form input[type="email"]:focus {
  border-color: rgba(255, 255, 255, 0.5);
}

.waitlist-form .btn-cta {
  background: white;
  color: var(--accent);
  padding: var(--space-12) var(--space-24);
  border-radius: var(--radius-md);
  border: none;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  font-family: var(--font);
  transition: transform var(--duration-normal) var(--ease),
              box-shadow var(--duration-normal) var(--ease);
}

.waitlist-form .btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .waitlist-form {
    flex-direction: row;
  }
  .waitlist-form input[type="email"] {
    flex: 1;
  }
}

.form-message {
  margin-top: var(--space-12);
  font-size: 14px;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-16);
  margin-top: var(--space-24);
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--duration-fast) var(--ease);
}

.social-links a:hover {
  color: white;
}

/* App store badges */
.store-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  margin-top: var(--space-24);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 500;
}

/* --- Charts --- */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
}

.chart-card {
  padding: var(--space-20);
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--border);
}

.chart-card h4 {
  margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .charts-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-24); }
}

/* --- Details / Accordion --- */
details {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-16);
  margin-bottom: var(--space-12);
}

details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

details summary::after {
  content: '+';
  font-size: 18px;
  color: var(--muted);
  transition: transform var(--duration-normal) var(--ease);
}

details[open] summary::after {
  content: '−';
}

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

details > *:not(summary) {
  margin-top: var(--space-12);
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-32) 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.footer-brand {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 400px;
}

.footer-brand strong {
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: var(--space-16);
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: 12px;
  color: var(--neutral-400);
  margin-top: var(--space-8);
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border: 6px solid white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  cursor: default;
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero entrance */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 600ms var(--ease) forwards;
}

.fade-up-delay-1 { animation-delay: 100ms; }
.fade-up-delay-2 { animation-delay: 200ms; }
.fade-up-delay-3 { animation-delay: 350ms; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.mt-8  { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }
.mt-24 { margin-top: var(--space-24); }
.mt-32 { margin-top: var(--space-32); }
.mb-8  { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }
.mb-24 { margin-bottom: var(--space-24); }
.mb-32 { margin-bottom: var(--space-32); }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-prose { max-width: 640px; }

/* Divider */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-200) 50%, transparent);
  margin: var(--space-32) 0;
  border: none;
}
