:root {
  color-scheme: light;
  --bg: #f5f7f8;
  --surface: #ffffff;
  --ink: #151515;
  --muted: #5d6568;
  --line: #d6dddf;
  --accent: #146c5f;
  --accent-strong: #0d4b43;
  --signal: #d6512a;
  --shadow: 0 24px 60px rgb(18 31 33 / 12%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background:
    linear-gradient(120deg, rgb(20 108 95 / 10%), transparent 34rem),
    var(--bg);
  color: var(--ink);
}

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

.site-shell {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 720;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--surface);
  font-size: 0.95rem;
}

.hero {
  display: flex;
  flex: 1;
  align-items: center;
  min-height: 0;
  padding: 32px 0 72px;
}

.not-found {
  display: flex;
  flex: 1;
  align-items: center;
  min-height: 0;
  padding: 32px 0 72px;
}

.hero-copy {
  max-width: 720px;
}

.not-found-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.lede {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.65;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 32px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--surface);
  padding: 0 18px;
  font-size: 0.94rem;
  font-weight: 720;
}

.button-link:hover {
  background: var(--accent-strong);
}

.button-link:focus-visible {
  outline: 3px solid rgb(20 108 95 / 32%);
  outline-offset: 3px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 22px 0 34px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

@media (max-width: 820px) {
  .site-shell {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    align-items: center;
  }

  .hero,
  .not-found {
    min-height: 0;
    padding-top: 48px;
  }

  h1 {
    font-size: 3.15rem;
  }

  .lede {
    font-size: 1.05rem;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 2.65rem;
  }
}
