/* Start Base */
html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.3;
  font-display: swap;
}

body.is-menu-open {
  overflow: hidden;
}

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

h1,
h2,
h3 {
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  font-display: swap;
}

h1 {
  font-size: clamp(2.6rem, 12vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 7vw, 3.8rem);
}

h3 {
  font-size: clamp(1.35rem, 5vw, 2rem);
}

p {
  color: var(--color-text-muted);
}

.simple-font {
  font-family: var(--font-body);
}

address {
  font-style: normal;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  padding: 0.95rem 1rem;
}

input::placeholder,
textarea::placeholder {
  color: var(--color-placeholder);
}

input:focus,
textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-glow);
  outline: 0;
}

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