:root {
  color-scheme: light;
  --ink: #142c28;
  --muted: #49645c;
  --green: #075e48;
  --rule: #cbdcd3;
  font: 100%/1.65 Arial, sans-serif;
  color: var(--ink);
  background: #fcfdfa;
}
* { box-sizing: border-box; }
body, figure, dd { margin: 0; }
a { color: var(--green); text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.shell { width: min(70rem, calc(100% - 3rem)); margin-inline: auto; }
.masthead, .foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1rem; }
.masthead { border-bottom: 1px solid var(--rule); }
.brand { font-size: 1.35rem; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -.05em; }
.brand span { color: var(--green); font-weight: 400; }
.intro { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 3rem; padding-block: clamp(2.5rem, 6vw, 5rem); }
.edition, dt, .contents strong { color: var(--green); font-weight: 700; }
.edition { margin: 0 0 1rem; }
h1, h2, h3 { line-height: 1.16; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 4.35vw, 3.8rem); letter-spacing: -.047em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.035em; }
h3, dt { font-size: 1.15rem; }
.lead { margin: 1.25rem 0 0; font-size: 1.15rem; color: var(--muted); }
.demo { display: block; overflow: hidden; border: 1px solid var(--rule); border-radius: .8rem; text-decoration: none; }
.demo img { display: block; width: 100%; height: auto; }
.demo span { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .25rem 1rem; padding: .7rem 1rem; background: var(--green); color: white; font-weight: 700; }
.demo small { font-weight: 400; }
.demo:hover span, .button:hover { background: #124637; }
.layout { border-top: 1px solid var(--rule); display: grid; grid-template-columns: 14rem minmax(0, 43rem); gap: clamp(2rem, 7vw, 7rem); padding-block: 2.5rem 4rem; }
.contents { align-self: start; position: sticky; top: 1.25rem; display: grid; gap: .5rem; }
.contents strong { margin-bottom: .3rem; }
.contents a { width: fit-content; }
.copy { font-size: 1.055rem; }
.copy section { scroll-margin-top: 1rem; padding-bottom: 1.75rem; margin-bottom: 2rem; border-bottom: 1px solid var(--rule); }
.copy p { margin: .9rem 0; }
.copy dl { margin: 1.3rem 0; }
.copy dt { margin: .95rem 0 .25rem; }
.copy ol { padding-left: 1.5rem; }
.copy li { margin-block: .8rem; padding-inline-start: .3rem; }
blockquote { margin: 1.25rem 0; border-inline-start: 3px solid var(--green); padding: .25rem 1rem; font-size: 1.15rem; }
.example { background: #eaf5ef; border-radius: .8rem; padding: 1.4rem; margin: 1.3rem 0; }
.example p:last-child { margin-bottom: 0; }
.button { display: inline-block; background: var(--green); color: white; border-radius: .55rem; padding: .7rem 1.15rem; font-weight: 700; text-decoration: none; }
.foot { border-top: 1px solid var(--rule); font-size: .9rem; }
@media (max-width: 48rem) {
  .shell { width: calc(100% - 2.25rem); }
  .intro, .layout { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .intro { padding-block: 2rem; }
  .contents { position: static; border-bottom: 1px solid var(--rule); padding-bottom: 1.5rem; }
  .layout { padding-block: 1.5rem 2.5rem; }
}
