/* Why It Moved: a cream bento of rounded, black-ruled cards, ticket stubs with perforations and barcodes, black ink and one orange accent. Light only. */
:root {
  --bg: #e6dfd2;
  --sheet: #fbf9f4;
  --card: #fffdf9;
  --tan: #ebe3d4;
  --ink: #141311;
  --muted: #5a554c;
  --orange: #ff5b1a;      /* fills, always with ink text */
  --orange-ink: #b8400b;  /* orange as text or lines on cream */
  --err: #9c2a0a;
  --line: 1.5px solid var(--ink);
  --r: 22px;
  --notch: var(--sheet);
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  font-feature-settings: 'ss01', 'tnum';
  padding: 28px;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--orange-ink); }
h1, h2, h3, .h3 { font-weight: 400; letter-spacing: -0.025em; margin: 0; line-height: 1.08; }
p { margin: 0; }
code { font: 500 0.86em/1 var(--mono); background: var(--tan); padding: 2px 6px; border-radius: 6px; white-space: nowrap; }
b, strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--orange-ink); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--ink); color: var(--sheet); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; color: var(--sheet); }
.sm { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.muted { color: var(--muted); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dia { color: var(--orange-ink); }
.dia.big { color: var(--orange); font-size: 20px; line-height: 1; -webkit-text-stroke: 1px var(--ink); }
.label { display: block; font: 500 11.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }

.sheet {
  max-width: 1240px;
  margin: 0 auto;
  background: var(--sheet);
  border-radius: 30px;
  padding: 22px 40px 36px;
  min-height: calc(100vh - 56px);
}

/* ------------------------------------------------------------------ nav: one outlined capsule with hairline rules */
.top { position: sticky; top: 10px; z-index: 5; }
.nav {
  display: flex; align-items: center; gap: 18px;
  border: var(--line); border-radius: 999px; background: color-mix(in srgb, var(--sheet) 92%, transparent);
  backdrop-filter: blur(6px);
  padding: 6px 6px 6px 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.rule { flex: 1; height: 1.5px; background: var(--ink); min-width: 20px; }
.navlinks { display: flex; gap: 6px; }
.navlinks a, .navtext { text-decoration: none; font-size: 14.5px; padding: 9px 10px; border-radius: 999px; min-height: 40px; display: inline-flex; align-items: center; }
.navlinks a:hover, .navtext:hover { background: var(--tan); color: var(--ink); }

/* ------------------------------------------------------------------ buttons and tags */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border: var(--line); border-radius: 999px;
  background: var(--card); color: var(--ink);
  font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s, transform .15s;
}
.btn:hover { background: var(--tan); color: var(--ink); }
.btn.primary { background: var(--ink); color: var(--sheet); }
.btn.primary:hover { background: #34312b; color: var(--sheet); }
.btn.accent { background: var(--orange); color: var(--ink); }
.btn.accent:hover { background: #ff7a45; }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn.big { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.tag { display: inline-flex; align-items: center; border: var(--line); border-radius: 999px; padding: 3px 10px; background: var(--orange); font: 500 12.5px/1.2 var(--mono); white-space: nowrap; }
.tag.outline { background: transparent; }

/* ------------------------------------------------------------------ hero: bento on the left, words on the right */
.hero { display: grid; grid-template-columns: minmax(0, 510px) minmax(0, 1fr); gap: 48px; margin-top: 30px; align-items: start; }
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bcol { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card { background: var(--card); border: var(--line); border-radius: var(--r); padding: 18px; position: relative; min-width: 0; }
.card.tan { background: var(--tan); }
.join-top { padding-bottom: 36px; }
.join-bottom { margin-top: -36px; }

.count { display: flex; align-items: flex-start; font-size: 46px; line-height: 1; letter-spacing: -0.03em; }
.count b { font-weight: 400; }
.count .unit { font-size: 30px; }
.count-card .sm { margin-top: 10px; max-width: 18ch; color: var(--ink); }
.round { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: var(--line); background: var(--orange); display: grid; place-items: center; }
.round svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.round:hover { background: #ff7a45; }
.art-card { padding: 0; overflow: hidden; background: #dcd8d1; height: 158px; }
.art-card img { width: 100%; height: 100%; object-fit: cover; }

.lead-card .h3 { font-size: 21px; max-width: 12ch; }
.lead-card .row { align-items: flex-start; }
.lead-card > .sm { margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lead-sym { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.lead-sym b { font-weight: 500; font-size: 26px; letter-spacing: -0.02em; }
.stub-card { padding: 0; }
.stub-dates { display: flex; align-items: center; gap: 10px; padding: 14px 18px 12px; border-bottom: var(--line); font: 500 13px/1 var(--mono); }
.stub-dates .dash { flex: 1; height: 1.5px; background: var(--ink); }
.stub-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 14px 18px 16px; }
.stub-time b { display: block; font-weight: 400; font-size: 38px; line-height: 1; letter-spacing: -0.03em; }
.stub-time span { font-size: 12.5px; color: var(--muted); }
.stub-bar { width: 96px; flex: none; }
.stub-bar .barcode { width: 96px; height: 44px; }

.pillbox { display: flex; align-items: center; gap: 10px; border: var(--line); border-radius: 999px; padding: 10px 16px; font-size: 14px; background: var(--card); }
.pillbox .dias { color: var(--orange); -webkit-text-stroke: 1px var(--ink); letter-spacing: 2px; font-size: 15px; }
.src-card .h3 { font-size: 26px; margin-top: 12px; }
.src-card .sm { margin-top: 6px; }
.avatars { display: flex; }
.avatars span {
  width: 38px; height: 38px; border-radius: 50%; border: var(--line); margin-right: -9px;
  display: grid; place-items: center; font: 600 14px/1 var(--mono); text-transform: uppercase;
  background: var(--card);
}
.avatars span:nth-child(3n+1) { background: var(--ink); color: var(--sheet); }
.avatars span:nth-child(3n+2) { background: var(--orange); }
.circle-card { display: block; text-decoration: none; color: inherit; }
.circle-card:hover { color: inherit; background: #fff; }
.circle { width: 150px; height: 150px; margin: 12px auto 14px; border-radius: 50%; overflow: hidden; border: var(--line); background: var(--orange); }
.circle img { width: 100%; height: 100%; object-fit: cover; }
.circle-card .h3 { display: block; font-size: 26px; }
.circle-card .sm { margin-top: 6px; }

.hero-copy { padding-top: 12px; min-width: 0; }
.eyebrow { font: 500 12.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
h1 { font-size: clamp(42px, 5.4vw, 70px); line-height: 1.02; letter-spacing: -0.035em; max-width: 11ch; }
.lede { margin-top: 20px; font-size: 16.5px; color: var(--muted); max-width: 54ch; }
.ask { margin-top: 26px; }
.ask-row { display: flex; align-items: center; }
.ask-row input {
  flex: 1; min-width: 0; height: 54px; padding: 0 22px;
  border: var(--line); border-radius: 999px; background: var(--card);
  font: 500 17px/1 var(--mono); color: var(--ink); text-transform: uppercase;
}
.ask-row input::placeholder { color: #6b665c; text-transform: none; font-family: var(--sans); font-weight: 400; }
.ask-row .link { width: 14px; height: 12px; background: var(--ink); flex: none; }
.hint { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { min-height: 40px; padding: 0 14px; border: var(--line); border-radius: 999px; background: transparent; font: 500 13.5px/1 var(--mono); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.chip:hover { background: var(--tan); }
.chip .d { font-size: 12px; }
.status { margin-top: 12px; font-size: 14.5px; min-height: 1.4em; color: var(--muted); }
.status:empty { margin: 0; min-height: 0; }
.status.good { color: var(--ink); }
.status.good::before { content: '◆ '; color: var(--orange-ink); }
.status.err { color: var(--err); }
.status.busy { color: var(--ink); }
.scan { display: block; height: 4px; margin-top: 10px; border-radius: 4px; max-width: 320px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 16px); background-size: 32px 4px;
  animation: scan .7s linear infinite; }
@keyframes scan { to { background-position: 32px 0; } }

.duo { display: grid; grid-template-columns: 1fr 1fr; margin-top: 30px; }
.duo .card { padding: 18px 20px 20px; }
.duo-a { padding-right: 40px !important; }
.duo-b { margin-left: -22px; }
.duo-n { display: block; font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: -0.03em; margin: 16px 0 8px; }

/* ------------------------------------------------------------------ live numbers */
.stats { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 44px; border: var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
.stat { padding: 16px 18px; border-left: 1.5px dashed var(--ink); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-weight: 400; font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); }

/* ------------------------------------------------------------------ sections */
.block { margin-top: 84px; scroll-margin-top: 90px; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 26px; }
.head h2, .answer-copy h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.04; }
.sub { font-size: 15.5px; color: var(--muted); max-width: 60ch; }
.banner { border: 1.5px dashed var(--ink); border-radius: 14px; padding: 10px 14px; background: var(--tan); font-size: 14px; margin-bottom: 14px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 22px; font-size: 15px; }
.ticks li::before { content: '◆'; position: absolute; left: 0; top: 1px; color: var(--orange-ink); font-size: 13px; }
ul.card.ticks { padding: 20px 22px; }
.ticks.no li::before { content: '✕'; color: var(--ink); font-size: 12px; top: 2px; }

/* the answer */
.answer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 590px); gap: 48px; align-items: start; }
.answer-copy { position: sticky; top: 100px; }
.answer-copy .sub { margin-top: 14px; }
.parts { list-style: none; counter-reset: p; padding: 0; margin: 26px 0 0; display: grid; gap: 0; border-top: var(--line); }
.parts li { counter-increment: p; position: relative; padding: 13px 0 13px 44px; border-bottom: 1.5px dashed var(--ink); font-size: 15px; }
.parts li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: 14px; font: 500 13px/1.6 var(--mono); }
.note { margin-top: 20px; font-size: 14px; color: var(--muted); }
.note b { color: var(--ink); }

/* ------------------------------------------------------------------ the ticket */
.ticket { background: var(--card); border: var(--line); border-radius: var(--r); padding: 22px 26px 22px; position: relative; }
.ticket.empty { min-height: 280px; display: grid; place-items: center; text-align: center; }
.ticket.empty .sm { max-width: 36ch; }
.t-tag { position: absolute; top: -14px; left: 22px; border: var(--line); border-radius: 999px; background: var(--orange); padding: 4px 12px; font: 500 12px/1.2 var(--mono); }
.t-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.t-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.t-no { font: 500 12px/1 var(--mono); color: var(--muted); }
.t-asset { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 18px 0 16px; padding-top: 16px; border-top: var(--line); }
.t-sym { font-size: 46px; font-weight: 500; line-height: 1; letter-spacing: -0.03em; word-break: break-all; }
.t-name { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.t-dir { width: 58px; height: 58px; flex: none; border-radius: 50%; border: var(--line); display: grid; place-items: center; font-size: 26px; line-height: 1; background: var(--tan); }
.t-dir.up { background: var(--orange); }
.t-dir.down { background: var(--ink); color: var(--sheet); }
.t-dir.small { width: 36px; height: 36px; font-size: 17px; }
.t-label { display: block; font: 500 11.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 8px; }
.t-move p { font-size: 19px; font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; }
.srcs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.src {
  display: inline-flex; align-items: center; gap: 7px; min-height: 32px; max-width: 100%;
  padding: 3px 11px 3px 4px; border: var(--line); border-radius: 999px; background: var(--sheet);
  font: 500 12.5px/1.2 var(--mono); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
a.src:hover { background: var(--tan); color: var(--ink); }
.n { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--sheet); font: 500 11px/1 var(--mono); }
.perf { position: relative; height: 1.5px; margin: 22px -26px; background: linear-gradient(90deg, var(--ink) 55%, transparent 0) 0 0 / 11px 1.5px repeat-x; }
.perf::before, .perf::after {
  content: ''; position: absolute; top: -12px; width: 25px; height: 25px; border-radius: 50%;
  background: var(--notch); border: var(--line);
}
.perf::before { left: -13.5px; clip-path: inset(-2px -2px -2px calc(50% - 1px)); }
.perf::after { right: -13.5px; clip-path: inset(-2px calc(50% - 1px) -2px -2px); }
.t-reasons { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 16px; }
.t-reasons li { display: grid; grid-template-columns: 36px minmax(0, 1fr); }
.t-n { font: 500 13px/1.7 var(--mono); }
.t-reasons p { font-size: 15.5px; line-height: 1.5; }
.t-none { font-size: 18px; font-weight: 500; }
.t-summary { margin-top: 20px; background: var(--tan); border-radius: 16px; padding: 14px 16px; }
.t-summary p { font-size: 15px; line-height: 1.55; }
.t-sources ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.t-sources li { display: flex; align-items: center; gap: 9px; font-size: 14px; min-width: 0; }
.t-sources li a { font-weight: 500; white-space: nowrap; }
.t-suggest { margin-top: 16px; min-width: 0; overflow-x: auto; }
.t-suggest .gs-label { font: 500 11.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 8px; }
.tile-suggest { margin-top: 10px; }
.s-title { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.t-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-top: 22px; padding-top: 16px; border-top: var(--line); }
.t-meta { display: grid; gap: 3px; font: 400 11.5px/1.45 var(--mono); color: var(--muted); }
.t-meta b { color: var(--ink); font: 500 13px/1.3 var(--mono); }
.barcode { width: 150px; height: 46px; flex: none; fill: var(--ink); }
.t-notice { margin-top: 16px; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: var(--sheet); font-size: 13.5px; font-weight: 500; }
.t-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ------------------------------------------------------------------ today's movers */
.tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.tile-link { display: flex; flex-direction: column; height: 100%; background: var(--card); border: var(--line); border-radius: var(--r); padding: 18px; text-decoration: none; color: inherit; transition: transform .15s, background-color .15s; }
.tile-link:hover { color: inherit; background: #fff; transform: translateY(-2px); }
.tile-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.tile-sym { display: block; font-size: 28px; font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.tile-kind { display: block; font: 500 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 6px; }
.tile-move { font-size: 15px; font-weight: 500; line-height: 1.35; margin-top: 14px; }
.tile-sum { font-size: 13.5px; color: var(--muted); margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 20px; }
.perf.small { margin: auto -18px 0; }
.perf.small::before { left: -13.5px; }
.tile-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 16px; font: 500 11.5px/1.3 var(--mono); color: var(--muted); }
.tile-go { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.tile.ghost, .tile.missing { border: 1.5px dashed var(--ink); border-radius: var(--r); padding: 18px; min-height: 120px; display: grid; place-content: center; text-align: center; }
.tile.missing b { display: block; font-size: 22px; font-weight: 500; }

/* ------------------------------------------------------------------ how */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step-n { display: block; font: 400 15px/1 var(--mono); margin-bottom: 30px; padding-bottom: 12px; border-bottom: 1.5px dashed var(--ink); }
.step h3 { font-size: 21px; }
.step p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.rules { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; margin-top: 14px; align-items: center; }
.rules-art img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; border: var(--line); }
.rules h3 { font-size: 30px; }
.rules-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 16px 0 14px; }
.rules-cols .label { margin-bottom: 10px; }

/* ------------------------------------------------------------------ credits */
.credits-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.credits-grid h3, .refunds h3, .agents-grid h3 { font-size: 22px; margin-bottom: 14px; }
.refunds .row h3 { margin: 0; }
.cost-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-bottom: 14px; }
.cost-table th { text-align: left; font: 500 11.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 0 0 8px; border-bottom: var(--line); }
.cost-table td { padding: 10px 0; border-bottom: 1.5px dashed var(--ink); vertical-align: top; }
.cost-table td:last-child, .cost-table th:last-child { text-align: right; white-space: nowrap; padding-left: 12px; font-family: var(--mono); }
.cost-table code { margin-left: 4px; }
.refunds { margin-top: 14px; }
.refunds > .sm { margin: 8px 0 14px; }

/* shared widget classes (core/credits.js) */
.cr { display: grid; gap: 12px; min-width: 0; }
.cr p { font-size: 14.5px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; color: var(--muted); }
.field input, .field select, .field textarea {
  min-height: 46px; padding: 0 14px; width: 100%;
  border: var(--line); border-radius: 14px; background: var(--sheet);
  font: 500 15px/1.2 var(--mono); color: var(--ink);
}
.field textarea { padding: 12px 14px; min-height: 90px; }
.cr-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cr .cr-key { font: 500 13px/1.5 var(--mono); word-break: break-all; background: var(--tan); border: 1.5px dashed var(--ink); border-radius: 12px; padding: 10px 12px; }
.cr-balance .cr-row:has(strong) { justify-content: space-between; padding: 6px 0; border-bottom: 1.5px dashed var(--ink); }
.cr-balance .cr-row strong { font: 500 15px/1.3 var(--mono); }
.cr-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cr-table th { text-align: left; font: 500 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); padding: 8px 10px; border-bottom: var(--line); white-space: nowrap; }
.cr-table td { padding: 9px 10px; border-bottom: 1.5px dashed var(--ink); vertical-align: top; }
.cr-table td:nth-child(4) { font-family: var(--mono); font-size: 12px; word-break: break-all; }
pre {
  margin: 0; background: var(--ink); color: var(--sheet); border-radius: var(--r);
  padding: 20px 22px; overflow-x: auto; font: 400 13px/1.65 var(--mono); white-space: pre; min-width: 0;
}
pre .c { color: #b9b2a5; }
pre .host { color: #ff8a5c; }
.erc8004-badge {
  display: inline-flex; align-items: center; gap: 4px; vertical-align: middle;
  padding: 2px 9px; border: var(--line); border-radius: 999px; background: var(--orange); color: var(--ink);
  font: 500 11.5px/1.3 var(--mono); text-decoration: none; white-space: nowrap;
}

/* agents and token */
.agents-grid, .token-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.addrs { display: grid; gap: 16px; }
.addr { font: 500 13.5px/1.4 var(--mono); word-break: break-all; margin-top: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: var(--line); border-radius: 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 56px 16px 20px; font-size: 17px; position: relative; min-height: 40px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: var(--line); border-radius: 50%; display: grid; place-items: center; font: 400 18px/1 var(--mono); }
.faq details[open] summary::after { content: '–'; background: var(--orange); }
.faq details p { padding: 0 20px 18px; font-size: 15px; color: var(--muted); max-width: 75ch; }

/* footer */
.foot { margin-top: 84px; padding-top: 22px; border-top: var(--line); display: grid; gap: 10px; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.foot .links { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.foot .links a { font-size: 14px; padding: 9px 10px; min-height: 40px; display: inline-flex; align-items: center; }
.foot p { font-size: 13.5px; color: var(--muted); max-width: 110ch; }
.foot p b { color: var(--ink); }

/* ------------------------------------------------------------------ share and deploy pages */
.page-narrow { max-width: 680px; margin: 34px auto 0; }
.page-narrow h1 { font-size: clamp(36px, 5vw, 54px); max-width: none; }
.page-narrow .lede { margin-top: 14px; }
.page-narrow .ticket { margin-top: 30px; }
.page-narrow > .card { margin-top: 20px; }
.page-narrow .card h3 { font-size: 22px; margin-bottom: 12px; }
.back { display: inline-flex; align-items: center; gap: 6px; font: 500 13px/1 var(--mono); min-height: 40px; }

/* ------------------------------------------------------------------ widths */
@media (max-width: 1120px) {
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { order: -1; padding-top: 0; }
  .bento { max-width: 640px; }
  h1 { max-width: 14ch; }
}
@media (max-width: 900px) {
  .sheet { padding: 18px 24px 30px; }
  .head, .answer-grid, .agents-grid, .token-grid, .credits-grid, .rules { grid-template-columns: minmax(0, 1fr); }
  .head { gap: 12px; }
  .answer-copy { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; }
  .stat:nth-child(n+4) { border-top: 1.5px dashed var(--ink); }
  .rules-art { max-width: 220px; }
  .hide-md { display: none !important; }
}
@media (max-width: 680px) {
  .hide-sm { display: none !important; }
  .nav .rule { display: none; }
  .nav { justify-content: space-between; gap: 8px; }
}
@media (max-width: 560px) {
  body { padding: 0; }
  .sheet { border-radius: 0; padding: 12px 16px 28px; min-height: 100vh; }
  .top { top: 8px; }
  .brand span { font-size: 16px; }
  .hide-xs { display: none !important; }
  .hero { margin-top: 24px; }
  h1 { font-size: 42px; }
  .lede { font-size: 15.5px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .art-card, .pillbox, .circle-card { display: none; }
  .count-card { padding-bottom: 18px; }
  .ask-row .link { width: 8px; }
  .ask-row input { padding: 0 16px; font-size: 16px; }
  .btn.big { padding: 0 18px; }
  .duo { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .duo-b { margin-left: 0; margin-top: -1.5px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(even) { border-left: 1.5px dashed var(--ink); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1.5px dashed var(--ink); }
  .stat b { font-size: 22px; }
  .block { margin-top: 64px; }
  .steps, .rules-cols { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .ticket { padding: 18px 16px; }
  .perf { margin: 20px -16px; }
  .t-sym { font-size: 36px; }
  .t-move p { font-size: 17px; }
  .t-reasons li { grid-template-columns: 30px minmax(0, 1fr); }
  .t-foot { flex-wrap: wrap; }
  .barcode { width: 120px; height: 40px; }
  pre { font-size: 12px; padding: 16px; }
  .cost-table { font-size: 13.5px; }
  .cost-table code { display: inline-block; margin: 4px 0 0; }
  .faq summary { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .tile-link:hover { transform: none; }
}
#deploy { display: grid; gap: 14px; }
#a-api { white-space: normal; word-break: break-all; }
