/* ==========================================================================
   Design System & Base Styles
   ========================================================================== */

/* Design Tokens - Central source of truth for all design values */
:root {
  /* Color System */
  --color-text-primary: #1e293b;
  --color-text-secondary: #64748b;
  --color-text-dark: #222;
  --color-background-primary: #f8fafc;
  --color-background-secondary: #e0e7ef;
  --color-surface: rgba(255, 255, 255, 0.92);
  --color-shadow-light: rgba(30, 41, 59, 0.07);
  --color-shadow-medium: rgba(30, 41, 59, 0.13);
  --color-shadow-heavy: rgba(30, 41, 59, 0.18);
  --color-accent: #3b82f6;
  --color-accent-alpha: rgba(59, 130, 246, 0.3);
  --color-tooltip-bg: rgba(30, 41, 59, 0.75);
  --color-white: #ffffff;

  /* Typography Scale */
  --font-family-primary: 'Segoe UI', 'Roboto', Arial, sans-serif;
  --font-size-xs: 0.65rem;
  --font-size-sm: 0.75rem;
  --font-size-base: 0.98rem;
  --font-size-lg: 1rem;
  --font-size-xl: 1.15rem;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
  --line-height-tight: 1.3;
  --letter-spacing-wide: 0.01em;

  /* Spacing Scale */
  --space-xs: 0.15rem;
  --space-sm: 0.3rem;
  --space-md: 0.5rem;
  --space-lg: 0.8rem;
  --space-xl: 1rem;
  --space-2xl: 1.2rem;
  --space-3xl: 1.5rem;
  --space-4xl: 2rem;
  --space-5xl: 3rem;

  /* Border Radius Scale */
  --radius-sm: 0.375rem;
  --radius-md: 1.1rem;
  --radius-full: 50%;

  /* Shadow System */
  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-sm: 0 2px 12px 0 var(--color-shadow-light);
  --shadow-md: 0 6px 24px 0 var(--color-shadow-medium);
  --shadow-lg: 0 8px 32px 0 var(--color-shadow-heavy);
  --shadow-accent: 0 8px 24px var(--color-accent-alpha);

  /* Animation & Timing */
  --timing-fast: 0.15s;
  --timing-base: 0.2s;
  --timing-slow: 0.3s;
  --timing-page: 1.2s;
  --easing-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --easing-bounce: cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout Dimensions */
  --logo-size: 160px;
  --avatar-size: 72px;
  --grid-logo-base: 100px;
  --grid-logo-weac: 110px;
  --grid-logo-pypi: 90px;
  --author-min-width: 260px;
  --container-padding: 1.5rem 1vw 1rem;
}

/* Base Reset & Foundation */
html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family-primary);
  background: linear-gradient(135deg, var(--color-background-primary) 0%, var(--color-background-secondary) 100%);
  color: var(--color-text-dark);
  overflow-x: hidden;
}

/* Main Container - Centered layout with animation */
.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: fadeIn var(--timing-page) var(--easing-smooth);
  padding: var(--container-padding);
}

/* Section Spacing - Consistent vertical rhythm */
.section {
  width: 100%;
  margin: var(--space-xl) 0;
  text-align: center;
} 