:root {
  color-scheme: light;
  --color-ink: #21180f;
  --color-muted: #62584b;
  --color-line: #ded5c4;
  --color-bg: #ffffff;
  --color-soft: #f8f3e8;
  --color-panel: #ffffff;
  --color-header-yellow: #edc42d;
  --color-brand: #d69f10;
  --color-brand-dark: #5a3a05;
  --color-field: #fbf8ef;
  --color-success: #2e6f43;
  --color-error: #a33b20;
  --shadow-soft: 0 14px 36px rgba(33, 24, 15, .10);
  --radius: 8px;
  --container: 1180px;
  --container-offset: 2rem;
}

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

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

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration-color: rgba(214, 159, 16, .55);
  text-underline-offset: .18em;
}

a:hover {
  color: var(--color-brand);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(1.9rem, 8vw, 2.45rem);
}

h2 {
  font-size: clamp(1.45rem, 6vw, 1.95rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin-bottom: 1rem;
  overflow-wrap: break-word;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(calc(100% - var(--container-offset)), var(--container));
  margin-inline: auto;
  min-width: 0;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: .7rem 1rem;
  background: var(--color-ink);
  color: #fff;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

@media (min-width: 768px) {
  :root {
    --container-offset: 3rem;
  }

  h1 {
    font-size: clamp(2.6rem, 7vw, 4.15rem);
  }

  h2 {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
  }
}

@media (min-width: 1100px) {
  :root {
    --container-offset: 4rem;
  }

  h1 {
    font-size: clamp(3.2rem, 5vw, 4.75rem);
  }

  h2 {
    font-size: clamp(2.15rem, 3.2vw, 3rem);
  }
}
