/* Bellswap v3 landing (from the v2 "names" page), in the visual language of bellswap.fun.
   Tokens: the dark block of /Users/bioharz/git/bellswap-prep/site-lp/site/src/styles/tokens.css (lines 150 to 224).
   The product is the picture: screenshots and crops of the app in square hairline panels, no drawn
   illustrations. Devices borrowed from the main site home page: the label and value row (home.css "Fee terms"), the link
   tiles (home.css .home-sister), the dashed path (home.css .rp-*), the gap slider (components.css .tslide, .tstrip) and
   the struck-through chips (components.css .deck). Square corners, flat fills, no gradients, no glow. */

@font-face {
  font-family: "Archivo";
  src: url("archivo.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --neon: #CCFF00;
  --neon-hover: #E3FF5C;
  --neon-edge: #A8D400;
  --signal: #FF6A3D;
  --amber: #FFD83A;
  --bg: #000000;
  --surface: #0C0E0A;
  --surface-2: #151810;
  --ink: #F4F5F0;
  --ink-2: #C9CDC4;
  --ink-soft: #8E948A;
  --line: #23261F;
  --line-strong: #3A3E33;
  --on-accent: #000000;


  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --gut: clamp(16px, 4vw, 40px);
  --maxw: 1120px;
  --measure: 62ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }
.wrap { max-width: calc(var(--maxw) + 2 * var(--gut)); margin: 0 auto; padding-inline: var(--gut); }
.num, output, dd { font-variant-numeric: tabular-nums slashed-zero; }

/* ---------- header ---------- */
.hdr { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-block: 22px 14px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.brand .mark { width: 20px; height: 20px; flex: none; color: var(--neon); }
.wordmark { font: 800 21px/1 var(--display); font-stretch: 118%; letter-spacing: .01em; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink-soft); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a.ext::after { content: " \2197"; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--neon); }

/* ---------- buttons (main site dark .btn) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 20px; font: 600 16px/1.2 var(--sans); color: var(--ink); text-decoration: none; background: transparent; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color .15s, color .15s, box-shadow .15s; }
.btn:hover { box-shadow: inset 0 0 0 1px var(--ink-soft); }
.btn-primary { background: var(--neon); color: var(--on-accent); font-weight: 640; font-size: 17px; box-shadow: inset 0 0 0 1.5px var(--neon); }
.btn-primary:hover { background: var(--neon-hover); box-shadow: inset 0 0 0 1.5px var(--neon-hover); }
.btn-sm { min-height: 38px; padding: 8px 13px; font-size: 14px; font-weight: 600; }
.nav-cta { color: var(--ink); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 41fr) minmax(0, 59fr); grid-template-rows: auto auto 1fr; grid-template-areas: "head head" "copy shot" "hoc shot"; gap: 0 clamp(32px, 4vw, 52px); align-items: start; padding-block: clamp(24px, 5vh, 48px) 48px; }
.hero h1 { grid-area: head; margin-bottom: 30px; font: 640 clamp(34px, 3.9vw, 56px)/1.06 var(--display); letter-spacing: -.015em; max-width: 21em; text-wrap: balance; }
.hero-copy { grid-area: copy; }
.hl { color: var(--neon); }
.lede { max-width: 33em; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }

/* hold it or call it: the main site's Status and Chart tiles */
.hoc { grid-area: hoc; margin-top: 32px; max-width: 560px; }
.hoc-h { font: 600 13px/1.2 var(--sans); color: var(--ink); margin-bottom: 10px; }
.tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.tile { display: flex; flex-direction: column; gap: 5px; height: 100%; padding: 12px 14px 13px; text-decoration: none; color: var(--ink); border-radius: 2px; box-shadow: inset 0 0 0 1px var(--line-strong); transition: box-shadow .15s; }
.tile:hover { box-shadow: inset 0 0 0 1px var(--neon); }
.tile:hover .tile-l { color: var(--neon); }
.tile-l { font: 640 16px/1.2 var(--display); }
.tile-l::after { content: " \2197"; font-weight: 400; }
.tile-v { font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.tile-u { margin-top: auto; padding-top: 4px; font: 500 12px/1.3 var(--mono); color: var(--ink-soft); overflow-wrap: anywhere; }

/* the hero picture: the live ticker page, straight, square corners, 1px hairline */
.hero-shot { grid-area: shot; margin: 0; border: 1px solid var(--line); background: #000; }
.hero-shot img { width: 100%; }

/* ---------- proof strip: four label and value cells (home.css "Fee terms", dark) ---------- */
.proof { padding-block: 0; }
.proof-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.proof-row div { display: grid; align-content: start; gap: 6px; min-width: 0; padding: 18px 18px 20px; border-left: 1px solid var(--line); }
.proof-row div:first-child { border-left: 0; padding-left: 0; }
.proof-row dt { font: 400 13px/1.3 var(--sans); color: var(--ink-soft); }
.proof-row dd { font: 500 15px/1.2 var(--sans); color: var(--ink-2); }
.proof-row b { font: 500 30px/1 var(--mono); color: var(--ink); letter-spacing: -.02em; margin-right: 4px; }
.proof-row small { display: block; margin-top: 6px; font: 400 12px/1.2 var(--mono); color: var(--ink-soft); }

/* ---------- sections ---------- */
.sec { padding-top: 72px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 32px; margin-bottom: 8px; }
.sec h2, .how h2 { font: 640 20px/1.2 var(--display); }

/* ---------- ticket path: four crops of the live app on a dashed path (home.css .rp-*, dark) ---------- */
.path { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 28px; padding-top: 104px; }
.path-row { display: contents; }
.path-arcs { position: absolute; inset: 0 0 auto; height: 110px; pointer-events: none; }
.path-arcs svg { display: block; width: 100%; height: 100%; overflow: visible; }
.path-arcs > svg path { fill: none; stroke: var(--ink-soft); stroke-width: 1.5; stroke-dasharray: 5 7; stroke-linecap: round; opacity: .8; }
.st { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: stretch; min-width: 0; }
.st-face { display: flex; flex-direction: column; gap: 10px; padding: 10px; background: var(--surface); border-radius: 2px; box-shadow: inset 0 0 0 1px var(--line-strong); transition: box-shadow .15s; }
.st:hover .st-face { box-shadow: inset 0 0 0 1px var(--neon); }
.st-art { aspect-ratio: 21 / 10; border: 1px solid var(--line); background: #000; overflow: hidden; }
.st-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.st-2 .st-art img { object-position: center top; }
.st-name { display: flex; align-items: baseline; gap: 8px; padding: 2px 2px 0; font: 700 clamp(16px, 1.45vw, 19px)/1.15 var(--display); letter-spacing: -.01em; }
.st-n { font: 500 14px/1 var(--mono); color: var(--neon); }
.st-cap { margin-top: 12px; padding-inline: 2px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.path-note { position: relative; grid-column: 2 / span 3; margin-top: 22px; padding: 13px 16px; max-width: 72ch; font-size: 14px; line-height: 1.5; color: var(--ink-2); background: var(--surface); border-radius: 2px; box-shadow: inset 0 0 0 1px var(--line-strong); }
.path-note b { color: var(--ink); font-weight: 640; }
.path-note::before { content: ""; position: absolute; top: -7px; left: calc((100% - 56px) / 6 - 6px); width: 12px; height: 12px; background: var(--surface); border-left: 1px solid var(--line-strong); border-top: 1px solid var(--line-strong); transform: rotate(45deg); }
@supports not (width: max(1px, 2px)) { .path-note::before { display: none; } }

/* ---------- payout slider, chips, how it works ---------- */
.play { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "slider how" "chips how"; gap: 20px clamp(32px, 5vw, 64px); align-items: start; }
.drift { grid-area: slider; padding: 16px 18px 14px; background: var(--surface); border-radius: 2px; box-shadow: inset 0 0 0 1px var(--line); }
.tkt { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 16px; border-block: 1px solid var(--line); }
.tkt div { display: grid; gap: 3px; min-width: 0; padding: 9px 10px 10px; border-left: 1px solid var(--line); }
.tkt div:nth-child(4n + 1) { border-left: 0; padding-left: 0; }
.tkt div:nth-child(n + 5) { border-top: 1px solid var(--line); }
.tkt dt { font: 400 12px/1.25 var(--sans); color: var(--ink-soft); }
.tkt dd { font: 500 14.5px/1.25 var(--mono); color: var(--ink); white-space: nowrap; }
.tkt dd.tkt-short { color: var(--signal); }
.tkt dd.tkt-long { color: var(--neon); }
.range-l { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14px; font-weight: 600; }
.range-l output { font: 500 18px/1 var(--mono); }
.tslide { position: relative; height: 40px; margin-top: 6px; }
.tstrip { position: absolute; left: 9px; right: 9px; top: 15px; height: 10px; display: flex; border-radius: 2px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-strong); }
.tstrip i { display: block; height: 100%; }
.tstrip i + i { box-shadow: -1px 0 0 #000; }
.tstrip::after { content: ""; position: absolute; left: 33.333%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--ink); }
.z-win { background: rgba(204, 255, 0, .38); }
.z-part { background: rgba(255, 216, 58, .5); }
.z-zero { background: rgba(255, 106, 61, .75); }
.tslide input { -webkit-appearance: none; appearance: none; position: absolute; inset: 0; width: 100%; height: 40px; margin: 0; background: transparent; cursor: pointer; }
.tslide input::-webkit-slider-runnable-track { height: 40px; background: transparent; }
.tslide input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 28px; margin-top: 6px; background: var(--neon); border: 2px solid #000; border-radius: 2px; box-shadow: 0 0 0 1px var(--neon); }
.tslide input::-moz-range-track { height: 40px; background: transparent; }
.tslide input::-moz-range-thumb { width: 14px; height: 24px; background: var(--neon); border: 2px solid #000; border-radius: 2px; box-shadow: 0 0 0 1px var(--neon); }
.tslide input:focus-visible { outline: none; }
.tslide input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px var(--neon), 0 0 0 4px #000, 0 0 0 6px var(--neon); }
.tslide input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 1px var(--neon), 0 0 0 4px #000, 0 0 0 6px var(--neon); }
.tticks { position: relative; height: 16px; margin: 0 9px; font: 500 12px/1 var(--mono); color: var(--ink-soft); }
.tticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.tticks .tt-start { left: 0; transform: none; }
.tticks .tt-end { left: 100%; transform: translateX(-100%); }
.tticks .tt-zero { color: var(--signal); }

.pay { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.pay-l { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14px; font-weight: 600; }
.pay-l output { font: 500 24px/1 var(--mono); color: var(--neon); }
.drift[data-state=part] .pay-l output { color: var(--amber); }
.drift[data-state=zero] .pay-l output { color: var(--signal); }
.meter { position: relative; height: 10px; margin-top: 12px; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--line-strong); overflow: hidden; }
.meter i { position: absolute; inset: 0 auto 0 0; background: var(--neon); }
.drift[data-state=part] .meter i { background: var(--amber); }
.drift[data-state=zero] .meter i { background: var(--signal); }
@media (prefers-reduced-motion: no-preference) { .meter i { transition: width .2s ease-out; } }
.edges { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.edge { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; line-height: 1.25; color: var(--ink-soft); }
.edge b { font: 500 13px/1.2 var(--mono); color: var(--ink); }
.edge-hi { text-align: right; align-items: flex-end; }
.edge-lo b::before, .edge-hi b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; vertical-align: 1px; }
.edge-lo b::before { background: var(--signal); }
.edge-hi b::before { background: var(--neon); }

.presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.pre { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 7px 10px; font: 500 12.5px/1.25 var(--mono); color: var(--ink-2); background: transparent; border: 0; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--line-strong); cursor: pointer; }
.pre b { font-weight: 600; color: var(--ink); }
.pre:hover { box-shadow: inset 0 0 0 1px var(--ink-soft); }
.pre[aria-pressed=true] { box-shadow: inset 0 0 0 1px var(--neon); }
.fine { margin-top: 10px; }
.tag { display: inline-block; font: 600 11.5px/1 var(--sans); color: var(--ink-soft); border: 1px solid var(--line-strong); border-radius: 2px; padding: 3px 7px; }

/* not in a ticket (components.css .deck, dark) */
.deck { grid-area: chips; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; }
.deck li { padding: 2px 8px; font-weight: 500; color: var(--ink-soft); border: 1px solid var(--line-strong); border-radius: 2px; text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: var(--signal); }
.deck .deck-l { padding: 0 4px 0 0; border: 0; text-decoration: none; font-weight: 600; color: var(--ink); }

.how { grid-area: how; }
.steps { margin-top: 14px; }
.steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 0 6px; padding: 14px 0 15px; border-top: 1px solid var(--line-strong); }
.steps .n { font: 500 15px/1.35 var(--mono); color: var(--neon); }
.steps h3 { font: 640 16px/1.35 var(--display); }
.steps p { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }

/* ---------- markets: label and value rows next to the market list ---------- */
.names { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 5vw, 64px); align-items: center; }
.names h2 { font: 640 20px/1.2 var(--display); }
.names .kv-rows dt { font-size: 13.5px; }
.names .kv-rows dd { font-size: 18px; }
.names small { font: 400 12px/1.2 var(--mono); color: var(--ink-soft); }

/* ---------- vault and builders ---------- */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.panel { background: var(--surface); border-radius: 2px; box-shadow: inset 0 0 0 1px var(--line); padding: 20px 22px 22px; }
.kv h2 { font: 640 20px/1.2 var(--display); }
.kv-rows { margin-top: 16px; }
.kv-rows div { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 4px 16px; padding: 10px 0; border-top: 1px solid var(--line-strong); }
.kv-rows dt { font-size: 13px; line-height: 1.4; color: var(--ink-soft); }
.kv-rows dd { font: 500 14px/1.4 var(--mono); color: var(--ink); }
.kv-s { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line-strong); font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }

/* ---------- product screenshot ---------- */
.shot { border: 1px solid var(--line); background: #000; }

/* ---------- FAQ ---------- */
.faq h2 { margin-bottom: 14px; }
.qa { max-width: 860px; border-bottom: 1px solid var(--line-strong); }
.qa details { border-top: 1px solid var(--line-strong); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font: 600 16.5px/1.35 var(--display); cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--neon); }
.pm { width: 12px; height: 12px; flex: none; stroke: currentColor; stroke-width: 1.6; }
@media (prefers-reduced-motion: no-preference) { .pm { transition: transform .2s; } }
.qa details[open] .pm { transform: rotate(45deg); }
.qa details p { padding: 0 0 18px; max-width: 68ch; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* ---------- closing band ---------- */
.band-wrap { padding-top: 72px; }
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 26px 28px; background: var(--surface); border-radius: 2px; box-shadow: inset 0 0 0 1px var(--line-strong), inset 3px 0 0 var(--neon); }
.band-n { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.band-k { font: 640 clamp(20px, 2.2vw, 26px)/1.15 var(--display); letter-spacing: -.01em; }
.band-n b { font: 500 clamp(32px, 3.4vw, 44px)/1 var(--mono); color: var(--neon); letter-spacing: -.02em; }
.band .ctas { margin-top: 0; }

/* ---------- footer ---------- */
.foot { margin-top: 80px; padding-block: 36px 48px; border-top: 1px solid var(--line); }
.foot p { max-width: 72ch; font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
.foot p + p { margin-top: 8px; }
.foot .foot-lead { color: var(--ink); font-weight: 600; }

/* ---------- narrower screens ---------- */
@media (max-width: 980px) {
  /* one column: headline, subhead and CTAs, then the screenshot, then the hold-or-call tiles */
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "copy" "shot" "hoc"; }
  .hero h1 { margin-bottom: 18px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-shot { margin-top: 32px; }
  .play { grid-template-columns: minmax(0, 1fr); grid-template-areas: "slider" "chips" "how"; }
  .names { grid-template-columns: minmax(0, 1fr); }
  .proof-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-row div:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof-row div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .pair { grid-template-columns: minmax(0, 1fr); }
  /* the path stacks: one station per row, a dashed line joins them */
  .path { grid-template-columns: minmax(0, 1fr); row-gap: 26px; padding-top: 6px; }
  .path-arcs { display: none; }
  .st { order: 0; }
  .st-3, .st-4 { order: 2; }
  .path-note { order: 1; grid-column: auto; margin-top: -4px; }
  .path-note::before { left: 28px; }
  .st:not(.st-4):not(.st-2)::after { content: ""; position: absolute; left: 34px; top: 100%; height: 26px; border-left: 1.5px dashed var(--ink-soft); }
  .path-note::after { content: ""; position: absolute; left: 34px; top: 100%; height: 26px; border-left: 1.5px dashed var(--ink-soft); }
  .st-cap { margin-top: 10px; }
}
@media (max-width: 560px) {
  .hdr { gap: 8px 16px; }
  .nav { order: 3; width: 100%; margin-left: 0; gap: 4px 20px; }
  .nav-cta { margin-left: auto; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 38px); }
  .lede { font-size: 16px; }
  .hero-shot { margin-top: 28px; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .proof-row div { padding: 14px 12px 16px; }
  .proof-row div:nth-child(odd) { padding-left: 0; }
  .proof-row b { font-size: 26px; }
  .tkt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tkt div:nth-child(4n + 1) { border-left: 1px solid var(--line); padding-left: 10px; }
  .tkt div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .tkt div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .tticks span:not(.tt-start):not(.tt-end):not(.tt-zero):not(.tt-0) { display: none; }
  .edge { font-size: 12px; }
  .kv-rows div { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 16px; }
  .band { padding: 20px 18px; }
  .ctas .btn { flex: 1 1 auto; }
}
