/* Verdict's own pieces, on top of base.css: the rope, the bib, the lanes, the poster hero. See DESIGN.md. */

body { background: var(--bg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
h1, h2, .display { text-transform: uppercase; line-height: 0.92; }
h2 { font-size: clamp(34px, 4.6vw, 64px); }
h1 { font-size: clamp(44px, 6.4vw, 88px); }
.kicker { font-weight: 600; }
.kicker-dot { background: var(--good); }
.chip { background: transparent; border-color: var(--line-2); font-weight: 500; }
.chip.no { color: var(--no); border-color: var(--no); }
.chip.yes { color: var(--yes); border-color: var(--yes); }
.chip.pot { background: var(--pot); border-color: var(--ink); color: var(--ink); }
.chip.demo { color: var(--warn); }
.demo-strip { background: var(--ink); color: #d9d5c8; }
.demo-strip b { color: var(--pot); }
#top { background: color-mix(in srgb, var(--bg) 90%, transparent); border-bottom: 1.5px solid var(--ink); }
.nav a { font-weight: 600; }
.nav a:hover, .nav a[aria-current] { background: var(--bg-2); }
.btn { border: 1.5px solid var(--ink); background: transparent; font-weight: 650; }
.btn:hover { background: var(--bg-2); border-color: var(--ink); }
.btn.primary { background: var(--ink); color: var(--on-accent); border-color: var(--ink); }
.btn.primary:hover { filter: none; background: #2b2922; }
.card { box-shadow: none; border: 1.5px solid var(--ink); background: var(--surface); }
.input, .prefix { background: var(--surface-2); border-color: var(--line-2); }
.input:focus, .prefix:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 19, 15, 0.1); }
.modal-veil { background: rgba(20, 19, 15, 0.55); backdrop-filter: none; }
.modal-panel { border: 1.5px solid var(--ink); background: var(--bg); }
.modal-head h2 { font-size: 34px; }
.toast { border-radius: var(--r); }
.ca { border: 1.5px dashed var(--ink); border-radius: var(--r); background: var(--surface); }
.ca.small { border-style: dashed; border-width: 1px; border-color: var(--line-2); background: none; }
.ca-soon { color: var(--ink); background: var(--pot); padding: 1px 8px; border-radius: 4px; font-weight: 600; }
.live-dot { background: var(--good); }
.menu { background: var(--surface-2); border: 1.5px solid var(--ink); }
.wallet-row { background: var(--surface); }
.banner { border: 1.5px solid var(--ink); }
.banner.good { background: var(--pot); border-color: var(--ink); }
.seg { background: transparent; border: 1.5px solid var(--ink); }
.seg button[aria-pressed="true"], .chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.chips button { background: transparent; border-color: var(--line-2); }
.stat-value { font-weight: 600; }
.faq details { background: var(--surface); border: 1.5px solid var(--ink); }
.chart-line { stroke: var(--ink); }
.chart-area { fill: rgba(20, 19, 15, 0.06); }
.flow-steps li.done .flow-mark { background: var(--ink); color: var(--bg); }
.notes .icon { color: var(--ink); }

/* ---------- the wordmark and the mark ---------- */
.brand svg { height: 22px; width: auto; }
.tug-fill { fill: var(--ink); }
#foot .tug-fill { fill: var(--on-accent); }
.brand .tug-word { fill: none; stroke: var(--ink); }
.foot-brand svg { height: 40px; width: auto; }

/* ---------- the bib: every coin's number on the field ---------- */
.bib { --s: 52px; position: relative; flex: none; display: inline-grid; place-items: center; width: var(--s); height: var(--s); border-radius: calc(var(--s) * 0.2); background: var(--bib, var(--ink)); color: #f6f3ea; font: 900 calc(var(--s) * 0.62)/1 var(--font-display); letter-spacing: -0.01em; overflow: hidden; }
.bib::before { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--s) * 0.1); height: calc(var(--s) * 0.045); background: rgba(246, 243, 234, 0.55); }
.bib::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(var(--s) * 0.1); height: calc(var(--s) * 0.045); background: rgba(246, 243, 234, 0.55); }
.bib span { position: relative; top: 0.02em; }
img.bib { object-fit: cover; }

/* ---------- the rope: the mechanic, drawn ---------- */
.rope { --p: 50; --cord: 10px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-width: 0; }
.rope-side { display: grid; justify-items: start; font: 600 12px/1.1 var(--font-mono); font-variant-numeric: tabular-nums; min-width: 40px; }
.rope-side.yes { justify-items: end; color: var(--yes); }
.rope-side.no { color: var(--no); }
.rope-side b { font: 900 17px/1 var(--font-display); letter-spacing: 0.02em; }
.rope-line { position: relative; height: 40px; container-type: inline-size; }
.rope-cord { position: absolute; left: 0; right: 0; top: 50%; height: var(--cord); margin-top: calc(var(--cord) / -2); border-radius: 99px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 42%, rgba(70, 45, 10, 0.3)),
    repeating-linear-gradient(118deg, var(--hemp) 0 4.5px, var(--hemp-d) 4.5px 5.8px, var(--hemp-l) 5.8px 8px, var(--hemp) 8px 10.5px);
  box-shadow: 0 0 0 1px rgba(20, 19, 15, 0.55); }
.rope-mid { position: absolute; left: 50%; top: 2px; bottom: 2px; border-left: 1.5px dashed var(--line-2); }
.rope-grip { position: absolute; top: 50%; height: calc(var(--cord) + 8px); margin-top: calc((var(--cord) + 8px) / -2); display: flex; gap: 3px; }
.rope-grip i { width: 7px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(20, 19, 15, 0.6); }
.rope-grip.no { left: 3%; }
.rope-grip.no i { background: var(--no); }
.rope-grip.yes { right: 3%; }
.rope-grip.yes i { background: var(--yes); }
.rope-flag { position: absolute; left: 50%; top: 50%; width: 14px; height: calc(var(--cord) + 10px); margin: calc((var(--cord) + 10px) / -2) 0 0 -7px;
  transform: translateX(calc((var(--p) - 50) * 0.6cqw)); transition: transform 1100ms var(--ease); }
.rope-knot { position: absolute; inset: 0; background: var(--pot); border-radius: 3px; box-shadow: 0 0 0 1.5px var(--ink); }
.rope-knot::after { content: ""; position: absolute; left: 1.5px; right: 1.5px; top: calc(100% + 1.5px); height: 15px; background: var(--pot); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 62%, 0 100%); }
.rope.live .rope-knot { animation: strain 3.6s ease-in-out infinite; }
@keyframes strain { 0%, 100% { transform: translateX(0); } 22% { transform: translateX(2.5px); } 48% { transform: translateX(-2px); } 70% { transform: translateX(1.5px); } }
.rope.settled-yes .rope-grip.no, .rope.settled-no .rope-grip.yes, .rope.settled-yes .rope-side.no, .rope.settled-no .rope-side.yes { opacity: 0.35; }
.rope-tag { position: absolute; left: 50%; top: calc(100% + 22px); transform: translateX(-50%); white-space: nowrap; padding: 4px 10px; border-radius: 5px; background: var(--pot); color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); font: 700 13px/1.2 var(--font-mono); font-variant-numeric: tabular-nums; }

/* the big rope: hero and coin page */
.rope.big { --cord: 18px; display: block; position: relative; padding: 46px 0 58px; }
.rope.big .rope-line { height: 56px; }
.rope.big .rope-side { position: absolute; top: 0; font-size: 14px; }
.rope.big .rope-side b { font-size: clamp(30px, 4vw, 46px); }
.rope.big .rope-side.no { left: 0; }
.rope.big .rope-side.yes { right: 0; }
.rope.big .rope-grip i { width: 11px; border-radius: 4px; }
.rope.big .rope-grip { gap: 5px; }
.rope.big .rope-flag { width: 20px; margin-left: -10px; }
.rope.big .rope-knot::after { height: 20px; }
.rope.big .rope-mid { top: -10px; bottom: -10px; border-left-width: 2px; }

/* ---------- the hero: a poster with the rope through it ---------- */
.hero-tug { padding-top: clamp(26px, 3.6vw, 52px); overflow: clip; }
.hero-line { font: 900 clamp(62px, 16.4vw, 214px)/0.82 var(--font-display); text-transform: uppercase; letter-spacing: -0.012em; margin: 0; white-space: nowrap; }
.hero-line .hl { background: var(--pot); padding: 0 0.07em 0 0.06em; margin-left: -0.02em; box-shadow: inset 0 0 0 clamp(2px, 0.3vw, 4px) var(--ink); }
.hero-line.second { text-align: right; }
.hero-rope { position: relative; margin: clamp(2px, 0.6vw, 10px) 0; }
.hero-rope .rope-cord { left: -50vw; right: -50vw; border-radius: 0; }
.hero-rope .rope.big { padding-bottom: 62px; }
.hero-live { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: -30px; font: 500 13px/1.3 var(--font-mono); color: var(--ink-2); max-width: 46%; position: relative; margin-bottom: 14px; }
.hero-live a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 5vw, 72px); align-items: start; margin-top: clamp(22px, 3vw, 40px); padding-top: clamp(20px, 2.6vw, 32px); border-top: 1.5px solid var(--ink); }
.hero-foot .lede { color: var(--ink); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; max-width: 34em; }
.hero-foot .lede b { background: linear-gradient(transparent 62%, var(--pot) 62%); font-weight: 650; }
.hero-proof { display: grid; gap: 4px; }
.hero-stats { margin-top: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 12px; }
.hero-stats .stat-value { font: 900 clamp(34px, 3.8vw, 52px)/1 var(--font-display); }
.hero-proof .ca { margin-top: 18px; }

/* ---------- sections ---------- */
.section-head { border-bottom: 1.5px solid var(--ink); padding-bottom: 16px; margin-bottom: 0; }
.section-head .kicker { margin-bottom: 8px; }
.link-arrow { font-weight: 650; color: var(--ink); white-space: nowrap; border-bottom: 1.5px solid var(--ink); }

/* ---------- lanes: every coin is a rope on the field ---------- */
.lanes { display: grid; }
.lane { display: grid; grid-template-columns: 56px minmax(0, 1.05fr) minmax(0, 1.5fr) 112px 104px; gap: clamp(12px, 2vw, 28px); align-items: center; padding: 16px 10px; border-bottom: var(--border); transition: background var(--t-fast) var(--ease); }
a.lane:hover { background: var(--surface); }
.lane-id { min-width: 0; display: grid; gap: 4px; }
.lane-sym { display: flex; align-items: center; gap: 8px; font: 600 12.5px/1 var(--font-mono); color: var(--muted); }
.lane-sym b { color: var(--ink); font-size: 14px; }
.lane-q { font-weight: 600; font-size: 16px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lane-num { display: grid; gap: 3px; justify-items: end; text-align: right; }
.lane-num .num { font-weight: 600; font-size: 16px; white-space: nowrap; }
.lane-num .num.pot { background: linear-gradient(transparent 58%, var(--pot) 58%); padding: 0 2px; }
.lane.preview { border: 1.5px solid var(--ink); border-radius: var(--r-lg); background: var(--surface); grid-template-columns: 56px minmax(0, 1fr); padding: 16px; }
.lane.preview .rope { grid-column: 1 / -1; }
.lane.preview .lane-num { display: none; }
.lane.sk { height: 76px; }
.lane.sk .sk { height: 44px; border-radius: 8px; grid-column: 1 / -1; background: linear-gradient(90deg, var(--bg-2), var(--surface), var(--bg-2)); background-size: 200% 100%; animation: shimmer 1.6s infinite linear; }

/* ---------- how it works: four steps, each with a piece of the product ---------- */
.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 0; border-bottom: 1.5px solid var(--ink); }
.step { border: 0; border-radius: 0; background: none; border-right: var(--border); padding: 22px 20px 26px; gap: 10px; }
.step:last-child { border-right: 0; }
.step:first-child { padding-left: 0; }
.step-n { font: 900 44px/1 var(--font-display); color: var(--ink); }
.step h3 { font-size: 20px; }
.step-art { min-height: 86px; display: grid; align-items: center; margin-bottom: 6px; }
.mini-market { border: 1.5px solid var(--ink); border-radius: var(--r); padding: 10px 12px; background: var(--surface); display: grid; gap: 4px; font-size: 14px; font-weight: 600; line-height: 1.25; }
.mini-coin { display: flex; align-items: center; gap: 12px; }
.mini-coin div { display: grid; gap: 2px; }
.mini-pay { display: grid; gap: 8px; justify-items: start; }
.mini-pay .row { gap: 6px; }
.steps.big { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.steps.big .step { padding: 26px 26px 30px 0; border-right: 0; border-bottom: var(--border); }
.steps.big .step:nth-child(odd) { border-right: var(--border); }
.steps.big .step:nth-child(even) { padding-left: 26px; }

/* ---------- receipts ---------- */
.feed-row { grid-template-columns: 92px 1fr auto 70px; border-bottom: var(--border); }
.feed-sym { color: var(--ink); font-weight: 600; }
.feed-row.settle .feed-text { font-weight: 650; }
.feed-row.settle .feed-text::before, .feed-row.claim .feed-text::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 8px; background: var(--pot); box-shadow: 0 0 0 1.5px var(--ink); border-radius: 2px; }

/* ---------- the closing band ---------- */
.band-wrap { margin-top: clamp(64px, 9vw, 120px); background: var(--ink); color: var(--on-accent); overflow: clip; }
.band { padding: clamp(48px, 7vw, 96px) 0; gap: 26px; }
.band h2 { font-size: clamp(48px, 9vw, 132px); line-height: 1.02; }
.band h2 .hl { background: var(--pot); color: var(--ink); padding: 0 0.07em; }
.band .btn.primary { background: var(--on-accent); color: var(--ink); border-color: var(--on-accent); }
.band .muted { color: #b9b5a6; max-width: 40em; }
.band-rope { position: relative; height: 18px; }
.band-rope .rope-cord { --cord: 18px; border-radius: 0; }
main { padding-bottom: 0; }
#foot { border-top: 0; background: var(--ink); color: var(--on-accent); padding-top: 40px; }
#foot .muted, #foot .foot-links, #foot .link { color: #b9b5a6; }
#foot .foot-base { border-top-color: rgba(246, 243, 234, 0.16); }
#foot .tug-word { stroke: var(--on-accent); }
.foot-links a:hover { color: var(--on-accent); }
.foot-note { grid-column: 1 / -1; font-size: 13px; color: #8f8b7d; max-width: 64em; }
main > :last-child:not(.band-wrap) { margin-bottom: 96px; }

/* ---------- a coin's page ---------- */
.coin-head { grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; }
.coin-title h1 { font: 700 clamp(26px, 3.4vw, 42px)/1.1 var(--font-text); text-transform: none; letter-spacing: -0.02em; }
.pull-panel { margin-top: 22px; border: 1.5px solid var(--ink); border-radius: var(--r-lg); background: var(--surface); padding: clamp(18px, 2.6vw, 30px); }
.pull-panel .rope.big { padding-bottom: 66px; }
.pull-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn.side { height: 58px; font: 900 26px/1 var(--font-display); letter-spacing: 0.02em; text-transform: uppercase; color: #fff; border-color: var(--ink); }
.btn.side.no { background: var(--no); }
.btn.side.yes { background: var(--yes); }
.btn.side:hover { filter: brightness(1.07); }
.btn.side[aria-pressed="true"] { box-shadow: inset 0 0 0 3px var(--pot); }
.pull-me { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); min-height: 1.5em; }
.pull-me b { color: var(--ink); }
.pull-verdict { display: grid; gap: 6px; justify-items: start; }
.pull-verdict .verdict { font: 900 clamp(34px, 5vw, 60px)/0.95 var(--font-display); text-transform: uppercase; }
.verdict .yes { color: var(--yes); }
.verdict .no { color: var(--no); }
.coin-stats .stat { background: transparent; border: 0; border-top: 1.5px solid var(--ink); border-radius: 0; padding: 12px 0 0; }
.coin-stats .stat-value { font: 900 34px/1 var(--font-display); }
.coin-stats .stat.pot .stat-value { justify-self: start; background: var(--pot); padding: 2px 8px; box-shadow: 0 0 0 1.5px var(--ink); }
.rules { display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.rules li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.rules li span:first-child { font: 600 12px/1.7 var(--font-mono); color: var(--muted); }
.confirm-rows { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; font-size: 14.5px; padding: 12px 0; border-block: var(--border); }
.confirm-rows dt { color: var(--ink-2); }
.confirm-rows dd { text-align: right; font-family: var(--font-mono); font-weight: 600; }

/* ---------- launch ---------- */
.market-list { display: grid; gap: 8px; margin-top: 14px; max-height: 372px; overflow: auto; padding: 2px; }
.market { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; text-align: left; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface-2); cursor: pointer; }
.market:hover { border-color: var(--ink); }
.market[aria-pressed="true"] { border: 1.5px solid var(--ink); box-shadow: inset 6px 0 0 var(--pot); padding-left: 20px; }
.market b { font-weight: 600; line-height: 1.3; }
.market .odds { font: 600 13px var(--font-mono); grid-row: span 2; text-align: right; }
.market small { font: 500 11.5px var(--font-mono); color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; }
.step-title { font: 900 30px/1 var(--font-display); text-transform: uppercase; letter-spacing: 0; }
.step-title .step-n { font: 600 13px var(--font-mono); border: 1.5px solid var(--ink); border-radius: 6px; }
.split { border: 1.5px solid var(--ink); height: 38px; }
.split span { background: var(--pot); font: 600 12.5px var(--font-mono); color: var(--ink); }
.drop { min-height: 110px; background: var(--surface-2); }
.drop-row { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; }
.launch-side .card h3 { margin-bottom: 4px; }

/* ---------- how ---------- */
.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.outcome { border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 10px; align-content: start; background: var(--surface); }
.outcome h3 { font: 900 30px/1 var(--font-display); text-transform: uppercase; }
.outcome.yes h3 { color: var(--yes); }
.outcome.no h3 { color: var(--no); }
.risks { display: grid; gap: 10px; max-width: 760px; margin-top: 18px; color: var(--ink-2); }
.risks li { padding-left: 18px; position: relative; }
.risks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 2px; background: var(--ink); }

/* ---------- empty and 404 ---------- */
.empty h3, .empty h1 { font: 900 clamp(34px, 5vw, 60px)/0.95 var(--font-display); text-transform: uppercase; }
.slack { width: min(420px, 80%); height: 60px; }
.slack path { fill: none; stroke: var(--hemp-d); stroke-width: 9; stroke-linecap: round; }
.slack path + path { stroke: var(--hemp-l); stroke-width: 3; stroke-dasharray: 3 7; }

/* ---------- phones ---------- */
@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n + 2) { border-bottom: var(--border); }
  .step:nth-child(3) { padding-left: 0; }
  .outcomes { grid-template-columns: 1fr; }
  .lane { grid-template-columns: 48px minmax(0, 1fr) 96px; row-gap: 6px; }
  .lane .bib { --s: 48px !important; }
  .lane .rope { grid-column: 1 / -1; grid-row: 2; }
  .lane .lane-num.closes { grid-column: 3; grid-row: 1; align-self: end; display: none; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-live { max-width: 100%; margin-top: 4px; margin-bottom: 12px; }
  .hero-rope .rope.big { padding-bottom: 58px; }
}
@media (max-width: 860px) {
  .tabbar { background: var(--bg); border: 1.5px solid var(--ink); backdrop-filter: none; }
  #foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .feed-row { grid-template-columns: 70px 1fr 56px; }
}
@media (max-width: 560px) {
  .steps, .steps.big { grid-template-columns: 1fr; }
  .step, .steps.big .step { border-right: 0 !important; border-bottom: var(--border); padding: 20px 0 !important; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-line.second { text-align: left; }
  .pull-actions .btn.side { font-size: 22px; height: 54px; }
  .coin-head { grid-template-columns: auto minmax(0, 1fr); }
  .rope.big .rope-side b { font-size: 28px; }
  .rope-tag { font-size: 12px; }
  .drop-row { grid-template-columns: 1fr; }
}

.h3, h2.h3 { text-transform: none; line-height: 1.3; }
