:root {
  --paper:#e9e7df;
  --ink:#171a18;
  --line:#a6a9a1;
  --red:#ba3f31;
  --deep:#25342b;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--ink);
  background:var(--paper)
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth
}
body {
  margin:0
}
a {
  color:inherit
}
.wrap {
  max-width:1260px;
  margin:auto;
  padding-left:48px;
  padding-right:48px
}
.site-head {
  height:78px;
  border-bottom:1px solid var(--ink);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 48px;
  gap:24px
}
.wordmark {
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:14px;
  font-weight:900;
  letter-spacing:-.08em;
  font-size:29px
}
.wordmark-line {
  height:25px;
  border-left:1px solid var(--ink)
}
.wordmark small {
  font-size:12px;
  font-weight:700;
  letter-spacing:.01em
}
.site-head nav {
  display:flex;
  gap:28px;
  font-size:13px
}
.site-head nav a {
  text-decoration:none
}
.site-head nav a:hover,.closing a:hover {
  text-decoration:underline
}
.opening {
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:7vw;
  padding-top:106px;
  padding-bottom:115px;
  align-items:center
}
.kicker,.section-label,.receipt,.state,.branch,pre {
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace
}
.kicker,.section-label {
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:700
}
.opening h1 {
  font-size:clamp(54px,6.4vw,92px);
  letter-spacing:-.075em;
  line-height:.97;
  margin:28px 0
}
.intro {
  max-width:640px;
  font-size:20px;
  line-height:1.55
}
.text-link {
  display:inline-block;
  margin-top:26px;
  text-decoration:none;
  border-bottom:2px solid var(--ink);
  padding-bottom:9px;
  font-size:15px;
  font-weight:700
}
.text-link span {
  margin-left:24px
}
.receipt {
  background:#f6f5ef;
  border:1px solid var(--ink);
  box-shadow:12px 12px 0 var(--deep);
  transform:rotate(1.2deg);
  font-size:13px
}
.receipt-top {
  background:var(--deep);
  color:#fff;
  padding:18px 23px;
  display:flex;
  justify-content:space-between;
  gap:10px
}
.receipt-top strong {
  color:#f7cf92;
  font-weight:500
}
.receipt dl {
  margin:0;
  padding:14px 23px
}
.receipt dl div {
  display:grid;
  grid-template-columns:145px 1fr;
  gap:12px;
  padding:14px 0;
  border-bottom:1px dashed #b9beb5
}
.receipt dt {
  color:#63716a
}
.receipt dd {
  margin:0;
  overflow-wrap:anywhere
}
.subtle {
  display:block;
  color:#68726a;
  font-size:11px;
  margin-top:4px
}
.receipt-note {
  margin:0;
  padding:20px 23px 25px;
  line-height:1.5;
  color:#4d5b52
}
.mechanism {
  background:#fbfaf6;
  padding:96px 0 112px
}
.mechanism h2,.example h2,.failure h2 {
  font-size:clamp(34px,4.2vw,58px);
  letter-spacing:-.06em;
  line-height:1.08;
  max-width:770px;
  margin:22px 0
}
.section-lead {
  max-width:670px;
  line-height:1.65;
  font-size:17px;
  margin-bottom:48px
}
.sequence {
  border-top:2px solid var(--ink)
}
.sequence article {
  display:grid;
  grid-template-columns:80px 1fr 130px;
  gap:20px;
  align-items:start;
  padding:26px 0;
  border-bottom:1px solid #c8cbc4
}
.sequence b {
  font-family:ui-monospace,monospace;
  color:var(--red);
  font-size:16px
}
.sequence h3 {
  font-size:22px;
  margin:0 0 6px;
  letter-spacing:-.03em
}
.sequence p {
  line-height:1.55;
  color:#4c544e;
  max-width:740px;
  margin:0
}
.state {
  border:1px solid #a6aaa3;
  text-align:center;
  padding:8px;
  font-size:12px
}
.example {
  padding-top:108px;
  padding-bottom:108px;
  display:grid;
  grid-template-columns:.78fr 1.22fr;
  gap:6vw;
  align-items:start
}
.example p {
  line-height:1.65;
  font-size:16px;
  max-width:440px
}
.example pre {
  margin:0;
  background:#17241c;
  color:#e8f1e7;
  padding:34px;
  overflow:auto;
  line-height:1.8;
  font-size:13px
}
.failure {
  background:var(--deep);
  color:#f4f1e9;
  padding:96px 0
}
.failure-grid {
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:8vw
}
.failure .section-label {
  color:#efb6a7
}
.failure p {
  font-size:17px;
  line-height:1.66;
  max-width:650px
}
.failure code {
  color:#f6cfab
}
.branch {
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  border-top:1px solid #859087;
  border-bottom:1px solid #859087;
  padding:23px 0;
  font-size:13px
}
.branch span,.branch strong {
  border:1px solid #859087;
  padding:8px
}
.branch strong {
  background:#dd8e78;
  color:#1d251f;
  border-color:#dd8e78
}
.branch i {
  font-style:normal;
  color:#c3c9be
}
.closing {
  display:flex;
  justify-content:space-between;
  gap:40px;
  align-items:center;
  padding-top:65px;
  padding-bottom:65px
}
.closing p {
  font-size:18px;
  max-width:620px;
  line-height:1.5
}
.closing div {
  display:flex;
  gap:26px;
  white-space:nowrap
}
.closing a {
  text-decoration:none;
  font-weight:700
}
footer {
  border-top:1px solid var(--ink);
  padding:25px 48px;
  display:flex;
  justify-content:space-between;
  font-size:12px
}
h1,h2,h3 {
  text-wrap:balance
}
p {
  text-wrap:pretty
}
a:focus-visible {
  outline:3px solid var(--red);
  outline-offset:4px
}
@media(max-width:900px) {
  .opening,.example,.failure-grid {
  grid-template-columns:1fr
}
.opening {
  gap:62px;
  padding-top:76px
}
.receipt {
  max-width:640px
}
.example {
  gap:28px
}
.closing {
  align-items:flex-start;
  flex-direction:column
}

}
@media(max-width:600px) {
  .wrap {
  padding-left:22px;
  padding-right:22px
}
.site-head {
  padding:0 22px;
  height:66px
}
.wordmark small {
  display:none
}
.site-head nav {
  gap:16px
}
.site-head nav a:first-child,.site-head nav a:nth-child(2) {
  display:none
}
.opening {
  padding-top:60px;
  padding-bottom:80px
}
.opening h1 {
  font-size:55px
}
.intro {
  font-size:18px
}
.receipt {
  transform:none;
  box-shadow:6px 6px 0 var(--deep)
}
.receipt dl div {
  grid-template-columns:1fr;
  gap:3px
}
.mechanism,.failure {
  padding:76px 0
}
.sequence article {
  grid-template-columns:38px 1fr;
  gap:12px
}
.state {
  grid-column:2;
  width:max-content
}
.example {
  padding-top:80px;
  padding-bottom:80px
}
.example pre {
  padding:20px;
  font-size:11px
}
.closing {
  padding-top:48px;
  padding-bottom:48px
}
.closing div {
  flex-wrap:wrap
}
footer {
  padding:22px;
  gap:12px
}

}
