/*
 * Warm Refresh — base.css
 * Bare-element typographic defaults only. No components, no layout
 * primitives — those live in components.css (Task 4) and layout.css.
 * Every value below is a token from tokens.css.
 */

html {
  font-size: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ink-strong);
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  line-height: 1.25;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.3;
}

h4 {
  font-size: 1.0625rem;
  line-height: 1.35;
}

h5 {
  font-size: 1.125rem;
  line-height: 1.4;
}

h6 {
  font-size: 0.75rem;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
}

.display-1,
.display-2,
.display-3,
.display-4 {
  color: var(--ink-strong);
  font-weight: 700;
}

.display-1 {
  font-size: 3.5rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.display-2 {
  font-size: 3rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.display-3 {
  font-size: 2.25rem;
  line-height: 1.2;
}

.display-4 {
  font-size: 1.75rem;
  line-height: 1.25;
}

.lead {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Small/caption text convention */
small,
.small {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code,
pre {
  font-family: SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
}

code {
  background: var(--accent-soft);
  color: var(--ink-strong);
  padding: 2px 6px;
  border-radius: 4px;
}

hr {
  border: none;
  border-top: 1px solid var(--line);
}
