:root {
  --indigo: #1a1f8c;
  --ink: #0e1146;
  --paper: #f1e7cf;
  --paper-2: #e7dbbc;
  --text: #241f16;
  --crystal: #e8702a;
  --gold: #b8964e;
  --ok: #1f7a5a;
  --bad: #b3261e;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Newsreader", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.125rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--crystal); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.mono, code { font-family: var(--mono); font-size: .86em; }
em { font-style: italic; }

/* top bar */
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px max(16px, 3vw);
  background: var(--ink); color: var(--paper);
  border-bottom: 2px solid var(--gold);
}
.brand { display: flex; align-items: center; gap: 8px; font: 800 1rem var(--display); text-decoration: none; color: var(--paper); }
.top nav { display: flex; gap: 20px; font: 500 .95rem var(--display); }
.top nav a { text-decoration: none; opacity: .85; }
.top nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 820px) { .top { flex-wrap: wrap; row-gap: 4px; } .top nav { gap: 14px; font-size: .85rem; flex-wrap: wrap; } .brand span { font-size: .9rem; } }

/* ornamental band: a gold lattice, the one decorative device */
.band {
  height: 22px;
  background-color: var(--indigo);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22' viewBox='0 0 44 22'%3E%3Cpath d='M0 11 11 1l11 10L11 21z M22 11 33 1l11 10-11 10z' fill='none' stroke='%23b8964e' stroke-width='1.2'/%3E%3Ccircle cx='11' cy='11' r='2' fill='%23e8702a'/%3E%3Ccircle cx='33' cy='11' r='2' fill='%23e8702a'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
  border-block: 2px solid var(--gold);
}

/* hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  min-height: calc(100vh - 56px);
}
.hero-title {
  background: var(--indigo); color: var(--paper);
  padding: clamp(32px, 6vw, 88px) clamp(20px, 4vw, 64px);
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
  position: relative;
}
.hero-title::after {
  content: ""; position: absolute; right: -1px; top: 0; bottom: 0; width: 14px;
  background: repeating-linear-gradient(180deg, var(--gold) 0 2px, transparent 2px 12px);
  opacity: .55;
}
.kicker { margin: 0; font: 500 .95rem var(--display); color: #cfd2ff; }
h1 {
  margin: 0; font: 800 clamp(2.4rem, 5.2vw, 4.6rem)/1.02 var(--display);
  letter-spacing: -0.02em; text-wrap: balance;
}
.lede { margin: 0; font-size: 1.25rem; max-width: 34ch; color: #e8e4ff; }
.hero-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 0; }
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 4px;
  background: var(--crystal); color: #1b0d02; text-decoration: none;
  font: 700 1rem var(--display); border: 2px solid var(--crystal);
}
.btn:hover { background: #f58444; }
.btn.ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn.ghost:hover { background: rgba(255,255,255,.12); }
.btn.ghost.dark { color: var(--ink); border-color: var(--ink); }
.btn.ghost.dark:hover { background: rgba(14,17,70,.08); }

.hero-desk { padding: clamp(24px, 4vw, 56px); background: var(--paper); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.desk-title { margin: 0; font: 800 1.9rem var(--display); color: var(--ink); }
.desk-sub { margin: 0; color: #5a5037; }

.field { display: flex; flex-wrap: wrap; gap: 8px; }
.field button {
  font: 600 .95rem var(--display); padding: 8px 14px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer;
}
.field button[aria-checked="true"] { background: var(--ink); color: var(--paper); }

.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--ink); margin-top: 6px; flex-wrap: wrap; }
.tabs button {
  font: 700 1rem var(--display); background: none; border: 0; padding: 10px 16px; cursor: pointer; color: var(--ink);
  border-bottom: 5px solid transparent; margin-bottom: -2px; text-align: left;
}
.tabs button small { display: block; font: 500 .78rem var(--body); color: #6a5f43; }
.tabs button[aria-selected="true"] { border-bottom-color: var(--crystal); }

.panel { background: #fbf5e4; border: 2px solid var(--ink); border-top: 0; padding: 18px; }
.verdict { font: 800 1.5rem var(--display); display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.verdict .tag { padding: 2px 12px; border-radius: 4px; color: #fff; font-size: 1.1rem; }
.verdict .tag.yes { background: var(--ok); }
.verdict .tag.no { background: var(--bad); }
.verdict .why { font: 500 1rem var(--body); color: #4b4230; }
.stake { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; font-size: 1rem; }
.stake input { margin-top: 6px; accent-color: var(--indigo); width: 18px; height: 18px; flex: none; }
.stake[hidden] { display: none; }
.checks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 0; }
.checks li { display: grid; grid-template-columns: 4.2em 1fr; gap: 10px; padding: 9px 0; border-top: 1px dashed #c4b78f; font-size: 1rem; line-height: 1.4; }
.checks .st { font: 700 .85rem var(--mono); }
.checks .st.pass { color: var(--ok); }
.checks .st.fail { color: var(--bad); }
.checks .st.na { color: #7b7050; }
.checks .rule { display: block; font: 400 .78rem var(--mono); color: #6a5f43; }
.fine { font-size: .92rem; color: #5a5037; margin: 12px 0 0; }

/* sections */
.sect { padding: clamp(48px, 7vw, 96px) 0; }
.sect.paper { background: var(--paper); }
.sect.ink { background: var(--ink); color: var(--paper); }
.wrap { width: min(1080px, 100% - 32px); margin: 0 auto; }
h2 { margin: 0 0 20px; font: 800 clamp(1.9rem, 3.6vw, 3rem)/1.08 var(--display); letter-spacing: -.015em; text-wrap: balance; max-width: 22ch; }
h3 { margin: 40px 0 8px; font: 700 1.35rem var(--display); }
.lead { font-size: 1.25rem; max-width: 52ch; }
.sub { margin: 0 0 16px; color: #5a5037; }
.sect.ink .sub, .on-ink.fine, .sect.ink .fine { color: #c8c4ee; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.cols2 p:first-child { margin-top: 0; }
p { max-width: 62ch; }

/* tables */
table { border-collapse: collapse; width: 100%; font-size: 1rem; line-height: 1.45; }
caption { text-align: left; font: 700 1.05rem var(--display); padding-bottom: 8px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid #bfb185; }
th[scope="row"] { font-weight: 600; width: 34%; }
.cmp thead th { border-top: 0; border-bottom: 2px solid var(--ink); font: 700 1rem var(--display); }
.cmp tbody tr:nth-child(even) { background: rgba(14,17,70,.04); }
.rule { display: inline-block; font: 400 .75rem var(--mono); color: var(--indigo); background: rgba(26,31,140,.08); padding: 1px 6px; border-radius: 3px; margin-left: 4px; white-space: nowrap; }
.scroll { overflow-x: auto; }
.cmp { min-width: 640px; }

/* prefixes */
.prefixes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.prefix { border: 2px solid var(--ink); padding: 12px; background: #fbf5e4; }
.prefix h4 { margin: 0 0 10px; font: 600 .95rem var(--display); }
.frames { display: flex; gap: 4px; }
.frame { flex: 1; text-align: center; font: 600 .72rem var(--mono); padding: 10px 2px; background: var(--indigo); color: var(--paper); }
.frame.pay { background: var(--crystal); color: #1b0d02; }
.frame.deploy { background: var(--gold); color: #1b0d02; }
.frame.tail { background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(0,0,0,.08) 6px 12px); color: #5a5037; border: 1px dashed #8a7d58; flex: .7; }

/* tools */
.tools, .uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; margin-top: 28px; border: 1.5px solid var(--gold); }
.tools article, .uses article { padding: 22px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); margin: -1px -1px 0 0; }
.tools h3, .uses h3 { margin: 0 0 8px; font-size: 1.15rem; color: #ffd9bd; }
.tools p, .uses p { margin: 0; font-size: 1.02rem; color: #e8e4ff; }

/* reputation */
.rep { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; border: 1.5px solid var(--gold); padding: 22px; }
.rep label { display: block; font: 600 1rem var(--display); margin-bottom: 14px; }
.rep output { float: right; font-family: var(--mono); color: #ffd9bd; }
.rep input[type=range] { width: 100%; accent-color: var(--crystal); margin-top: 6px; }
.rep-result .state { font: 800 2rem var(--display); }
.rep-result .state.ACTIVE { color: #7fe0b5; }
.rep-result .state.THROTTLED { color: #ffc46b; }
.rep-result .state.BANNED { color: #ff8a80; }
.rep-result p { margin: 6px 0 0; font-size: 1rem; color: #e8e4ff; }

/* architecture */
.arch { margin: 28px 0 0; }
.arch svg { width: 100%; height: auto; }
.arch .box rect { fill: #161a6e; stroke: var(--gold); stroke-width: 1.5; }
.arch .box.hl rect { fill: var(--crystal); stroke: var(--paper); }
.arch .box.hl text { fill: #1b0d02; }
.arch text { fill: var(--paper); font: 700 14px var(--display); }
.arch text.s { font: 400 12px var(--body); opacity: .9; }
.arch .p2p rect { fill: none; stroke: var(--gold); stroke-dasharray: 5 5; }
.arch .ln { stroke: var(--paper); stroke-width: 1.6; fill: none; }
.arch .ln.dash { stroke-dasharray: 4 4; }
.arch figcaption { color: #c8c4ee; font-size: .98rem; margin-top: 10px; max-width: 70ch; }

/* skandha report */
.report { margin: 0; background: var(--ink); color: var(--paper); padding: 18px; border: 2px solid var(--gold); }
.report figcaption { font: 600 .95rem var(--display); margin-bottom: 8px; color: #ffd9bd; }
.report pre { margin: 0; overflow-x: auto; font: 400 .82rem/1.65 var(--mono); }
.report .ok { color: #7fe0b5; }
.report .bad { color: #ff8a80; }
.report .dim { color: #9da0d6; }

/* links */
.links { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.links a, .links .soon > span { display: block; height: 100%; padding: 16px 18px; border: 1.5px solid var(--gold); text-decoration: none; }
.links a:hover { background: rgba(255,255,255,.07); }
.links strong { display: block; font: 700 1.1rem var(--display); }
.links span span, .links a span { color: #c8c4ee; font-size: .98rem; }
.links .soon > span { border-style: dashed; opacity: .75; }
.authors { max-width: 60ch; color: #e8e4ff; }

footer { background: var(--ink); color: #c8c4ee; }
footer p { padding: 20px max(16px, 3vw); margin: 0; font-size: .92rem; max-width: none; }

/* responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-title::after { display: none; }
  .cols2, .rep { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* spec list: label above value, so long constant names fit */
.spec th, .spec td { display: block; width: 100%; padding: 2px 12px; border: 0; }
.spec th[scope="row"] { padding-top: 12px; width: 100%; overflow-wrap: anywhere; }
.spec td { padding-bottom: 12px; border-bottom: 1px solid #bfb185; }
.spec tr:first-child th { border-top: 0; }

/* desk: the panel sits flush under the tab rule, so its border closes the box */
.panel { margin-top: -14px; border-top: 2px solid var(--ink); }
.tabs { position: relative; z-index: 1; }
.tabs button[aria-selected="true"] { background: #fbf5e4; border-bottom-color: var(--crystal); }

/* Mumbai touches: marigold, a torana scallop under the band, jali lattice, menu-card flourishes */
:root { --marigold: #f2a516; --maroon: #7a1f2b; }

.band { position: relative; margin-bottom: 11px; border-bottom: 0; }
.band::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 11px;
  background:
    radial-gradient(circle at 50% 0, var(--indigo) 0 8px, var(--gold) 8px 10px, transparent 10.5px) 0 0 / 22px 11px repeat-x;
}
footer .band { margin-bottom: 0; }
footer .band::after { display: none; }
.band { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22' viewBox='0 0 44 22'%3E%3Cpath d='M0 11 11 1l11 10L11 21z M22 11 33 1l11 10-11 10z' fill='none' stroke='%23b8964e' stroke-width='1.2'/%3E%3Ccircle cx='11' cy='11' r='2.4' fill='%23f2a516'/%3E%3Ccircle cx='33' cy='11' r='2.4' fill='%23f2a516'/%3E%3C/svg%3E"); }

.hero-title::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23f2a516' stroke-width='1'%3E%3Ccircle cx='24' cy='0' r='24'/%3E%3Ccircle cx='24' cy='48' r='24'/%3E%3Ccircle cx='0' cy='24' r='24'/%3E%3Ccircle cx='48' cy='24' r='24'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-title > * { position: relative; }

/* section headings get a small lotus flourish, like a menu card */
h2::after {
  content: ""; display: block; width: 120px; height: 14px; margin-top: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='14' viewBox='0 0 120 14'%3E%3Cpath d='M0 7h46M74 7h46' stroke='%23b8964e' stroke-width='1.5'/%3E%3Cpath d='M60 1c3 3 3 9 0 12-3-3-3-9 0-12zM52 4c4 0 7 3 8 9-5 0-8-4-8-9zM68 4c-4 0-7 3-8 9 5 0 8-4 8-9z' fill='%23e8702a'/%3E%3Ccircle cx='48' cy='7' r='1.8' fill='%23f2a516'/%3E%3Ccircle cx='72' cy='7' r='1.8' fill='%23f2a516'/%3E%3C/svg%3E") no-repeat left center;
}
.desk-title::after { display: none; }

/* menu-card double rule on the main framed boxes */
.panel, .report, .prefix, .rep, .tools, .uses { outline: 1px solid var(--gold); outline-offset: 4px; }
.tools, .uses, .rep { margin-block: 32px 0; }
.rep { margin-top: 12px; }

/* tables read like a menu: dotted leaders on the comparison rows */
.cmp tbody th, .cmp tbody td { border-top: 1px dotted #9d8c5c; }

/* arched tabs */
.tabs button { border-radius: 14px 14px 0 0; }
.field button { border-color: var(--maroon); color: var(--maroon); }
.field button[aria-checked="true"] { background: var(--maroon); color: var(--paper); }
.links a:hover { border-color: var(--marigold); }

/* ornamental frame: indigo band with gold rules, marigold diamonds and corner blossoms */
.panel, .report, .matrix-wrap {
  --frame: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2272%22 height=%2272%22 viewBox=%220 0 72 72%22%3E%3Cpath fill-rule=%22evenodd%22 fill=%22%231a1f8c%22 d=%22M0 0h72v72H0z M24 24v24h24V24z%22/%3E%3Crect x=%221%22 y=%221%22 width=%2270%22 height=%2270%22 fill=%22none%22 stroke=%22%23b8964e%22 stroke-width=%221.6%22/%3E%3Crect x=%2223%22 y=%2223%22 width=%2226%22 height=%2226%22 fill=%22none%22 stroke=%22%23b8964e%22 stroke-width=%221.6%22/%3E%3Cpolygon points=%2236,6 42,12 36,18 30,12%22 fill=%22%23f2a516%22/%3E%3Ccircle cx=%2236%22 cy=%2212%22 r=%221.8%22 fill=%22%231a1f8c%22/%3E%3Cpolygon points=%2236,54 42,60 36,66 30,60%22 fill=%22%23f2a516%22/%3E%3Ccircle cx=%2236%22 cy=%2260%22 r=%221.8%22 fill=%22%231a1f8c%22/%3E%3Cpolygon points=%2212,30 18,36 12,42 6,36%22 fill=%22%23f2a516%22/%3E%3Ccircle cx=%2212%22 cy=%2236%22 r=%221.8%22 fill=%22%231a1f8c%22/%3E%3Cpolygon points=%2260,30 66,36 60,42 54,36%22 fill=%22%23f2a516%22/%3E%3Ccircle cx=%2260%22 cy=%2236%22 r=%221.8%22 fill=%22%231a1f8c%22/%3E%3Ccircle cx=%2224%22 cy=%2212%22 r=%221.6%22 fill=%22%23f1e7cf%22/%3E%3Ccircle cx=%2248%22 cy=%2212%22 r=%221.6%22 fill=%22%23f1e7cf%22/%3E%3Ccircle cx=%2224%22 cy=%2260%22 r=%221.6%22 fill=%22%23f1e7cf%22/%3E%3Ccircle cx=%2248%22 cy=%2260%22 r=%221.6%22 fill=%22%23f1e7cf%22/%3E%3Ccircle cx=%2212%22 cy=%2224%22 r=%221.6%22 fill=%22%23f1e7cf%22/%3E%3Ccircle cx=%2212%22 cy=%2248%22 r=%221.6%22 fill=%22%23f1e7cf%22/%3E%3Ccircle cx=%2260%22 cy=%2224%22 r=%221.6%22 fill=%22%23f1e7cf%22/%3E%3Ccircle cx=%2260%22 cy=%2248%22 r=%221.6%22 fill=%22%23f1e7cf%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%227%22 fill=%22%23f2a516%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%227%22 fill=%22none%22 stroke=%22%230e1146%22 stroke-width=%221%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%223%22 fill=%22%23e8702a%22/%3E%3Ccircle cx=%2212%22 cy=%227%22 r=%221.6%22 fill=%22%23f1e7cf%22/%3E%3Ccircle cx=%2217%22 cy=%2212%22 r=%221.6%22 fill=%22%23f1e7cf%22/%3E%3Ccircle cx=%2212%22 cy=%2217%22 r=%221.6%22 fill=%22%23f1e7cf%22/%3E%3Ccircle cx=%227%22 cy=%2212%22 r=%221.6%22 fill=%22%23f1e7cf%22/%3E%3Ccircle cx=%2260%22 cy=%2212%22 r=%227%22 fill=%22%23f2a516%22/%3E%3Ccircle cx=%2260%22 cy=%2212%22 r=%227%22 fill=%22none%22 stroke=%22%230e1146%22 stroke-width=%221%22/%3E%3Ccircle cx=%2260%22 cy=%2212%22 r=%223%22 fill=%22%23e8702a%22/%3E%3Ccircle cx=%2260%22 cy=%227%22 r=%221.6%22 fill=%22%23f1e7cf%22/%3E%3Ccircle cx=%2265%22 cy=%2212%22 r=%221.6%22 fill=%22%23f1e7cf%22/%3E%3Ccircle cx=%2260%22 cy=%2217%22 r=%221.6%22 fill=%22%23f1e7cf%22/%3E%3Ccircle cx=%2255%22 cy=%2212%22 r=%221.6%22 fill=%22%23f1e7cf%22/%3E%3Ccircle cx=%2212%22 cy=%2260%22 r=%227%22 fill=%22%23f2a516%22/%3E%3Ccircle cx=%2212%22 cy=%2260%22 r=%227%22 fill=%22none%22 stroke=%22%230e1146%22 stroke-width=%221%22/%3E%3Ccircle cx=%2212%22 cy=%2260%22 r=%223%22 fill=%22%23e8702a%22/%3E%3Ccircle cx=%2212%22 cy=%2255%22 r=%221.6%22 fill=%22%23f1e7cf%22/%3E%3Ccircle cx=%2217%22 cy=%2260%22 r=%221.6%22 fill=%22%23f1e7cf%22/%3E%3Ccircle cx=%2212%22 cy=%2265%22 r=%221.6%22 fill=%22%23f1e7cf%22/%3E%3Ccircle cx=%227%22 cy=%2260%22 r=%221.6%22 fill=%22%23f1e7cf%22/%3E%3Ccircle cx=%2260%22 cy=%2260%22 r=%227%22 fill=%22%23f2a516%22/%3E%3Ccircle cx=%2260%22 cy=%2260%22 r=%227%22 fill=%22none%22 stroke=%22%230e1146%22 stroke-width=%221%22/%3E%3Ccircle cx=%2260%22 cy=%2260%22 r=%223%22 fill=%22%23e8702a%22/%3E%3Ccircle cx=%2260%22 cy=%2255%22 r=%221.6%22 fill=%22%23f1e7cf%22/%3E%3Ccircle cx=%2265%22 cy=%2260%22 r=%221.6%22 fill=%22%23f1e7cf%22/%3E%3Ccircle cx=%2260%22 cy=%2265%22 r=%221.6%22 fill=%22%23f1e7cf%22/%3E%3Ccircle cx=%2255%22 cy=%2260%22 r=%221.6%22 fill=%22%23f1e7cf%22/%3E%3C/svg%3E");
  border: 18px solid transparent; border-image: var(--frame) 24 round; outline: 0;
}
.panel { margin-top: -14px; padding: 14px; }
.report { padding: 6px; }
.tabs { border-bottom: 0; }
.prefix, .rep, .tools, .uses { outline: 0; }

/* hero is a single column now */
.hero { grid-template-columns: 1fr; min-height: 0; }
.hero-title { padding-block: clamp(48px, 8vw, 110px); padding-inline: max(16px, calc((100% - 1080px) / 2)); }
.hero-title::after { display: none; }
.hero .lede { max-width: 52ch; }

/* matrix */
.matrix-wrap { margin-top: 28px; padding: 6px; background: #fbf5e4; }
.matrix { min-width: 820px; table-layout: fixed; }
.matrix th, .matrix td { border: 0; border-top: 1px dotted #9d8c5c; padding: 16px 14px; font-size: 1rem; line-height: 1.45; vertical-align: top; }
.matrix thead th { border-top: 0; border-bottom: 2px solid var(--ink); font: 700 1.05rem var(--display); }
.matrix thead th small { display: block; font: 500 .85rem var(--body); color: #6a5f43; }
.matrix tbody th { width: 21%; font: 700 1.05rem var(--display); }
.matrix tbody th small { display: block; margin-top: 4px; font: 400 .88rem/1.35 var(--body); color: #6a5f43; }
.matrix tbody tr:first-child th, .matrix tbody tr:first-child td { border-top: 0; }
.v { display: block; width: fit-content; margin-bottom: 6px; padding: 1px 10px; border-radius: 4px; font: 800 .95rem var(--display); color: #fff; }
.v.no { background: var(--bad); }
.v.limited { background: #b86a10; }
.v.good { background: var(--ok); }
.v.plus { background: var(--ok); }
.v.custom { background: var(--indigo); }
.matrix .rule { margin: 6px 4px 0 0; }
@media (max-width: 900px) { .hero-title { padding-inline: 20px; } }

/* prefixes stack vertically */
.prefixes { grid-template-columns: 1fr; max-width: 720px; gap: 14px; }
.prefix { display: grid; grid-template-columns: 230px 1fr; align-items: center; gap: 16px; }
.prefix h4 { margin: 0; }
@media (max-width: 640px) { .prefix { grid-template-columns: 1fr; gap: 8px; } }

/* use cases: three by two */
.uses { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .uses { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .uses { grid-template-columns: 1fr; } }

/* reputation animation: one 28s timeline. Phase 1 good behaviour, phase 2 decline */
.repfig { margin: 20px 0 0; border: 1.5px solid var(--gold); padding: 24px; }
.anim { animation: cycle 28s linear infinite; }
.phase { position: relative; margin: 0 0 14px; height: 1.5em; font: 600 1rem var(--display); max-width: none; }
.phase span { position: absolute; left: 0; top: 0; opacity: 0; }
.ph1 { animation: ph1 28s linear infinite; color: #7fe0b5; } .ph2 { animation: ph2 28s linear infinite; color: #ff8a80; }
.track { position: relative; height: 14px; border-radius: 7px; background: linear-gradient(90deg, #c9473d 0 38.3%, #e0a030 38.3% 69.6%, #2f9b73 69.6%); }
.marker { position: absolute; top: -9px; left: 61%; width: 0; height: 0; border-inline: 9px solid transparent; border-top: 14px solid var(--paper); margin-left: -9px; animation: slide 28s linear infinite; }
.states { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.st { padding: 12px 14px; border: 1.5px solid rgba(184,150,78,.5); opacity: .35; }
.st strong { display: block; font: 800 1.05rem var(--display); }
.st span { font-size: .95rem; color: #e8e4ff; }
.s1 strong { color: #7fe0b5; } .s2 strong { color: #ffc46b; } .s3 strong { color: #ff8a80; }
.s1 { animation: lit1 28s linear infinite; } .s2 { animation: lit2 28s linear infinite; } .s3 { animation: lit3 28s linear infinite; }
.chips { display: flex; gap: 8px; margin-top: 18px; }
.chips > span { position: relative; flex: 1; height: 30px; border-radius: 3px; border: 1.5px dashed rgba(200,196,238,.45); overflow: hidden; }
.chips i { position: absolute; inset: 0; opacity: 0; display: flex; align-items: center; justify-content: center; }
.chips b { font: 700 .72rem var(--display); color: #fff; letter-spacing: .01em; }
.chips .pd { background: repeating-linear-gradient(135deg, #3b2a9e 0 8px, #6d54e6 8px 16px); background-size: 22.6px 22.6px; animation-name: stripes; animation-duration: .9s; animation-timing-function: linear; animation-iteration-count: infinite; }
.chips .ok { background: #2f9b73; } .chips .bad { background: #c9473d; }
@keyframes stripes { to { background-position: 22.6px 0; } }
.repfig figcaption { margin-top: 16px; font-size: .95rem; color: #c8c4ee; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.lg { display: inline-block; width: 16px; height: 16px; border-radius: 3px; margin-left: 12px; } .lg:first-child { margin-left: 0; }
.lg.pdg { background: repeating-linear-gradient(135deg, #3b2a9e 0 4px, #6d54e6 4px 8px); } .lg.okg { background: #2f9b73; } .lg.lost { background: #c9473d; }
@keyframes cycle { 0% { opacity: 0; } 2% { opacity: 1; } 94% { opacity: 1; } 97% { opacity: 0; } 100% { opacity: 0; } }
@keyframes ph1 { 0%, 1.5% { opacity: 0; } 2.5%, 28.4% { opacity: 1; } 29.4%, 100% { opacity: 0; } }
@keyframes ph2 { 0%, 30% { opacity: 0; } 31%, 96% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes slide { 0% { left: 61%; } 7.2% { left: 61%; animation-timing-function: ease-in-out; } 8.4% { left: 67%; } 10.8% { left: 67%; animation-timing-function: ease-in-out; } 12% { left: 73%; } 14.4% { left: 73%; animation-timing-function: ease-in-out; } 15.6% { left: 79%; } 18% { left: 79%; animation-timing-function: ease-in-out; } 19.2% { left: 85%; } 21.6% { left: 85%; animation-timing-function: ease-in-out; } 22.8% { left: 91%; } 25.2% { left: 91%; animation-timing-function: ease-in-out; } 26.4% { left: 97%; } 37% { left: 97%; animation-timing-function: ease-in-out; } 38.2% { left: 89.17%; } 41.2% { left: 89.17%; animation-timing-function: ease-in-out; } 42.4% { left: 81.34%; } 45.4% { left: 81.34%; animation-timing-function: ease-in-out; } 46.6% { left: 73.51%; } 49.6% { left: 73.51%; animation-timing-function: ease-in-out; } 50.8% { left: 65.68%; } 53.8% { left: 65.68%; animation-timing-function: ease-in-out; } 55% { left: 57.85%; } 58% { left: 57.85%; animation-timing-function: ease-in-out; } 59.2% { left: 50.02%; } 62.2% { left: 50.02%; animation-timing-function: ease-in-out; } 63.4% { left: 42.19%; } 66.4% { left: 42.19%; animation-timing-function: ease-in-out; } 67.6% { left: 34.36%; } 70.6% { left: 34.36%; animation-timing-function: ease-in-out; } 71.8% { left: 26.53%; } 74.8% { left: 26.53%; animation-timing-function: ease-in-out; } 76% { left: 18.7%; } 79% { left: 18.7%; animation-timing-function: ease-in-out; } 80.2% { left: 10.87%; } 83.2% { left: 10.87%; animation-timing-function: ease-in-out; } 84.4% { left: 3.04%; } 96.9% { left: 3.04%; } 97% { left: 61%; } 100% { left: 61%; } }
@keyframes lit1 { 0%, 11.7% { opacity: .35; border-color: rgba(184,150,78,.5); } 12%, 50.5% { opacity: 1; border-color: #7fe0b5; } 50.8%, 100% { opacity: .35; border-color: rgba(184,150,78,.5); } }
@keyframes lit2 { 0%, 1% { opacity: .35; border-color: rgba(184,150,78,.5); } 2%, 11.7% { opacity: 1; border-color: #ffc46b; } 12%, 50.5% { opacity: .35; border-color: rgba(184,150,78,.5); } 50.8%, 67.3% { opacity: 1; border-color: #ffc46b; } 67.6%, 100% { opacity: .35; border-color: rgba(184,150,78,.5); } }
@keyframes lit3 { 0%, 67.3% { opacity: .35; border-color: rgba(184,150,78,.5); } 67.6%, 96% { opacity: 1; border-color: #ff8a80; } 97%, 100% { opacity: .35; border-color: rgba(184,150,78,.5); } }
@keyframes c0pd { 0% { opacity: 0; } 2.7% { opacity: 0; } 3% { opacity: 1; } 8.1% { opacity: 1; } 8.4% { opacity: 0; } 34.4% { opacity: 0; } 34.7% { opacity: 1; } 37.9% { opacity: 1; } 38.2% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(1) .pd { animation: c0pd 28s linear infinite, stripes .9s linear infinite; }
@keyframes c0ok { 0% { opacity: 0; } 8.1% { opacity: 0; } 8.4% { opacity: 1; } 27.6% { opacity: 1; } 27.9% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(1) .ok { animation: c0ok 28s linear infinite; }
@keyframes c0bad { 0% { opacity: 0; } 37.9% { opacity: 0; } 38.2% { opacity: 1; } 96.7% { opacity: 1; } 97% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(1) .bad { animation: c0bad 28s linear infinite; }
@keyframes c1pd { 0% { opacity: 0; } 6.3% { opacity: 0; } 6.6% { opacity: 1; } 11.7% { opacity: 1; } 12% { opacity: 0; } 38.6% { opacity: 0; } 38.9% { opacity: 1; } 42.1% { opacity: 1; } 42.4% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(2) .pd { animation: c1pd 28s linear infinite, stripes .9s linear infinite; }
@keyframes c1ok { 0% { opacity: 0; } 11.7% { opacity: 0; } 12% { opacity: 1; } 27.6% { opacity: 1; } 27.9% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(2) .ok { animation: c1ok 28s linear infinite; }
@keyframes c1bad { 0% { opacity: 0; } 42.1% { opacity: 0; } 42.4% { opacity: 1; } 96.7% { opacity: 1; } 97% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(2) .bad { animation: c1bad 28s linear infinite; }
@keyframes c2pd { 0% { opacity: 0; } 9.9% { opacity: 0; } 10.2% { opacity: 1; } 15.3% { opacity: 1; } 15.6% { opacity: 0; } 42.8% { opacity: 0; } 43.1% { opacity: 1; } 46.3% { opacity: 1; } 46.6% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(3) .pd { animation: c2pd 28s linear infinite, stripes .9s linear infinite; }
@keyframes c2ok { 0% { opacity: 0; } 15.3% { opacity: 0; } 15.6% { opacity: 1; } 27.6% { opacity: 1; } 27.9% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(3) .ok { animation: c2ok 28s linear infinite; }
@keyframes c2bad { 0% { opacity: 0; } 46.3% { opacity: 0; } 46.6% { opacity: 1; } 96.7% { opacity: 1; } 97% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(3) .bad { animation: c2bad 28s linear infinite; }
@keyframes c3pd { 0% { opacity: 0; } 13.5% { opacity: 0; } 13.8% { opacity: 1; } 18.9% { opacity: 1; } 19.2% { opacity: 0; } 47% { opacity: 0; } 47.3% { opacity: 1; } 50.5% { opacity: 1; } 50.8% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(4) .pd { animation: c3pd 28s linear infinite, stripes .9s linear infinite; }
@keyframes c3ok { 0% { opacity: 0; } 18.9% { opacity: 0; } 19.2% { opacity: 1; } 27.6% { opacity: 1; } 27.9% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(4) .ok { animation: c3ok 28s linear infinite; }
@keyframes c3bad { 0% { opacity: 0; } 50.5% { opacity: 0; } 50.8% { opacity: 1; } 96.7% { opacity: 1; } 97% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(4) .bad { animation: c3bad 28s linear infinite; }
@keyframes c4pd { 0% { opacity: 0; } 17.1% { opacity: 0; } 17.4% { opacity: 1; } 22.5% { opacity: 1; } 22.8% { opacity: 0; } 51.2% { opacity: 0; } 51.5% { opacity: 1; } 54.7% { opacity: 1; } 55% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(5) .pd { animation: c4pd 28s linear infinite, stripes .9s linear infinite; }
@keyframes c4ok { 0% { opacity: 0; } 22.5% { opacity: 0; } 22.8% { opacity: 1; } 27.6% { opacity: 1; } 27.9% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(5) .ok { animation: c4ok 28s linear infinite; }
@keyframes c4bad { 0% { opacity: 0; } 54.7% { opacity: 0; } 55% { opacity: 1; } 96.7% { opacity: 1; } 97% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(5) .bad { animation: c4bad 28s linear infinite; }
@keyframes c5pd { 0% { opacity: 0; } 20.7% { opacity: 0; } 21% { opacity: 1; } 26.1% { opacity: 1; } 26.4% { opacity: 0; } 55.4% { opacity: 0; } 55.7% { opacity: 1; } 58.9% { opacity: 1; } 59.2% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(6) .pd { animation: c5pd 28s linear infinite, stripes .9s linear infinite; }
@keyframes c5ok { 0% { opacity: 0; } 26.1% { opacity: 0; } 26.4% { opacity: 1; } 27.6% { opacity: 1; } 27.9% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(6) .ok { animation: c5ok 28s linear infinite; }
@keyframes c5bad { 0% { opacity: 0; } 58.9% { opacity: 0; } 59.2% { opacity: 1; } 96.7% { opacity: 1; } 97% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(6) .bad { animation: c5bad 28s linear infinite; }
@keyframes c6pd { 0% { opacity: 0; } 59.6% { opacity: 0; } 59.9% { opacity: 1; } 63.1% { opacity: 1; } 63.4% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(7) .pd { animation: c6pd 28s linear infinite, stripes .9s linear infinite; }
@keyframes c6bad { 0% { opacity: 0; } 63.1% { opacity: 0; } 63.4% { opacity: 1; } 96.7% { opacity: 1; } 97% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(7) .bad { animation: c6bad 28s linear infinite; }
@keyframes c7pd { 0% { opacity: 0; } 63.8% { opacity: 0; } 64.1% { opacity: 1; } 67.3% { opacity: 1; } 67.6% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(8) .pd { animation: c7pd 28s linear infinite, stripes .9s linear infinite; }
@keyframes c7bad { 0% { opacity: 0; } 67.3% { opacity: 0; } 67.6% { opacity: 1; } 96.7% { opacity: 1; } 97% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(8) .bad { animation: c7bad 28s linear infinite; }
@keyframes c8pd { 0% { opacity: 0; } 68% { opacity: 0; } 68.3% { opacity: 1; } 71.5% { opacity: 1; } 71.8% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(9) .pd { animation: c8pd 28s linear infinite, stripes .9s linear infinite; }
@keyframes c8bad { 0% { opacity: 0; } 71.5% { opacity: 0; } 71.8% { opacity: 1; } 96.7% { opacity: 1; } 97% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(9) .bad { animation: c8bad 28s linear infinite; }
@keyframes c9pd { 0% { opacity: 0; } 72.2% { opacity: 0; } 72.5% { opacity: 1; } 75.7% { opacity: 1; } 76% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(10) .pd { animation: c9pd 28s linear infinite, stripes .9s linear infinite; }
@keyframes c9bad { 0% { opacity: 0; } 75.7% { opacity: 0; } 76% { opacity: 1; } 96.7% { opacity: 1; } 97% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(10) .bad { animation: c9bad 28s linear infinite; }
@keyframes c10pd { 0% { opacity: 0; } 76.4% { opacity: 0; } 76.7% { opacity: 1; } 79.9% { opacity: 1; } 80.2% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(11) .pd { animation: c10pd 28s linear infinite, stripes .9s linear infinite; }
@keyframes c10bad { 0% { opacity: 0; } 79.9% { opacity: 0; } 80.2% { opacity: 1; } 96.7% { opacity: 1; } 97% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(11) .bad { animation: c10bad 28s linear infinite; }
@keyframes c11pd { 0% { opacity: 0; } 80.6% { opacity: 0; } 80.9% { opacity: 1; } 84.1% { opacity: 1; } 84.4% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(12) .pd { animation: c11pd 28s linear infinite, stripes .9s linear infinite; }
@keyframes c11bad { 0% { opacity: 0; } 84.1% { opacity: 0; } 84.4% { opacity: 1; } 96.7% { opacity: 1; } 97% { opacity: 0; } 100% { opacity: 0; } }
.chips > span:nth-child(12) .bad { animation: c11bad 28s linear infinite; }
@media (max-width: 720px) { .states { grid-template-columns: 1fr; } .chips b { font-size: .6rem; } }
@media (prefers-reduced-motion: reduce) { .anim, .marker, .st, .chips i, .phase span { animation: none !important; } .anim { opacity: 1; } .marker { left: 50%; } .st { opacity: 1; } .ph1 { opacity: 1; } .chips > span:nth-child(-n+6) .bad { opacity: 1; } .chips > span:nth-child(n+7) .pd { opacity: 1; } }

/* frame boxes have a fixed width per type, so self_verify and only_verify match in every row */
.frame { flex: none; width: 124px; }
.frame.deploy { width: 84px; }
.frame.pay { width: 70px; }
.frame.tail { width: 120px; }
@media (max-width: 640px) { .frames { flex-wrap: wrap; } }
.frame.tail { flex: none; }
