:root {
  color-scheme: light dark;
  --background: #fafbf9;
  --text: #17251e;
  --muted: #526158;
  --accent: #235a43;
  --border: #ced7cf;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
  border-radius: 2px;
}

.container {
  width: min(100% - 3rem, 68rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.5rem 1rem;
  background: var(--background);
  transform: translateY(-200%);
}

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

.site-header {
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.brand {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
}

h1 {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.services {
  margin: 0;
  padding: clamp(3rem, 6vw, 5rem) 0;
  list-style: none;
}

.services li + li {
  margin-top: 2rem;
}

.services h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
}

.services p {
  max-width: 44rem;
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding-block: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}

.site-footer p {
  margin: 0 0 0.4rem;
  color: var(--muted);
}

.site-footer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 30rem) {
  .container {
    width: calc(100% - 2rem);
  }

  .site-header {
    padding-block: 1.25rem;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #141b17;
    --text: #eef3ed;
    --muted: #b5c3b8;
    --accent: #a5d8b9;
    --border: #3c4f41;
  }
}
