/* vespercontinuum.com · How Vesper works (technology.html). The technical overview, on the home page's evening: the same dusk ground,
   Cormorant for the display, the system sans for reading, a monospace for contracts, gold only where light is, hairlines, no fills.
   The opening is the star trails over a valley of lit homes (images/dusk/trails.jpg). The system figure is demos/tech-system;
   every other figure here is plain HTML, so it reflows from a phone to a 2560 window without scaling its words. */

.tp { --tp-wrap: 1640px; --hair: rgba(255, 248, 235, .1); --hair-2: rgba(255, 248, 235, .16); --gold-hair: rgba(213, 184, 120, .4);
  --mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas, monospace; }
/* the evening ground stays (site.css); a veil over it keeps long reading calm, the horizon's warmth left at the window's foot */
.tp::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 7, 11, .34), rgba(6, 7, 11, .66) 62%, rgba(6, 7, 11, .5)); }
.tp .sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tp main h2 { font-family: var(--font-display); font-weight: var(--w-regular); letter-spacing: -.006em; }

/* ——— the opening */
.tp-hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-content: end; padding: 0 var(--edge); overflow: hidden; }
.tp-hero-photo { position: absolute; inset: 0; background: #06070b url(../images/dusk/trails.jpg) center 24% / cover no-repeat; opacity: 0; transform: scale(1.05);
  animation: tp-photo 3.2s cubic-bezier(.2, .7, .2, 1) .1s forwards;
  -webkit-mask-image: linear-gradient(#000 64%, transparent); mask-image: linear-gradient(#000 64%, transparent); }
.tp-hero-photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 7, 11, .74), rgba(6, 7, 11, .38) 42%, rgba(6, 7, 11, 0) 70%),
    linear-gradient(180deg, rgba(6, 7, 11, .5), rgba(6, 7, 11, 0) 24%, rgba(6, 7, 11, 0) 46%, rgba(6, 7, 11, .62) 86%); }
@keyframes tp-photo { to { opacity: 1; transform: none; } }
.tp-hero-words, .tp-keys { position: relative; z-index: 1; width: min(var(--tp-wrap), 100%); margin: 0 auto; }
.tp-hero-words > * { max-width: 920px; }
.tp-hero h1 { font-family: var(--font-display); font-weight: var(--w-light); font-size: clamp(56px, 3.6vw + 22px, 132px); line-height: .98; letter-spacing: -.014em; text-shadow: 0 2px 40px rgba(0, 0, 0, .4); }
.tp-verse { margin: 26px 0 0; max-width: 24em !important; font-family: var(--font-serif); font-style: italic; font-size: var(--t-verse); line-height: 1.34; color: var(--el-ink); text-wrap: balance; text-shadow: 0 1px 24px rgba(5, 5, 6, .8); }
.tp-hero .lede { margin: 26px 0 0; max-width: 41em !important; font-size: var(--t-body); line-height: 1.72; color: var(--ink); text-shadow: 0 1px 18px rgba(5, 5, 6, .9); }
.tp-keys { list-style: none; margin: 8vh auto 0; padding: 0 0 7vh; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 2.4vw, 48px); }
.tp-keys li { padding-top: 18px; border-top: 1px solid rgba(255, 248, 235, .2); }
.tp-keys b, .ledger b { font-variant-numeric: lining-nums; }
.tp-keys b { display: block; font-family: var(--font-display); font-weight: var(--w-regular); font-size: clamp(22px, .7vw + 13px, 34px); line-height: 1.1; color: var(--ink-title); }
.tp-keys span { display: block; margin-top: 6px; font-size: var(--t-caption); letter-spacing: .02em; color: var(--ink-3); }

/* ——— contents: the eight systems, numbered, with the words each one stands on */
.toc { width: min(var(--tp-wrap), calc(100% - 2 * var(--edge))); margin: 12vh auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 2.4vw, 48px); }
.toc a { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: baseline; padding: 18px 0 26px; border-top: 1px solid var(--gold-hair); text-decoration: none; transition: border-color .4s ease; }
.toc i { font-style: normal; font-family: var(--font-display); font-size: 19px; color: var(--el); }
.toc b { font-family: var(--font-display); font-weight: var(--w-regular); font-size: clamp(24px, .54vw + 16px, 34px); line-height: 1.1; color: var(--ink-title); transition: color .3s ease; }
.toc span { grid-column: 2; margin-top: 6px; font-size: var(--t-caption); line-height: 1.5; color: var(--ink-3); }
.toc a:hover { border-top-color: rgba(239, 220, 170, .85); }
.toc a:hover b { color: var(--el-ink); }

/* ——— 00 · the system figure and the life of one request */
.sys { width: min(var(--tp-wrap), calc(100% - 2 * var(--edge))); margin: 0 auto; padding-top: 20vh; }
.sys-head { max-width: 980px; }
.sys-head h2 { font-size: calc(var(--t-h2) * 1.16); line-height: 1.02; }
.sys-head .lede { margin-top: 24px; max-width: 46em; font-size: var(--t-body); line-height: 1.72; color: var(--ink-2); }
.sys-fig { margin: 7vh 0 0; }
.sys-stage { border-radius: 26px; }
.trace { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 clamp(16px, 1.8vw, 36px); counter-reset: none; }
.trace li { position: relative; padding: 16px 0 22px; border-top: 1px solid var(--hair-2); cursor: default; transition: border-color .5s ease; }
.trace li::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 1px; background: var(--el); box-shadow: 0 0 10px rgba(213, 184, 120, .7); transition: width .6s cubic-bezier(.2, .7, .2, 1); }
.trace i { font-style: normal; font-family: var(--font-display); font-size: 17px; color: var(--ink-3); transition: color .4s ease; }
.trace b { display: block; margin-top: 4px; font-weight: var(--w-strong); font-size: var(--t-small); color: var(--ink-2); letter-spacing: .01em; transition: color .4s ease; }
.trace span { display: block; margin-top: 4px; font-size: var(--t-caption); line-height: 1.5; color: var(--ink-3); transition: color .4s ease; }
.trace li.on::before { width: 100%; }
.trace li.on i { color: var(--el); } .trace li.on b { color: var(--ink-title); } .trace li.on span { color: var(--ink-2); }

/* ——— a section: its name held on the left while its body is read on the right */
.ts { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 5vw, 112px); max-width: var(--tp-wrap); margin: 0 auto; padding: 22vh var(--edge) 0; box-sizing: content-box; }
.ts-head { position: sticky; top: calc(92px + 4vh); align-self: start; }
.ts-k { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-size: 20px; color: var(--el); }
.ts-k::after { content: ""; width: 44px; height: 1px; background: linear-gradient(90deg, var(--el), rgba(213, 184, 120, 0)); }
.ts-head h2 { margin-top: 14px; font-size: clamp(40px, 1.8vw + 14px, 68px); line-height: 1.02; }
.ts-claim { margin: 18px 0 0; max-width: 21em; font-family: var(--font-serif); font-style: italic; font-size: var(--t-lede); line-height: 1.42; color: var(--el-ink); text-wrap: pretty; }
.ts-terms { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 26em; }
.ts-terms li { padding: 5px 12px 6px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair-2); font-size: var(--ui-caption); letter-spacing: .03em; color: var(--ink-3); white-space: nowrap; }
.ts-body { min-width: 0; container-type: inline-size; }
.ts-text p { margin: 0 0 1.15em; max-width: 41em; font-size: var(--t-body); line-height: 1.74; color: var(--ink-2); text-wrap: pretty; }
.ts-body > .ts-text:first-child p:first-child { color: var(--ink); }
.ts-text b { font-weight: var(--w-strong); color: var(--ink-title); }
.ts-text + .ts-text { margin-top: 0; }

/* figures */
.fig { margin: 46px 0 54px; }
.fig figcaption, .sys-fig figcaption:not(.sr) { margin-top: 18px; max-width: 46em; font-size: var(--t-caption); line-height: 1.55; color: var(--ink-3); }
.fig figcaption b { margin-right: 12px; font-size: var(--ui-label); font-weight: var(--w-strong); letter-spacing: .18em; text-transform: uppercase; color: var(--el); }

/* a node: a hairline box with its name, a line of what it is, and its one property in small capitals */
.nd { position: relative; min-width: 0; padding: 14px 16px 15px; border-radius: 12px; background: rgba(255, 248, 235, .022); box-shadow: inset 0 0 0 1px var(--hair-2); }
.nd b { display: block; font-weight: var(--w-strong); font-size: var(--ui-body); line-height: 1.3; color: var(--ink-title); }
.nd span { display: block; margin-top: 5px; font-size: var(--ui-caption); line-height: 1.45; color: var(--ink-3); }
.nd em { display: block; margin-top: 9px; font-style: normal; font-size: var(--ui-micro); line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: rgba(213, 184, 120, .82); }
.nd em:first-child { margin: 0 0 6px; }
.nd.on { background: rgba(213, 184, 120, .045); box-shadow: inset 0 0 0 1px rgba(213, 184, 120, .58), 0 0 34px -14px rgba(213, 184, 120, .5); }
.nd.gate { box-shadow: inset 0 0 0 1px rgba(239, 220, 170, .42); }
.nd.gate::before { content: ""; position: absolute; left: 10px; right: 10px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(239, 220, 170, .9), transparent); }
.nd.dim { background: none; box-shadow: inset 0 0 0 1px rgba(255, 248, 235, .09); }
.nd.dim b { color: var(--ink-2); }

/* a flow: nodes joined by hairline arrows, left to right; down the page when its column is narrow */
.flow { display: flex; align-items: center; }
.flow > .nd { flex: 1 1 0; }
.flow.even { align-items: stretch; }
.ar { position: relative; flex: 0 0 26px; align-self: center; height: 1px; background: rgba(255, 248, 235, .3); }
.ar::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid rgba(255, 248, 235, .5); border-right: 1px solid rgba(255, 248, 235, .5); transform: rotate(45deg); }
.fan { flex: 1.15 1 0; display: grid; gap: 8px; min-width: 0; }
.fan .nd { padding: 11px 14px 12px; }

/* fig 1.1 · the memory stack */
.stack { border-bottom: 1px solid var(--hair); }
.st-row { display: grid; grid-template-columns: 8.2em minmax(0, 12em) minmax(0, 1fr); gap: 6px 22px; align-items: baseline; padding: 17px 0 18px; border-top: 1px solid var(--hair); }
.st-l { position: relative; font-size: var(--ui-label); font-weight: var(--w-strong); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.st-row b { font-family: var(--font-display); font-weight: var(--w-regular); font-size: clamp(21px, .45vw + 14px, 28px); line-height: 1.1; color: var(--ink-title); }
.st-row > span:last-child { font-size: var(--t-small); line-height: 1.5; color: var(--ink-2); }
.st-row.on .st-l { color: var(--el); }
.st-row.on .st-l::before { content: ""; position: absolute; left: -16px; top: .42em; width: 5px; height: 5px; border-radius: 50%; background: var(--el); box-shadow: 0 0 10px rgba(213, 184, 120, .8); }
.st-row.on b { color: var(--el-ink); }

/* fig 2.1 · the ledger of one request */
.ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(18px, 2vw, 40px); }
.ledger > div { padding-top: 16px; border-top: 1px solid var(--hair-2); }
.ledger span { display: block; font-size: var(--ui-label); font-weight: var(--w-strong); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.ledger b { display: block; margin-top: 10px; font-family: var(--font-display); font-weight: var(--w-regular); font-size: clamp(34px, 1vw + 20px, 52px); line-height: 1; color: var(--ink-title); }
.ledger small { display: block; margin-top: 10px; font-size: var(--t-caption); line-height: 1.5; color: var(--ink-3); }
.ledger .on { border-top-color: rgba(213, 184, 120, .75); }
.ledger .on b { color: var(--el-ink); }

/* fig 3.1 · the tool-calling hierarchy: levels joined down the left */
.hier { display: grid; gap: 18px; }
.hl { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; }
.hl + .hl::before { content: ""; position: absolute; left: 72px; top: -18px; height: 18px; width: 1px; background: rgba(255, 248, 235, .3); }
.hl-k { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--ink-3); }
.hl-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

/* fig 4.1 · one request, fanned out */
.fanout { display: flex; align-items: center; }
.fanout > .nd { flex: .8 1 0; }
.fanout .ask { flex: .9 1 0; }
.fo-parts { flex: 1.5 1 0; display: grid; gap: 8px; min-width: 0; }
.fo-parts .nd { padding: 11px 14px 12px; }
.fo-parts .nd b { font-weight: var(--w-regular); font-size: var(--ui-small); line-height: 1.4; color: var(--ink); }

/* fig 5.1 · the relay on one line */
.relay3 { display: flex; align-items: stretch; }
.relay3 > div { flex: 1 1 0; min-width: 0; padding: 16px 0 0; border-top: 1px solid var(--hair-2); }
.relay3 > div > span { display: block; font-size: var(--ui-label); font-weight: var(--w-strong); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.relay3 p { margin: 10px 0 0; font-family: var(--font-serif); font-size: clamp(18px, .36vw + 13px, 23px); line-height: 1.4; color: var(--ink-title); }
.relay3 .out { border-top-color: rgba(213, 184, 120, .75); }
.relay3 .out > span { color: var(--el); }
.relay3 .out p { font-family: var(--mono); font-size: clamp(15px, .2vw + 12.5px, 18px); color: var(--el-ink); }
.relay3 .out p span { white-space: nowrap; }
.relay3 > .ar { flex: 0 0 clamp(70px, 5.4vw, 120px); align-self: auto; margin: 52px 14px 0; }
.relay3 > .ar em b { display: none; font-weight: inherit; }
.relay3 > .ar em { position: absolute; left: 0; right: 6px; top: 10px; font-style: normal; font-size: var(--ui-micro); line-height: 1.5; letter-spacing: .1em; text-align: center; text-transform: uppercase; color: var(--ink-3); }

/* fig 5.2 · the key hierarchy */
.keys { display: grid; gap: 26px; }
.keys .k-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; }
.keys .k-mid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.keys .k-mid::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: -13px; height: 1px; background: rgba(255, 248, 235, .26); }
.keys .k-mid .nd::before, .keys .k-low::before { content: ""; position: absolute; left: 50%; top: -13px; width: 1px; height: 13px; background: rgba(255, 248, 235, .26); }
.keys .k-mid::after { content: ""; position: absolute; left: 28.3%; top: -26px; width: 1px; height: 13px; background: rgba(255, 248, 235, .26); }
.keys .k-low { margin: 0; }
.keys .k-top .dim { position: relative; }
.keys .k-top .dim::before { content: ""; position: absolute; right: 100%; top: 50%; width: 14px; height: 1px; background-image: linear-gradient(90deg, rgba(255, 248, 235, .4) 50%, transparent 50%); background-size: 4px 1px; }

/* fig 6.1 · three lanes */
.lanes { display: grid; gap: 14px; }
.lane { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); align-items: center; gap: 12px; }
.ln-k { font-size: var(--ui-label); font-weight: var(--w-strong); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.lanes .nd { padding: 11px 12px 12px; }
.lanes .nd b { font-size: var(--ui-small); }
.lanes .ar { flex-basis: 18px; }

/* a part within a section (03 · operation learning): its own name and claim, under a gold hairline */
.ts-sub { margin: 96px 0 34px; padding-top: 30px; border-top: 1px solid var(--gold-hair); scroll-margin-top: 110px; }
.ts-sub .ts-k { font-family: var(--font-sans); font-size: var(--ui-label); font-weight: var(--w-strong); letter-spacing: .2em; text-transform: uppercase; }
.ts-sub .ts-k::after { display: none; }
.ts-sub h3 { margin-top: 14px; font-family: var(--font-display); font-weight: var(--w-regular); font-size: clamp(32px, 1.2vw + 14px, 50px); line-height: 1.04; letter-spacing: -.005em; color: var(--ink-title); }
.ts-sub .ts-claim { max-width: 30em; }
/* fig 3.2 · routes composed into one, sharing a parameter */
.compose { position: relative; display: grid; grid-template-columns: 6.4em minmax(0, 1fr); align-items: center; gap: 12px; margin-top: 22px; padding-top: 22px; border-top: 1px dashed rgba(255, 248, 235, .12); }
.cp-k { font-size: var(--ui-label); font-weight: var(--w-strong); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.compose .nd { padding: 11px 14px 12px; }
.compose .nd b { font-size: var(--ui-small); }
.cp-p { grid-column: 2; justify-self: center; margin-top: 2px; font-size: var(--ui-micro); letter-spacing: .12em; text-transform: uppercase; color: rgba(213, 184, 120, .82); }
.cp-p code { margin-left: 6px; padding: 2px 8px; border-radius: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--el-ink); box-shadow: inset 0 0 0 1px rgba(213, 184, 120, .4); }

/* the specification of a section, and its contract beside it */
.ts-pair { display: grid; gap: 30px; margin-top: 46px; }
@container (min-width: 960px) { .ts-pair:not(.one) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: start; } }
.specs { width: 100%; border-collapse: collapse; border-bottom: 1px solid var(--hair); }
.specs th, .specs td { padding: 13px 0; border-top: 1px solid var(--hair); text-align: left; vertical-align: top; }
.specs th { width: 34%; padding-right: 18px; font-size: var(--ui-label); font-weight: var(--w-strong); letter-spacing: .16em; line-height: 1.7; text-transform: uppercase; color: var(--ink-3); }
.specs td { font-size: var(--t-small); line-height: 1.52; color: var(--ink); }
.specs.cols { margin-top: 10px; }
.specs.cols thead th { width: auto; padding-top: 0; border-top: 0; }
.specs.cols td { padding-right: 22px; color: var(--ink-2); }
.specs.cols td:first-child { color: var(--ink-title); font-weight: var(--w-strong); white-space: nowrap; }
.specs.cols td:last-child { padding-right: 0; }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.code { margin: 0; min-width: 0; border-radius: 14px; overflow: hidden; background: rgba(9, 9, 12, .66); box-shadow: inset 0 0 0 1px rgba(255, 248, 235, .09), 0 30px 80px -50px rgba(0, 0, 0, .9); }
.code figcaption { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 11px 18px; border-bottom: 1px solid rgba(255, 248, 235, .07);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; color: var(--ink-3); }
.code figcaption span:first-child { color: var(--ink-2); }
.code figcaption span:last-child { font-family: var(--font-sans); font-size: var(--ui-micro); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); text-align: right; }
.code pre { margin: 0; padding: 18px 20px 22px; overflow-x: auto; font-family: var(--mono); font-size: clamp(12px, .134vw + 10.4px, 14px); line-height: 1.72; color: #8f8a7f; tab-size: 2; }
.code code { font: inherit; }
.code .ck { color: #e6e0d4; }
.code .cs { color: #d9c28d; }
.code .cn, .code .cb { color: #a8b793; }
.code .cv { color: #d9c28d; }
.code .cc { color: #6d6961; font-style: italic; }

/* ——— the wide closing parts: results, the specification, questions */
.tp-wide { width: min(var(--tp-wrap), calc(100% - 2 * var(--edge))); margin: 0 auto; padding-top: 22vh; }
.tp-wide-head { max-width: 920px; }
.tp-wide-head h2 { font-size: calc(var(--t-h2) * 1.08); line-height: 1.04; }
.tp-wide-head .lede { margin-top: 22px; max-width: 44em; font-size: var(--t-body); line-height: 1.72; color: var(--ink-2); }
.proof-t { width: 100%; margin-top: 6vh; border-collapse: collapse; }
.proof-t th { padding: 0 20px 12px 0; text-align: left; font-size: var(--ui-label); font-weight: var(--w-strong); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.proof-t td { padding: 18px 20px 18px 0; border-top: 1px solid var(--hair); vertical-align: top; font-size: var(--t-small); line-height: 1.5; color: var(--ink-2); }
.proof-t tbody tr:last-child td { border-bottom: 1px solid var(--hair); }
.proof-t .t { width: 30%; color: var(--ink-title); }
.proof-t .w { white-space: nowrap; color: var(--el-ink); }
.proof-t .s { white-space: nowrap; font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.proof-t .o { padding-right: 0; text-align: right; }
.proof-t button { padding: 0 0 2px; border: 0; background: none; cursor: pointer; font: inherit; font-size: var(--t-caption); letter-spacing: .02em; color: var(--el-ink);
  border-bottom: 1px solid rgba(213, 184, 120, .45); transition: color .3s, border-color .3s; }
.proof-t button:hover { color: var(--ink-title); border-color: var(--ink-title); }
.proof-t button::after { content: " →"; }
.tp-note { margin: 18px 0 0; font-size: var(--t-caption); color: var(--ink-3); }
.specs.sheet { margin-top: 5vh; }
.specs.sheet th { width: 22%; }
.specs.sheet td { font-size: var(--t-body); color: var(--ink); }
.faq { margin: 5vh 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(30px, 4vw, 90px); }
.faq div { padding: 24px 0 30px; border-top: 1px solid var(--hair); }
.faq dt { font-family: var(--font-display); font-size: clamp(23px, .54vw + 15px, 32px); line-height: 1.18; color: var(--ink-title); text-wrap: balance; }
.faq dd { margin: 12px 0 0; font-size: var(--t-small); line-height: 1.66; color: var(--ink-2); text-wrap: pretty; }
.tp-back { margin: 12vh 0 0; padding-bottom: 12vh; text-align: center; }
.tp-back a { font-size: var(--t-ui); letter-spacing: var(--tr-ui); color: var(--el-ink); text-decoration: none; border-bottom: 1px solid rgba(213, 184, 120, .45); padding-bottom: 3px; }

/* ——— narrower windows */
@container (max-width: 700px) {
  .flow, .fanout { flex-direction: column; align-items: stretch; }
  .flow > .ar, .fanout > .ar { flex: 0 0 20px; width: 1px; height: 20px; margin: 0 auto; }
  .flow > .ar::after, .fanout > .ar::after { right: -3px; top: auto; bottom: 0; transform: rotate(135deg); }
  .lane { grid-template-columns: minmax(0, 1fr); }
  .lanes .flow { flex-direction: row; flex-wrap: wrap; gap: 6px 0; }
  .lanes .flow > .ar { flex: 0 0 14px; width: 14px; height: 1px; margin: 0; }
  .lanes .flow > .ar::after { right: 0; top: -3px; bottom: auto; transform: rotate(45deg); }
  .lanes .flow > .nd { flex: 0 1 auto; }
  .lanes .nd span { display: none; }
  .st-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .relay3 { flex-direction: column; }
  .relay3 > .ar { flex: 0 0 34px; width: 1px; height: 34px; margin: 10px 0 12px 8px; }
  .relay3 > .ar::after { right: -3px; top: auto; bottom: 0; transform: rotate(135deg); }
  .relay3 > .ar em { left: 18px; right: auto; top: 4px; text-align: left; white-space: nowrap; }
  .relay3 > .ar em br { display: none; }
  .relay3 > .ar em b { display: inline; }
  .hl-pair, .keys .k-top { grid-template-columns: minmax(0, 1fr); }
  .keys .k-top .dim::before { display: none; }
  .hl { grid-template-columns: 34px minmax(0, 1fr); }
  .hl + .hl::before { display: none; }
  .ledger { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .compose { grid-template-columns: minmax(0, 1fr); }
  .cp-p { grid-column: 1; }
  .ts-sub { margin-top: 70px; }
}
@media (max-width: 1100px) {
  .ts { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 16vh; }
  .ts-head { position: static; }
  .toc, .tp-keys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trace { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .tp-hero { align-content: end; padding-top: 40vh; }
  .tp-hero-photo { background-position: 50% 0; background-size: auto 78%; -webkit-mask-image: linear-gradient(#000 52%, transparent 78%); mask-image: linear-gradient(#000 52%, transparent 78%); }
  .tp-hero h1 { font-size: 52px; }
  .tp-verse { font-size: 21px; }
  .tp-keys { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 6vh; }
  .tp-keys li { padding: 14px 0 12px; }
  .toc { grid-template-columns: minmax(0, 1fr); }
  .toc a { padding: 14px 0 18px; }
  .sys, .tp-wide { padding-top: 14vh; }
  .sys-head h2 { font-size: 36px; }
  .trace { grid-template-columns: minmax(0, 1fr); }
  .trace li { padding: 12px 0 14px; }
  .ts { padding-top: 14vh; }
  .ts-head h2 { font-size: 38px; }
  .specs th { width: 38%; letter-spacing: .12em; }
  .specs.cols { min-width: 620px; }
  .specs.tiers { min-width: 680px; }
  .scroll { position: relative; margin-right: calc(-1 * var(--edge)); padding-right: var(--edge); }
  .specs.cols td:first-child, .specs.cols th:first-child { position: sticky; left: 0; z-index: 1; background: rgba(8, 9, 13, .97); box-shadow: 10px 0 14px -10px rgba(0, 0, 0, .9); }
  .specs.cols td:first-child { white-space: normal; width: 118px; min-width: 118px; }
  .specs.sheet th { width: 34%; }
  .specs.sheet td { font-size: var(--t-small); }
  .proof-t thead { display: none; }
  .proof-t tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; padding: 18px 0; border-top: 1px solid var(--hair); }
  .proof-t tbody tr:last-child { border-bottom: 1px solid var(--hair); }
  .proof-t td, .proof-t tbody tr:last-child td { padding: 0; border: 0; }
  .proof-t .t { grid-column: 1 / -1; grid-row: 1; width: auto; }
  .proof-t .w { grid-column: 1; grid-row: 2; }
  .proof-t .s { grid-column: 2; grid-row: 2; text-align: right; }
  .proof-t .r { grid-column: 1 / -1; grid-row: 3; }
  .proof-t .o { grid-column: 1 / -1; grid-row: 4; margin-top: 4px; text-align: left; }
  .code pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 16px 16px 18px; }
}
@media (prefers-reduced-motion: reduce) { .tp-hero-photo { animation: none; opacity: 1; transform: none; } .trace li::before { transition: none; } }
