/* ================================
   Base Styles
   Typography, Colors, Layout
   ================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Colors - Light Theme */
  --bg-cream: #f5f3eb;
  --bg-white: #ffffff;
  --text-dark: #1a1a1a;
  --text-gray: #6b6b6b;
  --text-light: #999;
  
  /* Accent Colors */
  --accent-pink: #f4b8c5;
  --accent-yellow: #f5d76e;
  --accent-blue: #a8d4f0;
  --accent-purple: #d4c4e8;
  --accent-green: #b8e0d2;
  --accent-orange: #f5d4a8;
  
  /* UI */
  --border-dark: #1a1a1a;
  --font-main: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.3s ease;
  --max-width: 700px;
  --radius: 16px;
  --radius-lg: 24px;
}

/* Dark Theme */
body.dark-theme {
  --bg-cream: #1a1a1a;
  --bg-white: #242424;
  --text-dark: #f5f5f5;
  --text-gray: #a0a0a0;
  --text-light: #666;
  --border-dark: #444;
  --accent-pink: #e8a0b0;
  --accent-yellow: #d4b84e;
  --accent-blue: #7ab8d8;
  --accent-purple: #b8a4d0;
  --accent-green: #8cc8b8;
  --accent-orange: #d8b888;
  background: #1a1a1a;
  background-image: none;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--bg-cream);
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 24px,
    rgba(0,0,0,0.03) 24px,
    rgba(0,0,0,0.03) 25px
  );
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Links */
a {
  color: var(--text-dark);
  text-decoration: none;
  transition: opacity var(--transition);
}

a:hover {
  opacity: 0.7;
}

/* Section Titles */
.section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 3rem 0 1.5rem;
  color: var(--text-dark);
}

/* Tagline */
.tagline {
  color: var(--text-gray);
  font-size: 1.1rem;
  margin-top: 0.75rem;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Base */
@media (max-width: 600px) {
  .container { padding: 1.5rem 1rem; }
}

/* Screen Reader Only - Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip Navigation Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-dark);
  color: var(--bg-white);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  z-index: 1000;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 1rem;
  opacity: 1;
}
