:root {
  --blue: #2E6BFF; --blue-d: #1F4FD1; --blue-l: #DCE6FF;
  --cream: #FFF6E6; --paper: #FFFFFF; --ink: #15120F; --ink-2: #3F3931; --muted: #6B6157;
  --orange: #FF9B2E; --orange-d: #D9731F; --red: #FF7A6B; --red-d: #B8322A; --green: #4FD38F; --green-d: #13784A;
  --radius: 18px; --hard: 0 5px 0 var(--ink);
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--cream); color: var(--ink); font: 500 17px/1.5 "Bricolage Grotesque", system-ui, sans-serif; }
a { color: inherit; }
img { max-width: 100%; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--paper); border: 3px solid var(--ink); padding: 8px 12px; border-radius: 10px; }
.skip:focus { left: 8px; }
.wm { font-family: "Bagel Fat One", sans-serif; font-size: 34px; line-height: 1; letter-spacing: -.01em; }
.wm .c { color: var(--orange); }

/* live tape */
.tape { background: var(--ink); color: var(--cream); overflow: hidden; white-space: nowrap; font: 500 13px "JetBrains Mono", monospace; height: 34px; display: flex; align-items: center; }
.tape-in { display: inline-flex; gap: 28px; padding-left: 100%; animation: tape 70s linear infinite; }
.tape-in b { font-weight: 700; margin-right: 6px; }
.up { color: #6BE6A5; } .down { color: #FF8A7D; }
@keyframes tape { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .tape-in { animation: none; padding-left: 16px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 14px; font: 700 16px "Bricolage Grotesque", sans-serif; text-decoration: none; cursor: pointer; border: 3px solid var(--ink); color: var(--ink); box-shadow: var(--hard); transition: transform .12s ease, box-shadow .12s ease; }
.btn.solid { background: var(--orange); }
.btn.line { background: var(--cream); }
.btn.ghost { background: transparent; border-color: transparent; box-shadow: none; }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
:focus-visible { outline: 3px solid var(--orange-d); outline-offset: 3px; }

/* the blue stage: header + hero on cobalt, like the banner */
.stage { background: radial-gradient(rgba(255,255,255,.07) 1.4px, transparent 1.6px) 0 0 / 18px 18px, var(--blue); color: var(--cream); overflow-x: clip; padding-bottom: 20px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1180px; margin: 0 auto; padding: 16px 20px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--cream); }
.brand img { border-radius: 50%; border: 3px solid var(--ink); background: var(--blue); }
.stage .wm, .foot .wm { color: var(--cream); text-shadow: 0 3px 0 var(--ink); }
.links { display: flex; align-items: center; gap: 4px; }
.links a { text-decoration: none; padding: 10px 12px; border-radius: 12px; font-weight: 700; color: var(--cream); }
.links a:hover { background: var(--blue-d); }
.links a[hidden] { display: none; }
.hero { max-width: 1180px; margin: 0 auto; padding: 8px 20px 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--ink); background: var(--cream); border: 3px solid var(--ink); border-radius: 999px; padding: 5px 12px; box-shadow: 0 3px 0 var(--ink); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-d); }
.dot.closed { background: var(--muted); }
h1 { font-weight: 800; font-size: clamp(40px, 5.6vw, 74px); line-height: .98; letter-spacing: -.035em; margin: 18px 0 16px; color: var(--cream); text-shadow: 0 4px 0 var(--ink); }
h1 em { font-style: normal; color: var(--orange); }
.sub { font-size: 19px; color: var(--blue-l); max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* token strip in the hero: countdown before launch, CA after */
.token-strip { margin-top: 20px; }
.token-strip:empty { display: none; }
.strip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; background: var(--ink); color: var(--cream); border-radius: 14px; padding: 10px 14px; font: 700 15px "JetBrains Mono", monospace; }
.strip b { color: var(--orange); }
.strip a { color: var(--cream); }
.ca-btn { display: inline-flex; align-items: center; gap: 10px; font: 700 15px "JetBrains Mono", monospace; background: var(--cream); color: var(--ink); border: 3px solid var(--ink); border-radius: 14px; padding: 10px 14px; box-shadow: var(--hard); cursor: pointer; max-width: 100%; }
.ca-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-btn i { font-style: normal; background: var(--orange); border: 2px solid var(--ink); border-radius: 8px; padding: 2px 8px; font-size: 13px; }

/* the scene: a framed cel illustration. Desk surface at 51.3% of the scene height, chair seat at ~69.5%. */
.scene-col { display: grid; gap: 14px; min-width: 0; }
.scene { position: relative; aspect-ratio: 4 / 3; border: 4px solid var(--ink); border-radius: 28px; overflow: hidden; box-shadow: 0 8px 0 var(--ink);
  background: radial-gradient(rgba(255,255,255,.1) 1.4px, transparent 1.6px) 0 0 / 16px 16px, #3A76FF; }
.floor { position: absolute; left: 0; right: 0; top: 86%; bottom: 0; background: #1E48D2; border-top: 4px solid var(--ink); }
.rug { position: absolute; left: 60%; right: 2%; top: 87.5%; height: 5%; background: #173BB5; border-radius: 50%; }
.desk { position: absolute; left: 3%; right: 40%; top: 50%; bottom: 14%; z-index: 2; }
.desk-top { position: absolute; left: 0; right: 0; top: 0; height: 15%; background: linear-gradient(#E6A76B 0 52%, #B8723B 52%); border: 4px solid var(--ink); border-radius: 12px; z-index: 1; }
.desk-front { position: absolute; left: 3%; right: 3%; top: 12%; bottom: 0; background: linear-gradient(#7E4822 0 14%, #A5602E 14%); border: 4px solid var(--ink); border-top: 0; display: flex; justify-content: space-between; align-items: flex-start; padding: 8% 7% 0; }
.drawer { position: relative; width: 36%; height: 44%; background: #B8723B; border: 4px solid var(--ink); border-radius: 8px; box-shadow: inset 0 -6px 0 #9A5A2B; }
.drawer::after { content: ""; position: absolute; left: 50%; top: 42%; width: 22%; height: 18%; transform: translate(-50%, -50%); background: var(--ink); border-radius: 99px; }
.monitor { position: absolute; left: 6%; bottom: 48.8%; width: 15%; z-index: 3; }
.chair { position: absolute; left: 62%; width: 35%; top: 36%; height: 50%; z-index: 4; }
.cat-btn { position: absolute; right: 4%; bottom: 30.4%; width: 36%; z-index: 5; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 40px; -webkit-tap-highlight-color: transparent; }
.cat-btn img { width: 100%; height: auto; display: block; transform-origin: 50% 100%; animation: breathe 3.4s ease-in-out infinite; user-select: none; -webkit-user-drag: none; }
.cat-btn:active img { transform: scale(.98, .96); animation: none; }
@keyframes breathe { 50% { transform: scale(1.012, 1.022); } }
.track { position: absolute; left: 3%; right: 40%; top: 51.3%; height: 0; z-index: 6; }
.board { position: absolute; left: 4%; top: 5%; width: 44%; height: 24%; z-index: 1; display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr); background: #101A3E; border: 4px solid var(--ink); border-radius: 16px; box-shadow: 0 5px 0 var(--ink); overflow: hidden; font: 700 clamp(8px, 1.05vw, 13px) "JetBrains Mono", monospace; color: var(--cream); }
.board-top { display: flex; justify-content: space-between; gap: 8px; padding: .55em .9em; background: #1C2B61; color: var(--blue-l); letter-spacing: .03em; white-space: nowrap; }
.board-top b { color: var(--orange); }
.board-rows { display: grid; grid-template-rows: 1fr 1fr; min-width: 0; }
.board-row { overflow: hidden; white-space: nowrap; display: flex; align-items: center; border-top: 2px solid #1C2B61; }
.board-row > div { display: inline-flex; gap: 1.8em; padding-left: 1em; animation: board 30s linear infinite; }
@keyframes board { to { transform: translateX(-50%); } }
.board-row.r2 > div { animation-duration: 38s; animation-direction: reverse; }
.board-row i { font-style: normal; }
.bubble { position: absolute; right: 3%; top: 3%; max-width: 44%; z-index: 8; background: var(--cream); color: var(--ink); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 0 4px 0 var(--ink); padding: .5em .8em; font: 800 clamp(12px, 1.35vw, 17px)/1.2 "Bricolage Grotesque", sans-serif; }
.bubble::after { content: ""; position: absolute; right: 34%; bottom: -10px; width: 16px; height: 16px; background: var(--cream); border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); }
.bubble.pop { animation: pop .25s ease-out; }
@keyframes pop { from { transform: scale(.92); } }
.zzz { position: absolute; right: 11%; top: 19%; z-index: 7; font: 800 clamp(18px, 2.2vw, 30px) "Bricolage Grotesque"; color: var(--cream); text-shadow: 0 3px 0 var(--ink); opacity: 0; letter-spacing: .1em; transition: opacity .4s; }
.scene.sleeping .zzz { opacity: 1; animation: zzz 2.4s ease-in-out infinite; }
@keyframes zzz { 50% { transform: translateY(-8px); } }
.heart { position: absolute; z-index: 9; width: 5%; pointer-events: none; animation: float 1s ease-out forwards; }
@keyframes float { to { transform: translateY(-70px) scale(1.3) rotate(var(--r, 0deg)); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scene.sleeping .zzz, .cat-btn img, .board-row > div, .bubble.pop { animation: none; } .heart { display: none; } }

/* cel cubes: coloured front face, lighter top, darker side, ink outline */
.block { position: absolute; bottom: 0; width: 15%; aspect-ratio: 1 / 1; container-type: inline-size; }
.block svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.block .face { position: absolute; left: 8%; top: 26%; width: 66%; height: 66%; display: grid; place-items: center; align-content: center; gap: 1px; color: var(--ink); }
.block .sym { font-weight: 800; font-size: 17cqi; letter-spacing: -.03em; line-height: 1; }
.block .chg { font: 700 12.5cqi "JetBrains Mono", monospace; letter-spacing: -.06em; }

/* hand him a stock */
.feed { display: flex; align-items: center; gap: 12px; min-width: 0; }
.feed-label { flex: none; font-weight: 800; font-size: 15px; color: var(--cream); text-shadow: 0 2px 0 var(--ink); }
.feed-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; min-width: 0; scrollbar-width: thin; }
.feed-chips button { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; font: 800 14px "Bricolage Grotesque", sans-serif; color: var(--ink); background: var(--cream); border: 3px solid var(--ink); border-radius: 12px; box-shadow: 0 3px 0 var(--ink); cursor: pointer; }
.feed-chips button span { font: 700 12px "JetBrains Mono", monospace; }
.feed-chips button[data-dir="down"] span { color: var(--red-d); } .feed-chips button[data-dir="up"] span { color: var(--green-d); }
.feed-chips button:active { transform: translateY(3px); box-shadow: 0 0 0 var(--ink); }
.hint { margin-top: 14px; font-weight: 700; font-size: 14px; color: var(--blue-l); }

/* bands */
.band { padding: 56px 0; }
.band-in { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.band.blue { background: var(--blue); color: var(--cream); }
.band:not(.blue) + .band:not(.blue) { padding-top: 8px; }
.head { margin-bottom: 22px; max-width: 760px; }
.head.row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; }
.eyebrow { font: 700 13px "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-d); }
.blue .eyebrow { color: var(--orange); }
h2 { font-weight: 800; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.02; letter-spacing: -.03em; margin-top: 6px; }
.blue h2 { text-shadow: 0 4px 0 var(--ink); }
.lede { font-size: 18px; color: var(--ink-2); margin-top: 10px; }
.next { font-weight: 700; color: var(--ink); }
.fine { font: 500 13px "JetBrains Mono", monospace; color: var(--muted); }
.blue .fine { color: var(--blue-l); }

/* after hours table */
.after-table { background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--hard); overflow: hidden; margin-bottom: 12px; }
.tr { display: grid; grid-template-columns: 1.1fr 1fr 1fr .9fr 2.2fr; gap: 10px; align-items: center; padding: 10px 18px; border-top: 2px solid #EFE4D2; }
.tr.th { border-top: 0; background: var(--ink); color: var(--cream); font: 700 12px "JetBrains Mono", monospace; letter-spacing: .06em; text-transform: uppercase; }
.tr .sym { font-weight: 800; font-size: 19px; }
.tr .num { font: 500 15px "JetBrains Mono", monospace; }
.tr .num small { display: block; font-size: 11px; color: var(--muted); }
.tr .say { font-weight: 700; }
.chip { display: inline-block; font: 700 14px "JetBrains Mono", monospace; padding: 3px 9px; border-radius: 9px; border: 2px solid var(--ink); white-space: nowrap; }
.chip.down { background: #FFD6D0; color: var(--red-d); } .chip.up { background: #D2F5E2; color: var(--green-d); } .chip.flat { background: #EFE4D2; color: var(--ink-2); }

/* reports */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: center; gap: 20px; background: var(--blue); color: var(--cream); border: 3px solid var(--ink); border-radius: 22px; box-shadow: var(--hard); padding: 22px 26px; margin-bottom: 18px; overflow: hidden; }
.feature .eyebrow { color: var(--orange); }
.feature .big { font-weight: 800; font-size: clamp(48px, 7vw, 86px); line-height: .95; letter-spacing: -.04em; text-shadow: 0 5px 0 var(--ink); margin: 6px 0 10px; }
.feature .line { font-size: 22px; font-weight: 800; margin: 12px 0 16px; }
.feature img { width: 100%; }
.feature .big .chip { font: 700 clamp(16px, 2vw, 22px) "JetBrains Mono", monospace; text-shadow: none; vertical-align: middle; letter-spacing: 0; position: relative; top: -.35em; }
.report-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.report { background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); padding: 16px; box-shadow: var(--hard); display: grid; gap: 8px; }
.report .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.report .sym { font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.report .line { font-size: 17px; font-weight: 700; line-height: 1.3; }
.report .meta { font: 500 12px "JetBrains Mono", monospace; color: var(--muted); }
.report button, .feature button { font: 700 14px "Bricolage Grotesque"; border: 2px solid var(--ink); border-radius: 10px; background: var(--cream); color: var(--ink); padding: 0 12px; min-height: 40px; cursor: pointer; justify-self: start; box-shadow: 0 3px 0 var(--ink); }
.report-list.short .report:nth-child(n+7) { display: none; }
.more { margin-top: 18px; }

/* token */
.token-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.token-main { background: var(--cream); color: var(--ink); border: 3px solid var(--ink); border-radius: 22px; box-shadow: var(--hard); padding: 22px; display: grid; gap: 14px; }
.token-main h3 { font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.token-main p { color: var(--ink-2); }
.countdown { display: flex; gap: 10px; flex-wrap: wrap; }
.countdown div { background: var(--ink); color: var(--cream); border-radius: 12px; padding: 8px 12px; min-width: 70px; text-align: center; }
.countdown b { display: block; font: 700 28px "JetBrains Mono", monospace; }
.countdown small { font: 500 11px "JetBrains Mono", monospace; color: var(--blue-l); text-transform: uppercase; letter-spacing: .06em; }
.ca-box { display: grid; gap: 6px; }
.ca-box .label { font: 700 12px "JetBrains Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ca-full { font: 700 clamp(12px, 1.6vw, 16px) "JetBrains Mono", monospace; background: var(--paper); border: 3px solid var(--ink); border-radius: 12px; padding: 12px; word-break: break-all; }
.token-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.facts { list-style: none; padding: 0; background: var(--blue-d); border: 3px solid var(--ink); border-radius: 22px; box-shadow: var(--hard); overflow: hidden; }
.facts li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 2px solid rgba(255,255,255,.14); }
.facts li:first-child { border-top: 0; }
.facts b { font: 700 13px "JetBrains Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-l); }
.facts span { font-weight: 700; text-align: right; }
.wm-inline { font-family: "Bagel Fat One", sans-serif; font-weight: 400; letter-spacing: 0; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.steps li { display: flex; gap: 14px; background: var(--cream); color: var(--ink); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--hard); padding: 16px; }
.steps b { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); border: 3px solid var(--ink); font: 800 18px "Bricolage Grotesque"; }
.steps h3 { font-weight: 800; font-size: 18px; } .steps p { font-size: 15px; color: var(--ink-2); }
.warn { margin-top: 16px; font-weight: 700; color: var(--blue-l); }

/* how */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.how-card { background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--hard); padding: 18px 20px 20px; }
.how-card img { width: 150px; height: 120px; object-fit: contain; object-position: left bottom; display: block; margin-bottom: 8px; }
.how-card h3 { font-weight: 800; font-size: 22px; letter-spacing: -.02em; margin-bottom: 4px; }
.how-card p { color: var(--ink-2); font-size: 16px; }

.foot { background: var(--ink); color: #CFC6B8; }
.foot-in { max-width: 1180px; margin: 0 auto; padding: 32px 20px 48px; display: grid; gap: 14px; font-size: 14px; }
.foot b { color: var(--cream); }

.card-dialog { border: 4px solid var(--ink); border-radius: 22px; padding: 16px; background: var(--cream); max-width: min(960px, 94vw); }
.card-dialog::backdrop { background: rgba(21,18,15,.6); }
.card-dialog canvas { width: 100%; height: auto; border-radius: 12px; display: block; border: 3px solid var(--ink); }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 20px; }
  .scene-col { order: -1; }
  .links a[href="#reports"], .links a[href="#after-hours"] { display: none; }
  .block { width: 19%; }
  .feed { display: grid; gap: 6px; }
  .block .sym { font-size: 12px; } .block .chg { font-size: 9px; }
  .token-grid, .steps, .how-grid { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr 140px; padding: 18px; }
  .tr { grid-template-columns: 1fr 1fr .9fr; }
  .tr > :nth-child(2) { display: none; } .tr .v, .tr .say { grid-column: 1 / -1; }
  .tr.th .v { display: none; }
}
@media (max-width: 420px) {
  .top { padding: 12px 16px; } .band-in, .hero { padding-left: 16px; padding-right: 16px; }
  .wm { font-size: 28px; }
  .sub { font-size: 17px; }
  .links a#x-link, .links a#tg-link { padding: 10px 8px; }
  .feature { grid-template-columns: 1fr; } .feature img { max-width: 200px; justify-self: end; margin-top: -20px; }
}
