/* BELL — printed physics journal, with one ghost */
:root {
  --paper: #f2eee5;
  --paper-2: #f7f4ee;
  --ink: #121110;
  --ink-2: #57534c;      /* secondary text, 6.4:1 on paper */
  --ink-3: #8a857b;      /* tertiary, large/mono only */
  --rule: rgba(18, 17, 16, .16);
  --rule-2: rgba(18, 17, 16, .32);
  --acc: #ff5a1f;
  --acc-ink: #d63f08;    /* accent used as text at small sizes */
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gut: 64px;
  --max: 1312px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--serif); font-size: 19px; line-height: 1.5;
  font-optical-sizing: auto; font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.m { font-style: italic; }
i { font-style: italic; }

/* ---------- masthead ---------- */
.mast { position: sticky; top: 0; z-index: 20; background: var(--paper, #f2eee5); border-bottom: 1px solid var(--rule); }
.mast-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 60px; }
.wm {
  display: inline-flex; align-items: center; gap: 9px; justify-self: start; text-decoration: none; white-space: nowrap;
  font-family: var(--serif); font-size: 23px; font-weight: 500; letter-spacing: .1em; line-height: 1;
  font-variation-settings: "opsz" 36;
}
.wm span { padding-top: 2px; }
.bell { width: 26px; height: 26px; display: block; color: var(--ink); transform-origin: 50% 12%; }
.bell.ring { animation: ring 1.4s cubic-bezier(.2,.6,.3,1); }
@keyframes ring { 0% { transform: rotate(0); } 12% { transform: rotate(14deg); } 28% { transform: rotate(-11deg); } 44% { transform: rotate(7deg); } 60% { transform: rotate(-4deg); } 76% { transform: rotate(2deg); } 100% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .bell.ring { animation: none; } }
.nav { display: flex; gap: 32px; font-size: 16px; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.mast-r { justify-self: end; display: flex; align-items: center; gap: 20px; }
.xlink { display: grid; place-items: center; width: 28px; height: 28px; color: var(--ink-2); }
.xlink:hover { color: var(--ink); }
.xlink svg { width: 15px; height: 15px; }
/* the $BELL bar on top of the masthead: CA, copy, pump.fun */
.cabar { background: var(--ink); color: var(--paper); }
.cabar-in { display: flex; align-items: center; justify-content: center; gap: 14px; height: 36px; font-family: var(--mono); font-size: 12.5px; font-stretch: 87.5%; letter-spacing: .02em; }
.cabar-tk { font-weight: 600; }
.cabar-ca { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #d8d3c8; user-select: all; }
.cabar-ca .ca-short { display: none; }
.cabar-btn { font: inherit; color: var(--ink); background: var(--paper); border: 0; border-radius: 3px; padding: 3px 10px; cursor: pointer; }
.cabar-btn:hover { background: #fff; }
.cabar-link { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #ff5a1f; }
@media (max-width: 640px) {
  .cabar-ca .ca-full { display: none; }
  .cabar-ca .ca-short { display: inline; }
  .cabar-in { gap: 10px; }
}
.tk { font-family: var(--mono); font-size: 12px; font-stretch: 87.5%; letter-spacing: .02em; color: var(--ink-2); }
.btn-line {
  height: 36px; padding: 0 16px; border: 1px solid var(--ink); background: transparent; border-radius: 0; cursor: pointer;
  font-size: 15px; font-family: var(--serif);
}
.btn-line:hover { background: var(--ink); color: var(--paper); }

/* ---------- hero ---------- */
.hero { padding-top: 30px; position: relative; }
.shock { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; }
.hero-top { display: grid; grid-template-columns: minmax(0, 6.6fr) minmax(0, 5.4fr); gap: 40px; align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 8px; }
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy .lede { margin-bottom: 22px; }
.hero-bell { margin: 0; position: relative; display: flex; flex-direction: column; min-height: 470px; }
.hb-stage { position: relative; flex: 1; min-height: 0; }
.hb-stage .hbell { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); width: min(92%, 440px); }
.hb-stage canvas.gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
.hb-stage.is-3d .hbell { display: none; }
.hb-cap { text-align: center; font-family: var(--serif); font-style: italic; font-size: 14.5px; color: var(--ink-2); padding: 0; }
.toy-note { margin: 0; font-size: 14.5px; color: var(--ink-2); max-width: 52ch; line-height: 1.4; }
.toy-note .lnk { font-size: inherit; }
.act-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.act-real { height: 48px; font-size: 17px; padding: 0 20px; }
h1 {
  margin: 0; font-weight: 400; font-size: clamp(44px, 5.7vw, 86px); line-height: .94; letter-spacing: -.028em;
  font-variation-settings: "opsz" 72;
}
h1 em { font-style: italic; letter-spacing: -.035em; }
.lede { margin: 0 0 22px; font-size: 19.5px; line-height: 1.42; max-width: 44ch; font-variation-settings: "opsz" 20; }
.btn {
  height: 48px; padding: 0 24px; background: var(--acc); color: var(--ink); border: 0; border-radius: 0; cursor: pointer;
  font-family: var(--serif); font-size: 19px; font-weight: 500; letter-spacing: -.005em;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #ff6d37; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .lnk:focus-visible, .btn-line:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.act { position: relative; }
.prompt { margin: 0 0 10px; font-size: 22px; font-style: italic; line-height: 1.25; font-variation-settings: "opsz" 24; }
.prompt b { font-style: normal; font-weight: 500; }
.pad { position: relative; display: flex; align-items: flex-start; gap: 22px; }
.pad canvas.gl-pad { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.dial { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; margin: 0; background: none; border: 0; cursor: pointer; color: var(--ink); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.dial-art { display: block; width: 148px; height: 148px; border-radius: 50%; transition: transform .18s cubic-bezier(.3,1.5,.5,1); }
.dial-art svg { display: block; width: 100%; height: 100%; overflow: visible; transition: transform .25s cubic-bezier(.3,1.4,.5,1); }
.pad.is-3d .dial-art svg { visibility: hidden; }
.d-rim { fill: var(--paper-2); stroke: var(--ink); stroke-width: 2.4; }
.d-in { fill: none; stroke: var(--ink); stroke-opacity: .3; stroke-width: 1; }
.d-tk { stroke: var(--ink); stroke-opacity: .55; stroke-width: 1.2; }
.d-tk.maj { stroke-opacity: 1; stroke-width: 2; }
.d-ax { stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; }
.d-ax2 { stroke: var(--ink); stroke-width: 2; }
.d-cube { fill: var(--paper); stroke: var(--ink); stroke-width: 1.6; }
.dial:hover .d-ax, .dial:focus-visible .d-ax { stroke: var(--acc); }
.dial:hover:not(:disabled) .dial-art svg { transform: rotate(-6deg) scale(1.04); }
.dial:active:not(:disabled) .dial-art { transform: translateY(3px) scale(.97); }
.dial:focus-visible { outline: none; }
.dial:focus-visible .dial-art { outline: 2px solid var(--ink); outline-offset: 5px; }
.dial.hit .dial-art { transform: translateY(3px) scale(.96); }
.dial:disabled { cursor: default; opacity: .55; }
.dial-k { font-size: 21px; line-height: 1; white-space: nowrap; }
.dial-k i { font-family: var(--serif); }
.dial-k b { font-family: var(--mono); font-weight: 400; font-stretch: 87.5%; font-size: 17px; }
.dial:hover .dial-k b, .dial:focus-visible .dial-k b { color: var(--acc-ink); }
.pad-side { display: flex; flex-direction: column; gap: 6px; padding-top: 34px; font-size: 15px; line-height: 1.3; min-width: 0; flex: 1 1 auto; }
.prog { font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.prog b { font-family: var(--mono); font-stretch: 87.5%; color: var(--ink); font-weight: 500; font-size: 15px; }
.keys { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
kbd { font-family: var(--mono); font-stretch: 87.5%; font-size: 11.5px; border: 1px solid var(--rule-2); border-bottom-width: 2px; padding: 0 4px; border-radius: 2px; background: var(--paper-2); color: var(--ink); }
.pad-links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.pad-links .lnk { font-size: 15px; text-align: left; }
.act-foot { min-height: 74px; margin-top: 12px; }
.act-msg { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.lnk { background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; font-size: inherit; }
.done { margin: 0; }
.verdict { margin: 0 0 4px; font-size: 26px; line-height: 1.1; font-variation-settings: "opsz" 30; }
.verdict .num { font-family: var(--mono); font-stretch: 87.5%; font-size: 21px; color: var(--acc-ink); }
.verdict em { font-style: italic; }
.hero-scale { margin-top: 10px; border-top: 1px solid var(--ink); }

/* figure 1 */
.fig1 { margin-top: 56px; margin-bottom: 0; }
.bench-wrap { position: relative; border-top: 1px solid var(--ink); }
#bench { display: block; width: 100%; height: 344px; }
.bench-wrap.is-3d #bench { visibility: hidden; position: absolute; inset: 0; height: 100%; }
.bench-wrap.is-3d { height: 430px; }
.bench3d { position: absolute; inset: 0; }
.bench3d canvas { display: block; width: 100%; height: 100%; }
.bench3d.over canvas { cursor: pointer; }
.b3l { position: absolute; left: 0; top: 0; pointer-events: none; white-space: nowrap; will-change: transform; text-shadow: 0 0 2px var(--paper), 0 0 4px var(--paper), 0 0 7px var(--paper); }
.b3l.who { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-2); }
.b3l.who .mono { font-family: var(--mono); font-style: normal; font-size: 11.5px; font-stretch: 87.5%; }
.b3l.set { font-size: 13px; }
.b3l.set span { margin: 0 9px; color: var(--ink-3); padding-bottom: 3px; }
.b3l.set span.on { color: var(--ink); border-bottom: 1.2px solid var(--ink); }
.b3l.set i { font-family: var(--serif); font-size: 16px; margin-right: 4px; }
.b3l.set b { font-family: var(--mono); font-weight: 400; font-stretch: 87.5%; }
.b3l.det { font-family: var(--mono); font-stretch: 87.5%; font-size: 12.5px; color: var(--ink); }
.b3l.det small { display: block; font-size: 11px; color: var(--ink-2); }
.b3l.src { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--ink-2); }
.fig1-foot { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 18px; }
.fig1-foot figcaption { padding-top: 4px; }
.corr { display: flex; align-items: center; text-align: center; }
.hbell { height: auto; display: block; overflow: visible; flex: none; }
.hb-swing { transform-box: view-box; transform-origin: 100px 12px; }
.hb-swing.swing { animation: swing 1.6s cubic-bezier(.25,.6,.3,1); }
.hb-rl { opacity: 0; }
.hb-swing.swing .hb-rl { animation: rl 1.6s ease-out; }
@keyframes swing { 0% { transform: rotate(0); } 14% { transform: rotate(9deg); } 32% { transform: rotate(-7deg); } 50% { transform: rotate(4.5deg); } 68% { transform: rotate(-2.5deg); } 84% { transform: rotate(1deg); } 100% { transform: rotate(0); } }
@keyframes rl { 0% { opacity: 0; } 12% { opacity: 1; } 70% { opacity: .5; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hb-swing.swing, .hb-swing.swing .hb-rl { animation: none; } }
.corr table { border-collapse: collapse; margin: 0 auto; font-size: 15px; }
.corr th { font-weight: 400; color: var(--ink-2); padding: 4px 12px; white-space: nowrap; }
.corr thead th { border-bottom: 1px solid var(--rule-2); }
.corr tbody th { text-align: right; border-right: 1px solid var(--rule-2); }
.corr td { padding: 6px 14px 4px; min-width: 104px; transition: background .4s ease; }
.corr td b { display: block; font-family: var(--mono); font-stretch: 87.5%; font-weight: 400; font-size: 17px; line-height: 1.2; color: var(--ink); }
.corr td small { display: block; font-family: var(--mono); font-stretch: 87.5%; font-size: 10.5px; color: var(--ink-2); line-height: 1.4; }
.corr td.pred b { color: var(--ink-3); }
.formula { margin: 10px 0 0; font-size: 15.5px; color: var(--ink-2); white-space: nowrap; }

.scale-wrap { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--ink); }
#scale { display: block; width: 100%; height: 132px; overflow: visible; }
.fig1 figcaption, figure figcaption { font-size: 15.5px; line-height: 1.45; color: var(--ink-2); padding-top: 12px; max-width: 92ch; }
figcaption b { color: var(--ink); font-weight: 600; }

/* ---------- sections ---------- */
.sec { padding: 108px 0 0; }
.sec.foundry { padding-top: 76px; }
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: baseline; border-top: 1px solid var(--ink); padding-top: 22px; margin-bottom: 44px; }
h2 { margin: 0; font-weight: 400; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.04; letter-spacing: -.02em; font-variation-settings: "opsz" 60; }
.sec-head p { margin: 0; font-size: 19.5px; max-width: 46ch; color: var(--ink); }
.note { font-size: 15px; color: var(--ink-2); margin: 18px 0 0; }
.note b { color: var(--ink); font-weight: 600; }

/* ---------- result cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 40px; }
.card { background: var(--paper-2); border: 1px solid var(--rule); padding: 26px 28px 22px; position: relative; display: flex; flex-direction: column; }
.card.mine { border-color: var(--ink); }
.c-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.c-no { font-size: 30px; line-height: 1; letter-spacing: -.015em; font-variation-settings: "opsz" 48; position: relative; white-space: nowrap; }
.c-no .ghost { position: absolute; left: .09em; top: -.07em; color: var(--acc); opacity: .6; mix-blend-mode: multiply; pointer-events: none; }
.c-S { font-family: var(--mono); font-stretch: 87.5%; font-size: 26px; line-height: 1; white-space: nowrap; }
.c-S.is-q .c-v { color: var(--acc-ink); }
.c-S .c-eq { font-family: var(--serif); font-size: 24px; }
.c-S .c-eq i { font-style: italic; }
.c-S small { font-size: 13px; color: var(--ink-2); margin-left: 6px; }
.c-meta { font-family: var(--mono); font-stretch: 87.5%; font-size: 11.5px; color: var(--ink-2); margin: 10px 0 0; letter-spacing: .01em; }
.c-art { margin: 14px 0 4px; }
.c-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.c-plot { padding-top: 6px; }
.c-sub { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 12px; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.c-sub .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); border: 1px solid var(--ink); vertical-align: 0; }
.c-sub .lnk { font-size: 14px; flex: none; }
.c-hold { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; font-family: var(--mono); font-stretch: 87.5%; font-size: 12px; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--rule); }
.c-hold .k { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-2); }
.c-hold .bits { letter-spacing: .06em; text-align: right; white-space: nowrap; }
.c-hold .tz { color: var(--ink-2); }
.c-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; }
.c-verdict { font-style: italic; font-size: 19px; }
.c-rare { font-size: 14.5px; color: var(--ink-2); text-align: right; }
.c-cap { font-size: 14.5px; color: var(--ink-2); margin: 10px 0 0; line-height: 1.4; }
.c-cap b { color: var(--ink); font-weight: 600; }

/* ---------- thesis ---------- */
.thesis-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); column-gap: 48px; border-top: 1px solid var(--ink); padding-top: 22px; }
.thesis-h { grid-column: 1 / 2; align-self: start; }
.essay { grid-column: 2 / 4; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr); column-gap: 48px; align-items: start; }
.essay > p, .essay > blockquote { grid-column: 1; }
.essay p { margin: 0 0 1.05em; font-size: 22px; line-height: 1.5; font-variation-settings: "opsz" 22; hanging-punctuation: first; }
.essay .dropin { font-size: 26px; line-height: 1.38; font-variation-settings: "opsz" 30; }
.quote { margin: 18px 0 40px; padding: 0; }
.quote p { margin: 0; }
.quote p[lang="de"] { font-size: clamp(36px, 3.6vw, 52px); line-height: 1.08; font-style: italic; letter-spacing: -.02em; font-variation-settings: "opsz" 60; text-indent: -.32em; }
.quote .q-en { font-size: 22px; color: var(--ink-2); margin-top: 10px; font-style: italic; text-indent: -.36em; }
.quote footer { font-size: 15px; color: var(--ink-2); margin-top: 12px; }
.side { grid-column: 2; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); padding-top: 6px; border-top: 1px solid var(--rule); margin-bottom: 20px; }
.side span { font-family: var(--mono); font-stretch: 87.5%; font-size: 11px; color: var(--ink); margin-right: 4px; }
.s1 { grid-row: 1 / span 2; }
.s2 { grid-row: 3; }
.s3 { grid-row: 5; }
.fig3 { grid-column: 1 / 4; margin: 72px 0 0; }

/* forest plot */
.forest { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); position: relative; }
.forest svg { display: block; width: 100%; overflow: visible; }

/* ---------- machine ---------- */
.machine-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.fig4 { margin: 0; }
#scatter { display: block; width: 100%; height: 400px; overflow: visible; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.readings dl { margin: 0; border-top: 1px solid var(--ink); }
.rd { display: grid; grid-template-columns: 11em 1fr; gap: 16px; align-items: baseline; padding: 14px 0 13px; border-bottom: 1px solid var(--rule); }
.rd dt { font-size: 17px; color: var(--ink-2); }
.rd dd { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; position: relative; padding-right: 54px; }
.rd .big { font-family: var(--mono); font-stretch: 87.5%; font-size: 26px; line-height: 1.1; }
.rd .big.acc { color: var(--acc-ink); }
.rd .mid { font-family: var(--mono); font-stretch: 87.5%; font-size: 14px; }
.rd .pm { font-family: var(--mono); font-stretch: 87.5%; font-size: 12.5px; color: var(--ink-2); }
.rd dd em { position: absolute; right: 0; top: .35em; font-size: 14px; color: var(--ink-2); }
.circ { margin: 36px 0 0; }
.circ svg { display: block; width: 100%; height: auto; overflow: visible; border-top: 1px solid var(--rule); padding-top: 14px; }
.hal { margin: 28px 0 0; font-size: 17px; line-height: 1.5; color: var(--ink); font-style: italic; max-width: 40ch; }

/* ---------- ledger ---------- */
.tbl-wrap { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; font-weight: 400; color: var(--ink-2); padding: 14px 12px 10px 0; border-bottom: 1px solid var(--rule-2); white-space: nowrap; }
.tbl td { padding: 12px 12px 11px 0; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-stretch: 87.5%; font-size: 13px; white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .r { text-align: right; }
.tbl td.res { font-family: var(--serif); font-style: italic; font-size: 16px; }
.tbl td.sq { color: var(--acc-ink); }
.tbl td.exp { font-family: var(--serif); font-size: 17px; }
.tbl tr.lost td.sq { color: var(--ink); }

/* ---------- footer ---------- */
.foot { margin-top: 140px; border-top: 1px solid var(--ink); padding: 36px 0 64px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.wm-foot { margin: 0 0 16px; display: inline-flex; }
.ca { font-family: var(--mono); font-stretch: 87.5%; font-size: 13px; margin: 0 0 8px; }
.foot-l p { margin: 0 0 8px; }
.foot-l a { font-size: 16px; }
.foot-r p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); max-width: 78ch; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  :root { --gut: 40px; }
  .nav { display: none; }
  .mast-in { grid-template-columns: 1fr auto; }
  .thesis-grid { grid-template-columns: minmax(0, 1fr); }
  .thesis-h, .essay, .fig3 { grid-column: 1; }
  .essay { margin-top: 28px; }
  .machine-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --gut: 20px; }
  body { font-size: 18px; }
  .mast-in { height: 54px; }
  .wm { font-size: 21px; }
  .bell { width: 24px; height: 24px; }
  .tk { display: none; }
  .btn-line { height: 34px; padding: 0 12px; font-size: 14.5px; }
  .hero { padding-top: 18px; }
  /* phones: title, bell, the dials and the needle all above the fold; the lede after */
  .hero { display: flex; flex-direction: column; }
  .hero-top, .hero-copy, .act { display: contents; }
  .hero-copy h1 { order: 1; margin: 0 var(--gut); }
  .hero-bell { order: 2; }
  .prompt { order: 3; margin-left: var(--gut); margin-right: var(--gut); }
  .pad { order: 4; margin: 0 var(--gut); }
  .hero-scale { order: 5; }
  .act-foot { order: 6; margin: 8px var(--gut) 0; }
  .hero-copy .lede { order: 7; margin: 14px var(--gut) 0; }
  .fig1 { order: 8; }
  .hero-bell { min-height: 226px; height: 226px; margin: 0 0 6px; }
  .hb-cap { font-size: 13px; }
  .hero-copy .lede { font-size: 17px; }
  .prompt { font-size: 19px; margin-bottom: 8px; }
  .dial-art { width: 108px; height: 108px; }
  .pad { gap: 14px; }
  .dial-k { font-size: 18px; } .dial-k b { font-size: 15px; }
  .pad-side { padding-top: 14px; font-size: 14px; }
  .keys { display: none; }
  .act-foot { min-height: 0; }
  .bench-wrap.is-3d { height: 262px; }
  .fig1-foot { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  h1 { font-size: 44px; line-height: .95; }
  .lede { font-size: 19px; margin-bottom: 18px; }
  .fig1 { margin-top: 26px; }
  #bench { height: 180px; }
  .act { height: auto; }
  .act-msg { position: static; margin-top: 10px; }
  .done { height: auto; display: block; }
  .verdict { white-space: normal; font-size: 23px; }
  .corr { justify-content: center; margin-bottom: 8px; }
  .corr td { min-width: 0; padding: 5px 6px 3px; }
  .corr td b { font-size: 15px; }
  .corr table { font-size: 13.5px; }
  .corr th { padding: 4px 5px; }
  .formula { font-size: 14px; white-space: normal; }
  #scale { height: 104px; }
  .fig1 figcaption, figure figcaption { font-size: 14.5px; }
  .sec { padding-top: 76px; }
  .sec.foundry { padding-top: 56px; }
  .sec-head { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 30px; }
  .sec-head p { font-size: 18px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .card { padding: 20px 18px 18px; }
  .c-no { font-size: 25px; }
  .c-S { font-size: 21px; }
  .c-hold { font-size: 11px; gap: 4px 10px; }
  .essay { grid-template-columns: minmax(0, 1fr); }
  .side { grid-column: 1; grid-row: auto !important; }
  .essay p { font-size: 20px; }
  .essay .dropin { font-size: 22px; }
  .rd { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  #scatter { height: 300px; }
  .tbl .hide-s { display: none; }
  .tbl td, .tbl th { padding-right: 8px; }
  .tbl td { font-size: 12px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .foot { margin-top: 96px; }
}

/* ---------- svg type ---------- */
.sc-t { font-family: var(--mono); font-stretch: 87.5%; font-size: 12px; fill: var(--ink-2); }
.sc-b { fill: var(--ink); font-size: 13px; font-weight: 500; }
.sc-l { font-family: var(--serif); font-style: italic; font-size: 15px; fill: var(--ink); }
.sc-S { font-family: var(--serif); font-style: italic; font-size: 30px; fill: var(--ink); }
.sc-v { font-family: var(--mono); font-stretch: 87.5%; font-size: 26px; fill: var(--ink); }
.sc-v tspan.q { fill: var(--acc-ink); }
.sc-pm { font-size: 13px; fill: var(--ink-2); }
.sc-c { font-family: var(--serif); font-style: italic; font-size: 14px; fill: var(--ink-2); }
.sc-g { font-family: var(--mono); font-stretch: 87.5%; font-size: 12px; fill: var(--ink-2); }
.sc-gl { font-family: var(--serif); font-style: italic; font-size: 14px; }
.pl-t { font-family: var(--mono); font-stretch: 87.5%; font-size: 10.5px; fill: var(--ink-2); }
.pl-l { font-family: var(--serif); font-style: italic; font-size: 14px; fill: var(--ink); }
.pl-l2 { fill: var(--ink-2); }
.ci-l { font-family: var(--serif); font-style: italic; font-size: 15px; fill: var(--ink-2); }
.ci-b { font-family: var(--mono); font-stretch: 87.5%; font-size: 12px; fill: var(--ink); }
.ci-o { font-family: var(--mono); font-stretch: 87.5%; font-size: 12px; fill: var(--ink-2); }

/* forest plot rows */
.fr { display: grid; grid-template-columns: minmax(0, 4.2fr) minmax(0, 6fr) minmax(0, 1.8fr); gap: 28px; align-items: center; border-bottom: 1px solid var(--rule); }
.fr:last-child { border-bottom: 0; }
.fr-t { display: grid; grid-template-columns: 3.4em 1fr; column-gap: 12px; padding: 14px 0; }
.fr-y { font-family: var(--mono); font-stretch: 87.5%; font-size: 14px; grid-row: 1 / span 2; padding-top: 3px; }
.fr-w { font-size: 17px; line-height: 1.3; }
.fr-s { font-size: 15px; color: var(--ink-2); line-height: 1.35; }
.fr-p { height: 62px; align-self: stretch; }
.fr-p svg { display: block; overflow: visible; }
.fr-v { font-family: var(--mono); font-stretch: 87.5%; font-size: 15px; text-align: right; white-space: nowrap; }
.fr-v small { font-size: 12px; color: var(--ink-2); }
.fr-ax .fr-p { height: 50px; }
.fr-ax { border-bottom: 0; }
.cardfig { margin: 0; }
.cardfig figcaption { padding-top: 10px; font-size: 15px; }
.cards.has-mine { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .fr { grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; }
  .fr-t { grid-column: 1; padding-bottom: 2px; }
  .fr-v { grid-column: 2; grid-row: 1; align-self: start; padding-top: 16px; }
  .fr-p { grid-column: 1 / -1; height: 40px; }
  .fr-ax .fr-t, .fr-ax .fr-v { display: none; }
  .sc-v { font-size: 21px; }
  .sc-l { font-size: 13px; }
}

/* =====================================================================
   v2 — the page prints itself
   ===================================================================== */

/* letterpress print-in: two halftone screens laid down in passes, resolving to solid ink */
@property --ink1 { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --ink2 { syntax: '<length>'; inherits: false; initial-value: 0px; }
.js .ink:not(.inked) {
  -webkit-mask-image: radial-gradient(circle, #000 var(--ink1), transparent calc(var(--ink1) + .7px)), radial-gradient(circle, #000 var(--ink2), transparent calc(var(--ink2) + .7px));
          mask-image: radial-gradient(circle, #000 var(--ink1), transparent calc(var(--ink1) + .7px)), radial-gradient(circle, #000 var(--ink2), transparent calc(var(--ink2) + .7px));
  -webkit-mask-size: 6px 6px, 6px 6px; mask-size: 6px 6px, 6px 6px;
  -webkit-mask-position: 0 0, 3px 3px; mask-position: 0 0, 3px 3px;
}
.js .ink.printing { animation: ink 1.05s cubic-bezier(.35,.05,.3,1) forwards; animation-delay: var(--d, 0s); }
@keyframes ink {
  0% { --ink1: 0px; --ink2: 0px; }
  38% { --ink1: 1.6px; --ink2: 0px; }
  62% { --ink1: 2.6px; --ink2: 1.3px; }
  100% { --ink1: 4.6px; --ink2: 4.6px; }
}
@media (prefers-reduced-motion: reduce) { .js .ink:not(.inked) { -webkit-mask-image: none; mask-image: none; } }

/* the masthead bell taps when the running S updates */
.bell.tap { animation: tap .5s cubic-bezier(.3,.7,.3,1); }
@keyframes tap { 0% { transform: rotate(0); } 25% { transform: rotate(6deg); } 55% { transform: rotate(-4deg); } 80% { transform: rotate(1.5deg); } 100% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .bell.tap { animation: none; } }

/* the bench invites the hand */
#bench.over { cursor: pointer; }

/* Halloween countdown, printed twice */
.cd { position: relative; display: inline-block; }
.cd::after { content: attr(data-t); position: absolute; left: var(--gx, .06em); top: var(--gy, -.05em); color: var(--acc); opacity: .32; mix-blend-mode: multiply; pointer-events: none; white-space: nowrap; transition: left .25s, top .25s; }
@media (prefers-reduced-motion: reduce) { .cd::after { transition: none; } }

/* history of S: points arrive in the order they were measured */
.fp { transform: translateX(var(--dx, 0px)); opacity: 0; transition: transform 1s cubic-bezier(.2,.75,.2,1) var(--dl, 0s), opacity .3s ease var(--dl, 0s); }
.fe { opacity: 0; transition: opacity .5s ease calc(var(--dl, 0s) + .7s); }
.fv { opacity: 0; transition: opacity .5s ease calc(var(--dl, 0s) + .7s); }
.forest.go .fp { transform: none; opacity: 1; }
.forest.go .fe, .forest.go .fv { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .fp, .fe, .fv { transition: none; } }

/* timeline: one rule, 1935 → 2026 */
.tl { grid-column: 1 / 4; margin: 72px 0 0; }
.tl-list { list-style: none; margin: 0; padding: 0; position: relative; height: 214px; border-top: 0; }
.tl-list::before { content: ""; position: absolute; left: 0; right: 0; top: 95px; height: 1.5px; background: var(--ink); transform-origin: left center; transform: scaleX(var(--tl, 1)); transition: transform 1.8s cubic-bezier(.3,.1,.2,1); }
.js .tl:not(.go) .tl-list::before { --tl: 0; }
.tl-list li { position: absolute; left: calc(var(--x) * 1%); top: 0; height: 190px; width: 0; }
.tl-list li::before { content: ""; position: absolute; left: -5px; top: 90px; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); }
.tl-list li.now::before { background: var(--acc); width: 14px; height: 14px; left: -7px; top: 88px; }
.tl-list li b { position: absolute; top: 108px; left: 0; transform: translateX(-50%); font-family: var(--mono); font-stretch: 87.5%; font-weight: 500; font-size: 14px; white-space: nowrap; }
.tl-list li span { position: absolute; top: 130px; left: 0; width: 230px; transform: translateX(-50%); text-align: center; font-size: 15.5px; line-height: 1.35; color: var(--ink-2); }
.tl-list li.up b { top: 66px; }
.tl-list li.up span { top: auto; bottom: 128px; }
.tl-list li:first-child b { transform: none; left: -4px; }
.tl-list li:first-child span { transform: none; left: -4px; text-align: left; }
.tl-list li.now b, .tl-list li.up b { transform: translateX(-100%); left: 6px; }
.tl-list li.now span { transform: translateX(-100%); left: 8px; text-align: right; width: 230px; }
.tl-list li.up span { transform: translateX(-100%); left: -28px; text-align: right; width: 230px; }
.tl-list li.now span { color: var(--ink); }
.tl-s { font-style: normal; font-family: var(--mono); font-stretch: 87.5%; color: var(--acc-ink); }
.js .tl:not(.go) .tl-list li { opacity: 0; }
.tl-list li { transition: opacity .5s ease calc(var(--x) * 0.016s + .2s); }
.tl figcaption { padding-top: 6px; }

/* ---------- the foundry ---------- */
.fd-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.fd-fig { margin: 0; }
.fd-stage { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--paper-2); display: flex; justify-content: center; padding: 28px 0; }
.fd-host { position: relative; width: min(100%, 520px); }
#fdCanvas { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; box-shadow: 0 1px 0 var(--rule), 0 0 0 1px var(--rule); }
.fd-host canvas.gl-fd { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; transition: opacity .2s; }
.fd-ctl { border-top: 1px solid var(--ink); padding-top: 6px; }
.fd-h { margin: 18px 0 6px; font-size: 15px; color: var(--ink-2); font-style: italic; }
.fd-h:first-child { margin-top: 10px; }
.fd-nature { margin: 0; }
.fd-nature div { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; padding: 9px 0 8px; border-bottom: 1px solid var(--rule); }
.fd-nature dt { font-size: 16.5px; }
.fd-nature dd { margin: 0; font-family: var(--mono); font-stretch: 87.5%; font-size: 14px; text-align: right; }
.fd-nature dd.q { color: var(--acc-ink); font-size: 17px; }
.fd-lab { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 8px; font-size: 16.5px; }
.fd-lab span { font-family: var(--mono); font-stretch: 87.5%; font-size: 12px; color: var(--ink-2); }
.fd-in { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 0; background: var(--paper-2); color: var(--ink); font-family: var(--serif); font-size: 19px; font-variant-caps: all-small-caps; letter-spacing: .06em; }
.fd-in:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.seg { display: flex; border: 1px solid var(--ink); }
.seg button { flex: 1; height: 44px; border: 0; background: transparent; cursor: pointer; font-family: var(--serif); font-size: 16.5px; color: var(--ink-2); border-radius: 0; }
.seg button + button { border-left: 1px solid var(--ink); }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.seg button:focus-visible { outline: 2px solid var(--acc); outline-offset: -4px; }
.fd-act { display: flex; gap: 12px; margin-top: 22px; }
.fd-act .btn { flex: 1; }
.fd-act .btn:disabled { background: transparent; color: var(--ink-3); border: 1px solid var(--rule-2); cursor: default; }
.fd-act .btn-line { height: 48px; padding: 0 22px; font-size: 18px; }
.fd-msg { margin: 14px 0 0; font-size: 15px; color: var(--ink-2); line-height: 1.45; min-height: 1.45em; }

@media (max-width: 1100px) {
  .fd-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tl { grid-column: 1; }
}
@media (max-width: 760px) {
  .fd-stage { padding: 16px 0; }
  .tl-list { height: auto; padding-left: 26px; }
  .tl-list::before { left: 6px; right: auto; top: 6px; bottom: 6px; width: 1.5px; height: auto; transform-origin: center top; transform: scaleY(var(--tl, 1)); }
  .tl-list li, .tl-list li.up, .tl-list li.now { position: relative; left: 0; height: auto; width: auto; padding: 0 0 18px; }
  .tl-list li::before { left: -25px; top: 4px; }
  .tl-list li.now::before { left: -27px; top: 2px; }
  .tl-list li b, .tl-list li.up b, .tl-list li.now b, .tl-list li:first-child b { position: static; transform: none; display: block; }
  .tl-list li span, .tl-list li.up span, .tl-list li.now span, .tl-list li:first-child span { position: static; transform: none; width: auto; text-align: left; display: block; }
}

/* =====================================================================
   v3 — the beacon, and transitions in ink
   ===================================================================== */
.lede { max-width: 34ch; font-size: 20px; }

/* the schematic */
.flow { margin: 0; }
#flowSvg { display: block; width: 100%; height: 362px; overflow: visible; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.fl-n { fill: var(--paper-2); stroke: var(--ink); stroke-width: 1.2; }
.fl-n.hot { fill: var(--paper); stroke-width: 2; }
.fl-t { font-family: var(--serif); font-size: 16px; fill: var(--ink); }
.fl-s { font-family: var(--serif); font-style: italic; font-size: 13.5px; fill: var(--ink-2); }
.fl-v { font-family: var(--mono); font-stretch: 87.5%; font-size: 11.5px; fill: var(--ink); }
.fl-v.acc { fill: var(--acc-ink); }
.fl-l { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.fl-l.dash { stroke-dasharray: 3 4; }
.fl-tag { font-family: var(--mono); font-stretch: 87.5%; font-size: 10.5px; fill: var(--ink-2); }
.fl-tag.live { fill: var(--acc-ink); }
.fl-pk { fill: var(--ink); }
.tag { font-family: var(--mono); font-stretch: 87.5%; font-size: 12px; color: var(--ink-2); border-bottom: 1px dotted var(--ink-3); }
.tag.live { color: var(--acc-ink); }

/* the tape */
.tape-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; margin-top: 44px; align-items: start; }
.tape { border-top: 1px solid var(--ink); }
.tape-h, .tech-notes .quiet { font-style: italic; color: var(--ink-2); font-size: 15px; margin: 10px 0 6px; }
#tapeList { list-style: none; margin: 0; padding: 0; }
.tp { display: grid; grid-template-columns: 5.2em 8.4em 1fr auto; gap: 4px 14px; align-items: baseline; padding: 11px 0 10px; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-stretch: 87.5%; font-size: 12.5px; position: relative; }
.tp .ix { font-family: var(--serif); font-size: 17px; font-stretch: normal; }
.tp .tm { color: var(--ink-2); white-space: nowrap; }
.tp .hx { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .02em; }
.tp .bt { text-align: right; color: var(--ink-2); white-space: nowrap; }
.tp .ch { grid-column: 2 / -1; color: var(--ink-3); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp.mine { background: linear-gradient(90deg, rgba(255,90,31,.08), transparent 70%); }
.tp.mine .ix, .tp.mine .hx { color: var(--acc-ink); }
.tp.curby .ix { font-style: italic; }
.tp .lab { font-family: var(--serif); font-style: italic; font-stretch: normal; font-size: 13.5px; color: var(--ink-2); }
.tech-notes { border-top: 1px solid var(--ink); padding-top: 4px; }
.tech-notes p { font-size: 16.5px; line-height: 1.5; margin: 12px 0 0; color: var(--ink); }
.tech-notes b { font-weight: 600; }

/* the mint line in the hero */
#doneMint { font-family: var(--mono); font-stretch: 87.5%; font-size: 12px; color: var(--ink); }
.done .act-msg { font-size: 14.5px; }
#doneMint .acc { color: var(--acc-ink); }

/* one overlay for every transition */
#fx { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 60; display: none; }
#fx.on { display: block; }
.intro { position: fixed; inset: 0; z-index: 70; background: var(--paper); display: grid; place-items: center; pointer-events: none; }
.intro[hidden] { display: none; }
.intro-bell { width: 168px; height: 168px; transition: transform .45s cubic-bezier(.6,0,.3,1); }
@media (max-width: 1100px) { .tape-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 760px) {
  #flowSvg { height: 800px; }
  .fl-t { font-size: 15px; } .fl-s { font-size: 12.5px; } .fl-tag { font-size: 9.5px; }
  .tp { grid-template-columns: 4.4em 1fr auto; }
  .tp .tm { display: none; }
  .lede { font-size: 18.5px; }
}

.js .ink.receding { animation: inkout .5s cubic-bezier(.4,0,.6,1) forwards; }
@keyframes inkout { 0% { --ink1: 4.6px; --ink2: 4.6px; } 45% { --ink1: 2.4px; --ink2: 1.1px; } 100% { --ink1: 0px; --ink2: 0px; } }

/* schematic glyphs: line art in ink */
.gl { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.gl-b { stroke-width: 1.8; }
.gl-h { stroke-width: .8; }
.gl-f { fill: var(--paper); }
.gl-ink { fill: var(--ink); }
.gl-acc { stroke: var(--acc); fill: none; }
.gl-acc-f { fill: var(--acc); }
.gl-t { font-family: var(--mono); font-stretch: 87.5%; font-size: 9.5px; fill: var(--ink-2); }
.tz { fill: var(--paper); stroke: rgba(18,17,16,.25); stroke-width: .6; transition: fill .12s; }
.tz.on { fill: var(--ink); }
.tz.lit { fill: var(--acc); }
.fl-name { font-size: 14.5px; fill: var(--ink); }
.fl-name tspan { font-style: italic; }
.fl-pk { fill: var(--ink); }

/* ---------- the living engraving: paper, ink bleed, vignette ---------- */
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60;
  background: radial-gradient(ellipse 120% 90% at 50% 45%, transparent 62%, rgba(74, 52, 28, .075) 100%); }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 61; opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .29 0 0 0 0 .22 0 0 0 0 .14 0 0 0 -1.6 1.02'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"); }
h1, h2, .sec-head p, .lede, .essay p { text-shadow: 0 0 .5px rgba(18, 17, 16, .35); } /* a little ink spread into the paper */
@media print { body::before, body::after { display: none; } }

/* ---------- wallet ---------- */
.mast-r { position: relative; }
.wallet-btn.is-in { font-family: var(--mono); font-stretch: 87.5%; font-size: 13px; }
.wallet-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: var(--paper-2); border: 1px solid var(--ink); padding: 12px 14px; z-index: 30; box-shadow: 4px 4px 0 rgba(18,17,16,.12); }
.wallet-menu .wm-h { margin: 0 0 6px; font-family: var(--mono); font-stretch: 87.5%; font-size: 12px; color: var(--ink-2); }
.wallet-menu .wm-s { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); line-height: 1.35; }
.wallet-menu button { display: block; width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid var(--rule); padding: 9px 0; cursor: pointer; font-size: 16px; }
.wallet-menu button:hover { color: var(--acc-ink); }
.wallet-note { position: absolute; right: 0; top: calc(100% + 8px); width: 280px; margin: 0; background: var(--paper-2); border: 1px solid var(--rule-2); padding: 10px 12px; font-size: 14px; line-height: 1.35; z-index: 30; }
.real-status { margin: 6px 0 0; font-size: 15px; line-height: 1.4; color: var(--ink); max-width: 52ch; }
.real-status:not([hidden]) ~ .toy-note { display: none; }

/* ---------- cards, live ---------- */
.c-side { font-family: var(--mono); font-stretch: 87.5%; font-size: 12px; color: var(--ink-2); margin-left: 10px; letter-spacing: .02em; }
.c-bell { position: relative; }
.c-bell3d { display: block; width: 100%; height: auto; }
.c-ghost { position: absolute; inset: 0; background: var(--acc); opacity: .34; transform: translate(1.4%, -1.6%); mix-blend-mode: multiply; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; pointer-events: none; }
.c-ins { margin: -4px 0 12px; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink); }
.card.demo::after { content: "demo"; position: absolute; right: 12px; bottom: -10px; font-family: var(--mono); font-stretch: 87.5%; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; background: var(--paper); padding: 0 6px; color: var(--ink-2); border: 1px solid var(--rule-2); }
.cards-empty { grid-column: 1 / -1; border: 1px dashed var(--rule-2); padding: 34px 32px; max-width: 760px; }
.cards-empty .ce-h { margin: 0 0 6px; font-size: 26px; font-variation-settings: "opsz" 30; }
.cards-empty p { margin: 0; color: var(--ink-2); }
.tbl tr.empty td { font-family: var(--serif); font-style: italic; font-size: 16px; white-space: normal; color: var(--ink-2); padding: 22px 0; }
.tbl tr.demo td.res em, .tp.demo .bt { color: var(--ink-2); }
.tp.empty { grid-template-columns: 5.2em 1fr; }
.tp.empty .ch { grid-column: 2; white-space: normal; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-2); font-stretch: normal; }
.tp .ch a { color: inherit; }
.foot-links { font-size: 15px; }
.foot-links a { color: var(--ink-2); }

/* ---------- server pages: card, API, terms, 404 ---------- */
.docmain { padding-top: 48px; min-height: 60vh; }
.docs { max-width: 760px; }
.docs h1, .doc404 h1, .cp-h { font-weight: 400; font-size: clamp(38px, 5vw, 60px); line-height: 1; letter-spacing: -.02em; margin: 0 0 22px; font-variation-settings: "opsz" 60; }
.docs h2 { font-weight: 400; font-size: 26px; margin: 40px 0 12px; border-top: 1px solid var(--ink); padding-top: 16px; }
.docs p, .docs li, .docs dd { font-size: 18px; line-height: 1.55; }
.docs pre { background: var(--paper-2); border: 1px solid var(--rule-2); padding: 16px 18px; overflow-x: auto; font-size: 13px; line-height: 1.6; }
.docs code { font-family: var(--mono); font-stretch: 87.5%; font-size: .82em; }
.api-list dt { margin-top: 14px; }
.api-list dd { margin: 4px 0 0 0; color: var(--ink-2); }
.api-steps li { margin-bottom: 8px; }
.doc404 { padding: 60px 0 40px; }
.doc-k { font-family: var(--mono); font-stretch: 87.5%; color: var(--acc-ink); margin: 0 0 8px; }
.cp-d { font-size: 20px; color: var(--ink-2); max-width: 52ch; margin: 0 0 30px; }
.cp-card { display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); gap: 48px; align-items: start; }
.cp-side { border-top: 1px solid var(--ink); padding-top: 12px; }
.cp-links { font-size: 16px; margin: 0 0 18px; }
.foot-mini { padding: 28px 0 40px; font-size: 15px; color: var(--ink-2); border-top: 1px solid var(--ink); }
.foot-mini a { color: var(--ink-2); }
@media (max-width: 760px) {
  .cp-card { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .real-status { position: static; margin-top: 12px; }
  .wallet-note { width: min(280px, calc(100vw - 40px)); }
  .cards-empty { padding: 24px 20px; }
}
.cp-facts { margin: 26px 0 0; border-top: 1px solid var(--rule-2); }
.cp-facts div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 12px; padding: 8px 0 7px; border-bottom: 1px solid var(--rule); font-size: 15px; }
.cp-facts dt { color: var(--ink-2); }
.cp-facts dd { margin: 0; overflow-wrap: anywhere; }
.cp-facts code { font-family: var(--mono); font-stretch: 87.5%; font-size: 12.5px; }
