:root {
  --bg: #fff8ec;
  --surface: #ffffff;
  --ink: #2b2a33;
  --muted: #6b6672;
  --line: #eadfcc;
  --accent: #ef6544;
  --accent-ink: #ffffff;
  --radius: 0.75rem;
  --shadow: 0 1px 2px rgb(43 42 51 / 6%), 0 4px 16px rgb(43 42 51 / 6%);
  --gutter: clamp(1rem, 4vw, 2rem);
  --max: 72rem;
}

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

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 1rem/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Layout */

.site-header,
.site-main,
.site-footer {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  padding-block: 1.5rem 1rem;
}

.site-header__logo-image {
  width: clamp(9rem, 30vw, 13rem);
}

.site-main {
  flex: 1;
  padding-block: 1rem 3rem;
}

.site-footer {
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer__copyright {
  margin: 0;
}

/* Buttons */

.button,
.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}

.button {
  background: var(--accent);
  color: var(--accent-ink);
}

.button:hover {
  filter: brightness(0.95);
}

.badge {
  background: var(--line);
  color: var(--muted);
}
