:root {
  color-scheme: light;
  --bg: #f8f6f1;
  --surface: #fffdf8;
  --text: #181714;
  --muted: #666058;
  --line: #ded8cd;
  --accent: #24594f;
  --accent-strong: #153832;
  --focus: #ad6b1f;
  --shadow: 0 24px 70px rgb(24 23 20 / 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgb(36 89 79 / 0.12), transparent 34rem),
    var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  background: var(--text);
  color: var(--surface);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header,
.site-footer {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand,
.nav-links a {
  border-radius: 0.45rem;
  text-decoration: none;
}

.brand {
  color: var(--accent-strong);
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.45rem 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent-strong);
  background: rgb(36 89 79 / 0.09);
}

.home {
  display: grid;
  min-height: calc(100vh - 10rem);
  place-items: center;
  padding: 4rem 1rem 5rem;
}

.intro {
  width: min(100%, 58rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 10ch;
  margin-bottom: 0;
  font-size: clamp(4.25rem, 18vw, 13rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.page {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
  padding: 4rem 0 6rem;
}

.content {
  max-width: 44rem;
  padding: clamp(1.25rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgb(255 253 248 / 0.82);
  box-shadow: var(--shadow);
}

.content h1 {
  max-width: none;
  margin-bottom: 1.5rem;
  font-size: clamp(2.35rem, 8vw, 5rem);
  line-height: 0.98;
}

.content h2 {
  margin: 2rem 0 0.45rem;
  color: var(--accent-strong);
  font-size: clamp(1.18rem, 3vw, 1.45rem);
  line-height: 1.2;
}

.content p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.site-footer {
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 42rem) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
  }

  .nav-links a {
    padding-inline: 0.6rem;
  }

  .home {
    place-items: end start;
  }
}
