/* Wheelmachine docs. The family of wheelmachine.ai: paper, ink, coral and mint; Bricolage Grotesque for headings,
   Geist for words, Geist Mono for code; outlined cards that sit on a hard shadow. Light only. */
:root {
  --paper: #fffaf4; --card: #ffffff; --cream: #fff3e6;
  --ink: #1b2140; --ink-2: #3d4566; --muted: #5f6684;
  --line: rgba(27, 33, 64, .12); --line-2: rgba(27, 33, 64, .22);
  --coral: #ff6b45; --coral-ink: #b8380f; --coral-soft: #ffe2d6;
  --mint: #19c39a; --mint-ink: #0a6e55; --mint-soft: #d9f7ec;
  --sky: #4a90ff; --sky-ink: #1d4fa8; --sky-soft: #dceaff;
  --sun: #ffd27a; --sun-ink: #7a5000; --sun-soft: #fff1cc;
  --lilac-ink: #5b3fc4; --lilac-soft: #ece6ff;
  --display: 'Bricolage Grotesque', 'Geist', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --top: 64px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 18px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16.5px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { background: var(--coral-soft); border-radius: 4px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 8px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); letter-spacing: -.02em; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.04; margin: 8px 0 14px; }
h2 { font-weight: 800; font-size: 28px; line-height: 1.15; margin: 52px 0 14px; }
h3 { font-weight: 700; font-size: 21px; line-height: 1.25; margin: 34px 0 10px; }
h4 { font-weight: 700; font-size: 16.5px; margin: 24px 0 8px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin: 4px 0; }
code { font-family: var(--mono); font-size: .86em; font-weight: 500; background: var(--card); border: 1px solid var(--line-2);
  border-radius: 6px; padding: .08em .36em; white-space: nowrap; }
td code, li code, p code { white-space: normal; overflow-wrap: anywhere; }
code.nw, td code.nw, li code.nw, p code.nw { white-space: nowrap; overflow-wrap: normal; }
h1 code, h2 code, h3 code { font-size: .9em; border: 0; background: none; padding: 0; }
b, strong { font-weight: 600; }
b > code, strong > code { font-weight: 700; border-color: var(--ink); }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 680px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 10px; }

/* the bar on top */
.top { position: sticky; top: 0; z-index: 30; height: var(--top); background: rgba(255, 250, 244, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1.5px solid var(--line); }
.top-in { max-width: 1440px; height: 100%; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; white-space: nowrap; }
.brand:hover { background: none; }
.brand .mark { width: 30px; height: 30px; flex: none; }
.brand .tag { font-family: var(--sans); font-weight: 600; font-size: 12.5px; letter-spacing: .02em; padding: 2px 9px; border: 2px solid var(--ink);
  border-radius: 999px; background: var(--coral-soft); }
.top-links { display: flex; align-items: center; gap: 20px; font-size: 15px; font-weight: 500; }
.top-links a { text-decoration: none; color: var(--ink-2); white-space: nowrap; padding: 4px 2px; }
.top-links a:hover { color: var(--ink); background: none; text-decoration: underline; text-decoration-color: var(--coral); }

/* the pages, in a sidebar on wide screens and a menu on narrow ones */
.menu { position: sticky; top: var(--top); z-index: 20; background: var(--paper); border-bottom: 1.5px solid var(--line); }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-weight: 600; font-size: 15px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-icon { width: 18px; height: 12px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); position: relative; flex: none; }
.menu-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid var(--ink); }
.menu-here { margin-left: auto; color: var(--muted); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.menu-in { padding: 4px 16px 18px; max-height: calc(100vh - var(--top) - 50px); overflow-y: auto; }
.frame { max-width: 1440px; margin: 0 auto; display: block; }
.side, .toc { display: none; }
@media (min-width: 1000px) {
  .menu { display: none; }
  .frame { display: grid; grid-template-columns: 252px minmax(0, 1fr); }
  .side { display: block; position: sticky; top: var(--top); height: calc(100vh - var(--top)); overflow-y: auto; padding: 22px 14px 40px 20px;
    border-right: 1.5px solid var(--line); }
}
@media (min-width: 1280px) {
  .frame.wide { grid-template-columns: 252px minmax(0, 1fr) 224px; }
  .toc { display: block; position: sticky; top: var(--top); align-self: start; max-height: calc(100vh - var(--top)); overflow-y: auto; padding: 30px 20px 40px 8px; font-size: 13.5px; }
}
.nav-head { margin: 18px 0 6px; padding-left: 10px; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.nav-list ul { list-style: none; margin: 0; padding: 0; }
.nav-list li { margin: 2px 0; }
.nav-list a { display: block; padding: 6px 10px; border-radius: 12px; border: 2px solid transparent; text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav-list a:hover { background: var(--card); color: var(--ink); border-color: var(--line); }
.nav-list a[aria-current="page"] { background: var(--card); color: var(--ink); font-weight: 600; border-color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.search { position: relative; margin: 4px 0 6px; }
.q { width: 100%; height: 40px; padding: 0 12px 0 36px; font: inherit; font-size: 15px; color: var(--ink); background: var(--card) no-repeat 12px 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235f6684' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='M11 11l3.5 3.5'/%3E%3C/svg%3E");
  border: 2px solid var(--line-2); border-radius: 12px; -webkit-appearance: none; appearance: none; }
.q:focus { outline: none; border-color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.no-js .search { display: none; }
.hits { list-style: none; margin: 10px 0 0; padding: 0; }
.hits li { margin: 0; }
.hits a { display: block; padding: 7px 10px; border-radius: 10px; text-decoration: none; font-size: 14.5px; line-height: 1.35; border: 2px solid transparent; }
.hits a span { display: block; color: var(--muted); font-size: 12.5px; }
.hits a:hover, .hits a.on { background: var(--card); border-color: var(--ink); }
.hits .none { padding: 6px 10px; color: var(--muted); font-size: 14px; }
.searching .nav-list { display: none; }
.toc-head { margin: 0 0 8px; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: 4px 0 4px 12px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); line-height: 1.35; }
.toc li.l3 a { padding-left: 24px; font-size: 13px; }
.toc a:hover { color: var(--ink); background: none; }
.toc a.on { color: var(--ink); border-left-color: var(--coral); font-weight: 500; }

/* the page */
.page { min-width: 0; padding: 26px 18px 48px; }
@media (min-width: 640px) { .page { padding: 34px 40px 64px; } }
@media (min-width: 1000px) { .page { padding: 40px 56px 72px; } }
.page > * { max-width: 820px; }
.page-index > * { max-width: 1000px; }
.page-index .hero { max-width: 1000px; }
.page > h1:first-child, .page > .hero:first-child { margin-top: 0; }
.anchor { margin-left: 8px; font-size: .8em; color: var(--line-2); text-decoration: none; opacity: 0; }
h2:hover .anchor, h3:hover .anchor, h4:hover .anchor, .anchor:focus { opacity: 1; }
.anchor:hover { color: var(--coral); background: none; }
.kicker { font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 6px; }
.crumbs { font-size: 14.5px; color: var(--muted); margin-bottom: 4px; }

/* code */
.code { position: relative; margin: 18px 0 24px; background: var(--card); border: 2px solid var(--ink); border-radius: 16px; box-shadow: 0 4px 0 var(--ink); overflow: hidden; }
.code-bar { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 5px 6px 5px 14px; background: var(--cream); border-bottom: 2px solid var(--ink); }
.code-label { font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--ink-2); letter-spacing: .01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tablist { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; margin-left: -8px; }
.tablist button { font: 600 13px/1 var(--mono); color: var(--ink-2); background: none; border: 2px solid transparent; border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.tablist button:hover { color: var(--ink); border-color: var(--line-2); }
.tablist button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.copy { margin-left: auto; flex: none; width: 32px; height: 30px; display: grid; place-items: center; background: var(--card); border: 2px solid var(--line-2);
  border-radius: 10px; cursor: pointer; color: var(--ink); padding: 0; }
.copy:hover { border-color: var(--ink); }
.copy svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; grid-area: 1 / 1; }
.copy .i-done { opacity: 0; stroke: var(--mint-ink); stroke-width: 2.6; }
.copy.done .i-copy { opacity: 0; }
.copy.done .i-done { opacity: 1; }
.copy.done { border-color: var(--mint); background: var(--mint-soft); }
.no-js .copy { display: none; }
pre { margin: 0; padding: 15px 18px 16px; overflow-x: auto; font-family: var(--mono); font-size: 13.5px; line-height: 1.62; tab-size: 4; color: var(--ink); }
pre code { font: inherit; background: none; border: 0; padding: 0; white-space: pre; border-radius: 0; }
.panel-label { display: none; }
.no-js .tabs .tablist { display: none; }
.no-js .tabs .panel[hidden] { display: block; }
.no-js .tabs .panel-label { display: block; margin: 0; padding: 10px 18px 0; font: 600 12.5px var(--mono); color: var(--muted); }
.no-js .tabs .panel + .panel { border-top: 1.5px dashed var(--line-2); }
.t-c { color: #7a809c; font-style: italic; }
.t-s { color: #0a7a5a; }
.t-k { color: #b0360f; font-weight: 500; }
.t-n { color: #1d4fa8; }
.t-f { color: #5b3fc4; }
.t-v { color: #8a5a00; }
.t-p { color: #a3a8bf; user-select: none; -webkit-user-select: none; }
.out { color: var(--ink-2); }
@media (max-width: 520px) { pre { font-size: 12.5px; padding: 13px 14px 14px; } .code { border-radius: 14px; } }

/* tables */
.table-wrap { margin: 16px 0 24px; overflow-x: auto; border: 2px solid var(--ink); border-radius: 16px; background: var(--card); box-shadow: 0 4px 0 var(--ink); }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
th { text-align: left; font-weight: 600; font-size: 13px; letter-spacing: .02em; color: var(--ink-2); background: var(--cream); padding: 10px 14px; border-bottom: 2px solid var(--ink); white-space: nowrap; }
td { padding: 10px 14px; border-top: 1.5px solid var(--line); vertical-align: top; }
tr:first-child td { border-top: 0; }
td:first-child { white-space: nowrap; }
td:first-child code { white-space: nowrap; }
table.fields td:first-child { white-space: nowrap; }
table.fields td:first-child code { white-space: nowrap; }
table.fields td:nth-child(2) { white-space: nowrap; color: var(--ink-2); font-size: 14px; }
table.flags td:first-child { white-space: nowrap; }
@media (max-width: 640px) {
  table { font-size: 14.5px; }
  td, th { padding: 9px 11px; }
  /* on a phone, a row is a small card: its name first, then the rest */
  table:not(.keep) thead { display: none; }
  table:not(.keep) tr { display: block; padding: 11px 14px 12px; }
  table:not(.keep) tr + tr { border-top: 1.5px solid var(--line); }
  table:not(.keep) td, table.fields td:first-child, table.fields td:nth-child(2), table.flags td:first-child { display: block; padding: 0; border: 0; white-space: normal; }
  table:not(.keep) td + td { margin-top: 4px; }
  table:not(.keep) td code { white-space: normal; overflow-wrap: anywhere; }
  table:not(.keep) td[data-label] { font-size: 13.5px; color: var(--ink-2); }
  table:not(.keep) td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); }
  table:not(.keep) .where { display: inline; margin: 0 0 0 8px; }
}

/* notes */
.note, .soon, .warn { margin: 18px 0 24px; padding: 14px 18px; border-radius: 14px; border: 2px solid var(--ink); }
.note { background: var(--sky-soft); }
.soon { background: var(--lilac-soft); }
.warn { background: var(--coral-soft); }
.note > :last-child, .soon > :last-child, .warn > :last-child { margin-bottom: 0; }
p.soon { padding: 10px 14px; }
.soon-chip, .also-chip, .req, .where { display: inline-block; font: 600 11.5px/1.5 var(--sans); letter-spacing: .03em; border-radius: 999px; padding: 1px 8px; vertical-align: 1px; white-space: nowrap; }
.soon-chip { background: var(--card); color: var(--lilac-ink); border: 1.5px solid var(--lilac-ink); }
.also-chip { background: var(--sun-soft); color: var(--sun-ink); border: 1.5px solid var(--sun-ink); }
.req { margin-left: 6px; background: var(--coral-soft); color: var(--coral-ink); }
.where { display: block; width: max-content; margin-top: 4px; padding: 0; color: var(--muted); font-weight: 500; letter-spacing: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px;
  border: 2px solid var(--ink); background: var(--card); color: var(--ink); text-decoration: none; box-shadow: 0 4px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); background: var(--card); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn.go { background: var(--coral); color: #fff; }
.btn.go:hover { background: var(--coral); }

/* the first page */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: center; max-width: 820px; }
@media (min-width: 720px) { .hero { grid-template-columns: minmax(0, 1fr) 220px; gap: 24px; } }
.hero .lead { margin-bottom: 22px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 8px; }
.hero-art { display: grid; place-items: center; }
.wm-char { width: 210px; height: auto; overflow: visible; }
@media (max-width: 719px) { .hero-art { order: -1; justify-items: start; } .wm-char { width: 132px; } }
.wm-body { transform-box: fill-box; transform-origin: center; animation: wm-bob 1.8s ease-in-out infinite; }
.wm-eyes { transform-box: fill-box; transform-origin: center; animation: wm-blink 5s infinite; }
.wm-wheel { transform-box: fill-box; transform-origin: center; animation: wm-roll 3.2s linear infinite; }
.wm-led { animation: wm-led 2s ease-in-out infinite; }
@keyframes wm-bob { 50% { transform: translateY(-3px); } }
@keyframes wm-blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.12); } }
@keyframes wm-roll { to { transform: rotate(360deg); } }
@keyframes wm-led { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .wm-body, .wm-eyes, .wm-wheel, .wm-led { animation: none; } }
ol.four { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; counter-reset: four; }
ol.four li { counter-increment: four; margin: 0; padding: 14px 16px 16px; background: var(--card); border: 2px solid var(--ink); border-radius: 16px; box-shadow: 0 4px 0 var(--ink); font-size: 15px; line-height: 1.5; }
ol.four li::before { content: counter(four); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 8px; border-radius: 50%;
  background: var(--coral); color: #fff; font: 800 16px/1 var(--display); border: 2px solid var(--ink); }
ol.four b { display: block; font-family: var(--display); font-size: 17px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 14px 0 28px; }
.card { display: block; padding: 16px 16px 18px; background: var(--card); border: 2px solid var(--ink); border-radius: 18px; box-shadow: 0 4px 0 var(--ink);
  text-decoration: none; transition: transform .12s, box-shadow .12s; }
.card:hover { background: var(--card); transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.card b { display: block; font-family: var(--display); font-size: 18.5px; font-weight: 700; margin: 10px 0 2px; letter-spacing: -.01em; }
.card span:not(.ic) { display: block; color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--ink); }
.ic svg { width: 24px; height: 24px; }
.ic-coral { background: var(--coral-soft); } .ic-mint { background: var(--mint-soft); } .ic-sky { background: var(--sky-soft); }
.ic-sun { background: var(--sun-soft); } .ic-lilac { background: var(--lilac-soft); }

/* steps */
.steps { counter-reset: step; }
.steps > h2, .steps > h3 { counter-increment: step; display: flex; align-items: center; gap: 12px; }
.steps > h2::before, .steps > h3::before { content: counter(step); flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--coral); color: #fff; font: 800 17px/1 var(--display); border: 2px solid var(--ink); box-shadow: 0 2px 0 var(--ink); letter-spacing: 0; }
.steps > h3::before { width: 30px; height: 30px; font-size: 15px; }

/* machines: the states */
.diagram { margin: 20px 0 22px; padding: 18px 14px 10px; background: var(--card); border: 2px solid var(--ink); border-radius: 18px; box-shadow: 0 4px 0 var(--ink); }
.diagram figcaption { padding: 4px 8px 6px; color: var(--ink-2); font-size: 15px; }
.dg { display: block; width: 100%; height: auto; }
.dg .ln { fill: none; stroke: var(--ink); stroke-width: 2.4; }
.dg .lb { font: 600 15px var(--mono); fill: var(--ink-2); }
.dg .cap { font: 500 14px var(--sans); fill: var(--muted); }
.dg .node rect { stroke: var(--ink); stroke-width: 2.6; }
.dg .node text { font: 700 19px var(--display); fill: var(--ink); }
.n-starting rect { fill: var(--sun-soft); } .n-running rect { fill: var(--mint-soft); } .n-recovering rect { fill: var(--coral-soft); }
.n-paused rect { fill: var(--sky-soft); } .n-stopped rect { fill: var(--lilac-soft); } .n-archived rect { fill: var(--cream); }
@media (max-width: 639px) { .diagram { display: none; } }
.states { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 16px 0 22px; }
.state { padding: 12px 14px 14px; background: var(--card); border: 2px solid var(--ink); border-radius: 16px; }
.state b { display: inline-block; font: 600 14.5px var(--mono); padding: 1px 10px; border-radius: 999px; border: 2px solid var(--ink); margin-bottom: 6px; }
.state p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.st-starting b { background: var(--sun-soft); } .st-running b { background: var(--mint-soft); } .st-paused b { background: var(--sky-soft); }
.st-stopped b { background: var(--lilac-soft); } .st-archived b { background: var(--cream); } .st-recovering b { background: var(--coral-soft); }
.st-deleted b { background: #eef0f6; }

/* the reference */
.op { border-top: 2px dashed var(--line-2); margin-top: 34px; }
.op > h3 { margin-top: 26px; }
.route { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; }
.route code { font-size: 14.5px; padding: .2em .5em; white-space: normal; overflow-wrap: anywhere; }
.method { font: 700 12.5px/1 var(--mono); letter-spacing: .04em; padding: 6px 9px; border-radius: 8px; border: 2px solid var(--ink); }
.m-get { background: var(--mint-soft); color: var(--mint-ink); } .m-post { background: var(--sky-soft); color: var(--sky-ink); }
.m-patch { background: var(--sun-soft); color: var(--sun-ink); } .m-put { background: var(--lilac-soft); color: var(--lilac-ink); }
.m-delete { background: var(--coral-soft); color: var(--coral-ink); }
.needs { font-size: 15px; color: var(--ink-2); }
.answers { list-style: none; padding: 0; }
.answers li { margin: 7px 0; padding-left: 58px; text-indent: -58px; }
.status { display: inline-block; text-indent: 0; min-width: 48px; margin-right: 8px; font: 700 13px/1.6 var(--mono); text-align: center; border-radius: 8px; padding: 0 6px; border: 1.5px solid var(--ink); }
.status.s2 { background: var(--mint-soft); } .status.s4 { background: var(--sun-soft); } .status.s5 { background: var(--coral-soft); }
.obj { margin-top: 10px; }

/* errors */
.err { border-top: 2px dashed var(--line-2); margin-top: 30px; }
.err-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.err-meta .status { min-width: 0; padding: 0 8px; }
.again { padding: 10px 14px; background: var(--card); border: 1.5px solid var(--line-2); border-radius: 12px; }

/* next and before */
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 56px; max-width: 820px; }
.pn a { display: block; padding: 12px 16px; border: 2px solid var(--ink); border-radius: 14px; text-decoration: none; background: var(--card); font-weight: 600; box-shadow: 0 3px 0 var(--ink); }
.pn a:hover { background: var(--card); transform: translateY(-1px); }
.pn a span { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.pn .next { grid-column: 2; text-align: right; }

/* the foot */
.foot { border-top: 1.5px solid var(--line); background: var(--cream); }
.foot-in { max-width: 1440px; margin: 0 auto; padding: 26px 20px 34px; display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; align-items: center; }
.foot p { margin: 0; }
.foot-brand { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 14.5px; color: var(--ink-2); }
.foot-brand .mark { width: 24px; height: 24px; }
.foot-brand b { font-family: var(--display); font-weight: 800; color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; }
@media (max-width: 999px) { .top-links .wide { display: none; } }
@media (max-width: 400px) { .top-links { gap: 12px; font-size: 14px; } .brand { font-size: 18px; } .brand .tag { display: none; } }
