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

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

body {
  margin: 0;
  font-family: var(--epoo-font);
  color: var(--epoo-text);
  background: var(--epoo-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--epoo-blue-900);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; letter-spacing: -0.005em; }

p { margin: 0 0 1em; color: var(--epoo-text-muted); }

a { color: var(--epoo-blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; display: block; }

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

.container {
  width: 100%;
  max-width: var(--epoo-container);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

code, pre {
  font-family: var(--epoo-font-mono);
}

::selection {
  background: var(--epoo-green-500);
  color: var(--epoo-blue-900);
}
