html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: var(--color-surface);
  color: var(--color-ink);
  font-size: var(--font-size-md);
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--color-ink);
  line-height: 1.15;
}
h1 {
  font-size: var(--font-size-display);
  font-weight: 900;
  letter-spacing: -0.05em;
}
h2 {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
}
h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
}
p {
  font-size: 18px;
  line-height: 1.8;
}
a {
  color: var(--color-accent);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--color-accent-hover);
}
button {
  font: inherit;
  transition: all 0.2s ease;
}
button:active {
  transform: scale(0.95);
}
input,
textarea {
  font: inherit;
  transition: box-shadow var(--transition), border-color var(--transition);
}
input:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.35);
}
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}
table {
  border-collapse: collapse;
}
address {
  font-style: normal;
}

@media (max-width: 1024px) {
  h1 {
    font-size: 64px;
  }
  h2 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 36px;
    letter-spacing: -0.03em;
  }
  h2 {
    font-size: 26px;
  }
  p {
    font-size: 16px;
    line-height: 1.65;
  }
}
