/* How the desk works — illustrated guide (command.bettortoken.com/how-it-works/)
 * bettortoken.com design language: ink panels, Cormorant headlines
 * with an italic turn, JetBrains Mono labels, emerald bids, soft-red offers, champagne
 * for our own orders, amber hatch for anything illustrative. Every class is hw-.
 */
:root {
  --ink: #010B20; --dark: #021534; --deep: #012F6B; --cobalt: #025CBD; --bright: #0EA5E9;
  --champ: #E8C97A; --gold: #B38E5D; --em: #34D399; --red: #E88080; --amb: #D9A05B; --ambD: #B45309; --ambP: #FDF1D6;
  --t1: #F4F6FA; --t2: rgba(244,246,250,.66); --t3: rgba(244,246,250,.52);
  --l1: rgba(255,255,255,.08); --l2: rgba(255,255,255,.14); --tile: rgba(255,255,255,.025);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', 'Helvetica Neue', sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  --ease: cubic-bezier(.2,.8,.2,1);
  --banner-h: 34px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--banner-h) + 12px); }
body.hw { margin: 0; background: var(--ink); color: var(--t1); font-family: var(--sans); font-size: 16px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.hw img { max-width: 100%; height: auto; display: block; }
.hw a { color: inherit; }
.hw svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.m { font-family: var(--mono); text-transform: uppercase; letter-spacing: .14em; font-weight: 500; font-size: 10.5px; }
.num { font-variant-numeric: tabular-nums; }
.hw-skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--champ); color: var(--ink); padding: 8px 14px; font-weight: 600; }
.hw-skip:focus { left: 8px; top: 8px; }
.hw :focus-visible { outline: 2px solid var(--champ); outline-offset: 2px; }
.hw-wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

/* ── persistent illustrative banner (sticky on every screen) ── */
.hw-banner { position: sticky; top: 0; z-index: 60; min-height: var(--banner-h); display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 12px; padding: 7px 16px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ambD); text-align: center;
  background: repeating-linear-gradient(-45deg, var(--ambP) 0 10px, #F7E4B5 10px 20px); border-bottom: 1px solid rgba(180,83,9,.3); box-shadow: 0 6px 18px -10px rgba(1,11,32,.6); }
.hw-banner-k { font-weight: 700; }
.hw-banner-x { font-weight: 500; letter-spacing: .12em; }
.hw-banner-sep { width: 5px; height: 5px; border-radius: 50%; background: var(--ambD); opacity: .6; }
.hw-banner-a { color: var(--ambD) !important; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; letter-spacing: .1em; }

/* ── top bar ── */
.hw-top { border-bottom: 1px solid var(--l1); background: linear-gradient(180deg, var(--ink), var(--dark)); }
.hw-top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.hw-brand img { width: 140px; }
.hw-topnav { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(1,11,32,.6); border: 1px solid var(--l1); }
.hw-topnav a { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; text-decoration: none; padding: 8px 14px; border-radius: 999px; color: var(--t2); transition: color .2s, background .2s; }
.hw-topnav a:hover { color: var(--t1); }
.hw-topnav a[aria-current="page"] { background: var(--champ); color: var(--ink); font-weight: 600; }

/* ── hero ── */
.hw-hero { position: relative; padding: 72px 0 56px; overflow: hidden;
  background: radial-gradient(90% 120% at 100% 0%, rgba(2,92,189,.28), transparent 60%), linear-gradient(180deg, var(--dark), var(--ink)); border-bottom: 1px solid var(--l1); }
.hw-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hw-hero .hw-wrap { position: relative; }
.hw-eyebrow { color: var(--bright); margin-bottom: 18px; }
.hw-amber { color: var(--amb); }
.hw-h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6.2vw, 78px); line-height: 1.0; letter-spacing: -.022em; margin: 0 0 22px; max-width: 15ch; }
.hw-h1 em, .hw-h2 em { font-style: italic; color: var(--bright); }
.hw-lede { font-size: clamp(16px, 1.5vw, 19px); font-weight: 300; color: var(--t2); max-width: 64ch; margin: 0 0 34px; line-height: 1.65; }
.hw-index { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hw-index a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid var(--l2); background: rgba(1,11,32,.45);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--t2); transition: border-color .2s, color .2s, transform .2s var(--ease); }
.hw-index a b { color: var(--champ); font-weight: 600; }
.hw-index a:hover { color: var(--t1); border-color: rgba(232,201,122,.5); transform: translateY(-1px); }

/* ── sections / beats ── */
.hw-sec { padding: 88px 0; border-bottom: 1px solid var(--l1); }
.hw-sec-alt { background: linear-gradient(180deg, rgba(2,21,52,.55), rgba(1,11,32,0)); }
.hw-beat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.hw-flip > .hw-copy { order: 2; }
.hw-copy { min-width: 0; }
.hw-copy p { color: var(--t2); margin: 0 0 16px; font-size: 16px; line-height: 1.7; }
.hw-copy p b { color: var(--t1); font-weight: 600; }
.hw-copy-wide { max-width: 760px; margin-bottom: 36px; }
.hw-n { position: relative; color: var(--champ); padding-left: 40px; margin-bottom: 16px; }
.hw-n::before { content: ""; position: absolute; left: 0; top: 50%; width: 28px; height: 1px; background: var(--gold); }
.hw-h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -.018em; margin: 0 0 22px; }
.hw-g { color: var(--champ) !important; }
.hw-plain { margin-top: 22px; padding: 14px 18px; border-left: 2px solid var(--gold); background: rgba(232,201,122,.08); color: var(--t1); font-size: 15px; line-height: 1.6; border-radius: 0 6px 6px 0; }
.hw-plain .m { display: block; color: var(--champ); font-size: 9.5px; margin-bottom: 4px; }

/* ── panels ── */
.hw-panel { margin: 0; min-width: 0; position: relative; border: 1px solid var(--l1); border-radius: 12px; overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, rgba(2,92,189,.2), transparent 55%), linear-gradient(180deg, var(--dark), var(--ink)); box-shadow: 0 30px 80px -30px rgba(1,11,32,.7); }
.hw-ph { display: flex; align-items: center; gap: 10px; padding: 14px 18px 12px; border-bottom: 1px solid var(--l1); min-width: 0; }
.hw-pt { color: var(--t1); font-size: 10.5px; letter-spacing: .16em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hw-sp { flex: 1; }
.hw-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--champ); box-shadow: 0 0 10px rgba(232,201,122,.7); }
.hw-dot-b { background: var(--bright); box-shadow: 0 0 10px rgba(14,165,233,.7); }
.hw-dot-g { background: var(--em); box-shadow: 0 0 10px rgba(52,211,153,.7); }
.hw-pill { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--l2); font-size: 9.5px; letter-spacing: .12em; white-space: nowrap; }
.hw-pill-amb { color: #E9B872; border-color: rgba(217,160,91,.45); background: rgba(180,83,9,.14); }
.hw-pill-amb::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amb); box-shadow: 0 0 8px rgba(217,160,91,.8); }
.hw-pf { padding: 10px 18px; border-top: 1px solid var(--l1); color: var(--t3); font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; }
.hw-cap { color: var(--t2); font-size: 14px; line-height: 1.6; margin: 0; }
.hw-cap b { color: var(--t1); font-weight: 600; }
.hw-stack { display: grid; gap: 22px; min-width: 0; }
.hw-ctl { display: flex; gap: 8px; align-items: center; }
.hw-ctl-l { margin-top: 14px; }
.hw-btn { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--t1); background: rgba(255,255,255,.04); border: 1px solid var(--l2);
  border-radius: 6px; padding: 9px 12px; min-height: 40px; min-width: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.hw-btn:hover { border-color: rgba(14,165,233,.6); }
.hw-btn svg { width: 14px; height: 14px; }
.hw-btn[aria-pressed="true"] { background: var(--champ); color: var(--ink); border-color: var(--champ); font-weight: 600; }
.hw-btn-play .i-pause { display: none; }
.hw-btn-play[aria-pressed="true"] .i-pause { display: block; }
.hw-btn-play[aria-pressed="true"] .i-play { display: none; }

/* ── 01 ladder ── */
.hw-lad-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; }
.hw-ladder { position: relative; padding: 12px 14px 14px; border-right: 1px solid var(--l1); min-width: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px); background-size: 100% 26px; background-position: 0 37px; }
.hw-lh { display: grid; grid-template-columns: 1fr 64px 1fr; color: var(--t3); font-size: 9.5px; padding: 0 2px 8px; }
.hw-lh span:nth-child(2) { text-align: center; }
.hw-lh span:nth-child(3) { text-align: right; }
.hw-rows { position: relative; }
.hw-row { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; height: 26px; font-family: var(--mono); font-size: 11.5px; }
.hw-row .px { text-align: center; color: var(--champ); font-weight: 500; }
.hw-row .side { position: relative; height: 18px; display: flex; align-items: center; }
.hw-row .bd { justify-content: flex-end; }
.hw-row .ak { justify-content: flex-start; }
.hw-row .bar { position: absolute; top: 0; bottom: 0; border-radius: 2px; transform-origin: right center; transition: transform .6s var(--ease), opacity .4s; }
.hw-row .bd .bar { right: 0; background: linear-gradient(270deg, rgba(52,211,153,.42), rgba(52,211,153,.12)); }
.hw-row .ak .bar { left: 0; transform-origin: left center; background: linear-gradient(90deg, rgba(232,128,128,.42), rgba(232,128,128,.12)); }
.hw-row .qv { position: relative; z-index: 1; padding: 0 6px; font-size: 10.5px; color: var(--t2); }
.hw-row .ours .bar { background: linear-gradient(270deg, rgba(232,201,122,.75), rgba(232,201,122,.25)) !important; box-shadow: 0 0 14px rgba(232,201,122,.35); }
.hw-row .ak.ours .bar { background: linear-gradient(90deg, rgba(232,201,122,.75), rgba(232,201,122,.25)) !important; }
.hw-row .ours .qv { color: var(--champ); font-weight: 600; }
.hw-row .ours .tag { position: relative; z-index: 1; font-size: 8.5px; letter-spacing: .14em; color: var(--ink); background: var(--champ); padding: 1px 5px; border-radius: 3px; font-weight: 600; }
.hw-row .side.is-off .bar { transform: scaleX(0); opacity: 0; }
.hw-row .side.is-off .qv, .hw-row .side.is-off .tag { opacity: 0; }
.hw-row .side .qv, .hw-row .side .tag { transition: opacity .35s; }
.hw-row.is-fair::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed rgba(14,165,233,.85); pointer-events: none; }
.hw-row.is-fair .px { position: relative; z-index: 1; }
.hw-row.is-fair .px span { background: var(--dark); padding: 0 4px; color: var(--bright); }
.hw-row .fairtag { position: absolute; right: 0; z-index: 1; font-size: 8.5px; letter-spacing: .14em; color: var(--bright); background: var(--dark); padding: 0 4px; }
.hw-row.is-flash { animation: hw-flash .9s var(--ease); }
@keyframes hw-flash { 0% { background: rgba(232,201,122,.35); } 100% { background: transparent; } }
.hw-taker { position: absolute; z-index: 3; left: 50%; top: 0; padding: 5px 9px; border-radius: 4px; font-size: 9.5px; letter-spacing: .12em; white-space: nowrap; color: var(--ink); font-weight: 600;
  opacity: 0; pointer-events: none; transform: translate(-50%, 0) scale(.9); transition: opacity .35s, transform .7s var(--ease); }
.hw-taker.is-sell { background: var(--red); }
.hw-taker.is-buy { background: var(--em); }
.hw-taker.is-in { opacity: 1; }
.hw-lad-side { display: flex; flex-direction: column; gap: 14px; padding: 16px 18px; min-width: 0; }
.hw-steps { display: flex; gap: 6px; }
.hw-steps i { flex: 1; height: 3px; border-radius: 2px; background: var(--l2); transition: background .3s; }
.hw-steps i.is-on { background: var(--champ); }
.hw-lad-side .hw-cap { min-height: 6.4em; }
.hw-ledger { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--l1); border: 1px solid var(--l1); border-radius: 8px; overflow: hidden; }
.hw-ledger > div { background: rgba(1,11,32,.8); padding: 8px 10px; min-width: 0; }
.hw-ledger dt { color: var(--t3); font-size: 9px; margin-bottom: 2px; }
.hw-ledger dd { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--t1); transition: color .3s; }
.hw-ledger-net { grid-column: 1 / -1; }
.hw-ledger-net dd { font-size: 16px; color: var(--champ); }
.hw-ledger dd.is-upd { animation: hw-upd .8s var(--ease); }
@keyframes hw-upd { 0% { color: var(--bright); } 100% { color: inherit; } }
.hw-tape { display: grid; gap: 4px; min-height: 52px; font-size: 9.5px; letter-spacing: .1em; }
.hw-tape div { display: flex; justify-content: space-between; gap: 8px; padding: 4px 8px; border-radius: 4px; background: rgba(255,255,255,.03); color: var(--t2); animation: hw-in .45s var(--ease); }
.hw-tape div b { color: var(--t1); font-weight: 600; }
@keyframes hw-in { from { transform: translateY(-10px); background: rgba(14,165,233,.14); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── 02 de-vig + rule ── */
.hw-dv, .hw-ru { padding: 18px; }
.hw-dv-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 52px; gap: 12px; align-items: center; margin-bottom: 10px; }
.hw-dv-k { color: var(--t2); }
.hw-dv-row b { font-family: var(--mono); font-size: 14px; text-align: right; color: var(--t1); }
.hw-dv-bar { position: relative; height: 22px; border-radius: 4px; background: rgba(255,255,255,.04); overflow: hidden; }
.hw-dv-bar::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1px dashed rgba(244,246,250,.35); }
.hw-dv-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; transform-origin: left center; transform: scaleX(.52); background: linear-gradient(90deg, var(--cobalt), var(--bright)); border-radius: 4px; transition: transform 1s var(--ease); }
.hw-dv.is-devig .hw-dv-bar i { transform: scaleX(.5); background: linear-gradient(90deg, rgba(232,201,122,.5), var(--champ)); }
.hw-dv-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; color: var(--t3); padding: 10px 0 14px; border-bottom: 1px solid var(--l1); margin-bottom: 14px; }
.hw-dv-sum b { color: var(--t1); font-size: 13px; }
.hw-dv-vig { color: var(--red); letter-spacing: .1em; transition: color .4s; }
.hw-dv.is-devig .hw-dv-vig { color: var(--em); }
.hw-ru-line { position: relative; height: 92px; margin: 4px 6px 12px; }
.hw-ru-axis { position: absolute; left: 0; right: 0; top: 46px; height: 2px; background: var(--l2); border-radius: 1px; }
.hw-ru-band { position: absolute; top: 34px; height: 26px; left: calc((49 - 44) / 12 * 100%); width: calc(2 / 12 * 100%); background: repeating-linear-gradient(-45deg, rgba(232,128,128,.22) 0 5px, rgba(232,128,128,.08) 5px 10px); border: 1px solid rgba(232,128,128,.35); border-radius: 3px; }
.hw-ru-fair { position: absolute; left: 50%; top: 18px; bottom: 18px; border-left: 1px dashed var(--bright); }
.hw-ru-fair span { position: absolute; top: -18px; left: 0; transform: translateX(-50%); white-space: nowrap; color: var(--bright); font-size: 9.5px; }
.hw-ru-mk { position: absolute; top: 36px; width: 2px; height: 22px; margin-left: -1px; background: var(--champ); box-shadow: 0 0 10px rgba(232,201,122,.6); transition: left .45s var(--ease), background .3s, opacity .3s; }
.hw-ru-mk span { position: absolute; top: 26px; transform: translateX(-50%); white-space: nowrap; color: var(--champ); font-size: 9.5px; transition: color .3s; }
.hw-ru-bid span { transform: translateX(-80%); }
.hw-ru-ask span { transform: translateX(-20%); }
.hw-ru.is-no .hw-ru-mk { background: var(--red); box-shadow: none; opacity: .55; }
.hw-ru.is-no .hw-ru-mk span { color: var(--red); }
.hw-ru-ticks { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; color: var(--t3); font-size: 9px; }
.hw-ru-ticks span:nth-child(1) { margin-left: calc(1 / 12 * 100% - 14px); }
.hw-ru-ticks span:nth-child(2) { visibility: hidden; }
.hw-ru-ticks span:nth-child(3) { margin-right: calc(1 / 12 * 100% - 14px); }
.hw-ru-in { display: grid; grid-template-columns: auto minmax(0, 1fr) 48px; gap: 12px; align-items: center; margin-bottom: 12px; }
.hw-ru-in .m { color: var(--t3); font-size: 9.5px; }
.hw-ru-in b { font-family: var(--mono); font-size: 13px; text-align: right; }
.hw input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; min-width: 0; height: 28px; background: transparent; cursor: pointer; margin: 0; }
.hw input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--cobalt), var(--bright)); }
.hw input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--cobalt), var(--bright)); }
.hw input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: var(--champ); border: 2px solid var(--ink); box-shadow: 0 0 0 1px var(--champ), 0 0 12px rgba(232,201,122,.5); }
.hw input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--champ); border: 2px solid var(--ink); }
.hw-ru-tg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; }
.hw-ru-tg .m { color: var(--t3); font-size: 9.5px; margin-right: 6px; }
.hw-seg { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; min-height: 34px; border-radius: 999px; border: 1px solid var(--l2); background: rgba(1,11,32,.6); color: var(--t2); cursor: pointer; }
.hw-seg.is-on { background: var(--champ); color: var(--ink); border-color: var(--champ); font-weight: 600; }
.hw-ru-out { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 8px; border: 1px solid rgba(52,211,153,.35); background: rgba(52,211,153,.07); transition: border-color .3s, background .3s; }
.hw-ru-verdict { flex: none; padding: 5px 10px; border-radius: 4px; background: var(--em); color: var(--ink); font-weight: 700; font-size: 10px; transition: background .3s; }
.hw-ru-why { color: var(--t1); font-size: 14px; line-height: 1.45; }
.hw-ru.is-no .hw-ru-out { border-color: rgba(232,128,128,.4); background: rgba(232,128,128,.07); }
.hw-ru.is-no .hw-ru-verdict { background: var(--red); }

/* ── 03 inventory ── */
.hw-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.hw-ho, .hw-pa { padding: 18px; display: grid; gap: 14px; }
.hw-ho-buy { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid rgba(232,201,122,.35); border-radius: 8px; background: rgba(232,201,122,.06); }
.hw-ho-buy .m { color: var(--t3); font-size: 9px; }
.hw-ho-buy b { font-family: var(--mono); font-size: 15px; color: var(--champ); font-weight: 500; }
.hw-ho-buy i { font-style: normal; font-size: 12.5px; color: var(--t2); }
.hw-ho-flow { position: relative; height: 34px; }
.hw-ho-flow::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px dashed var(--l2); }
.hw-ho-tok { position: absolute; left: 50%; top: 0; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--champ); box-shadow: 0 0 12px rgba(232,201,122,.8); opacity: 0; }
.hw-ho-out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hw-ho-o { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--l1); background: var(--tile); transition: border-color .4s, background .4s, transform .4s var(--ease); }
.hw-ho-o .m { color: var(--t3); font-size: 9px; }
.hw-ho-o b { font-family: var(--mono); font-size: 13px; font-weight: 500; }
.hw-ho-o i { font-style: normal; font-family: var(--mono); font-size: 13px; }
.hw-ho-win i { color: var(--em); }
.hw-ho-lose i { color: var(--red); }
.hw-ho.is-win .hw-ho-win { border-color: rgba(52,211,153,.55); background: rgba(52,211,153,.08); transform: translateY(-2px); }
.hw-ho.is-lose .hw-ho-lose { border-color: rgba(232,128,128,.55); background: rgba(232,128,128,.08); transform: translateY(-2px); }
.hw-ho.is-run .hw-ho-tok { animation: hw-drop 1.2s var(--ease) forwards; }
@keyframes hw-drop { 0% { top: 0; opacity: 0; } 20% { opacity: 1; } 100% { top: 24px; opacity: 0; } }
.hw-pa-legs { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hw-pa-leg, .hw-pa-cost { display: grid; justify-items: center; gap: 2px; padding: 10px 12px; min-width: 70px; border-radius: 8px; border: 1px solid var(--l2); background: var(--tile); transition: transform .8s var(--ease), opacity .5s; }
.hw-pa-leg .m, .hw-pa-cost .m { color: var(--t3); font-size: 9px; }
.hw-pa-leg b, .hw-pa-cost b { font-family: var(--mono); font-size: 16px; font-weight: 500; }
.hw-pa-yes b { color: var(--em); }
.hw-pa-no b { color: var(--red); }
.hw-pa-cost { border-color: rgba(232,201,122,.45); }
.hw-pa-cost b { color: var(--champ); }
.hw-pa-plus, .hw-pa-eq { font-family: var(--mono); color: var(--t3); font-size: 16px; }
.hw-pa-coin { justify-self: center; display: grid; justify-items: center; align-content: center; width: 112px; height: 112px; border-radius: 50%;
  border: 1px solid rgba(232,201,122,.55); background: radial-gradient(circle at 35% 30%, rgba(232,201,122,.28), rgba(179,142,93,.08) 70%); box-shadow: 0 0 40px -8px rgba(232,201,122,.45);
  transition: transform .8s var(--ease), opacity .6s; }
.hw-pa-coin span { font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--champ); }
.hw-pa-coin i { font-style: normal; color: var(--t3); font-size: 8.5px; margin-top: 4px; }
.hw-pa.is-split .hw-pa-yes { transform: translateX(-10px); }
.hw-pa.is-split .hw-pa-no { transform: translateX(10px); }
.hw-pa.is-split .hw-pa-coin { transform: scale(.7); opacity: .25; }

/* ── 04 churn ── */
.hw-ch { padding: 18px; display: grid; gap: 16px; }
.hw-ch-grid { display: grid; grid-template-columns: repeat(40, minmax(0, 1fr)); gap: 3px; }
.hw-ch-grid { filter: drop-shadow(0 0 6px rgba(14,165,233,.25)); }
.hw-ch-grid i { aspect-ratio: 1; border-radius: 2px; background: rgba(255,255,255,.06); transition: background .25s, opacity .25s; }
.hw-ch-grid i.is-on { background: var(--bright); }
.hw-ch-grid i.is-out { opacity: .25; }
.hw-ch-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--l1); border: 1px solid var(--l1); border-radius: 8px; overflow: hidden; }
.hw-ch-tiles > div { background: rgba(1,11,32,.82); padding: 10px 12px; min-width: 0; }
.hw-ch-tiles .m { display: block; color: var(--t3); font-size: 9px; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hw-ch-tiles b { font-family: var(--sans); font-weight: 500; font-size: 18px; white-space: nowrap; }
.hw-ch-big b { color: var(--champ); }
.hw-ch-in { display: grid; gap: 4px; }
.hw-ch-in label { display: grid; grid-template-columns: 150px minmax(0, 1fr) 76px; gap: 12px; align-items: center; }
.hw-ch-in label .m { color: var(--t3); font-size: 9.5px; }
.hw-ch-in label b { font-family: var(--mono); font-size: 12px; color: var(--t2); min-width: 0; text-align: right; }

/* ── 05 risk ── */
.hw-cards { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.hw-card { display: grid; align-content: start; gap: 8px; padding: 18px; border: 1px solid var(--l1); border-radius: 12px; background: linear-gradient(180deg, rgba(2,21,52,.8), rgba(1,11,32,.8)); transition: border-color .3s, transform .3s var(--ease); }
.hw-card:hover { border-color: rgba(232,201,122,.35); transform: translateY(-2px); }
.hw-card svg { width: 22px; height: 22px; color: var(--champ); }
.hw-card b { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.1; }
.hw-card span { color: var(--t2); font-size: 13.5px; line-height: 1.55; }
.hw-gv { padding: 16px 18px 6px; display: grid; gap: 10px; }
.hw-gv-row { display: grid; grid-template-columns: 180px minmax(0, 1fr) 92px; gap: 14px; align-items: center; transition: opacity .4s; }
.hw-gv-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hw-gv-bar { position: relative; height: 18px; background: rgba(255,255,255,.04); border-radius: 3px; }
.hw-gv-bar::before { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; border-left: 1px solid rgba(244,246,250,.35); }
.hw-gv-bar i { position: absolute; top: 0; bottom: 0; left: 50%; width: 50%; transform-origin: left center; border-radius: 0 3px 3px 0; background: linear-gradient(90deg, rgba(52,211,153,.25), var(--em)); transition: transform .6s var(--ease), background .3s; }
.hw-gv-bar i.is-neg { left: auto; right: 50%; transform-origin: right center; border-radius: 3px 0 0 3px; background: linear-gradient(270deg, rgba(232,128,128,.25), var(--red)); }
.hw-gv-st { justify-self: end; font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; border: 1px solid rgba(52,211,153,.45); color: var(--em); white-space: nowrap; }
.hw-gv-row.is-paused .hw-gv-st { border-color: rgba(217,160,91,.6); color: #E9B872; background: rgba(180,83,9,.16); }
.hw-gv-row.is-paused .hw-gv-bar i { filter: grayscale(.7); opacity: .6; }
.hw-gv-row.is-paused .hw-gv-k { color: var(--t3); }
.hw-gv-cap { padding: 6px 18px 16px; }

/* ── 06 directional ── */
.hw-df { padding: 18px; display: grid; gap: 0; justify-items: stretch; }
.hw-df-n { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; padding: 12px 14px; border: 1px solid var(--l2); border-radius: 8px; background: var(--tile); }
.hw-df-n .m { grid-row: span 2; color: var(--bright); font-size: 11px; align-self: center; }
.hw-df-n b { font-weight: 600; font-size: 15px; }
.hw-df-n i { font-style: normal; color: var(--t2); font-size: 13px; }
.hw-df-a { position: relative; height: 26px; }
.hw-df-a::before { content: ""; position: absolute; left: 31px; top: 2px; bottom: 2px; border-left: 1px dashed rgba(14,165,233,.6); }
.hw-df-a span { position: absolute; left: 28px; top: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--bright); box-shadow: 0 0 10px rgba(14,165,233,.9); opacity: 0; }
.hw-panel.is-vis .hw-df-a span { animation: hw-pulse 1.8s var(--ease) infinite; }
.hw-panel.is-vis .hw-df-a:nth-of-type(4) span { animation-delay: .9s; }
@keyframes hw-pulse { 0% { top: 0; opacity: 0; } 25% { opacity: 1; } 100% { top: 20px; opacity: 0; } }
.hw-df-acct { margin-top: 14px; padding: 10px 12px; border: 1px dashed rgba(232,201,122,.4); border-radius: 8px; color: var(--champ); font-size: 9.5px; letter-spacing: .12em; text-align: center; line-height: 1.6; }

/* ── 07 what is real ── */
.hw-real-sec { background: radial-gradient(70% 120% at 0% 0%, rgba(232,201,122,.10), transparent 60%); }
.hw-real { border: 1px solid rgba(232,201,122,.3); border-radius: 14px; padding: 36px; background: linear-gradient(180deg, rgba(2,21,52,.9), rgba(1,11,32,.9)); }
.hw-real-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.hw-real-item { padding: 22px; border: 1px solid var(--l1); border-radius: 10px; background: var(--tile); display: grid; align-content: start; gap: 10px; justify-items: start; }
.hw-real-item h3 { margin: 4px 0 0; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.1; }
.hw-real-item p { margin: 0; color: var(--t2); font-size: 15px; line-height: 1.65; }
.hw-real-item p b { color: var(--t1); }
.hw-pill-real { color: var(--t1); border-color: rgba(244,246,250,.35); }
.hw-pill-real::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--t1); }
.hw-pill-wip { color: var(--bright); border-color: rgba(14,165,233,.45); background: rgba(14,165,233,.08); }
.hw-pill-wip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--bright); animation: hw-ping 2.4s ease-out infinite; }
@keyframes hw-ping { 0% { box-shadow: 0 0 0 0 rgba(14,165,233,.7); } 100% { box-shadow: 0 0 0 8px rgba(14,165,233,0); } }
.hw-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; padding: 12px 20px; border-radius: 2px; background: var(--cobalt); color: #fff !important; text-decoration: none;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; transition: background .2s; }
.hw-cta:hover { background: var(--deep); }
.hw-cta svg { width: 14px; height: 14px; }

/* ── footer ── */
.hw-foot { padding: 40px 0 48px; background: var(--ink); }
.hw-foot-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.hw-foot-row img { width: 120px; }
.hw-foot-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.hw-foot-nav a { color: var(--t2); text-decoration: none; font-size: 13px; }
.hw-foot-nav a:hover { color: var(--t1); }
.hw-disc { color: var(--t3); font-size: 12.5px; line-height: 1.7; margin: 0 0 18px; max-width: 110ch; }
.hw-foot-b { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; color: var(--t3); font-size: 9.5px; padding-top: 16px; border-top: 1px solid var(--l1); }

/* ── reveal ── */
.hw-rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.9,.3,1), transform .7s cubic-bezier(.2,.9,.3,1); }
.hw-rv.is-in { opacity: 1; transform: none; }

/* ── responsive ── */
@media (max-width: 1100px) {
  .hw-beat { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hw-flip > .hw-copy { order: 0; }
  .hw-copy { max-width: 760px; }
  .hw-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hw-two, .hw-real-grid { grid-template-columns: minmax(0, 1fr); }
  .hw-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hw-gv-row { grid-template-columns: 128px minmax(0, 1fr) 82px; gap: 10px; }
}
@media (max-width: 720px) {
  .hw-lad-body { grid-template-columns: minmax(0, 1fr); }
  .hw-ladder { border-right: 0; border-bottom: 1px solid var(--l1); }
  .hw-lad-side .hw-cap { min-height: 7.8em; }
  .hw-ch-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hw-ch-grid { grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 4px; }
  .hw-ch-in label { grid-template-columns: minmax(0, 1fr) 76px; }
  .hw-ch-in label .m { grid-column: 1 / -1; margin-bottom: -6px; }
  .hw-ch-in label input { grid-column: 1; }
}
@media (max-width: 768px) {
  :root { --banner-h: 46px; }
  .hw-wrap { padding: 0 16px; }
  .hw-sec { padding: 60px 0; }
  .hw-hero { padding: 48px 0 40px; }
  .hw-banner { font-size: 9.5px; letter-spacing: .12em; gap: 2px 10px; padding: 6px 12px; }
  .hw-banner-x, .hw-banner-x + .hw-banner-sep { display: none; }
  .hw-real { padding: 22px 16px; }
  .hw-real-item { padding: 18px 16px; }
  .hw-top-in { min-height: 56px; }
  .hw-brand img { width: 116px; }
  .hw-topnav a { padding: 7px 10px; font-size: 10px; }
  .hw-ph { padding: 12px 14px 10px; }
  .hw-pf { padding: 10px 14px; }
  .hw-dv, .hw-ru, .hw-ho, .hw-pa, .hw-ch, .hw-df { padding: 14px; }
  .hw-lad-side { padding: 14px; }
  .hw-gv { padding: 14px 14px 4px; }
  .hw-gv-cap { padding: 6px 14px 14px; }
}
@media (max-width: 520px) {
  .hw-cards { grid-template-columns: minmax(0, 1fr); }
  .hw-gv-row { grid-template-columns: minmax(0, 1fr) 76px; row-gap: 4px; }
  .hw-gv-k { grid-column: 1 / -1; }
  .hw-gv-bar { grid-column: 1; }
  .hw-ho-out { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hw-pa-leg, .hw-pa-cost { min-width: 62px; padding: 8px 10px; }
  .hw-ru-in { grid-template-columns: minmax(0, 1fr) 48px; }
  .hw-ru-in .m { grid-column: 1 / -1; }
  .hw-ph .hw-pill { padding: 3px 8px; font-size: 9px; }
  .hw-index a { padding: 7px 11px 7px 9px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hw *, .hw *::before, .hw *::after { animation: none !important; transition: none !important; }
  .hw-rv { opacity: 1; transform: none; }
}

/* v2: tagline, booking link, venue panel */
.hw-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.hw-topnav { flex: none; }
.hw-topnav a { white-space: nowrap; }
@media (max-width: 520px) { .hw-topnav a:not([aria-current="page"]) { display: none; } }
.hw-tag { color: var(--champ); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.hw-book { margin-left: 10px; padding: 9px 14px; border-radius: 2px; background: var(--cobalt); color: #fff !important; text-decoration: none; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.hw-book:hover { background: var(--deep); }
.hw-venues { list-style: none; margin: 18px 0 14px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hw-ven { padding: 18px; border: 1px solid var(--l1); border-radius: 10px; background: var(--tile); display: grid; gap: 10px; justify-items: start; align-content: start; }
.hw-ven b { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.1; color: var(--t1); }
.hw-pill-live { color: #7BE0A8; border-color: rgba(52,199,120,.45); background: rgba(52,199,120,.10); }
.hw-pill-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #34C778; box-shadow: 0 0 8px rgba(52,199,120,.8); }
.hw-real-note { color: var(--t2); font-size: 14px; margin: 0 0 6px; }
.hw-foot-brand { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; max-width: 100%; }
@media (max-width: 900px) { .hw-venues { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Header: the tagline needs the full desktop row; between phone and desktop keep the logo and the booking link on one line. */
@media (max-width: 1100px) { .hw-brand .hw-tag { display: none; } }
@media (min-width: 721px) and (max-width: 900px) { .hw-topnav { display: none; } }
@media (max-width: 720px) { .hw-book { display: none; } }
