:root {
  color-scheme: light;
  --bg: #f8f7f2;
  --ink: #1c1d18;
  --muted: #53564c;
  --rule: #d3d4c8;
  --yellow: #ffdf47;
  --lavender: #e4dcf2;
  --serif: Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font: 16px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, ol, ul, pre { margin: 0; }
a { color: inherit; text-decoration: none; }
button, summary { color: inherit; font: inherit; cursor: pointer; }
button { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #7052a4; outline-offset: 4px; }
::selection { background: #ffe572; color: #141511; }
.skip { position: absolute; top: -80px; left: 16px; z-index: 5; padding: 12px; background: var(--ink); color: white; }
.skip:focus { top: 12px; }
.wrap { width: min(90%, 1376px); margin-inline: auto; }
.mast, .brand, .library-link, .subject, .sheet-bar, .copy, .read-more, .folio, .foot, .example-action { display: flex; align-items: center; }
.mast { justify-content: space-between; min-height: 78px; gap: 12px; border-bottom: 1px solid var(--rule); }
.brand { width: fit-content; font-size: 20px; font-weight: 700; line-height: 1; letter-spacing: -.065em; gap: .22em; white-space: nowrap; }
.brand b { font-weight: 450; }
.brand-icon { display: grid; place-items: center; width: 32px; height: 32px; margin-right: 5px; padding-right: 3px; border-radius: 9px; background: var(--ink); color: var(--yellow); font: 700 16px/1 var(--mono); letter-spacing: -.15em; }
.library-link { gap: 8px; min-height: 44px; font-size: 14px; font-weight: 650; }
.library-link span { font-size: 18px; }
a:hover { text-decoration: underline; text-underline-offset: .22em; }
.workspace { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(40px, 6vw, 100px); margin: clamp(42px, 5vw, 78px) 0 clamp(60px, 8vw, 120px); align-items: start; }
.cover { position: sticky; top: 24px; }
.subject, .eyebrow, .folio { gap: 9px; font: 650 .74rem/1.25 var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.subject { width: fit-content; min-height: 30px; }
.subject span { width: 12px; height: 12px; background: var(--yellow); border: 1px solid var(--ink); border-radius: 50%; }
h1 { margin: 14px 0 20px; max-width: 17ch; font-size: clamp(44px, 4.6vw, 76px); font-weight: 630; line-height: 1.01; letter-spacing: -.065em; text-wrap: balance; overflow-wrap: anywhere; }
.deck { max-width: 34ch; color: var(--muted); font-size: clamp(18px,1.5vw,23px); line-height: 1.36; letter-spacing: -.025em; }
.guide { border-top: 1px solid var(--rule); margin-top: 35px; padding-top: 19px; max-width: 37ch; color: var(--muted); }
.guide .guide-label { font: italic 26px/1.2 var(--serif); color: var(--ink); margin-bottom: 7px; }
.step-nav { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px; }
.step-nav a { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--rule); border-radius: 50%; font: 600 .8rem/1 var(--mono); background: transparent; color: var(--ink); }
.step-nav a:hover { background: var(--ink); color: white; text-decoration: none; }
.step { margin: 0 0 39px; scroll-margin-top: 18px; }
.sheet { padding: clamp(19px,2.5vw,36px); border: 1px solid #cfcfc4; border-radius: 16px 16px 0 0; background: #eeeee6; }
.step:first-of-type .sheet { position: relative; background: var(--lavender); border-color: #c8bed4; }
.step:first-of-type .sheet::before { content: ""; position: absolute; top: -6px; right: 12px; left: 12px; height: 4px; border: 1px solid #ccc3d7; border-bottom: 0; border-radius: 10px 10px 0 0; background: #ede7f4; }
.sheet-bar { justify-content: space-between; gap: 8px; }
.folio { gap: 8px; letter-spacing: .06em; }
.folio i { display: inline-block; width: 14px; height: 11px; border: 1.5px solid currentColor; border-radius: 2px; box-shadow: -2px -2px 0 -1px var(--ink); }
.copy { justify-content: center; gap: 10px; flex: none; min-height: 44px; padding: 0 15px; border-radius: 100px; border: 1px solid var(--ink); background: var(--ink); color: white; font-size: .91rem; font-weight: 680; }
.copy:hover { background: #36382d; }
.copy:active { transform: translateY(1px); }
.copy-icon { position: relative; width: 13px; height: 15px; }
.copy-icon::before, .copy-icon::after { position: absolute; content: ""; width: 8px; height: 10px; border: 1.5px solid; border-radius: 2px; }
.copy-icon::before { top: 0; left: 0; }
.copy-icon::after { right: 0; bottom: 0; background: var(--ink); }
.status:not(:empty) { display: block; margin: 8px 0; text-align: right; color: #2e4233; font-size: .85rem; font-weight: 650; }
.sheet h2 { margin: 19px 0 16px; max-width: 34ch; font: 500 clamp(25px,2.25vw,36px)/1.14 var(--serif); letter-spacing: -.038em; overflow-wrap: anywhere; }
.step-desc, .continuation { margin: -5px 0 16px; color: #48483f; }
.manual { margin-bottom: 16px; color: var(--muted); }
.paper { position: relative; padding: 18px 20px; background: #fffef9; border: 1px solid #c9c8bc; border-radius: 8px; }
.paper::before { content: ""; position: absolute; right: 12px; top: -1px; height: 3px; width: 34px; background: var(--yellow); }
pre { max-width: 100%; overflow-wrap: anywhere; white-space: pre-wrap; font: .94rem/1.63 var(--mono); tab-size: 4; -webkit-user-select: text; user-select: text; }
.preview { display: block; font: .94rem/1.6 var(--mono); color: #38392e; overflow-wrap: anywhere; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.read-more { gap: 9px; width: fit-content; min-height: 44px; margin: 6px 0 -7px; font-size: .86rem; font-weight: 650; }
.chevron { width: 7px; height: 7px; border: solid; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.opened, .full-prompt[open] .preview, .full-prompt[open] .closed { display: none; }
.full-prompt[open] .opened { display: inline; }
.full-prompt[open] .chevron { transform: rotate(225deg); }
.full-prompt[open] .read-more { margin: -10px 0 8px; }
.examples { border: 1px solid var(--rule); border-top: 0; border-radius: 0 0 14px 14px; overflow: clip; background: #fbfaf6; }
.example + .example { border-top: 1px solid var(--rule); }
.example summary, .about summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; padding: 12px clamp(19px,2.5vw,36px); font-size: .93rem; font-weight: 580; }
.plus { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 16px; height: 16px; }
.plus::before, .plus::after { content: ""; position: absolute; width: 12px; border-top: 1.5px solid; }
.plus::after { transform: rotate(90deg); }
details[open] > summary .plus::after { display: none; }
.example-body { padding: 0 clamp(19px,2.5vw,36px) 22px; }
.example-action { flex-wrap: wrap; gap: 9px; margin: 9px 0; }
.example-action .copy { background: transparent; color: var(--ink); }
.example-action .copy-icon::after { background: var(--bg); }
.example-body pre { margin-top: 10px; }
.about p, .about ol, .check p { margin: 0 0 12px; color: var(--muted); line-height: 1.55; }
.about ol { padding-left: 22px; }
.about li { margin: 6px 0; }
.notes h2, .related h2 { margin: 0 0 18px; font: 580 clamp(30px,3.3vw,50px)/1.08 Inter, -apple-system, BlinkMacSystemFont, Arial, sans-serif; letter-spacing: -.052em; }
h2 em, .book em { font-family: var(--serif); font-weight: 400; }
.about { border-block: 1px solid var(--rule); }
.about summary { padding-inline: 0; }
.check { margin-top: 17px; padding-left: 14px; border-left: 3px solid #a48bc0; }
.check h3 { font-size: .95rem; margin-bottom: 3px; }
.related { padding-block: 40px 48px; border-top: 1px solid var(--rule); }
.eyebrow { margin-bottom: 13px; color: var(--muted); }
.related ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.related a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--rule); font-weight: 600; }
.book { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 24px 30px; border: 1px solid #d6cfad; border-radius: 13px; background: #f5edca; }
.book span { font-size: clamp(23px,2.6vw,38px); letter-spacing: -.045em; line-height: 1.1; }
.book a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .92rem; font-weight: 650; }
.foot { gap: 22px; margin-top: 48px; padding: 24px 0 45px; border-top: 1px solid var(--rule); }
.foot a:not(.brand) { display: inline-flex; align-items: center; min-height: 44px; font-size: .86rem; }
.foot .brand { margin-right: auto; }
@media (max-width: 800px) {
  .workspace { display: block; margin-top: 24px; }
  .cover { position: static; }
  h1 { max-width: 23ch; margin: 6px 0 10px; font-size: clamp(36px,6.6vw,52px); }
  .deck { font-size: 18px; max-width: 46ch; }
  .guide { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 5px 12px; margin-top: 16px; padding-top: 12px; max-width: none; }
  .guide .guide-label { margin: 0; font-size: 22px; }
  .guide > p:nth-child(2) { order: 3; width: 100%; font-size: 14px; }
  .step-nav { gap: 2px; margin: 0; }
  .step-nav a { border-radius: 6px; min-width: 40px; }
  .sheets { margin-top: 26px; }
  .sheet h2 { max-width: 38ch; }
  .related ul { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 550px) {
  .wrap { width: calc(100% - 36px); }
  .mast { min-height: 59px; }
  .brand { font-size: 17px; }
  .brand-icon { width: 27px; height: 27px; margin-right: 3px; border-radius: 7px; font-size: 14px; }
  .library-link { font-size: 13px; gap: 5px; }
  .workspace { margin-top: 15px; }
  .subject { font-size: .67rem; }
  .subject span { width: 10px; height: 10px; }
  .guide { display: block; }
  .guide .guide-label { margin-bottom: 2px; }
  .step-nav { margin: 8px 0 0; gap: 5px; }
  .step-nav a { min-width: 44px; }
  .sheets { margin-top: 20px; }
  .sheet { padding: 16px; }
  .sheet h2 { margin: 14px 0; }
  .paper { padding: 14px; }
  .preview, pre { font-size: .88rem; }
  .example summary, .about summary { font-size: .9rem; }
  .step { margin-bottom: 26px; }
  .book { align-items: flex-start; flex-direction: column; gap: 4px; padding: 21px; }
  .foot { flex-wrap: wrap; gap: 6px 20px; }
  .foot .brand { width: 100%; }
}
@media (max-height: 600px) and (min-width: 801px) { .cover { position: static; } }
@media (max-width: 360px) {
  .workspace { margin-top: 10px; }
  h1 { margin-top: 3px; font-size: 32px; }
  .deck { font-size: 16px; }
  .guide { margin-top: 10px; padding-top: 8px; }
  .sheets { margin-top: 16px; }
  .step-nav { margin-top: 5px; }
}
