/* CSS Variables */
:root {
  --color-primary: #1e293b;
  --color-primary-light: #334155;
  --color-accent: #84a98c;
  --color-accent-light: #a7c4a0;
  --color-accent-dark: #52796f;
  --color-bg-primary: #faf9f7;
  --color-bg-secondary: #f5f3ef;
  --color-bg-tertiary: #edeae4;
  --color-text-primary: #1e293b;
  --color-text-secondary: #64748b;
  --color-text-muted: #94a3b8;
  --color-border: #e2e0dc;
  --color-focus-ring: rgba(132, 169, 140, 0.4);
  --color-white: #ffffff;
  --color-error: #dc2626;
  --color-error-bg: #fef2f2;

  /* Typography */
  --font-display: 'Fraunces', serif;
  --font-body: 'Source Sans 3', sans-serif;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input {
  font-family: inherit;
  font-size: inherit;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.5s ease forwards;
  opacity: 0;
}

.fade-up--delay-1 {
  animation-delay: 0.1s;
}

.fade-up--delay-2 {
  animation-delay: 0.2s;
}

.fade-up--delay-3 {
  animation-delay: 0.3s;
}

.fade-up--delay-4 {
  animation-delay: 0.4s;
}

.fade-up--delay-5 {
  animation-delay: 0.5s;
}

/* Task complete animation */
@keyframes strikethrough {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-20px);
  }
}
