@font-face { font-family: "Ioskeley Mono"; src: url(/fonts/ioskeley-mono-regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Ioskeley Mono"; src: url(/fonts/ioskeley-mono-bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }

/* paper and ink, with one accent: osun, the camwood red of Yoruba dye */
:root {
  --paper: #F3EFE6; --ink: #1B1812; --accent: #B23A1C;
  --mute: rgba(27, 24, 18, 0.7); --line: rgba(27, 24, 18, 0.16); --tint: rgba(178, 58, 28, 0.08);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #14120F; --ink: #ECE6D9; --accent: #E2683F; --mute: rgba(236, 230, 217, 0.68); --line: rgba(236, 230, 217, 0.14); --tint: rgba(226, 104, 63, 0.1); }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); }
body { font-family: "Ioskeley Mono", ui-monospace, monospace; color: var(--ink); font-size: 14px; line-height: 24px;
  padding: 64px 24px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--paper); }
code { font: inherit; }
main { max-width: 688px; margin: 0 auto; }

header { display: flex; align-items: center; justify-content: space-between; }
.mark { font-weight: 700; font-size: 16px; letter-spacing: -0.02em; }
.mark span { color: var(--accent); }
nav { display: flex; gap: 24px; font-size: 13px; line-height: 18px; color: var(--mute); }

.hero { padding-top: 128px; }
h1 { font-size: 28px; line-height: 36px; letter-spacing: -0.02em; font-weight: 400; }
h1 strong { font-weight: 400; color: var(--accent); }
.sub { padding-top: 16px; color: var(--mute); }
.sub em { font-style: normal; color: var(--ink); }
.sub code { color: var(--ink); }
.prompt { margin-top: 40px; padding-left: 16px; border-left: 2px solid var(--accent); overflow-wrap: anywhere; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; padding-top: 24px; font-size: 13px; line-height: 16px; }
.actions a { color: var(--mute); }
button { font: inherit; font-weight: 700; color: var(--paper); background: var(--accent); border: 0; border-radius: 0; padding: 12px 18px; cursor: pointer;
  transition: background-color 160ms ease-out, transform 120ms ease-out; }
button:hover { background: var(--ink); }
button:active { transform: scale(0.97); }

/* the demo: an ASCII lock beside the transcript of one request */
.demo { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin-top: 88px;
  padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lock { font: inherit; line-height: 1.25; font-size: 16px; color: var(--ink); min-width: 13ch; }
.lock .on { color: var(--accent); }
.log { list-style: none; font-size: 13px; line-height: 22px; }
.log li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; overflow-wrap: break-word;
  transition: opacity 320ms ease-out, transform 320ms cubic-bezier(0.23, 1, 0.32, 1); }
.log li > span:first-child { color: var(--mute); }
.log li.you > span:last-child { color: var(--accent); }
.log b { font-weight: 400; color: var(--accent); background: var(--tint); }
.js .log li { opacity: 0; transform: translateY(4px); }
.js .log li.shown { opacity: 1; transform: none; }

section { padding-top: 96px; }
h2 { font-size: 16px; line-height: 24px; padding-bottom: 16px; }
.row { display: grid; border-top: 1px solid var(--line); overflow-wrap: anywhere; padding: 12px 0; line-height: 22px; }
.row code { color: var(--ink); }
.steps .row { grid-template-columns: 40px 96px 1fr; }
.steps .row span:first-child, .steps .row span:last-child { color: var(--mute); }
.steps .row span:nth-child(2) { font-weight: 700; }

.table { overflow-x: auto; }
.grid .head { font-size: 13px; color: var(--mute); }
.delivery { min-width: 560px; }
.delivery .row { grid-template-columns: 176px 1fr 1fr; padding: 10px 0; }
.delivery .row:not(.head) span:first-child { font-weight: 700; }
.delivery .row:not(.head) span:last-child { color: var(--mute); }
.links .row { grid-template-columns: 96px 1fr 120px; padding: 10px 0; }
.links .row > :first-child { font-weight: 700; }
.links .row > :last-child { text-align: right; font-size: 13px; color: var(--mute); }
.links a { color: var(--accent); }

.wont .row { grid-template-columns: 40px 1fr; color: var(--mute); }
.wont .row span:first-child { color: var(--accent); }

.quick pre { padding: 16px 0 16px 16px; border-left: 2px solid var(--accent); overflow-x: auto; font-size: 13px; line-height: 22px; }
.quick pre code { white-space: pre; }
.c { color: var(--mute); }
.note { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; line-height: 20px; color: var(--mute); }
.note b, .note code { color: var(--ink); }

footer { display: flex; justify-content: space-between; gap: 16px; margin-top: 120px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 12px; line-height: 16px; color: var(--mute); }
footer nav { gap: 20px; font-size: 12px; line-height: 16px; }

@media (max-width: 560px) {
  body { padding-top: 40px; }
  .hero { padding-top: 88px; }
  h1 { font-size: 24px; line-height: 32px; }
  .demo { grid-template-columns: 1fr; gap: 20px; }
  .steps .row { grid-template-columns: 32px 1fr; }
  .steps .row span:last-child { grid-column: 2; }
  .links .row { grid-template-columns: 64px 1fr; }
  .links .row > :last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .log li, button { transition: none; }
}
.nw { white-space: nowrap; }
