

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  background: var(--color-canvas);
  color: var(--color-ink);
}


section {
  background: var(--color-canvas);
  color: var(--color-ink);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

h1 {
  font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.4rem);
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.35rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.14rem, 1.02rem + 0.5vw, 1.4rem);
  line-height: 1.3;
}

h4 {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.14rem);
  line-height: 1.35;
}

p {
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  line-height: 1.7;
}

strong, b {
  font-weight: 700;
}

em, i {
  font-style: italic;
}

a {
  color: var(--color-frost-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: var(--color-frost);
}

small {
  font-size: clamp(0.8rem, 0.77rem + 0.14vw, 0.88rem);
}

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

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

:focus-visible {
  outline: 3px solid var(--color-frost);
  outline-offset: 2px;
}


code, kbd, samp, time {
  font-family: 'IBM Plex Mono', 'Consolas', monospace;
  font-weight: 500;
}
