:root {
  color-scheme: light;
  --paper: #f3efe5;
  --ink: #17232c;
  --muted: #58646b;
  --line: #c9c4b8;
  --accent: #126a72;
  --accent-soft: #dce8e5;
  --panel: #fbf9f3;
  --max-width: 74rem;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 0 71%, rgb(18 106 114 / 7%) 71% 100%),
    var(--paper);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

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

a:hover,
a:focus-visible {
  color: var(--ink);
}

.shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  gap: 2rem;
}

.wordmark {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(15rem, 0.7fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  min-height: 32rem;
  padding-block: clamp(5rem, 12vw, 9rem) 4rem;
}

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

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

h3 {
  margin: 0 0 0.65rem;
  font-size: 1.3rem;
}

.lede {
  max-width: 35rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.status {
  padding: 1.5rem;
  border-top: 3px solid var(--accent);
  background: var(--accent-soft);
}

.status strong {
  display: block;
  margin-bottom: 0.35rem;
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(12rem, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 8vw, 8rem);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  min-height: 15rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--panel);
}

.card p,
.prose p,
.prose li {
  color: var(--muted);
}

.prose {
  max-width: 48rem;
}

.prose h2 {
  margin-top: 3.5rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 2rem;
}

.prose ul {
  padding-left: 1.3rem;
}

.document-header {
  max-width: 50rem;
  padding-block: clamp(4rem, 9vw, 7rem);
}

.document-header h1 {
  max-width: 14ch;
  font-size: clamp(2.8rem, 7vw, 5.75rem);
}

.meta {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer .shell {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

@media (max-width: 48rem) {
  body {
    background: var(--paper);
  }

  .site-header .shell,
  .site-footer .shell {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    padding-block: 1.25rem;
    gap: 0.75rem;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-block: 4rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}
