:root {
  --paper: #f3f1eb;
  --ink: #1c211e;
  --muted: #5c665e;
  --line: #ddd6c8;
  --card: #fffdf8;
  --accent: #1d6b45;
  --accent-dark: #144e32;
  --soft: #e7f2eb;
  --max: 68rem;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: Figtree, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
}

a {
  color: var(--accent-dark);
}

a:hover {
  color: var(--accent);
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 2;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

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

.site-header .wrap,
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.site-header .wrap {
  min-height: 4.5rem;
  flex-wrap: wrap;
  padding: 0.8rem 0;
}

.wordmark {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.hero {
  padding: 4.5rem 0 2.5rem;
}

.kicker {
  margin: 0 0 0.75rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}

.lede {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  font-size: 1.25rem;
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  align-items: center;
  margin-top: 1.75rem;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: #f7fbf8;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.05rem;
  border-radius: 999px;
}

.button:hover {
  background: var(--accent-dark);
  color: #ffffff;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts article {
  padding: 1.4rem 1.3rem 1.5rem 0;
}

.facts article + article {
  padding-left: 1.3rem;
  border-left: 1px solid var(--line);
}

.facts h2,
.panel h2,
.steps h2,
.prose h2 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
}

.facts p,
.panel p,
.steps p,
.prose p,
.prose li {
  margin: 0;
}

.facts p,
.panel p {
  color: var(--muted);
}

.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: 2.5rem 0;
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.4rem 1.4rem 1.5rem;
}

.panel ul,
.prose ul,
.prose ol {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
}

.panel li + li,
.prose li + li {
  margin-top: 0.45rem;
}

.steps {
  padding-bottom: 3.5rem;
}

.steps ol {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.steps li {
  background: var(--card);
  border-top: 3px solid var(--accent);
  padding: 0.9rem 0.9rem 1rem;
}

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

.steps .note {
  margin-top: 1.25rem;
  font-size: 1.05rem;
}

.page-main {
  padding: 2.6rem 0 4rem;
}

.prose {
  max-width: 44rem;
}

.prose h1 {
  max-width: none;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.prose .updated {
  color: var(--muted);
  margin-top: 0.8rem;
}

.prose h2 {
  margin-top: 2.1rem;
}

.prose h3 {
  margin: 1.3rem 0 0.4rem;
  font-size: 1.15rem;
}

.prose p + p,
.prose ul + p,
.prose ol + p,
.prose table + p {
  margin-top: 0.8rem;
}

.prose a {
  text-underline-offset: 0.18em;
}

.card {
  background: var(--soft);
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
  margin-top: 1.4rem;
}

.card strong {
  font-size: 1.15rem;
}

.card a.mail {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -0.03em;
  text-decoration: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.9rem;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
  padding: 0.55rem 0.7rem 0.55rem 0;
}

th {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.88em;
}

.site-footer {
  border-bottom: 0;
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer .wrap {
  display: grid;
  gap: 0.8rem;
}

.site-footer a {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

address {
  font-style: normal;
}

@media (max-width: 860px) {
  .facts,
  .band,
  .steps ol {
    grid-template-columns: 1fr;
  }

  .facts article,
  .facts article + article {
    padding: 1.1rem 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .facts article:first-child {
    border-top: 0;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--max), calc(100% - 1.6rem));
  }

  .hero {
    padding-top: 2.4rem;
  }

  .nav {
    justify-content: flex-start;
  }
}
