:root {
  --bg: #05080d;
  --panel: rgba(8, 12, 19, .92);
  --panel-solid: #080c13;
  --panel-2: #0e1520;
  --text: #e8edf2;
  --text-2: rgba(232, 237, 242, .68);
  --text-3: rgba(232, 237, 242, .42);
  --line: rgba(232, 237, 242, .09);
  --line-2: rgba(232, 237, 242, .19);
  --accent: #ffb224;
  --accent-soft: rgba(255, 178, 36, .14);
  --neg: #5b8def;
  --neg-soft: rgba(91, 141, 239, .16);
  --radius: 6px;
  --gutter: clamp(16px, 4vw, 56px);
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: transparent;
  color: var(--text);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2 { margin: 0; font-family: var(--mono); }
button { font: inherit; }

/* the 3D layer; CSS fallback underneath when WebGL is off */
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.4s ease-out; pointer-events: none; }
#bg.ready { opacity: 1; }
html.no-webgl body, html:not(.js) body {
  background:
    linear-gradient(180deg, transparent 55%, rgba(255, 178, 36, .05) 100%),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(232, 237, 242, .035) 46px 48px),
    radial-gradient(1100px 520px at 70% 100%, rgba(91, 141, 239, .08), transparent 70%),
    var(--bg);
}

/* header */
.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 28px;
  height: 60px; padding: 0 var(--gutter);
  background: rgba(5, 8, 13, .96); border-bottom: 1px solid var(--line);
}
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 15px/1 var(--mono); letter-spacing: -.01em; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--text-2); font: 400 12.5px/1 var(--mono); transition: color .18s ease-out; }
.nav a:hover { color: var(--text); }
.top-actions { display: flex; gap: 8px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border-radius: var(--radius);
  font: 500 13px/1 var(--mono); text-decoration: none; white-space: nowrap; cursor: pointer;
  background: none; color: var(--text);
  transition: opacity .18s ease-out, border-color .18s ease-out, color .18s ease-out;
}
.btn-primary { background: var(--accent); color: #0a0a08; border: 1px solid var(--accent); }
.btn-primary:hover { opacity: .88; }
.btn-secondary { border: 1px solid var(--line-2); }
.btn-secondary:hover { border-color: var(--text); }
.btn-icon { min-width: 48px; padding: 0; }
.btn-small { min-height: 38px; padding: 0 14px; font-size: 12px; }
.top-actions .btn-icon { min-height: 38px; min-width: 38px; }
.btn[aria-disabled="true"] { background: transparent; border: 1px solid var(--line-2); color: var(--text-2); cursor: default; opacity: 1; }
.link { color: var(--text-2); font: 12px var(--mono); align-self: center; padding: 0 4px; }

/* hero: copy and agent on the left, the live map on the right */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.62fr);
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas: "copy board" "agent board";
  gap: 22px 32px;
  min-height: calc(100vh - 60px); min-height: calc(100svh - 60px);
  padding: 26px var(--gutter) 28px;
  scroll-margin-top: 60px;
}
.hero-copy { grid-area: copy; min-width: 0; text-shadow: 0 0 14px rgba(5, 8, 13, .95), 0 0 3px rgba(5, 8, 13, .9); }
.hero-copy .token { text-shadow: none; }
.board { grid-area: board; }
.agent { grid-area: agent; }

.status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 18px; font: 400 11.5px/1 var(--mono); color: var(--text); }
.status .dim { color: var(--text-3); }
.led { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); flex: none; }
.js .status .led { animation: blink 2.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: .35; } }
h1 {
  font-size: clamp(30px, 2.95vw, 46px); line-height: 1.04; letter-spacing: -.035em;
  font-weight: 800; text-wrap: balance; max-width: 13em;
}
.ticker { margin: 18px 0 8px; font: 600 12px/1 var(--mono); color: var(--accent); }
.lede { margin: 0 0 18px; font-size: 15.5px; color: var(--text-2); max-width: 34em; }

.token { display: flex; gap: 8px; align-items: stretch; }
.ca {
  display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0;
  min-height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--panel-solid); color: var(--text); font: inherit; cursor: pointer; text-align: left;
}
.ca:not(.is-set) { cursor: default; }
.ca-label { font: 11px var(--mono); color: var(--text-3); }
.ca-value { flex: 1; min-width: 0; font: 13px/1 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-copy { font: 12px var(--mono); color: var(--text-2); }
.ca:not(.is-set) .ca-copy { display: none; }
.ca.is-copied .ca-copy { color: var(--accent); }

/* the board: live map */
.board {
  position: relative; min-width: 0; display: flex; flex-direction: column;
  min-height: 520px; max-height: 860px;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .95);
}
.board-head { display: flex; align-items: center; gap: 16px; padding: 8px 10px 8px 14px; border-bottom: 1px solid var(--line); min-height: 50px; }
.board-title { font: 600 12.5px/1 var(--mono); white-space: nowrap; }
.board-title .dim { font-weight: 400; color: var(--text-3); }
.modes { display: flex; gap: 4px; }
.modes button {
  min-height: 34px; padding: 0 12px; border-radius: var(--radius);
  border: 1px solid transparent; background: none; color: var(--text-2);
  font: 500 12px/1 var(--mono); cursor: pointer; transition: color .18s ease-out, border-color .18s ease-out;
}
.modes button:hover { color: var(--text); }
.modes button[aria-pressed="true"] { border-color: var(--line-2); background: var(--panel-2); color: var(--text); }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font: 400 11px/1.3 var(--mono); color: var(--text-2); min-width: 0; text-align: right; }
.live-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-led { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--text-3); }
.live[data-state="live"] .live-led { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.js .live[data-state="live"] .live-led { animation: blink 2s steps(1) infinite; }
.live[data-state="reconnecting"] .live-led, .live[data-state="down"] .live-led { background: none; box-shadow: inset 0 0 0 1.5px var(--accent); }
.live[data-state="reconnecting"] .live-text, .live[data-state="down"] .live-text { color: var(--accent); }

.map { position: relative; flex: 1; min-height: 0; margin: 8px; overflow: hidden; border-radius: 4px; }
.cells { position: absolute; inset: 0; }
.cell {
  position: absolute; overflow: hidden; border-radius: 2px;
  background: #142030; color: var(--text);
  padding: 6px 7px; cursor: default;
  font-family: var(--mono); line-height: 1.15;
  transition: left .5s ease-out, top .5s ease-out, width .5s ease-out, height .5s ease-out, background-color .45s ease-out;
}
.cell.dark { color: #05080d; }
.cell .c-name { display: block; font-weight: 700; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.cell .c-val, .cell .c-px { display: block; font-size: 10px; font-weight: 500; opacity: .82; white-space: nowrap; }
.cell .c-px { opacity: .66; font-weight: 400; }
.cell.sz-0 { padding: 0; }
.cell.sz-0 > span, .cell.sz-1 .c-val, .cell.sz-1 .c-px, .cell.sz-2 .c-px { display: none; }
.cell.sz-1 { padding: 3px 4px; }
.cell.sz-1 .c-name { font-size: 9.5px; font-weight: 600; }
.cell.sz-3 { padding: 9px 10px; }
.cell.sz-3 .c-name { font-size: 14px; }
.cell.sz-3 .c-val { font-size: 12px; margin-top: 2px; }
.cell.sz-3 .c-px { font-size: 11px; margin-top: 2px; }
.cell.sz-4 { padding: 12px 14px; }
.cell.sz-4 .c-name { font-size: clamp(16px, 1.6vw, 24px); letter-spacing: -.02em; }
.cell.sz-4 .c-val { font-size: 13px; margin-top: 4px; }
.cell.sz-4 .c-px { font-size: 12px; margin-top: 3px; }
.cell .fl { position: absolute; inset: 0; border-radius: 2px; pointer-events: none; opacity: 0; box-shadow: inset 0 0 0 1px currentColor; }
.cell .fl.up { color: var(--accent); background: rgba(255, 178, 36, .16); }
.cell .fl.dn { color: var(--neg); background: rgba(91, 141, 239, .18); }
.cell.hov { box-shadow: inset 0 0 0 1px rgba(232, 237, 242, .75); }
.cell.skel { background: rgba(232, 237, 242, .045); transition: none; }
.js .cell.skel { animation: skel 2.2s ease-in-out infinite; }
@keyframes skel { 50% { background: rgba(232, 237, 242, .075); } }

.pick {
  position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; z-index: 2;
  border-radius: 3px; box-shadow: 0 0 0 2px var(--text), 0 0 0 5px rgba(5, 8, 13, .85);
  transition: left .45s cubic-bezier(.2, .7, .2, 1), top .45s cubic-bezier(.2, .7, .2, 1), width .45s cubic-bezier(.2, .7, .2, 1), height .45s cubic-bezier(.2, .7, .2, 1);
}
.pick-tag {
  position: absolute; left: 0; bottom: calc(100% + 8px); white-space: nowrap;
  padding: 5px 8px; border-radius: 4px; background: #05080d; border: 1px solid var(--accent);
  font: 600 11px/1 var(--mono); color: var(--text);
}
.pick.below .pick-tag { bottom: auto; top: calc(100% + 8px); }
.pick.right .pick-tag { left: auto; right: 0; }
.pick.inside .pick-tag { top: auto; bottom: 8px; left: 8px; right: auto; }
.pick-tag b { color: var(--accent); font-weight: 700; }

.board-foot { display: flex; align-items: center; gap: 18px; padding: 0 14px 10px; min-height: 40px; }
.readout { flex: 1; min-width: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; font: 400 12px/1.45 var(--mono); color: var(--text); }
.readout b { font-weight: 700; }
.readout .dim { color: var(--text-3); }
.readout .up { color: var(--accent); }
.readout .dn { color: var(--neg); }
.readout .sep { color: var(--text-3); padding: 0 6px; }
.readout .seg { white-space: nowrap; }
.lg-note:not(:empty) { margin-right: 2px; color: var(--text-2); }
.board-ask { display: none; }
.board-answer { margin: 0; font-size: 13.5px; line-height: 1.42; height: calc(1.42em * 5); overflow: hidden; color: var(--text); }
.board-answer b { color: var(--accent); font-weight: 600; }
.board-answer .dim { font: 400 11.5px/1.5 var(--mono); color: var(--text-3); }
.board-answer .warn { font: 400 12px/1.5 var(--mono); color: var(--accent); }
.legend { display: flex; align-items: center; gap: 8px; font: 400 10.5px/1 var(--mono); color: var(--text-3); white-space: nowrap; }
.ramp { display: block; width: 110px; height: 6px; border-radius: 1px; background: linear-gradient(90deg, #5b8def, #223a6e 34%, #16212f 50%, #6a430c 66%, #ffb224); }

/* the agent console */
.agent {
  min-width: 0; display: flex; flex-direction: column; align-self: stretch;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px;
}
.agent-head { display: flex; align-items: center; gap: 9px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.agent-head .led { background: var(--text-3); box-shadow: none; transition: background .2s ease-out, box-shadow .2s ease-out; }
.agent.busy .agent-head .led { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.agent-name { font: 700 13px/1 var(--mono); }
.agent-sub { margin-left: auto; font: 400 10.5px/1 var(--mono); color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat {
  flex: 1; min-height: 196px; overflow: hidden; padding: 14px;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 9px;
}
.chat .sys { margin: 0; font: 400 12px/1.5 var(--mono); color: var(--text-3); }
.chat .sys.warn { color: var(--accent); }
.msg p { margin: 0; font-size: 14.5px; line-height: 1.45; }
.msg.user { align-self: flex-end; max-width: 88%; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px 10px 2px 10px; padding: 8px 12px; }
.msg.bot p { color: var(--text); }
.msg.bot b { color: var(--accent); font-weight: 600; }
.call { display: flex; flex-wrap: wrap; gap: 2px 8px; font: 400 11px/1.45 var(--mono); color: var(--text-3); padding: 1px 0 1px 10px; border-left: 2px solid var(--line-2); transition: border-color .2s ease-out; }
.call .fn { color: var(--text-2); }
.call .ret { color: var(--text); }
.call .ret:empty { display: none; }
.call.run { border-left-color: var(--accent); }
.call.run .fn { color: var(--text); }
.caret::after { content: ""; display: inline-block; width: 7px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--accent); }

.asks { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--line); }
.asks button {
  min-height: 38px; padding: 0 12px; border-radius: var(--radius);
  border: 1px solid var(--line-2); background: none; color: var(--text);
  font: 500 12px/1 var(--mono); cursor: pointer; transition: border-color .18s ease-out, color .18s ease-out, background .18s ease-out;
}
.asks button:hover { border-color: var(--text); }
.asks button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.asks button:disabled { opacity: .45; cursor: default; }
.tape { margin: 0; padding: 9px 14px 11px; border-top: 1px solid var(--line); font: 400 10.5px/1.4 var(--mono); color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tape .fn { color: var(--text-2); }
.tape .b { color: var(--accent); }
.tape .s { color: var(--neg); }
.tape .t { color: var(--text-2); }

/* the landscape moment */
.land { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 0 var(--gutter); }
.land-copy { max-width: 520px; }
.land-line { margin: 0 0 14px; font: 600 clamp(22px, 2.4vw, 34px)/1.15 var(--mono); letter-spacing: -.03em; text-wrap: balance; }
.land-now { margin: 0; font: 400 13px/1.5 var(--mono); color: var(--text-2); }
.land-now b { color: var(--accent); font-weight: 600; }

/* scroll beats over the 3D layer */
.beats { padding: 0 var(--gutter); }
.beat { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; max-width: min(44%, 620px); }
.kicker { margin: 0 0 14px; font: 500 11.5px/1 var(--mono); color: var(--accent); }
.beat-line { margin: 0; font: 700 clamp(28px, 4.2vw, 60px)/1.06 var(--mono); letter-spacing: -.045em; text-wrap: balance; }

/* sections */
.tools, .connect { position: relative; padding: clamp(72px, 10vw, 128px) var(--gutter) 0; scroll-margin-top: 60px; }
.section-head { max-width: 580px; }
h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.02; letter-spacing: -.04em; margin-bottom: 16px; font-weight: 700; }
.section-head > p:not(.kicker) { margin: 0; color: var(--text-2); font-size: 16px; }

table { width: 100%; border-collapse: collapse; margin-top: 36px; background: rgba(5, 8, 13, .84); }
th { text-align: left; font: 400 10.5px/1 var(--mono); color: var(--text-3); padding: 0 16px 12px 0; }
td { padding: 16px 16px 16px 0; border-top: 1px solid var(--line); vertical-align: top; font-size: 15px; }
td.n { font: 400 11px/1.9 var(--mono); color: var(--text-3); width: 48px; }
td.t { font: 600 12.5px/1.75 var(--mono); white-space: nowrap; }
td.s { font: 500 11px/1.9 var(--mono); white-space: nowrap; color: var(--text); }
td.s::before {
  content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 9px; vertical-align: -1px;
  background:
    linear-gradient(var(--accent), var(--accent)) 0 100% / 2px 45% no-repeat,
    linear-gradient(var(--accent), var(--accent)) 4px 100% / 2px 100% no-repeat,
    linear-gradient(var(--accent), var(--accent)) 8px 100% / 2px 70% no-repeat;
}
td.s.wait { color: var(--text-3); font-weight: 400; }
td.s.wait::before { background: linear-gradient(var(--text-3), var(--text-3)) 0 100% / 10px 1px no-repeat; }

.try { margin-top: 26px; padding: 18px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px; }
.try-label { display: block; margin-bottom: 12px; font: 400 12px/1 var(--mono); color: var(--text-2); }
.try-label .fn, .fn { color: var(--text); font-family: var(--mono); }
.try-row { display: flex; gap: 8px; }
.try input {
  flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border-radius: var(--radius);
  border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: 400 13px var(--mono);
}
.try input:focus { outline: none; border-color: var(--accent); }
.try .btn { min-height: 44px; font-size: 12px; }
.try-out { margin: 14px 0 0; font: 400 12px/1.7 var(--mono); color: var(--text-2); white-space: pre-wrap; word-break: break-word; }
.try-out .up { color: var(--accent); }
.try-out .dn { color: var(--neg); }
.try-out b { color: var(--text); font-weight: 600; }

.connect { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: start; }
.rules { margin: 28px 0 0; padding: 0; list-style: none; }
.rules li { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; }
.rules .ix { font: 11px var(--mono); color: var(--text-3); padding-top: 3px; }
.code-wrap { background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.code-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--line); font: 400 11px var(--mono); color: var(--text-3); }
.copy-code { min-height: 32px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--radius); background: none; color: var(--text); font: 500 11px var(--mono); cursor: pointer; }
.copy-code:hover { border-color: var(--text); }
.code { margin: 0; padding: 18px 20px; font: 400 12px/1.75 var(--mono); color: var(--text-3); overflow-x: auto; }
.code .k { color: var(--text); }
.code .v { color: var(--accent); }

.foot { padding: clamp(80px, 12vw, 140px) var(--gutter) 40px; }
.ribbon { display: flex; gap: 1px; height: 4px; background: var(--line); }
.ribbon i { display: block; min-width: 1px; height: 100%; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; }
.mark-small { font: 700 13px var(--mono); }
.foot-links { display: flex; gap: 20px; }
.foot-links a { font: 400 12px var(--mono); color: var(--text-2); text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.foot p { margin: 16px 0 0; font: 400 11px/1.6 var(--mono); color: var(--text-3); }

/* reveals */
.js .hero > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) backwards; }
.js .board { animation-delay: .08s; }
.js .agent { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease-out, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* tablet: stack copy, map, agent */
@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "copy" "board" "agent"; }
  .hero-copy { max-width: 640px; }
  h1 { font-size: clamp(30px, 5.4vw, 46px); }
  .board { min-height: 0; height: min(64svh, 560px); }
  .chat { flex: none; height: 270px; }
  .connect { grid-template-columns: minmax(0, 1fr); }
}

/* phone */
@media (max-width: 760px) {
  .top { gap: 12px; height: 56px; padding-right: 10px; }
  .nav { display: none; }
  .top-actions { margin-left: auto; }
  .top-actions .btn-icon { min-height: 44px; min-width: 44px; }
  .hide-phone { display: none; }
  .hero { padding-top: 20px; gap: 14px; min-height: 0; }
  .status { margin-bottom: 12px; font-size: 11px; }
  h1 { font-size: clamp(28px, 8.4vw, 36px); max-width: none; }
  .ticker { margin: 12px 0 6px; }
  .lede { font-size: 14.5px; margin-bottom: 0; }
  .token {
    position: fixed; z-index: 20; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    padding: 6px; gap: 6px; background: rgba(5, 8, 13, .96); border: 1px solid var(--line-2); border-radius: 10px;
  }
  .token .ca, .token .btn { min-height: 46px; }
  .token .chart { display: none; }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .board { height: auto; min-height: 0; max-height: none; }
  .map { flex: none; height: clamp(250px, 36svh, 310px); }
  .board-ask { display: block; padding: 0 12px 12px; border-top: 1px solid var(--line); }
  .board-ask .asks { padding: 10px 0; border-top: 0; }
  .board-head { flex-wrap: wrap; gap: 8px 10px; padding: 8px 8px 8px 12px; }
  .board-title .dim { display: none; }
  .modes { margin-left: auto; }
  .modes button { min-height: 36px; padding: 0 10px; }
  .live { order: 3; flex-basis: 100%; margin-left: 0; text-align: left; }
  .map { margin: 6px; }
  .board-foot { flex-direction: column; align-items: stretch; gap: 8px; padding: 0 12px 10px; }
  .readout { font-size: 11.5px; min-height: 34px; }
  .legend { justify-content: flex-start; }
  .chat { flex: none; min-height: 0; height: 300px; padding: 12px; }
  .msg p { font-size: 14px; }
  .asks { padding: 10px; }
  .asks button { flex: 1 1 auto; min-height: 44px; padding: 0 8px; font-size: 11.5px; }
  .land { align-items: flex-start; padding-top: 18svh; }
  .beat { max-width: none; justify-content: flex-start; padding-top: 14svh; }
  table, thead, tbody, tr, td, th { display: block; }
  thead { display: none; }
  tr { border-top: 1px solid var(--line); padding: 14px 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 12px; }
  td { border: 0; padding: 0; }
  td.n { width: auto; grid-column: 1; grid-row: 1; }
  td.t { grid-column: 2; grid-row: 1; }
  td.s { grid-column: 3; grid-row: 1; }
  td:nth-child(3) { grid-column: 1 / -1; color: var(--text-2); font-size: 14px; }
  .try { padding: 14px; }
  .try-row { flex-wrap: wrap; }
  .try input { flex-basis: 100%; }
  .try .btn { flex: 1; }
  .code { font-size: 11px; padding: 16px; }
  .foot-row { flex-wrap: wrap; }
  .foot-links { gap: 4px; }
  .foot-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
