/* ============================================
   BASE RESET & GLOBAL — Claude UI Style
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

body {
  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  /* GPU composite layer for smooth scrolling */
  transform: translateZ(0);
}

/* Smooth interactions by default */
button, a, label, [onclick] { cursor: pointer; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-primary);
}

input, select, textarea {
  font-family: var(--font-primary);
  outline: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================
   TYPOGRAPHY — Claude scale: tight, precise
   ============================================ */
.display-xl {
  font-family: var(--font-primary);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.display-lg {
  font-family: var(--font-primary);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.display-md {
  font-family: var(--font-primary);
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.heading {
  font-family: var(--font-primary);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.subheading {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}

.body-lg {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
}

.body-sm {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

.caption {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Gradient text for hero */
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #ff8c42 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-accent { color: var(--accent); }
.text-pink { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-light { color: var(--text-light); }
.text-center { text-align: center; }

.bg-dark { background: var(--bg-dark); }
.bg-secondary { background: var(--bg-secondary); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-48 { gap: 48px; }

.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }

.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-64 { margin-bottom: 64px; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-medium); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
