:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #172e2a;
  background: #f8faf7;
  line-height: 1.58;
  --accent: #164f40;
  --muted: #49615b;
  --line: #cbd9d1;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: .35rem; }
.shell { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }
.masthead {
  min-height: 4.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1rem;
  border-bottom: 1px solid var(--line);
}
.wordmark { font-weight: 700; text-decoration: none; }
.wordmark span { margin-inline-end: .5rem; }
.hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(3rem, 9vw, 7rem);
}
h1, h2 { font-family: Georgia, serif; font-weight: 500; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.55rem); letter-spacing: -.044em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.intro { max-width: 34rem; color: var(--muted); font-size: 1.18rem; }
.button {
  display: inline-flex;
  padding: .7rem 1.25rem;
  border-radius: .3rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 650;
}
.button:hover { background: #103b31; }
.note { margin-bottom: 0; color: var(--muted); }
.example {
  margin: 0;
  padding: clamp(1.4rem, 3.5vw, 2.5rem);
  background: #e6efe9;
  border-top: .25rem solid var(--accent);
}
.example h2 { font: 700 1rem/1.4 system-ui, sans-serif; }
blockquote { font-size: clamp(1.25rem, 2.2vw, 1.75rem); margin: 1rem 0; }
.example p { color: var(--muted); margin: 0; }
.connect { border-top: 1px solid var(--line); padding-block: clamp(2rem, 5vw, 4rem); }
.connect ol { padding-inline-start: 1.25rem; max-width: 48rem; }
.connect li { padding: .2rem .4rem; }
.endpoint { display: grid; gap: .4rem; width: fit-content; max-width: 100%; }
.endpoint span { font-weight: 650; }
code { padding: .5rem .7rem; background: #e6efe9; overflow-wrap: anywhere; }
footer { padding-block: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); }

@media (max-width: 46rem) {
  .hero { grid-template-columns: 1fr; }
}
