:root {
  /* Modern Color Palette - Inspired by Visual Coffee */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-accent: #f1f3f4;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-muted: #999999;
  --accent-primary: #007bff;
  --accent-secondary: #28a745;
  --border-color: #e9ecef;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  --shadow-heavy: rgba(0, 0, 0, 0.2);

  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  line-height: 1.6;
  font-weight: 400;

  color: var(--text-primary);
  background: var(--bg-primary);

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 360px;
  min-height: 100vh;
  background: var(--bg-primary);
  -webkit-tap-highlight-color: rgba(0, 123, 255, 0.2);
  touch-action: manipulation;
}

h1, h2, h3 {
  color: var(--text-primary);
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

a {
  font-weight: 500;
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s ease;
  -webkit-tap-highlight-color: rgba(0, 123, 255, 0.2);
  touch-action: manipulation;
}
a:hover {
  color: var(--accent-secondary);
  text-decoration: underline;
}
a:active {
  opacity: 0.8;
}

button {
  border-radius: 6px;
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px var(--shadow-light);
  min-height: 44px;
  min-width: 44px;
  -webkit-tap-highlight-color: rgba(0, 123, 255, 0.2);
  touch-action: manipulation;
}
button:hover {
  background-color: var(--bg-accent);
  border-color: var(--accent-primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px var(--shadow-medium);
}
button:active {
  transform: translateY(0);
}
