@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono-latin.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f4f3ef;
  --surface: #fff;
  --ink: #161614;
  --muted: #67645d;
  --line: #dedbd2;
  --green: #2e7d59;
  --green-soft: #e2efe8;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist", system-ui, sans-serif;
  line-height: 1.6;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px), var(--paper);
  background-size: 72px 72px;
  background-position: -1px -1px;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.shell {
  width: min(100% - 40px, 1040px);
  margin: 0 auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  font:
    600 14px/1 "Geist Mono",
    monospace;
}

header nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

main {
  padding: clamp(48px, 8vw, 100px) 0;
}

.document,
.status-card {
  width: min(100%, 780px);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 68px);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 30px 80px -52px rgba(22, 22, 20, 0.45);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--green);
  font:
    600 11px/1.2 "Geist Mono",
    monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(42px, 8vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.document h1 {
  font-size: clamp(36px, 6vw, 58px);
}

.lede {
  max-width: 62ch;
  margin: 26px 0 44px;
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 20px);
}

.document h2 {
  margin: 44px 0 12px;
  font-size: 22px;
  letter-spacing: -0.035em;
}

.document p,
.document li {
  color: #45433e;
}

.document ul {
  padding-left: 22px;
}

.meta {
  color: var(--muted);
  font:
    500 12px/1.5 "Geist Mono",
    monospace;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.button-primary {
  background: var(--ink);
  color: white;
}

.button-secondary {
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.contact-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.contact-card strong {
  display: block;
  margin-bottom: 8px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 13px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, 1040px);
  }

  header {
    align-items: flex-start;
    padding-top: 22px;
  }

  header nav {
    flex-direction: column;
    gap: 6px;
    text-align: right;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
