@font-face { font-family: Inter; src: url(/fonts/inter-latin.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: JBM; src: url(/fonts/jetbrains-mono-latin.woff2) format('woff2'); font-weight: 100 800; font-display: swap; }
:root {
  --bg: #0a0c10; --panel: #11141a; --panel-2: #161a21; --panel-3: #1c212a; --line: #1f242d; --line-2: #2a303b; --line-3: #3a4250;
  --text: #eef1f6; --soft: #c3c9d3; --muted: #8b93a1; --faint: #5a6170;
  --holo: linear-gradient(120deg, rgba(255,255,255,.55), rgba(143,179,255,.45) 35%, rgba(255,213,154,.4) 65%, rgba(255,255,255,.5)); --up: #3ecf8e; --down: #f0616d; --warn: #f2c14e;
  --chrome: linear-gradient(180deg, #ffffff 0%, #d9dde3 38%, #8a919c 52%, #eef1f5 64%, #aab1bb 100%);
  --radius: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; overflow-x: hidden; display: flex; flex-direction: column; background:
  radial-gradient(1100px 520px at 85% -8%, rgba(120,150,255,.11), transparent 60%),
  radial-gradient(800px 420px at 5% -5%, rgba(255,190,120,.06), transparent 60%), var(--bg); background-repeat: no-repeat; }
h1, h2, h3, .brand { font-family: Sora, Inter, sans-serif; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; }
.mono { font-family: JBM, ui-monospace, monospace; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.i { width: 14px; height: 14px; flex: none; }
.chrome { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .up { color: var(--up); } .down { color: var(--down); }
.small { font-size: 12px; }
[hidden] { display: none !important; }

/* nav */
.nav { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(10,12,16,.78); backdrop-filter: blur(10px); z-index: 30; }
.nav-in { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; }
.brand svg { width: 26px; height: 26px; }
.brand b { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.links { display: flex; gap: 22px; font-size: 13.5px; color: var(--muted); }
.links a[aria-current] { color: var(--text); font-weight: 600; }
.links a:hover { color: var(--text); }
.nav-r { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-ca { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line-2); font-size: 11.5px; cursor: pointer; color: var(--soft); }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle .i { width: 20px; height: 20px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; font: 600 13px Inter; border: 0; cursor: pointer; white-space: nowrap; transition: opacity .15s, background .15s; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-w { background: linear-gradient(180deg, #ffffff 0%, #dde2e9 55%, #b7bfca 100%); color: #0a0c10; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(255,255,255,.12), 0 6px 20px rgba(143,179,255,.12); }
.btn-w:hover:not(:disabled) { filter: brightness(1.06); }
.btn-g { background: rgba(28,33,42,.8); color: var(--text); border: 1px solid var(--line-2); }
.btn-g:hover:not(:disabled) { background: #2d2d2d; }
.btn-lg { height: 42px; padding: 0 20px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: center; padding: 56px 0 40px; }
h1 { font-size: 54px; line-height: 1.04; letter-spacing: -.04em; font-weight: 700; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font: 500 11px JBM; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px 6px 8px; background: rgba(17,20,26,.7); }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 10px var(--up); }
.lede { margin-top: 22px; color: var(--soft); font-size: 15.5px; line-height: 1.6; max-width: 540px; }
.cta { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.stats { display: flex; gap: 48px; margin-top: 42px; flex-wrap: wrap; }
.stat small, .label { display: block; font: 500 10.5px JBM; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.stat strong { display: flex; align-items: center; gap: 8px; margin-top: 8px; font: 700 22px JBM; letter-spacing: -.02em; }
.stat strong em { font: 500 12px JBM; color: var(--muted); font-style: normal; }
.sol { width: 18px; height: 14px; flex: none; }
.sol.sm { width: 13px; height: 10px; }

.orbit { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-left: auto; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid #1d2230; }
.ring.r2 { inset: 17%; border-color: #232a38; border-style: dashed; }
.seal { position: absolute; inset: 24%; width: 52%; height: 52%; animation: spin 80s linear infinite reverse; overflow: visible; }
.seal text { font: 600 7.2px JBM; letter-spacing: .3em; fill: #7d8697; }
.spin { position: absolute; inset: 0; animation: spin 120s linear infinite; }
.spin.s2 { inset: 17%; animation-duration: 90s; animation-direction: reverse; }
.tile { position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #131720; border: 1px solid #2a3140; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.spin .tile { animation: spin 120s linear infinite reverse; }
.spin.s2 .tile { animation: spin 90s linear infinite; }
.tile img { width: 22px; height: 22px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin, .spin .tile, .core .swirl { animation: none !important; } }
.core { position: absolute; inset: 31%; border-radius: 50%; overflow: hidden; background:
  radial-gradient(circle at 30% 25%, rgba(255,255,255,.18), transparent 40%),
  conic-gradient(from 200deg, #0d0f14, #1b2230, #3a2a4a, #10151d, #2a3a48, #0d0f14);
  border: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 0 0 7px #0f1218, 0 0 0 8px rgba(255,255,255,.12), 0 0 80px rgba(143,179,255,.2); display: grid; place-items: center; }
.core img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.core .swirl { position: absolute; inset: -20%; background:
  radial-gradient(ellipse 60% 20% at 50% 60%, rgba(255,210,150,.35), transparent 70%),
  radial-gradient(ellipse 50% 14% at 40% 35%, rgba(140,180,255,.35), transparent 70%);
  filter: blur(6px); animation: spin 30s linear infinite; }
.core .ph { position: relative; text-align: center; }
.core .ph b { display: block; font-size: 44px; font-weight: 800; letter-spacing: .04em; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.core .ph span { display: block; margin-top: 2px; font: 500 9.5px JBM; letter-spacing: .18em; color: #aab; text-transform: uppercase; }

/* sections */
.sec-h { display: flex; align-items: baseline; gap: 8px; margin: 34px 0 14px; }
.sec-h h2 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.sec-h small { font: 500 12px JBM; color: var(--muted); }
.page-h { padding: 44px 0 22px; }
.page-h h1 { font-size: 40px; }
.page-h p { margin-top: 12px; color: var(--soft); max-width: 640px; line-height: 1.6; font-size: 15px; }
.bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.seg { display: flex; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { background: none; border: 0; color: var(--muted); font: 600 12px Inter; height: 28px; padding: 0 13px; border-radius: 999px; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.seg button[aria-pressed=true] { background: #232a36; color: var(--text); }
.seg .live { width: 6px; height: 6px; border-radius: 50%; background: var(--up); }
.search { margin-left: auto; display: flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; height: 36px; padding: 0 14px; width: 280px; color: var(--faint); }
.search input { background: none; border: 0; outline: 0; width: 100%; font-size: 12.5px; color: var(--text); }
.chips { display: flex; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 3px; flex-wrap: wrap; }
.chips button { display: flex; align-items: center; gap: 5px; background: none; border: 0; color: var(--muted); font: 600 11.5px JBM; height: 28px; padding: 0 9px; border-radius: 999px; cursor: pointer; }
.chips button[aria-pressed=true] { background: #232a36; color: var(--text); }
.chips img { width: 13px; height: 13px; }

.layout { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; padding-bottom: 80px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.empty { grid-column: 1 / -1; border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 40px 20px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.6; }
.empty .btn { margin-top: 14px; }

/* lab logo */
.lab { display: inline-grid; place-items: center; flex: none; }
.lab img { width: 100%; height: 100%; }
.lab.txt { border-radius: 4px; background: #333; font: 700 8px JBM; color: #ddd; }

/* coin card */
.coin { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; transition: border-color .15s, transform .15s; display: block; }
.coin:hover { border-color: transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--holo) border-box; transform: translateY(-2px); }
.coin .wm { position: absolute; right: -26px; bottom: -26px; width: 130px; height: 130px; opacity: .07; pointer-events: none; }
.c-top { display: flex; gap: 12px; align-items: center; min-width: 0; }
.c-top > div { min-width: 0; }
.c-img { width: 44px; height: 44px; border-radius: 10px; flex: none; display: grid; place-items: center; font: 800 14px Inter; color: #ddd; background: var(--panel-3); overflow: hidden; }
.c-img img { width: 100%; height: 100%; object-fit: cover; }
.c-top b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-top span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill-model { display: inline-flex; align-items: center; gap: 6px; background: #171b23; border: 1px solid #262c38; border-radius: 999px; padding: 4px 10px 4px 7px; font-size: 11.5px; font-weight: 600; max-width: 100%; }
.pill-model span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin .pill-model { margin-top: 12px; }
.c-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; margin-top: 14px; }
.c-stats small { display: block; font: 500 9.5px JBM; letter-spacing: .12em; color: var(--muted); }
.c-stats strong { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; font: 700 14.5px JBM; flex-wrap: wrap; }
.c-stats em { font: 500 11px JBM; font-style: normal; }
.curve { height: 4px; background: #1c212a; border-radius: 4px; margin-top: 14px; overflow: hidden; }
.curve i { display: block; height: 100%; background: linear-gradient(90deg, #8fb3ff, #fff 60%, #ffd59a); border-radius: 4px; }
.c-foot { display: flex; justify-content: space-between; margin-top: 8px; font: 500 10.5px JBM; color: var(--faint); }

/* side feed */
.side { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: sticky; top: 76px; }
.side-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.side-h b { font-size: 14px; }
.side-h a { font-size: 12px; color: var(--muted); }
.feed { list-style: none; }
.feed li { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 11px 0; border-top: 1px solid var(--line); }
.feed li:first-child { border-top: 0; }
.feed b { font-size: 13px; }
.feed .m { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); min-width: 0; }
.feed .m span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed .amt { font: 700 12.5px JBM; text-align: right; }
.feed .t { font: 500 10.5px JBM; color: var(--faint); text-align: right; }
.feed .t a:hover { color: var(--text); }
.feed-empty { color: var(--muted); font-size: 13px; padding: 10px 0; }

/* panels */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; overflow: hidden; }
.card h3 { font-size: 15px; font-weight: 700; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; margin-top: 18px; }
.kv strong { display: block; margin-top: 5px; font: 700 14px JBM; }
.big { display: flex; align-items: center; gap: 10px; margin-top: 10px; font: 700 34px JBM; letter-spacing: -.03em; }
.big .sol { width: 26px; height: 20px; }
.sub { margin-top: 4px; font: 500 12px JBM; color: var(--muted); }
.link-row { margin-top: 16px; font: 500 11.5px JBM; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.link-row a:hover { color: var(--text); }

/* coin page */
.coin-h { display: flex; gap: 18px; align-items: center; padding: 36px 0 22px; }
.coin-h .c-img { width: 72px; height: 72px; border-radius: 14px; font-size: 20px; }
.coin-h h1 { font-size: 34px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.coin-h h1 small { font: 600 12px Inter; letter-spacing: 0; background: var(--panel-3); border: 1px solid var(--line-2); color: var(--muted); padding: 4px 9px; border-radius: 999px; }
.coin-h .actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line-2); font: 500 11.5px JBM; color: var(--soft); cursor: pointer; }
.tag:hover { color: var(--text); border-color: var(--line-3); }
.coin-desc { color: var(--soft); font-size: 14px; line-height: 1.6; max-width: 820px; margin: -8px 0 22px; white-space: pre-wrap; overflow-wrap: anywhere; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card .wm { position: absolute; right: -30px; bottom: -30px; width: 150px; height: 150px; opacity: .06; pointer-events: none; }
.model-h { display: flex; gap: 12px; align-items: center; margin-top: 14px; }
.model-h .lab-box { width: 44px; height: 44px; border-radius: 50%; background: #131720; border: 1px solid #2a3140; display: grid; place-items: center; }
.model-h b { font-size: 16px; display: block; }
.model-h span { font-size: 12px; color: var(--muted); }
.coin-main { display: grid; grid-template-columns: 1fr 340px; gap: 14px; margin: 14px 0 80px; align-items: start; }

/* terminal */
.term { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; min-height: 520px; overflow: hidden; }
.term-h { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.term-h b { font-weight: 700; }
.term-h .muted { font-size: 12px; }
.status { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 600 11px JBM; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.status.on { color: var(--up); border-color: rgba(62,207,142,.35); }
.status.on i { background: var(--up); box-shadow: 0 0 8px var(--up); }
.status.off { color: var(--warn); border-color: rgba(242,193,78,.35); }
.status.off i { background: var(--warn); }
.log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 18px; max-height: 620px; font-size: 13.5px; line-height: 1.6; }
.msg .who { display: flex; align-items: center; gap: 7px; font: 600 11px JBM; color: var(--muted); margin-bottom: 5px; }
.msg .who time { color: var(--faint); font-weight: 500; }
.msg .body { white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.user .body { color: var(--text); background: #1a2030; border: 1px solid var(--line-2); padding: 9px 12px; border-radius: 12px; display: inline-block; max-width: 100%; }
.msg.si .body { color: var(--soft); font-family: JBM, monospace; font-size: 12.5px; }
.msg.si .who { color: var(--text); }
.msg .cost { margin-top: 5px; font: 500 10.5px JBM; color: var(--faint); }
.caret::after { content: '▍'; animation: blink 1s steps(1) infinite; color: var(--muted); }
@keyframes blink { 50% { opacity: 0; } }
.log-empty { margin: auto; text-align: center; color: var(--muted); font-size: 13px; max-width: 360px; }
.composer { border-top: 1px solid var(--line); padding: 12px; display: flex; gap: 8px; align-items: flex-end; }
.composer textarea { flex: 1; resize: none; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; line-height: 1.45; min-height: 42px; max-height: 160px; outline: 0; }
.composer textarea:focus { border-color: var(--line-3); }
.composer .btn { height: 42px; width: 42px; padding: 0; border-radius: 12px; }
.composer-note { padding: 0 14px 10px; font: 500 10.5px JBM; color: var(--faint); display: flex; justify-content: space-between; gap: 10px; }

/* tables */
.table-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; margin-bottom: 80px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font: 500 10.5px JBM; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; padding: 13px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-family: JBM, monospace; }
.model-cell { display: flex; align-items: center; gap: 10px; }
.model-cell b { font-weight: 600; }
.model-cell small { display: block; color: var(--faint); font: 500 11px JBM; }
tr.row-link { cursor: pointer; }
tr.row-link:hover td { background: #151922; }

/* launch */
.launch { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; padding-bottom: 80px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 14px; }
.step-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.step-h .n { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(180deg,#fff,#b7bfca); color: #0a0c10; display: grid; place-items: center; font: 700 11px JBM; }
.step-h h3 { font-size: 15px; }
.step-h .muted { margin-left: auto; font-size: 12px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mtile { display: flex; align-items: center; gap: 10px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px; cursor: pointer; text-align: left; min-width: 0; }
.mtile:hover { border-color: var(--line-3); }
.mtile[aria-pressed=true] { border-color: transparent; background: linear-gradient(#1a1f28, #1a1f28) padding-box, var(--holo) border-box; }
.mtile .lab-box { width: 32px; height: 32px; border-radius: 50%; background: #0f1218; display: grid; place-items: center; flex: none; }
.mtile b { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mtile small { display: block; font: 500 10.5px JBM; color: var(--muted); }
.mtile > span:last-child { min-width: 0; }
.picker { margin-top: 12px; }
.picker .search { width: 100%; margin: 0; }
.results { margin-top: 8px; max-height: 280px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; }
.results button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 12px; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; text-align: left; }
.results button:last-child { border-bottom: 0; }
.results button:hover, .results button[aria-pressed=true] { background: #171c25; }
.results b { font-size: 13px; font-weight: 600; }
.results small { margin-left: auto; font: 500 11px JBM; color: var(--muted); white-space: nowrap; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 500 10.5px JBM; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.input { background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 10px; height: 40px; padding: 0 12px; font-size: 13.5px; outline: 0; width: 100%; }
textarea.input { height: auto; padding: 10px 12px; resize: vertical; min-height: 84px; line-height: 1.5; }
.input:focus { border-color: var(--line-3); }
.hint { font-size: 11.5px; color: var(--faint); }
.drop { display: flex; gap: 14px; align-items: center; border: 1px dashed var(--line-3); border-radius: 12px; padding: 14px; cursor: pointer; }
.drop.drag { border-color: #fff; }
.drop .prev { width: 64px; height: 64px; border-radius: 12px; background: var(--panel-3); display: grid; place-items: center; overflow: hidden; flex: none; color: var(--muted); }
.drop .prev img { width: 100%; height: 100%; object-fit: cover; }
.drop b { font-size: 13px; }
.drop p { font-size: 12px; color: var(--muted); margin-top: 3px; }
.summary { position: sticky; top: 76px; }
.summary .rows { margin-top: 14px; display: grid; gap: 10px; font-size: 13px; }
.summary .rows div { display: flex; justify-content: space-between; gap: 12px; }
.summary .rows span:last-child { font-family: JBM, monospace; font-size: 12.5px; text-align: right; }
.split { display: flex; height: 8px; border-radius: 8px; overflow: hidden; margin-top: 16px; }
.split i:first-child { background: linear-gradient(90deg, #8fb3ff, #fff); }
.split i:last-child { background: #3a4250; }
.checklist { list-style: none; margin: 16px 0; display: grid; gap: 8px; font-size: 12.5px; color: var(--muted); }
.checklist li { display: flex; align-items: center; gap: 8px; }
.checklist li.ok { color: var(--text); }
.checklist li.ok .i { color: var(--up); }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.7); display: grid; place-items: center; z-index: 60; padding: 16px; }
.modal-box { background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; padding: 22px; width: 100%; max-width: 440px; }
.modal-box h3 { font-size: 18px; }
.modal-box > p { color: var(--muted); font-size: 13px; margin-top: 6px; }
.progress { list-style: none; margin: 18px 0; display: grid; gap: 10px; }
.progress li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.progress li .st { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-3); display: grid; place-items: center; font: 600 10.5px JBM; flex: none; }
.progress li small { display: block; font: 500 11px JBM; color: var(--faint); margin-top: 2px; overflow-wrap: anywhere; }
.progress li.active { color: var(--text); }
.progress li.active .st { border-color: #fff; }
.progress li.done { color: var(--text); }
.progress li.done .st { background: var(--up); border-color: var(--up); color: #0b2a1c; }
.progress li.error .st { background: var(--down); border-color: var(--down); color: #fff; }
.progress li.error small { color: var(--down); }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* docs */
.docs { display: grid; grid-template-columns: 200px 1fr; gap: 40px; padding-bottom: 80px; }
.toc { position: sticky; top: 84px; align-self: start; display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.toc a:hover { color: var(--text); }
.prose { max-width: 780px; }
.prose section { padding-top: 12px; margin-bottom: 36px; scroll-margin-top: 76px; }
.prose h2 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 12px; }
.prose h3 { font-size: 15px; margin: 18px 0 8px; }
.prose p, .prose li { color: var(--soft); font-size: 14.5px; line-height: 1.7; }
.prose p + p { margin-top: 10px; }
.prose ul, .prose ol { padding-left: 20px; display: grid; gap: 6px; margin-top: 8px; }
.prose code { font: 500 12.5px JBM; background: var(--panel-3); padding: 1px 6px; border-radius: 5px; }
.prose pre { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; overflow-x: auto; font: 500 12.5px/1.6 JBM; color: var(--soft); margin-top: 10px; }
.prose table { margin-top: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: block; overflow-x: auto; }
.prose td { white-space: normal; color: var(--soft); font-size: 13.5px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.trio .card p { font-size: 13px; margin-top: 6px; }
.method { display: inline-block; font: 700 10.5px JBM; padding: 3px 7px; border-radius: 6px; background: linear-gradient(180deg,#fff,#c3cad4); color: #0a0c10; margin-right: 8px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 32px; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot-brand p { color: var(--muted); font-size: 13px; margin-top: 8px; }
.foot-links { display: flex; gap: 18px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.foot-links a:hover { color: var(--text); }
.disclaimer { margin-top: 20px; color: var(--faint); font-size: 11.5px; line-height: 1.6; }

.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 20px); opacity: 0; background: #eef1f6; color: #0a0c10; padding: 10px 16px; border-radius: 12px; font-size: 13px; font-weight: 600; transition: all .2s; z-index: 80; pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--down); color: #fff; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .orbit { margin: 10px auto 0; max-width: 420px; }
  .layout, .coin-main, .launch { grid-template-columns: 1fr; }
  .side, .summary { position: static; }
  .grid, .cards3 { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .docs { grid-template-columns: 1fr; }
  .toc { display: none; }
}
@media (max-width: 760px) {
  .links { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #0d1015; border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 6px 16px 12px; }
  .links.open { display: flex; }
  .links a { padding: 11px 0; font-size: 15px; }
  .menu-toggle { display: block; }
  .nav-ca { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  h1 { font-size: 38px; }
  .page-h h1 { font-size: 30px; }
  .stats { gap: 22px 30px; }
  .grid, .cards3, .trio { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .fields { grid-template-columns: 1fr; }
  .search { width: 100%; margin-left: 0; }
  .coin-h h1 { font-size: 26px; }
  .orbit { max-width: 340px; }
  .tile { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
  .tile img { width: 18px; height: 18px; }
}


/* embassy: the assembly hall. Paper, ink, one blue, a little gold for what is signed. */
@font-face { font-family: Newsreader; src: url(/fonts/newsreader-latin.woff2) format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: Newsreader; src: url(/fonts/newsreader-latin-italic.woff2) format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }
:root {
  --bg: #f5f2ea; --panel: #fffdf8; --panel-2: #f0ece1; --panel-3: #e7e2d4; --line: #e1dccd; --line-2: #d0c9b6; --line-3: #b3ab95;
  --text: #14213d; --soft: #2f3c57; --muted: #697186; --faint: #9a9fac;
  --up: #1c8556; --down: #b93a34; --warn: #a56a12;
  --blue: #1f4bd0; --blue-soft: #e7edfb; --gold: #9c7623; --gold-soft: #f5edd6; --red-soft: #f9e6e3;
  --radius: 10px;
  --serif: Newsreader, 'Iowan Old Style', Palatino, Georgia, serif;
}
html { color-scheme: light; }
body { background: linear-gradient(180deg, #fbf9f3 0, var(--bg) 420px) no-repeat, var(--bg); }
h1, h2, h3, .brand { font-family: var(--serif); letter-spacing: -.015em; }
h1 { font-weight: 600; }
::selection { background: var(--blue); color: #fff; }

.nav { background: rgba(250,248,242,.88); border-bottom: 1px solid var(--line); }
.brand { font-size: 20px; font-weight: 650; }
.brand svg { width: 26px; height: 26px; color: var(--blue); }
.links a[aria-current] { color: var(--blue); }
.nav-ca { background: var(--panel); }
.btn { border-radius: 8px; }
.btn-w { background: var(--text); color: #fffdf8; box-shadow: none; }
.btn-w:hover:not(:disabled) { filter: none; background: #20315a; }
.btn-g { background: transparent; border: 1px solid var(--line-3); color: var(--text); }
.btn-g:hover:not(:disabled) { background: var(--panel-2); }
.btn-b { background: var(--blue); color: #fff; }
.btn-b:hover:not(:disabled) { background: #183da9; }
.seg button[aria-pressed=true], .chips button[aria-pressed=true] { background: var(--text); color: #fffdf8; }
.lab.txt { background: var(--panel-3); color: var(--soft); }
.c-img { color: var(--soft); border: 1px solid var(--line); }
.pill-model { background: var(--panel-2); border-color: var(--line-2); }
.curve { background: var(--panel-3); }
.curve i { background: var(--blue); }
.model-h .lab-box, .mtile .lab-box { background: var(--panel-2); border-color: var(--line-2); }
.status.on { border-color: rgba(28,133,86,.35); }
.status.off { border-color: rgba(165,106,18,.35); }
tr.row-link:hover td, .results button:hover, .results button[aria-pressed=true] { background: var(--panel-2); }
.step-h .n { background: var(--text); color: #fffdf8; }
.mtile[aria-pressed=true] { border-color: var(--blue); background: var(--blue-soft); }
.drop.drag { border-color: var(--blue); }
.split i:first-child { background: var(--blue); }
.split i:last-child { background: var(--line-3); }
.modal { background: rgba(20,33,61,.45); }
.progress li.active .st { border-color: var(--blue); }
.progress li.done .st { color: #fff; }
.method { background: var(--text); color: #fffdf8; }
.toast { background: var(--text); color: #fffdf8; }
.card, .step, .summary, .term, .modal-box { box-shadow: 0 1px 0 rgba(20,33,61,.03); }
.prose code, .prose pre { background: var(--panel-2); }
.sec-h h2 { font-size: 26px; font-weight: 600; }
.page-h h1 { font-weight: 600; }
.big { font-family: var(--serif); font-weight: 600; }
.empty { background: var(--panel); }

/* hero */
.hall { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 52px 0 34px; }
.kicker { font: 600 11px JBM, monospace; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.display { margin-top: 14px; font-size: 62px; line-height: 1; font-weight: 600; letter-spacing: -.03em; }
.display em { font-style: italic; color: var(--blue); }
.hall .lede { max-width: 560px; color: var(--soft); font-size: 16px; }
.seal-card { background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; padding: 22px 24px; position: relative; }
.seal-card::before { content: ''; position: absolute; inset: 6px; border: 1px solid var(--line); border-radius: 9px; pointer-events: none; }
.seal-card h3 { font-size: 13px; font-family: JBM, monospace; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.seal-rows { margin-top: 12px; display: grid; gap: 2px; }
.seal-rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line-2); }
.seal-rows div:last-child { border-bottom: 0; }
.seal-rows div > span { color: var(--muted); font-size: 13px; }
.seal-rows b { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.seal-rows b em { font: 500 11px JBM, monospace; color: var(--muted); font-style: normal; margin-left: 5px; }

/* the floor: minutes of a session */
.floor-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; padding-bottom: 60px; }
.minutes { background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.minutes-h { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.minutes-h h2 { font-size: 20px; font-weight: 600; }
.minutes-h small { color: var(--muted); font-size: 12.5px; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font: 600 10.5px JBM, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--up); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--up); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.lines { list-style: none; }
.line { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line .c-img { width: 40px; height: 40px; border-radius: 50%; }
.line-h { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.line-h a { font-weight: 700; font-size: 14px; }
.line-h a:hover { color: var(--blue); }
.line-h .who { font-size: 12px; color: var(--muted); }
.line-h time { margin-left: auto; font: 500 11px JBM, monospace; color: var(--faint); }
.line-t { margin-top: 5px; font-family: var(--serif); font-size: 18.5px; line-height: 1.42; color: var(--text); overflow-wrap: anywhere; }
.act { margin-top: 9px; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 6px; background: var(--blue-soft); color: var(--blue); }
.act.no { background: var(--panel-2); color: var(--muted); font-weight: 500; }
.act.break { background: var(--red-soft); color: var(--down); }
.tagline { font: 600 9.5px JBM, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); border: 1px solid var(--line-2); border-radius: 4px; padding: 1px 5px; }
.line.rec { grid-template-columns: 1fr; background: var(--gold-soft); padding: 11px 20px; }
.rec-in { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #5c4610; }
.rec-in b { font: 700 10px JBM, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); flex: none; }
.rec-in a { margin-left: auto; flex: none; font: 500 11px JBM, monospace; color: var(--gold); display: inline-flex; align-items: center; gap: 4px; }
.rec-in a:hover { text-decoration: underline; }
.line.rec.bad { background: var(--panel-2); }
.line.rec.bad .rec-in, .line.rec.bad .rec-in b { color: var(--muted); }
.lines-empty { padding: 44px 20px; text-align: center; color: var(--muted); font-family: var(--serif); font-size: 18px; }
.more-row { padding: 12px; text-align: center; border-top: 1px solid var(--line); }

/* side panels */
.panel { background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; padding: 16px 18px; }
.panel + .panel { margin-top: 16px; }
.panel h3 { font-size: 17px; font-weight: 600; display: flex; align-items: baseline; gap: 8px; }
.panel h3 small { font: 500 11.5px Inter, sans-serif; color: var(--muted); letter-spacing: 0; }
.panel h3 a { margin-left: auto; font: 500 12px Inter, sans-serif; color: var(--blue); letter-spacing: 0; }
.rows { list-style: none; margin-top: 8px; }
.rows li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.rows li:last-child { border-bottom: 0; }
.rows .c-img { width: 26px; height: 26px; border-radius: 50%; font-size: 9px; }
.rows .r { margin-left: auto; text-align: right; font-weight: 600; white-space: nowrap; }
.rows .r small { display: block; font-weight: 400; color: var(--muted); font-size: 11.5px; }
.rows .none { color: var(--muted); font-size: 13px; }
.pair { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; min-width: 0; }
.pair i { font-style: normal; color: var(--gold); }
.pair.off i { color: var(--down); }
.lamp { display: inline-flex; align-items: center; gap: 6px; font: 600 10px JBM, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lamp i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.lamp.on { color: var(--up); } .lamp.on i { background: var(--up); }

/* coins: one desk per coin */
.desks { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; padding-bottom: 60px; }
.desk { display: block; background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; padding: 16px 18px; transition: border-color .15s, transform .15s; }
.desk:hover { border-color: var(--blue); transform: translateY(-1px); }
.desk-top { display: flex; justify-content: space-between; align-items: center; }
.plate { font: 600 10px JBM, monospace; letter-spacing: .14em; color: var(--faint); }
.desk-coin { display: flex; align-items: center; gap: 11px; margin-top: 12px; }
.desk-coin .c-img { border-radius: 50%; }
.desk-coin b { display: block; font-size: 16px; }
.desk-coin small { color: var(--muted); font-size: 12.5px; }
.desk-t { margin-top: 14px; display: flex; align-items: baseline; gap: 8px; }
.desk-t small { font: 600 10px JBM, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.desk-t b { font-family: var(--serif); font-size: 30px; font-weight: 600; margin-left: auto; }
.desk-t em { font: 500 11px JBM, monospace; font-style: normal; color: var(--muted); }
.desk-envoy { margin-top: 10px; display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--soft); }
.holds { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; min-height: 22px; }
.hold { font: 600 11px JBM, monospace; padding: 3px 7px; border-radius: 5px; background: var(--gold-soft); color: #6b5213; }
.hold.none { background: transparent; color: var(--faint); padding-left: 0; font-weight: 500; }
.desk-foot { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }

/* pacts */
.pacts { display: grid; gap: 14px; padding-bottom: 28px; }
.pact { background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; padding: 16px 20px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; }
.pact.offer { border-style: dashed; }
.pact.over { opacity: .8; }
.pact-side { display: flex; align-items: center; gap: 11px; min-width: 0; }
.pact-side.r { flex-direction: row-reverse; text-align: right; }
.pact-side .c-img { border-radius: 50%; }
.pact-side b { display: block; font-size: 15px; }
.pact-side small { display: block; color: var(--muted); font-size: 12px; }
.pact-side small a { color: var(--blue); }
.pact-mid { text-align: center; }
.pact-mid b { display: block; font-family: var(--serif); font-size: 24px; font-weight: 600; }
.pact-mid small { font: 600 10px JBM, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.pact.offer .pact-mid small { color: var(--blue); }
.pact.over .pact-mid small { color: var(--down); }
.pact-mid time { display: block; margin-top: 2px; font-size: 11.5px; color: var(--muted); }

/* coin page */
.seat-tag { font: 600 10px JBM, monospace; letter-spacing: .14em; color: var(--faint); vertical-align: middle; margin-left: 6px; }
.coin-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; margin-top: 22px; padding-bottom: 60px; }
.advise { border-top: 1px solid var(--line); padding: 14px 20px 16px; background: var(--panel-2); }
.advise label { font: 600 10.5px JBM, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.advise-row { display: flex; gap: 10px; margin-top: 8px; }
.advise textarea { flex: 1; resize: none; background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 12px; font-size: 14px; min-height: 42px; outline: none; }
.advise textarea:focus { border-color: var(--blue); }
.advise-note { margin-top: 8px; display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); }
.advise-note span:last-child { white-space: nowrap; }
.said { list-style: none; margin-top: 8px; }
.said li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.said li:last-child { border-bottom: 0; }
.said q { display: block; font-family: var(--serif); font-size: 15.5px; quotes: '“' '”'; overflow-wrap: anywhere; }
.said small { color: var(--muted); font-size: 11.5px; }
.rules-list { margin-top: 8px; display: grid; gap: 8px; font-size: 13px; color: var(--soft); }
.rules-list b { color: var(--text); }

@media (max-width: 980px) {
  .hall { grid-template-columns: 1fr; padding-top: 34px; gap: 24px; }
  .display { font-size: 44px; }
  .floor-grid, .coin-cols { grid-template-columns: 1fr; }
  .links { background: var(--panel) !important; }
}
@media (max-width: 600px) {
  .display { font-size: 36px; }
  .line { padding: 14px; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; }
  .line .c-img { width: 34px; height: 34px; }
  .line-t { font-size: 17px; }
  .line.rec { padding: 10px 14px; }
  .rec-in { flex-wrap: wrap; }
  .pact { grid-template-columns: 1fr; text-align: left; gap: 10px; }
  .pact-side.r { flex-direction: row; text-align: left; }
  .pact-mid { text-align: left; }
  .advise-row { flex-direction: column; }
  .minutes-h, .advise { padding-left: 14px; padding-right: 14px; }
}
