/* ═══════════════════════════════════════════════
   BASE — Reset, Typography, Global Styles
   ═══════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--ink);
}

h1 { font-size: clamp(var(--fs-3xl), 5vw, var(--fs-5xl)); }
h2 { font-size: clamp(var(--fs-2xl), 4vw, var(--fs-3xl)); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

a {
  color: var(--teal);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--sage); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

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

::selection {
  background: var(--teal-20);
  color: var(--ink);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--mist); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--slate); }

/* ── Section Tags ── */
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  background: var(--teal-10);
  border: 1px solid var(--teal-20);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title { margin-bottom: var(--space-md); }
.section-subtitle {
  font-size: var(--fs-md);
  color: var(--ink-60);
  max-width: 600px;
  margin: 0 auto;
}

.text-accent { color: var(--teal); }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
