:root {
  --color-bg: hsl(0 0% 99%);
  --color-surface: hsl(0 0% 100%);
  --color-soft: hsl(220 6% 96%);
  --color-muted: hsl(220 4% 50%);
  --color-text: hsl(220 6% 15%);
  --color-heading: hsl(220 6% 15%);
  --color-primary: hsl(220 6% 25%);
  --color-primary-strong: hsl(220 6% 25%);
  --color-blue: hsl(213 63% 24%);
  --color-border: hsl(220 6% 90%);
  --color-success: hsl(25 12% 45%);
  --color-icon-neutral: #3c3e44;
  --color-dark-section: #2f3338;
  --color-card-border: #dedfe1;
  --hero-overlay-opacity: .46;
  --shadow-soft: 0 8px 22px rgba(36, 37, 41, .09);
  --shadow-medium: 0 14px 34px rgba(36, 37, 41, .13);
  --section-space: 96px;
  --section-space-mobile: 64px;
  --page-gutter: 32px;
  --page-gutter-mobile: 16px;
  --radius: 8px;
  --container: 1280px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  background: var(--color-heading);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}
