/* ── Reset & Base ── */

/* ── Feather Icon Helpers ── */

.feather-icon {
  display: inline-block;
  vertical-align: -0.125em;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  padding-top: calc(var(--header-height) + 4px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "ss02";
}

img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--color-primary-hover); text-decoration: underline; }

/* ── Typography ── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.18;
}

h1 { font-size: 2.5rem; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: 1.75rem; line-height: 1.2; margin-bottom: var(--space-md); letter-spacing: -0.015em; font-weight: 500; }
h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 500; }
h4 { font-size: 1.0625rem; line-height: 1.35; font-weight: 600; }
p { color: var(--text-secondary); }
small { font-size: 0.875rem; color: var(--text-muted); }

em {
  font-style: italic;
}

/* ── Text Selection ── */

::selection {
  background: var(--color-primary-muted);
  color: inherit;
}

::-moz-selection {
  background: var(--color-primary-muted);
  color: inherit;
}
