/* ============================================
   01-base.css — Variables, reset, typography
   LIGHT THEME (Stripe / Linear / Notion style)
   ============================================ */

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

:root {
  /* Backgrounds — light & airy */
  --bg: #fafafa;              /* page bg — soft off-white, easy on eyes */
  --bg-elevated: #ffffff;     /* pure white for elevated panels */
  --surface: #ffffff;         /* card bg */
  --surface-2: #f4f4f5;       /* hover / secondary surfaces */
  --surface-3: #e4e4e7;       /* dividers / deeper hover */

  /* Borders — subtle on light bg */
  --border: rgba(0, 0, 0, 0.06);
  --border-2: rgba(0, 0, 0, 0.09);
  --border-3: rgba(0, 0, 0, 0.14);

  /* Brand accent (green) — same as before, works on both themes */
  --accent: #10b981;
  --accent-hover: #059669;
  --accent-glow: rgba(16, 185, 129, 0.18);
  --accent-soft: rgba(16, 185, 129, 0.10);

  /* Secondary accents */
  --blue: #3b82f6;
  --blue-soft: rgba(59, 130, 246, 0.10);
  --purple: #a855f7;
  --purple-soft: rgba(168, 85, 247, 0.10);
  --pink: #ec4899;
  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, 0.12);
  --red: #ef4444;
  --red-soft: rgba(239, 68, 68, 0.10);
  --cyan: #06b6d4;

  /* "Text-on-soft-bg" variants — darker for readability on light theme */
  --accent-text: #047857;     /* dark green */
  --blue-text:   #1e40af;     /* dark blue */
  --purple-text: #7e22ce;     /* dark purple */
  --amber-text:  #b45309;     /* dark amber */
  --red-text:    #b91c1c;     /* dark red */

  /* Text — dark on light bg */
  --text: #18181b;            /* near-black, primary text */
  --text-2: #3f3f46;          /* dark gray, secondary text */
  --muted: #a1a1aa;           /* lighter gray, less visible (more muted) */
  --muted-2: #52525b;         /* darker muted, more legible */

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* Radii */
  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;
  --r-2xl: 22px;
  --r-full: 9999px;

  /* Shadows — light theme needs softer but more visible shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 48px -8px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --t-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 300ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Type scale */
  --fs-tiny: 11px;
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-base: 14px;
  --fs-md: 15px;
  --fs-lg: 17px;
  --fs-xl: 20px;
  --fs-2xl: 24px;
  --fs-3xl: 32px;
  --fs-4xl: 40px;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  font-size: var(--fs-base);
  line-height: 1.5;
}

.mono { font-family: 'IBM Plex Mono', 'SF Mono', Consolas, monospace; }

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

input, select, textarea {
  font-family: inherit;
}

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

.hidden { display: none !important; }

/* Background orbs — very subtle accent washes for visual interest */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(160px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
.bg-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.10), transparent 70%);
  top: -200px;
  left: -100px;
}
.bg-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.08), transparent 70%);
  bottom: -150px;
  right: -80px;
}

/* No noise overlay on light theme — cleaner look */

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted-2); }
