/* Oyez pixel world: clear type, crisp geometry, a little personality. */
@font-face { font-family: Silkscreen; src: url('/fonts/Silkscreen-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/fonts/IBMPlexMono-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
:root {
  --bg: #fafaf7; --bg-2: #efefea; --panel: #fff;
  --line: #d8d8d1; --line-2: #9c9c93;
  --ink: #111110; --ink-inv: #fafaf7; --text: #111110;
  --muted: #60605a; --dim: #6d6d65; --accent: #111110;
  --good: #2f6945; --bad: #a5362d;
  --shade-1: #111110; --shade-2: #888881; --shade-3: #c5c5bd; --shade-4: #efefea;
  --sans: 'Segoe UI', Arial, sans-serif; --mono: 'IBM Plex Mono', monospace;
  --pixel: Silkscreen, monospace;
}
body { line-height: 1.7; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.wrap { max-width: 1240px; padding-left: 36px; padding-right: 36px; }
header.top { border-bottom: 1px solid var(--ink); }
header.top .wrap { height: 84px; gap: 40px; }
.logo { gap: 10px; font: 400 32px/1 var(--pixel); letter-spacing: -2px; }
.logo svg { width: 31px; height: 34px; }
.logo:hover svg { transform: translateY(-3px); }
nav.main { font: 500 12px var(--mono); gap: 23px; }
nav.main a { padding: 10px 0; }
nav.main a.on { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.top .right { gap: 12px; }
.btn { min-height: 40px; height: auto; padding: 10px 17px; font: 600 12px/1.2 var(--mono); border-width: 1px; }
.btn.lg { min-height: 48px; height: auto; padding: 13px 20px; font-size: 12px; }
.btn.primary { box-shadow: 4px 4px 0 var(--bg), 5px 5px 0 var(--ink); }
.btn.primary:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--bg), 7px 7px 0 var(--ink); }
.btn.primary:active { transform: none; box-shadow: 2px 2px 0 var(--bg), 3px 3px 0 var(--ink); }
.btn:disabled { box-shadow: none; }
.edition { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px dashed var(--line); font: 10px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.edition i, .feed-heading i { display: inline-block; width: 6px; height: 6px; background: currentColor; vertical-align: 1px; margin-right: 6px; }
.hero { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); align-items: center; gap: 60px; padding: 58px 0 56px; }
.eyebrow { font: 10px/1.7 var(--mono); letter-spacing: .065em; text-transform: uppercase; color: var(--muted); margin: 0 0 15px; }
.hero h1 { font: 400 clamp(42px,4.8vw,64px)/1.08 var(--pixel); letter-spacing: -3.5px; margin: 0 0 24px; }
.voice-word { position: relative; white-space: nowrap; }
.voice-word::after { content: ''; position: absolute; height: 5px; left: 3px; right: 7px; bottom: -5px; background: repeating-linear-gradient(90deg,var(--ink) 0 6px,transparent 6px 10px); }
.hero p.lead { font-size: 15px; line-height: 1.85; max-width: 460px; margin-bottom: 27px; }
.hero .ctas { gap: 17px; margin-bottom: 25px; }
.hero .lead, .hero .ctas, .hero .ca { animation: none; }
.ca { font-size: 10px; gap: 8px; }
.ca b { border: 1px solid var(--line); padding: 2px 6px; font-weight: 400; }
.dino-window { border: 1px solid var(--ink); background: var(--panel); box-shadow: 7px 7px 0 var(--bg-2),8px 8px 0 var(--ink); min-width: 0; }
.window-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 38px; padding: 0 15px; border-bottom: 1px solid var(--ink); font: 9px var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.window-dots { font-size: 18px; letter-spacing: 2px; }
.dino-scene { position: relative; height: 292px; overflow: hidden; container-type: inline-size; background-image: radial-gradient(#deded6 .65px,transparent .65px); background-size: 8px 8px; }
.hero-dino { position: absolute; width: 168px; height: 182px; bottom: 27px; left: 20%; z-index: 2; image-rendering: pixelated; }
.hero-dino img { display: block; width: 100%; height: 100%; }
/* The eye is one pixel of the 24 × 26 mascot grid; filling it reads as a blink. */
.dino-eye { position: absolute; left: calc(100% * 14 / 24); top: calc(100% * 4 / 26); width: calc(100% / 24); height: calc(100% / 26); background: var(--ink); opacity: 0; animation: dino-blink 6.4s steps(1,end) 1.4s infinite; }
@keyframes dino-blink { 0%,93% { opacity: 0; } 93.6%,95% { opacity: 1; } 95.6%,96.4% { opacity: 0; } 97%,98.2% { opacity: 1; } 98.8%,100% { opacity: 0; } }
.hero-dino.hop { animation: dino-hop .8s steps(10) both; }
@keyframes dino-hop { 0%,100% { transform: translateY(0); } 40%,55% { transform: translateY(-30px); } }
.speech { position: absolute; top: 33px; right: 9%; padding: 11px 13px; background: var(--panel); border: 1px solid var(--ink); font: 400 12px/1.35 var(--pixel); white-space: pre-line; z-index: 3; box-shadow: 3px 3px 0 var(--ink); transform-origin: 20px 100%; }
.speech.pop { animation: speech-pop .42s steps(5) both; }
@keyframes speech-pop { 0% { transform: scale(.55); opacity: 0; } 55% { transform: scale(1.07); opacity: 1; } 100% { transform: scale(1); } }
.speech::after { content: ''; position: absolute; height: 8px; width: 8px; left: 16px; bottom: -8px; border-left: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--panel); }
.pixel-ground { position: absolute; height: 24px; bottom: 17px; left: 0; right: 0; border-top: 2px solid var(--ink); background: linear-gradient(var(--ink),var(--ink)) 11% 9px/20px 2px no-repeat,linear-gradient(var(--ink),var(--ink)) 68% 16px/7px 2px no-repeat,linear-gradient(var(--ink),var(--ink)) 88% 8px/29px 2px no-repeat; }
.pixel-cloud { position: absolute; left: 0; width: 46px; height: 12px; background: #e6e6df; box-shadow: 8px -8px #e6e6df,20px -14px #e6e6df; animation: cloud-drift 56s steps(280) infinite; }
.cloud-one { top: 73px; transform: translateX(6cqw); animation-delay: -42s; }
.cloud-two { top: 165px; scale: .65; transform: translateX(80cqw); animation-duration: 84s; animation-delay: -14s; }
@keyframes cloud-drift { from { transform: translateX(104cqw); } to { transform: translateX(-80px); } }
.scene-label { position: absolute; bottom: 6px; left: 16px; font: 8px var(--mono); color: var(--muted); letter-spacing: .08em; }
.window-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--ink); min-height: 47px; padding: 8px 13px; font: 9px var(--mono); }
.window-foot > span { color: var(--muted); }
.window-foot button { border: 0; background: var(--ink); color: var(--ink-inv); padding: 7px 10px; cursor: pointer; font: 10px var(--mono); white-space: nowrap; }
.window-foot button:hover { background: #44443c; }
.journey { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 22px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); gap: 24px; }
.journey > div { display: flex; align-items: center; gap: 16px; }
.journey > div:not(:first-child) { border-left: 1px solid var(--line); padding-left: 24px; }
.step-index { font: 22px var(--pixel); color: var(--line-2); }
.journey b { display: block; font: 600 12px/1.6 var(--mono); }
.journey div div > span { font-size: 12px; color: var(--muted); }
.revenue { display: grid; grid-template-columns: 1fr 1.5fr; gap: 35px; align-items: center; margin: 32px 0 0; padding: 29px 30px; background: var(--ink); color: var(--ink-inv); }
.revenue .eyebrow { color: #b5b5ad; font-size: 9px; margin-bottom: 12px; }
.revenue h2 { margin: 0; font: 23px/1.2 var(--pixel); letter-spacing: -1px; }
.fees { border: 0; padding: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; background: none; box-shadow: none; font: 9px/1.5 var(--mono); }
.fees div { flex-direction: column; gap: 4px; padding: 0 0 11px; color: #c6c6bf; }
.fees div b { font: 400 35px/1.3 var(--pixel); color: var(--ink-inv); order: -1; }
.fees .fill { background: var(--ink-inv); height: 2px; animation: none; }
.fees .total { grid-column: 1/-1; flex-direction: row; border: 0; padding: 0; margin: 0; font-size: 8px; }
.fees .total b { order: initial; font: 9px var(--mono); }
.stats { padding: 18px 0; gap: 20px; font-size: 10px; border-bottom: 1px solid var(--line); }
.stats:empty { display: none; }
.board { display: block; padding: 44px 0 28px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-heading h2 { margin: 0; font: 26px/1.2 var(--pixel); letter-spacing: -1px; }
.section-heading .eyebrow { margin-bottom: 10px; font-size: 9px; }
.section-heading > p { font: 10px/1.7 var(--mono); color: var(--muted); margin: 0; }
.tabs { flex-wrap: wrap; gap: 4px; }
.tabs button { font: 11px var(--mono); padding: 9px 12px; }
.tabs input { max-width: 260px; font: 11px var(--mono); }
table.coins th { font-size: 10px; text-transform: uppercase; border-bottom-width: 1px; }
table.coins td { font-size: 12px; padding: 15px 10px; }
.empty { font: 12px/1.8 var(--mono); }
.feed { position: static; margin-bottom: 58px; border: 1px solid var(--ink); background: transparent; box-shadow: none; }
.feed-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 20px; border-bottom: 1px solid var(--ink); }
.feed h3 { padding: 0; font: 20px/1.2 var(--pixel); color: var(--ink); background: none; letter-spacing: -.8px; }
.feed-heading > span { font: 9px var(--mono); color: var(--muted); text-transform: uppercase; }
.feed .list { max-height: 350px; }
.feed .foot { font-size: 10px; border-top-width: 1px; }
.feed .foot:empty { display: none; }
.ev { padding: 16px 20px; }
.ev .meta { flex-wrap: wrap; }
.page { padding-top: 46px; padding-bottom: 64px; }
.page h1 { font: 40px/1.15 var(--pixel); letter-spacing: -2px; margin-bottom: 18px; }
.page h1::before { content: '// '; color: var(--line-2); }
.page .sub { max-width: 760px; font-size: 14px; line-height: 1.85; margin-bottom: 30px; }
.panel { border-width: 1px; padding: 25px; }
.panel h2, .agent-console > h3 { font: 20px/1.3 var(--pixel); margin-bottom: 20px; letter-spacing: -.7px; }
.panel.agent-console { padding: 0; overflow: hidden; margin-bottom: 20px; }
.agent-console > h3 { padding: 18px 20px; border-bottom: 1px solid var(--line); margin: 0; }
.cols { grid-template-columns: minmax(0,1fr) 330px; gap: 28px; }
.grid2 { gap: 18px; }
label { font: 10px/1.7 var(--mono); text-transform: uppercase; letter-spacing: .04em; }
input,textarea,select { border-width: 1px; line-height: 1.5; background: var(--bg); }
input:focus,textarea:focus,select:focus { box-shadow: 2px 2px 0 var(--ink); }
.kv { font-size: 12px; overflow-wrap: anywhere; }
.notice { border: 1px solid var(--line); padding: 22px 24px; background: var(--bg-2); font-size: 13px; }
.notice b.ink { display: block; margin-bottom: 6px; font: 18px/1.3 var(--pixel); }
.notice b.ink::after { display: none; }
.models label { font: 600 12px var(--mono); letter-spacing: 0; text-transform: none; }
.models input { display: block; position: absolute; opacity: 0; width: 1px; height: 1px; }
.models label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 4px; }
.models small { line-height: 1.6; font-size: 10px; margin-top: 6px; }
.drop { background: var(--bg); border: 1px dashed var(--line-2); }
.drop:hover { animation: none; }
.drop img:not([src]) { visibility: hidden; }
.tstats { border-width: 1px; }
.tstats div { border-right-width: 1px; }
.thead h1 { font-size: 30px; }
.thead h1::before { content: none; }
.doc { max-width: 820px; }
.doc h2 { font: 25px/1.3 var(--pixel); letter-spacing: -1px; padding-top: 24px; border-top: 1px dashed var(--line-2); }
.doc h2::before { display: none; }
.doc p,.doc li { line-height: 1.85; }
.doc td:first-child { white-space: normal; }
.doc th,.doc td { overflow-wrap: anywhere; }
.flow { border-top-width: 1px; }
.flow .st { padding: 24px 0; grid-template-columns: 54px minmax(0,1fr) 150px; }
.flow .n { font: 23px var(--pixel); }
.flow h3 { font: 600 16px/1.4 var(--sans); margin-bottom: 9px; }
.flow .who { font-size: 10px; }
footer { border-top-width: 1px; font-size: 10px; padding: 25px 0; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.footer-brand svg { width: 23px; height: 26px; margin: 0; }
.footer-brand b { font: 24px var(--pixel); letter-spacing: -1px; }
.footer-brand span { color: var(--muted); margin-left: 9px; }
.reveal { opacity: 1; transform: none; }
@media (max-width: 1100px) {
  header.top .wrap { gap: 24px; } nav.main { gap: 17px; }
  .top .right #buy-token { display: none; }
  .hero { gap: 32px; } .hero h1 { font-size: 52px; }
  .revenue { grid-template-columns: 1fr 1.4fr; }
}
@media (max-width: 900px) {
  .cols { grid-template-columns: 1fr; }
  .hero { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 26px; }
  .hero h1 { font-size: 43px; letter-spacing: -2.5px; }
  .hero p.lead { font-size: 14px; }
  .window-bar { font-size: 8px; }
  .window-foot > span { max-width: 120px; }
  .hero-dino { left: 10%; }
  .journey { gap: 14px; } .journey > div { gap: 10px; }
  .journey > div:not(:first-child) { padding-left: 14px; }
  .revenue { padding: 24px; gap: 24px; }
  .revenue h2 { font-size: 20px; }
  .fees { gap: 12px; }
  .fees div b { font-size: 30px; }
  .section-heading { align-items: start; flex-direction: column; }
}
@media (max-width: 760px) {
  .wrap { padding-left: 22px; padding-right: 22px; }
  header.top .wrap { height: 70px; gap: 12px; }
  .logo { font-size: 28px; gap: 7px; } .logo svg { width: 26px; height: 29px; }
  nav.main { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--ink); }
  nav.main.open { display: flex; } nav.main a { padding: 14px 22px; border-top: 1px solid var(--line); }
  .menu-toggle { display: grid; } .top .right .hide-sm { display: none; }
  .top .right { gap: 6px; } #connect { font-size: 10px; padding: 9px 10px; }
  .edition { font-size: 8px; gap: 8px; letter-spacing: 0; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 34px 0 37px; }
  .hero h1 { font-size: clamp(40px,8.3vw,58px); letter-spacing: -2.7px; }
  .hero p.lead { max-width: 500px; }
  .hero .ctas { gap: 14px; }
  .dino-window { max-width: 480px; width: calc(100% - 7px); }
  .window-foot > span { max-width: none; }
  .hero-dino { left: 22%; }
  .speech { right: 12%; }
  .journey { grid-template-columns: 1fr; gap: 18px; padding: 22px 0; }
  .journey > div { gap: 17px; }
  .journey > div:not(:first-child) { border: 0; padding: 0; }
  .journey div div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 12px; }
  .journey b { font-size: 11px; } .journey div div > span { font-size: 11px; }
  .revenue { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; padding: 24px 20px; }
  .revenue h2 br { display: none; } .revenue h2 { max-width: 300px; }
  .fees { gap: 13px; font-size: 8px; } .fees div b { font-size: 28px; }
  .board { padding-top: 33px; } .section-heading h2 { font-size: 23px; }
  .tabs input { max-width: none; width: 100%; }
  .tabs button { font-size: 10px; padding: 9px; }
  table.coins th { font-size: 8px; padding: 10px 4px; } table.coins td { font-size: 10px; padding: 13px 4px; }
  table.coins .hide-sm { display: none; } .coin { gap: 7px; } .coin b { overflow-wrap: anywhere; }
  .coin img { width: 26px; height: 26px; } .coin small { font-size: 9px; } .state { font-size: 9px; }
  .feed-heading { padding: 15px; } .feed h3 { font-size: 17px; } .feed-heading > span { font-size: 8px; }
  .feed-heading i { display: none; }
  .page { padding-top: 30px; padding-bottom: 40px; } .page h1 { font-size: 31px; letter-spacing: -1.5px; }
  .grid2,.models { grid-template-columns: 1fr; } .panel { padding: 20px; }
  .flow .st { grid-template-columns: 36px minmax(0,1fr); gap: 12px; } .flow .who { display: none; }
  .doc h2 { font-size: 23px; } .doc th,.doc td { padding: 10px 5px; }
  footer .wrap { gap: 16px; } .footer-brand { width: 100%; }
  footer .wrap > span:last-child { margin-left: 0; width: 100%; }
}
@media (max-width: 380px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .logo { font-size: 24px; gap: 5px; } .logo svg { width: 23px; }
  #connect { font-size: 9px; padding: 8px; } .iconbtn { width: 30px; }
  .hero h1 { font-size: 37px; } .hero .eyebrow { font-size: 9px; }
  .btn.lg { padding: 12px 14px; font-size: 10px; }
  .hero-dino { left: 14%; } .speech { right: 8%; }
  .fees { gap: 9px; } .fees div b { font-size: 24px; }
  .window-foot { font-size: 8px; padding: 9px; }
  .feed-heading { flex-wrap: wrap; }
  .footer-brand { gap: 7px; } .footer-brand span { font-size: 9px; margin-left: 3px; }
  .coin img { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-dino.hop, .speech.pop, .pixel-cloud, .dino-eye { animation: none !important; }
}

/* Inner pages: title + a small animated pixel scene from the same world as the hero. */
.page-head { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 40px; margin-bottom: 34px; padding-bottom: 30px; border-bottom: 1px dashed var(--line-2); }
.page-head .sub { margin-bottom: 0; }
.page-scene { margin: 0 8px 8px 0; width: 320px; border: 1px solid var(--ink); background: var(--panel); background-image: radial-gradient(#deded6 .65px,transparent .65px); background-size: 8px 8px; box-shadow: 5px 5px 0 var(--bg-2),6px 6px 0 var(--ink); }
.page-scene img { display: block; width: 100%; height: auto; }
.page-head + .doc > h2:first-child { border-top: 0; padding-top: 0; }
/* "Launches open soon" notices get a dozing mascot. */
.notice:has(> b.ink) { position: relative; padding-left: 104px; min-height: 92px; display: flex; flex-direction: column; justify-content: center; }
.notice:has(> b.ink)::before { content: ''; position: absolute; left: 22px; top: 50%; width: 64px; height: 56px; margin-top: -30px; background: url('/images/scenes/dozing.svg') no-repeat center / contain; }
/* Empty image picker shows a coin slot instead of a blank square. */
.drop img:not([src]) { visibility: visible; background: var(--bg) url('/images/scenes/coin-slot.svg') no-repeat center / 40px; border: 1px dashed var(--line-2); }
@media (max-width: 900px) { .page-scene { width: 250px; } .page-head { gap: 26px; } }
@media (max-width: 760px) {
  .page-head { grid-template-columns: 1fr; gap: 22px; padding-bottom: 24px; margin-bottom: 26px; }
  .page-scene { width: min(100%, 340px); }
  .notice:has(> b.ink) { padding-left: 84px; }
  .notice:has(> b.ink)::before { left: 14px; width: 56px; height: 49px; margin-top: -26px; }
}

/* Beta marker while launches are open before the official $OYEZ coin. */
.beta-chip { margin-left: 4px; padding: 3px 6px 2px; border: 1px solid var(--ink); font: 9px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); align-self: center; }
.notice.beta { border: 1px solid var(--ink); background: var(--panel); color: var(--text); margin-bottom: 22px; box-shadow: 4px 4px 0 var(--ink); }
.notice.beta b { font: 13px var(--pixel); margin-right: 6px; }
@media (max-width: 380px) { .beta-chip { display: none; } }
