/* typography.css */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-snug);
  color: var(--black);
  margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); }

.section-tag {
  display: inline-block;
  background: var(--primary-bg);
  color: var(--primary);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-full);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  margin-bottom: var(--sp-2);
  color: var(--black);
  letter-spacing: var(--tracking-snug);
}
.section-subtitle {
  font-size: var(--text-base);
  color: var(--gray-500);
  line-height: var(--leading-relaxed);
  max-width: 540px;
  overflow-wrap: anywhere;
}

.lead { font-size: var(--text-lg); color: var(--gray-600); line-height: var(--leading-relaxed); }

/* section-header centered fix */
.section-header.centered .section-tag,
.section-header.centered .section-title,
.section-header.centered .section-subtitle {
  text-align: center;
}
.section-header.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
