@font-face {
  font-family: "Paper Mono";
  src: url("/fonts/PaperMono-wght.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --page: #fafafa;
  --ink: #111111;
  --muted: #5a5a5a;
  --rule: #dcdcdc;
  --link: #1a1ae6;
  --visited: #6b21a8;
  --serif: "Times New Roman", Times, "Liberation Serif", serif;
  --mono: "Paper Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --rail: 48px;
  --col: 392px;
  --ed-bg: #303841;
  --ed-chrome: #262c32;
  --ed-status: #1f2429;
  --ed-edge: #1e2329;
  --ed-fg: #d8dee9;
  --ed-dim: #65737e;
  --ed-soft: #a6acb9;
  --kw: #c594c5;
  --ty: #fac863;
  --fn: #6699cc;
  --mac: #5fb4b4;
  --num: #f99157;
  --str: #99c794;
  --op: #f97b58;
  --err: #ec5f66;
  --err-ink: #b3261e;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 30px;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, pre, ul, ol, figure, blockquote { margin: 0; }

a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:visited { color: var(--visited); }
a:hover { text-decoration-thickness: 2px; }

code, pre, .mono { font-family: var(--mono); }
code { font-size: 0.78em; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--page); padding: 4px 8px; z-index: 2; }

.band { display: flex; padding: 0 var(--rail); border-bottom: 1px solid var(--rule); }
.band:last-child { border-bottom: 0; }
.rails { display: flex; flex: 1; min-width: 0; border-left: 1px solid var(--rule); border-right: 1px solid var(--rule); }
.spacer .rails { height: 72px; }
.col-head { width: var(--col); flex-shrink: 0; padding: 88px 56px; border-right: 1px solid var(--rule); }
.col-main { flex: 1; min-width: 0; padding: 88px 56px; }

.nodebar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 40px; width: 100%; font-family: var(--mono); font-size: 13px; line-height: 20px; }
.nodebar .nodes, .nodebar .links { display: flex; align-items: center; gap: 28px; }
.nodebar .brand { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.nodebar .label { color: var(--muted); }
.nodebar .here { color: var(--ink); }
.nodebar a:visited { color: var(--link); }
.nodebar .icon { display: flex; color: var(--ink); }
.nodebar .icon svg { width: 18px; height: 18px; }
.nodebar .version { color: var(--muted); }

.hero .rails { align-items: stretch; }
.hero-text { width: 760px; flex-shrink: 0; padding: 96px 56px 88px; border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 36px; }
.hero h1 { font-weight: 400; font-size: 84px; line-height: 86px; letter-spacing: -0.03em; }
.hero h1 em { color: var(--link); }
.lede { font-size: 24px; line-height: 34px; max-width: 600px; }
.install { display: flex; flex-direction: column; gap: 10px; font-family: var(--mono); font-size: 14px; line-height: 22px; }
.install .note { color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 12px 32px; font-family: var(--mono); font-size: 14px; line-height: 22px; }
.cta a:visited { color: var(--link); }
.seed { flex: 1; min-width: 0; padding: 112px 40px 88px 44px; display: flex; flex-direction: column; gap: 20px; }
.listing-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-family: var(--mono); font-size: 12px; line-height: 18px; white-space: nowrap; }
.listing-head .aside { color: var(--muted); }
.hex { font-size: 13px; line-height: 23px; color: var(--muted); white-space: pre; overflow-x: auto; }
.hex b { font-weight: 400; color: var(--link); }
.hex i { font-style: normal; color: var(--ink); }
.caption { font-style: italic; font-size: 17px; line-height: 26px; color: var(--muted); }

.section-head { display: flex; flex-direction: column; gap: 20px; }
h2.title { font-weight: 400; font-size: 40px; line-height: 46px; letter-spacing: -0.02em; }
.section-head p { font-size: 20px; line-height: 30px; }

.ladder { display: flex; flex-direction: column; list-style: none; padding: 0; }
.ladder li { display: flex; align-items: center; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.ladder li:first-child { border-top: 1px solid var(--ink); }
.ladder li:last-child { border-bottom-color: var(--ink); }
.ladder .rung { width: 72px; flex-shrink: 0; font-family: var(--mono); font-size: 14px; font-weight: 600; }
.ladder .what { flex: 1; font-size: 19px; line-height: 26px; }
.ladder .size { width: 108px; flex-shrink: 0; text-align: right; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.ladder .bar { width: 140px; flex-shrink: 0; height: 6px; display: flex; }
.ladder .bar span { display: block; height: 6px; background: var(--ink); }
.ladder .root, .ladder .root .size { color: var(--link); }
.ladder .root .bar span { background: var(--link); }

.promise-head { font-weight: 400; font-size: 40px; line-height: 46px; letter-spacing: -0.02em; }
.promise { display: flex; flex-direction: column; gap: 64px; }
.promise blockquote { margin: 0; font-size: 44px; line-height: 54px; letter-spacing: -0.015em; }
.promise blockquote em { color: var(--link); }
.editors { display: flex; gap: 28px; align-items: flex-start; }
.editors .accepted { flex: 1.25; min-width: 0; }
.editors .refused { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.editors .caption { font-size: 16px; line-height: 24px; }

.editor { background: var(--ed-bg); border: 1px solid var(--ed-edge); border-radius: 10px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(17, 17, 17, 0.45); color: var(--ed-fg); }
.editor .tabbar { display: flex; align-items: flex-end; gap: 18px; height: 38px; padding: 0 14px; background: var(--ed-chrome); }
.editor .lights { display: flex; gap: 7px; align-self: center; }
.editor .lights span { width: 11px; height: 11px; border-radius: 50%; background: #ed6a5e; }
.editor .lights span:nth-child(2) { background: #f4bf4f; }
.editor .lights span:nth-child(3) { background: #61c554; }
.editor .tab { display: flex; align-items: center; gap: 22px; height: 30px; padding: 0 14px; background: var(--ed-bg); border-radius: 6px 6px 0 0; font-family: var(--mono); font-size: 12px; }
.editor .tab span { color: var(--ed-dim); }
.editor .buffer { display: flex; padding: 16px 0 20px; overflow-x: auto; }
.editor .gutter { width: 54px; flex-shrink: 0; padding: 0 16px 0 12px; text-align: right; color: var(--ed-dim); user-select: none; }
.editor pre { font-size: 12px; line-height: 21px; white-space: pre; }
.editor .output { padding: 14px 18px 16px; background: var(--ed-chrome); border-top: 1px solid var(--ed-edge); overflow-x: auto; }
.editor .status { display: flex; justify-content: space-between; gap: 16px; padding: 6px 14px; background: var(--ed-status); font-family: var(--mono); font-size: 11px; line-height: 16px; color: var(--ed-soft); }
.editor.wide pre { font-size: 13px; line-height: 22px; }
.k { color: var(--kw); }
.t { color: var(--ty); }
.f { color: var(--fn); }
.m { color: var(--mac); }
.n { color: var(--num); }
.s { color: var(--str); }
.o { color: var(--op); }
.c { color: var(--ed-soft); }
.p { color: var(--ed-dim); }
.e { color: var(--err); }
.u { text-decoration: underline; text-decoration-color: var(--err); text-underline-offset: 3px; }

.colophon { width: var(--col); flex-shrink: 0; padding: 48px 56px 56px; border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 14px; }
.colophon .brand { font-family: var(--mono); font-size: 15px; font-weight: 600; }
.colophon p { font-style: italic; font-size: 17px; line-height: 26px; color: var(--muted); }
.footer-links { flex: 1; display: flex; flex-wrap: wrap; gap: 32px 64px; padding: 48px 56px 56px; font-family: var(--mono); font-size: 13px; line-height: 24px; }
.footer-links ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.footer-links .head { color: var(--muted); }
.footer-links .fine { flex: 1; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; justify-content: flex-start; color: var(--muted); }
.footer-links a:visited { color: var(--link); }
.footer .rails { flex-direction: column; }
.footer-top { display: flex; }
.footer-mark { height: 120px; border-top: 1px solid var(--rule); }
.footer-links .fine .mark { display: block; }
.footer-links .fine img { display: block; width: 56px; height: 56px; margin-top: 6px; }

.contents { width: var(--col); flex-shrink: 0; padding: 72px 40px 96px 56px; border-right: 1px solid var(--rule); font-family: var(--mono); font-size: 13px; line-height: 22px; }
.contents nav { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 28px; }
.contents .head { color: var(--muted); }
.contents ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.contents ul ul { gap: 4px; padding: 4px 0 4px 18px; border-left: 1px solid var(--ink); }
.contents .current { font-weight: 600; }
.contents a:visited { color: var(--link); }

.page { flex: 1; min-width: 0; padding: 72px 88px 104px; display: flex; flex-direction: column; gap: 64px; }
.page > * { max-width: 852px; }
.page .titleblock { display: flex; flex-direction: column; gap: 28px; max-width: 760px; }
.page h1 { font-weight: 400; font-size: 72px; line-height: 76px; letter-spacing: -0.025em; }
.page h1 .num, .page h2 .num { color: var(--link); }
.page .titleblock .lede { max-width: none; }
.page .titleblock .aside { font-style: italic; color: var(--muted); }
.page section { display: flex; flex-direction: column; gap: 24px; scroll-margin-top: 24px; }
.page h2 { font-weight: 400; font-size: 36px; line-height: 42px; letter-spacing: -0.015em; }
.page section > p { max-width: 720px; }
.page .note { font-style: italic; font-size: 17px; line-height: 26px; color: var(--muted); max-width: 720px; }
.page code { font-size: 15px; }

.shell { padding: 20px 24px; background: #ffffff; border: 1px solid var(--rule); font-size: 13px; line-height: 24px; white-space: pre; overflow-x: auto; }
.shell .p { color: var(--muted); }

.rows { display: flex; flex-direction: column; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.row { display: flex; gap: 32px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.row:last-child { border-bottom: 0; }
.row .key { width: 230px; flex-shrink: 0; font-size: 20px; line-height: 28px; }
.row .key.mono { font-size: 14px; line-height: 24px; color: var(--link); }
.row .key.plain { font-size: 13px; line-height: 22px; color: var(--ink); }
.row .key.small { font-size: 19px; line-height: 28px; }
.row .refused { color: var(--visited); }
.row .val { flex: 1; min-width: 0; font-size: 19px; line-height: 28px; }
.row .val.dim { color: var(--muted); font-size: 18px; line-height: 27px; }
.row .val.list { font-family: var(--mono); font-size: 12px; line-height: 21px; color: var(--muted); }
.row .val.cmd { font-family: var(--mono); font-size: 13px; line-height: 22px; }
.row .val.cmd .hi { color: var(--link); }
.row .why { width: 200px; flex-shrink: 0; font-style: italic; font-size: 17px; line-height: 24px; color: var(--muted); }
.row .hi { color: var(--link); }
.row code { font-size: 15px; }

.table .row { gap: 24px; padding: 14px 0; }
.table .row.headrow { padding: 10px 0; font-family: var(--mono); font-size: 12px; line-height: 18px; color: var(--muted); }
.table .what { flex: 1; min-width: 0; font-family: var(--mono); font-size: 13px; line-height: 22px; }
.table .status { width: 96px; flex-shrink: 0; font-family: var(--mono); font-size: 13px; line-height: 22px; }
.table .notes { width: 260px; flex-shrink: 0; font-style: italic; font-size: 16px; line-height: 23px; color: var(--muted); }
.table .row.headrow .notes { font-family: var(--mono); font-style: normal; font-size: 12px; line-height: 18px; }
.supported { color: var(--link); }
.partial { color: var(--ink); }
.refused { color: var(--visited); }

.trio { display: flex; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.trio > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 20px 24px 22px; border-right: 1px solid var(--rule); }
.trio > div:first-child { padding-left: 0; }
.trio > div:last-child { padding-right: 0; border-right: 0; }
.trio .mono { font-size: 14px; line-height: 22px; }
.trio p { font-size: 18px; line-height: 26px; }
.trio .dim { font-size: 17px; line-height: 24px; color: var(--muted); }

.figures { display: flex; border-top: 1px solid var(--ink); }
.figures > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 28px 24px; border-right: 1px solid var(--rule); }
.figures > div:first-child { padding-left: 0; }
.figures > div:last-child { padding-right: 0; border-right: 0; }
.figures .big { font-size: 88px; line-height: 88px; letter-spacing: -0.03em; }
.figures .big.hi { color: var(--link); }
.figures .what { font-family: var(--mono); font-size: 13px; line-height: 20px; }
.figures .why { font-style: italic; font-size: 16px; line-height: 23px; color: var(--muted); }

.results { font-family: var(--mono); font-size: 13px; line-height: 22px; }
.results .row { gap: 0; padding: 14px 0; }
.results .row.headrow { padding: 10px 0; font-size: 12px; color: var(--muted); }
.results span { width: 96px; flex-shrink: 0; text-align: right; }
.results span:first-child { flex: 1; text-align: left; }
.results span { white-space: nowrap; }
.results span:first-child { min-width: 170px; }
.results span.ok { width: 130px; }
.results span.crash { width: 80px; }
.results .zero { color: var(--link); font-weight: 600; }
.results .none { color: var(--muted); }

.pull { font-size: 32px; line-height: 42px; letter-spacing: -0.01em; max-width: 760px; padding-left: 28px; border-left: 2px solid var(--link); }

.hash { display: flex; flex-direction: column; gap: 14px; padding: 28px 32px; background: #ffffff; border: 1px solid var(--ink); }
.hash code { font-size: 22px; line-height: 34px; letter-spacing: 0.02em; color: var(--link); word-break: break-all; }
.hash .what { font-family: var(--mono); font-size: 13px; line-height: 20px; color: var(--muted); }

.timeline { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.timeline .bar { display: flex; height: 28px; border: 1px solid var(--ink); }
.timeline .bar span { display: block; }
.timeline .bar span + span { border-left: 1px solid var(--page); }
.timeline .ticks { display: flex; font-family: var(--mono); font-size: 12px; line-height: 18px; color: var(--muted); }
.timeline .ticks span:last-child { flex: 1; text-align: right; }
.st1 { background: var(--link); }
.st2 { background: #5c5cf0; }
.st3 { background: #9a9af5; }
.st4 { background: var(--ink); }
.stages .row { gap: 24px; padding: 14px 0; align-items: center; }
.stages .sw { width: 14px; height: 14px; flex-shrink: 0; }
.stages .val { font-size: 18px; line-height: 26px; }
.stages .mem { width: 80px; flex-shrink: 0; text-align: right; font-family: var(--mono); font-size: 13px; color: var(--muted); }

.fixed { display: flex; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.fixed > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 22px; border-right: 1px solid var(--rule); }
.fixed > div:first-child { padding-left: 0; }
.fixed > div:last-child { border-right: 0; }
.fixed .mono { font-size: 15px; line-height: 22px; }
.fixed .mono.hi { color: var(--link); }
.fixed p { font-size: 17px; line-height: 24px; color: var(--muted); }

.nodelinks { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 13px; line-height: 20px; color: var(--muted); }
.nodelinks a:visited { color: var(--link); }

.notfound { display: flex; flex-direction: column; gap: 24px; max-width: 640px; }
.notfound h1 { font-weight: 400; font-size: 72px; line-height: 76px; letter-spacing: -0.025em; }

.contact-head { display: flex; flex-direction: column; gap: 24px; }
.contact-head h1 { font-weight: 400; font-size: 72px; line-height: 76px; letter-spacing: -0.025em; }
.form-alert { max-width: 720px; margin-bottom: 32px; padding: 14px 18px; border: 1px solid var(--err-ink); font-family: var(--mono); font-size: 13px; line-height: 20px; color: var(--err-ink); background: #ffffff; }
.contact-form { display: flex; flex-direction: column; gap: 32px; max-width: 720px; }
.field-row { display: flex; gap: 28px; }
.field-row .field { flex: 1 1 0; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label { font-family: var(--mono); font-size: 13px; line-height: 20px; color: var(--ink); }
.field input, .field textarea { width: 100%; padding: 12px 16px; font-family: var(--serif); font-size: 19px; line-height: 26px; color: var(--ink); background: #ffffff; border: 1px solid var(--rule); border-radius: 0; }
.field input { height: 52px; }
.field textarea { min-height: 240px; line-height: 28px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--err-ink); }
.field-err { font-family: var(--mono); font-size: 13px; line-height: 20px; color: var(--err-ink); }
.field-err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.form-actions button { height: 48px; padding: 0 24px; font-family: var(--mono); font-size: 14px; line-height: 20px; color: var(--page); background: var(--ink); border: 0; border-radius: 0; cursor: pointer; }
.form-actions button:hover { background: #000000; }
.form-actions button:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.form-actions .aside { font-family: var(--mono); font-size: 13px; line-height: 20px; color: var(--muted); }
.form-actions .aside a:visited { color: var(--link); }
.thanks { display: flex; flex-direction: column; gap: 24px; max-width: 640px; }
.thanks h1 { font-weight: 400; font-size: 72px; line-height: 76px; letter-spacing: -0.025em; }

@media (max-width: 1200px) {
  .hero-text { width: 56%; }
  .hero h1 { font-size: 68px; line-height: 72px; }
  .col-head, .contents, .colophon { width: 300px; }
  .page { padding: 64px 56px 96px; }
  .editors { flex-direction: column; }
  .editors .accepted, .editors .refused { width: 100%; }
}

@media (max-width: 900px) {
  :root { --rail: 16px; }
  body { font-size: 19px; line-height: 29px; }
  .rails { flex-direction: column; }
  .spacer .rails { height: 32px; }
  .col-head, .contents, .colophon, .hero-text { width: auto; border-right: 0; border-bottom: 1px solid var(--rule); }
  .col-head { padding: 48px 20px 32px; }
  .col-main { padding: 32px 20px 48px; }
  .nodebar { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 20px; }
  .nodebar .nodes, .nodebar .links { flex-wrap: wrap; gap: 6px 18px; }
  .hero-text { padding: 48px 20px 40px; gap: 28px; }
  .hero h1 { font-size: 46px; line-height: 50px; letter-spacing: -0.02em; }
  .lede { font-size: 21px; line-height: 31px; }
  .install { font-size: 13px; }
  .listing-head { white-space: normal; flex-wrap: wrap; gap: 4px 16px; }
  .seed { padding: 32px 20px 40px; }
  .hex { font-size: 11px; line-height: 20px; }
  h2.title, .promise-head { font-size: 34px; line-height: 40px; }
  .promise { gap: 40px; }
  .promise blockquote { font-size: 30px; line-height: 38px; }
  .ladder li { gap: 12px; flex-wrap: wrap; }
  .ladder .what { flex-basis: calc(100% - 84px); font-size: 17px; line-height: 24px; }
  .ladder .size { width: auto; text-align: left; padding-left: 84px; }
  .ladder .bar { width: 100px; }
  .colophon { padding: 36px 20px; }
  .footer-top { flex-direction: column; }
  .footer-mark { height: 72px; }
  .footer-links { padding: 32px 20px 40px; gap: 28px 48px; }
  .footer-links .fine { align-items: flex-start; flex-basis: 100%; }
  .contents { padding: 32px 20px; }
  .contents nav { position: static; }
  .page { padding: 40px 20px 64px; gap: 48px; }
  .page h1 { font-size: 48px; line-height: 52px; }
  .page h2 { font-size: 30px; line-height: 36px; }
  .row { flex-direction: column; gap: 4px; }
  .row .key, .row .why, .table .status, .table .notes { width: auto; }
  .table .row.headrow { display: none; }
  .trio, .figures, .fixed { flex-direction: column; }
  .trio > div, .figures > div, .fixed > div { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .trio > div:last-child, .figures > div:last-child, .fixed > div:last-child { border-bottom: 0; }
  .figures .big { font-size: 64px; line-height: 64px; }
  .results .row.headrow { display: none; }
  .results .row { flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 0; }
  .results span, .results span.ok, .results span.crash { width: auto; min-width: 0; display: flex; justify-content: space-between; text-align: right; }
  .results span:first-child { font-weight: 600; margin-bottom: 4px; }
  .results span[data-l]::before { content: attr(data-l); color: var(--muted); font-weight: 400; }
  .pull { font-size: 24px; line-height: 33px; padding-left: 20px; }
  .hash { padding: 20px; }
  .hash code { font-size: 15px; line-height: 26px; }
  .stages .row { flex-direction: row; }
  .nodelinks { flex-direction: column; }
  .notfound h1 { font-size: 48px; line-height: 52px; }
  .contact-head h1, .thanks h1 { font-size: 48px; line-height: 52px; }
  .field-row { flex-direction: column; gap: 32px; }
}
