:root {
  --purple-900: #4c3e54;
  --purple-700: #725e7e;
  --purple-500: #987da8;
  --purple-300: #c9b8d3;
  --purple-100: #e8ddef;
  --purple-50: #f5f0f8;
  --neutral-900: #313131;
  --neutral-700: #636261;
  --neutral-500: #949392;
  --neutral-300: #c6c4c2;
  --neutral-100: #f7f5f3;
  --cream: #eee5dd;
  --sand-300: #dbcbbb;
  --sand-700: #947353;
  --rose-700: #b0778a;
  --rose-500: #eb9fb8;
  --rose-300: #f5cdda;
  --sage-700: #7e8772;
  --sage-300: #bec3b8;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

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

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--neutral-900);
  background: var(--cream);
  min-height: 100dvh;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
}

.app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
}

/* Screen Transitions */
.screen {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  min-height: 100dvh;
}
.screen.active {
  display: flex;
  flex-direction: column;
}
.screen.visible {
  opacity: 1;
}

/* Common UI Elements */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--purple-700);
  color: white;
}
.btn-primary:active {
  background: var(--purple-900);
  transform: translateY(1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--purple-300);
  color: var(--purple-900);
}
.btn-outline:active {
  background: var(--purple-50);
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
