/* ═══════════════════════════════════════════
   KESTREL — 24/7 US stocks on Elysium
   Paper #FFFFFF · Ink #04201C · Cobalt #1F3BFF · Mint #97FCE4 · Mist #F0F3F2
   Display: Inter Tight 800/900 · Data: IBM Plex Mono
   Flat colour, no gradients.
   ═══════════════════════════════════════════ */
@font-face { font-family: "Inter Tight"; src: url("/fonts/intertight/inter-tight-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/fonts/intertight/inter-tight-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/fonts/intertight/inter-tight-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/fonts/intertight/inter-tight-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: block; }
@font-face { font-family: "Inter Tight"; src: url("/fonts/intertight/inter-tight-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-display: block; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/plexmono/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/plexmono/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/plexmono/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #ffffff; --ink: #04201c; --cobalt: #1f3bff; --mint: #97fce4; --mist: #f0f3f2; --down: #e5484d; --up: #007a68;
  --sans: "Inter Tight", "Inter", system-ui, sans-serif; --mono: "Plex Mono", ui-monospace, monospace;
  --pad: clamp(20px, 4vw, 72px); --tape: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1); --io: cubic-bezier(.76, 0, .24, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font: 500 18px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.is-locked { overflow: hidden; height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--cobalt); color: var(--paper); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 5000; background: var(--mint); padding: 10px 16px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--pad); }

/* crosshair cursor */
body.has-cursor, body.has-cursor * { cursor: none !important; }
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 6000; }
.cursor__dot { position: fixed; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.ch { position: absolute; background: var(--cobalt); box-shadow: 0 0 0 1px var(--paper); border-radius: 1px; }
.ch--h { left: -12px; top: -1.25px; width: 24px; height: 2.5px; }
.ch--v { top: -12px; left: -1.25px; width: 2.5px; height: 24px; }
.cursor__ring { position: fixed; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.cursor__label { position: absolute; left: 16px; top: 14px; padding: 6px 10px; background: var(--cobalt); color: var(--paper); font: 600 12px/1 var(--mono); white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .3s var(--ease); }
.cursor.is-label .cursor__label { opacity: 1; transform: none; }
.cursor.is-hover .ch--h { width: 40px; left: -20px; } .cursor.is-hover .ch--v { height: 40px; top: -20px; }
.ch { transition: all .3s var(--ease); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 62px; padding: 0 30px; font-weight: 700; font-size: 1.02rem; border-radius: 999px; transition: background-color .25s, color .25s, transform .3s var(--ease); white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: var(--paper); } .btn--ink:hover { background: var(--cobalt); }
.btn--cobalt { background: var(--cobalt); color: var(--paper); } .btn--cobalt:hover { background: var(--ink); }
.btn--line { box-shadow: inset 0 0 0 2px currentColor; } .btn--line:hover { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); }

/* intro */
.intro { position: fixed; inset: 0; z-index: 4000; background: var(--ink); color: var(--paper); overflow: hidden; }
.intro__wipe { position: absolute; inset: 0; background: var(--cobalt); transform: translateY(100%); }
.intro__stage { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px; padding: 24px; }
.intro__board { display: flex; gap: clamp(4px, .7vw, 10px); }
.flap { position: relative; width: clamp(40px, 9.6vw, 150px); height: clamp(60px, 14vw, 210px); background: #0b302a; border-radius: 6px; display: grid; place-items: center; font: 900 clamp(2.6rem, 10.4vw, 10rem)/1 var(--sans); color: var(--paper); overflow: hidden; perspective: 400px; }
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--ink); }
.flap.is-flip { animation: flip .09s linear; }
@keyframes flip { 50% { transform: scaleY(.1); } }
.intro__rows { white-space: pre; font: 500 clamp(.8rem, 1.1vw, 1rem)/1.9 var(--mono); color: rgba(255,255,255,.7); text-align: center; min-height: 6em; }
.intro__rows b { color: var(--mint); font-weight: 600; }
.enter { height: 84px; padding: 0 54px; background: var(--mint); color: var(--ink); border-radius: 8px; font: 900 1.7rem/1 var(--sans); letter-spacing: -.02em; opacity: 0; transform: rotateX(90deg); pointer-events: none; transition: background-color .25s; }
.enter.is-ready { pointer-events: auto; }
.enter:hover { background: var(--paper); }

/* header */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 300; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px var(--pad); pointer-events: none; }
.top > * { pointer-events: auto; }
.logo { justify-self: start; display: flex; align-items: center; gap: 12px; background: var(--paper); border-radius: 999px; padding: 5px 20px 5px 5px; box-shadow: inset 0 0 0 2px var(--ink); }
.logo img { width: 46px; height: 46px; object-fit: contain; border-radius: 10px; }
.logo span { font: 900 1.9rem/1 var(--sans); letter-spacing: -.04em; }
.status { box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; background: var(--ink); color: var(--paper); border-radius: 999px; font: 500 .82rem var(--mono); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.top__right { justify-self: end; display: flex; gap: 10px; }
.xbtn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); transition: background-color .25s, color .25s; }
.xbtn:hover { background: var(--ink); color: var(--paper); }
.wallet { height: 56px; padding: 0 24px; border-radius: 999px; background: var(--cobalt); color: var(--paper); font-weight: 700; transition: background-color .25s; }
.wallet:hover { background: var(--ink); }
.wallet.is-on { background: var(--mint); color: var(--ink); }

/* landing */
.home { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) clamp(360px, 32vw, 520px); gap: clamp(20px, 3vw, 56px); align-items: end; padding: 120px var(--pad) calc(var(--tape) + 48px); }
.home__copy { --shift: clamp(0px, 7vw, 180px); margin-left: var(--shift); margin-bottom: clamp(0px, 11vh, 150px); }
.hero { font: 900 clamp(3rem, min(7.4vw, 12.5vh), 9.5rem)/.9 var(--sans); letter-spacing: -.045em; margin-bottom: 30px; }
.hero__l { display: block; overflow: hidden; padding-bottom: .05em; }
.hero__l > span { display: inline-block; }
.hero__l--band { margin-left: calc((var(--pad) + var(--shift, 0px)) * -1); padding-left: calc(var(--pad) + var(--shift, 0px)); background: var(--cobalt); color: var(--paper); width: max-content; padding-right: .18em; margin-top: .04em; margin-bottom: .04em; }
.home__sub { font-size: 1.32rem; font-weight: 500; max-width: 36ch; margin-bottom: 32px; }
.home__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.ca { display: inline-flex; align-items: center; height: 58px; border-radius: 999px; background: var(--mist); max-width: 100%; overflow: hidden; }
.ca__k { align-self: stretch; display: grid; place-items: center; padding: 0 20px; background: var(--ink); color: var(--mint); font: 600 .9rem var(--mono); }
.ca__v { padding: 0 20px; font: 500 .95rem/1 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ca__b { align-self: stretch; padding: 0 22px; background: var(--mint); font-weight: 700; transition: background-color .25s, color .25s; }
.ca__b:hover { background: var(--ink); color: var(--paper); }

/* split-flap board */
.board { background: var(--ink); color: var(--paper); border-radius: 18px; padding: 24px; align-self: stretch; display: flex; flex-direction: column; margin-top: 40px; }
.board__head { display: flex; justify-content: space-between; font: 600 .86rem var(--mono); color: var(--mint); margin-bottom: 18px; }
.board__clock { color: var(--paper); font-variant-numeric: tabular-nums; }
.board__cols { display: grid; grid-template-columns: 6.4em 1fr 3.6em; gap: 10px; font: 500 .74rem var(--mono); color: rgba(255,255,255,.55); padding: 0 2px 10px; border-bottom: 1px solid rgba(255,255,255,.14); }
.board__rows { flex: 1; display: flex; flex-direction: column; justify-content: space-around; padding: 8px 0; }
.brow { display: grid; grid-template-columns: 6.4em 1fr 3.6em; gap: 10px; align-items: center; padding: 6px 0; }
.cells { display: flex; gap: 2px; }
.cell { position: relative; width: 1.06em; height: 1.5em; display: grid; place-items: center; background: #0b302a; border-radius: 3px; font: 600 clamp(.92rem, 1.15vw, 1.15rem)/1 var(--mono); overflow: hidden; }
.cell::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); }
.cell.is-flip { animation: flip .08s linear; }
.brow__name { font-weight: 600; font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(255,255,255,.88); }
.brow__hrs { justify-self: end; font: 600 .78rem var(--mono); color: var(--ink); background: var(--mint); padding: 4px 6px; border-radius: 4px; }
.board__foot { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); }
.board__foot b { font: 900 2.2rem/1 var(--sans); letter-spacing: -.04em; color: var(--mint); }

/* clocks */
.clocks { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--cobalt); color: var(--paper); }
.clock { padding: 30px var(--pad) 28px; border-right: 1px solid rgba(255,255,255,.2); display: flex; flex-direction: column; gap: 6px; }
.clock:last-child { border-right: 0; background: var(--mint); color: var(--ink); }
.clock__city { font-weight: 600; font-size: .95rem; opacity: .85; }
.clock__time { font: 900 clamp(2.2rem, 3.8vw, 3.8rem)/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.clock__st { font: 600 .8rem var(--mono); display: inline-flex; align-items: center; gap: 8px; }
.clock__st i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .4; }
.clock__st.is-open i { opacity: 1; background: var(--mint); }
.clock:last-child .clock__st i { background: var(--ink); opacity: 1; }

/* section heads */
.h2 { font: 900 clamp(3.2rem, 8vw, 9.4rem)/.9 var(--sans); letter-spacing: -.045em; max-width: 13ch; }
.h2 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .05em; }
.h2 .w > span { display: inline-block; }
.lede { font-size: 1.25rem; max-width: 44ch; margin-top: 22px; color: #35514c; }

/* hours timeline */
.hours { padding: 150px 0; }
.tl { position: relative; margin-top: 70px; padding-top: 34px; }
.tl__scale { position: relative; height: 30px; margin-left: 140px; font: 500 .78rem var(--mono); color: #35514c; }
.tl__scale span { position: absolute; transform: translateX(-50%); }
.tl__rows { display: flex; flex-direction: column; gap: 10px; }
.tlr { display: grid; grid-template-columns: 140px 1fr; align-items: center; height: 64px; }
.tlr__k { font: 800 1.4rem/1 var(--sans); letter-spacing: -.03em; }
.tlr__bar { position: relative; height: 100%; background: var(--mist); border-radius: 8px; overflow: hidden; }
.tlr__seg { position: absolute; top: 0; bottom: 0; background: var(--ink); border-radius: 8px; transform-origin: left; }
.tlr--k .tlr__seg { background: var(--cobalt); left: 0; right: 0; }
.tlr--k .tlr__k { color: var(--cobalt); }
.tlr__seg span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--paper); font: 600 .8rem var(--mono); white-space: nowrap; }
.tl__now { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--mint); margin-left: 140px; box-shadow: 0 0 0 1px var(--ink); }
.tl__now span { position: absolute; top: -28px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--mint); font: 600 .76rem var(--mono); padding: 4px 8px; border-radius: 4px; white-space: nowrap; }

/* markets grid */
.markets { background: var(--ink); color: var(--paper); padding: 150px 0; }
.markets .h2 { max-width: 12ch; }
.markets__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 60px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { height: 46px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.3); font-weight: 600; transition: background-color .25s, color .25s; }
.filters button[aria-checked="true"] { background: var(--mint); color: var(--ink); box-shadow: none; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.card { position: relative; height: 230px; border-radius: 16px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; transition: transform .4s var(--ease); }
.card:nth-child(4n+1) { background: var(--paper); color: var(--ink); }
.card:nth-child(4n+2) { background: var(--cobalt); color: var(--paper); }
.card:nth-child(4n+3) { background: var(--mint); color: var(--ink); }
.card:nth-child(4n+4) { background: #0b302a; color: var(--paper); }
.card__t { font: 900 clamp(2.8rem, 4.4vw, 4.6rem)/.9 var(--sans); letter-spacing: -.04em; }
.card__n { font-weight: 600; }
.card__s { font: 500 .78rem var(--mono); opacity: .75; }
.card__hover { position: absolute; inset: 0; background: var(--ink); color: var(--mint); padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; transform: translateY(101%); transition: transform .5s var(--ease); }
.card__hover b { font: 900 2.2rem/1 var(--sans); letter-spacing: -.04em; color: var(--paper); }
.card:hover { transform: translateY(-4px); }
.card:hover .card__hover { transform: none; }
.card.is-hidden { display: none; }

/* basket */
.basket { padding: 150px 0; background: var(--mist); }
.basket__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.picker { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.picker button { height: 46px; padding: 0 16px; border-radius: 999px; background: var(--paper); font: 600 .92rem var(--mono); box-shadow: inset 0 0 0 2px var(--ink); transition: background-color .25s, color .25s; }
.picker button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.weights { display: flex; flex-direction: column; gap: 12px; margin-top: 34px; }
.wrow { display: grid; grid-template-columns: 84px 1fr 64px; align-items: center; gap: 16px; }
.wrow b { font: 800 1.3rem var(--sans); letter-spacing: -.03em; }
.wrow i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; }
.wrow output { font: 600 1rem var(--mono); text-align: right; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(4,32,28,.2); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--paper); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--ink); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 0; }
.basket__out { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.donut { width: min(100%, 480px); transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 34; transition: stroke-dasharray .6s var(--ease), stroke-dashoffset .6s var(--ease); }
.donut__mid { position: absolute; top: min(240px, calc(50vw - 40px)); left: 50%; transform: translate(-50%, -50%); text-align: center; }
.donut__mid b { display: block; font: 900 5rem/1 var(--sans); letter-spacing: -.05em; }
.donut__mid span { font: 500 .9rem var(--mono); }
.basket__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* collateral tiles */
.coll { background: var(--cobalt); color: var(--paper); padding: 150px 0; }
.h2--w { max-width: 15ch; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 60px; }
.tile { background: var(--paper); color: var(--ink); border-radius: 16px; padding: 26px; min-width: 0; }
.tile:first-child { background: var(--mint); }
.tile__k { display: flex; justify-content: space-between; font: 600 .9rem var(--mono); }
.tile__p { font: 900 clamp(3rem, 5.4vw, 6rem)/1 var(--sans); letter-spacing: -.055em; margin: 26px 0 8px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile__c { font: 600 1rem var(--mono); }
.tile__c.is-down { color: var(--down); } .tile__c.is-up { color: var(--up); }
.coll__stamp { margin-top: 22px; font: 500 .86rem var(--mono); opacity: .85; }

/* faq */
.faq { padding: 150px 0; }
.faq__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.q { border-bottom: 2px solid var(--ink); }
.q:first-child { border-top: 2px solid var(--ink); }
.q__h { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; text-align: left; font: 800 clamp(1.4rem, 2vw, 1.9rem)/1.15 var(--sans); letter-spacing: -.03em; }
.q__h i { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); }
.q__h i::before, .q__h i::after { content: ""; position: absolute; left: 12px; top: 19px; width: 16px; height: 2px; background: var(--paper); transition: transform .4s var(--ease); }
.q__h i::after { transform: rotate(90deg); }
.q.is-open .q__h i { background: var(--cobalt); }
.q.is-open .q__h i::after { transform: none; }
.q__b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.q__b > div { overflow: hidden; }
.q__b p { padding-bottom: 26px; max-width: 56ch; color: #35514c; }
.q.is-open .q__b { grid-template-rows: 1fr; }

/* token */
.token { background: var(--mint); padding: 150px 0; }
.token__row1 { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.token__big { font: 900 clamp(6rem, 22vw, 26rem)/.8 var(--sans); letter-spacing: -.05em; margin-left: -.04em; }
.token__note { font-weight: 600; font-size: 1.2rem; }
.ca--big { display: grid; grid-template-columns: auto 1fr auto; width: 100%; height: auto; margin-top: 40px; border-radius: 18px; background: var(--ink); color: var(--paper); text-align: left; }
.ca--big .ca__k { padding: 26px 24px; background: var(--cobalt); color: var(--paper); }
.ca--big .ca__v { font: 600 clamp(1.1rem, 2.4vw, 2.2rem)/1 var(--mono); padding: 0 24px; }
.ca--big .ca__b { display: grid; place-items: center; }
.token__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; max-width: 900px; }
.tstats div { background: var(--paper); border-radius: 14px; padding: 18px 20px; }
.tstats dt { font: 500 .8rem var(--mono); } .tstats dd { font: 900 2.2rem/1.1 var(--sans); letter-spacing: -.04em; }

/* footer */
.foot { background: var(--ink); color: var(--paper); padding: 90px 0 calc(var(--tape) + 40px); overflow: hidden; }
.foot__word { font: 900 clamp(5rem, 21vw, 26rem)/.8 var(--sans); letter-spacing: -.05em; padding-left: var(--pad); white-space: nowrap; color: var(--cobalt); }
.foot__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .9rem; color: rgba(255,255,255,.75); }

/* tape nav */
.tape { position: fixed; left: 0; right: 0; bottom: 0; height: var(--tape); z-index: 280; display: flex; align-items: stretch; background: var(--ink); color: var(--paper); transform: translateY(100%); transition: transform .9s var(--ease) .4s; }
body.is-entered .tape { transform: none; }
.tape__syms { display: flex; }
.tape__syms button { padding: 0 20px; font: 600 .86rem var(--mono); color: rgba(255,255,255,.6); border-right: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; gap: 8px; transition: background-color .25s, color .25s; }
.tape__syms button::before { content: "▲"; font-size: .6rem; color: var(--mint); opacity: 0; transition: opacity .25s; }
.tape__syms button:hover { color: var(--paper); }
.tape__syms button.is-active { background: var(--cobalt); color: var(--paper); }
.tape__syms button.is-active::before { opacity: 1; }
.tape__ticker { flex: 1; overflow: hidden; display: flex; align-items: center; min-width: 0; }
.tape__track { display: flex; gap: 32px; white-space: nowrap; font: 500 .86rem var(--mono); will-change: transform; padding-left: 20px; }
.tape__track b { color: var(--paper); font-weight: 600; } .tape__track .up { color: var(--mint); } .tape__track .dn { color: #ff8b8f; }
.tape__menu { padding: 0 24px; background: var(--mint); color: var(--ink); font-weight: 800; display: flex; align-items: center; gap: 12px; transition: background-color .25s; }
.tape__menu:hover { background: var(--paper); }
.tape__menu kbd { font: 600 .75rem var(--mono); border: 1.5px solid var(--ink); border-radius: 4px; padding: 1px 6px; }

/* menu */
.menu { position: fixed; inset: 0; z-index: 3500; background: var(--cobalt); color: var(--paper); display: flex; flex-direction: column; padding: 0 var(--pad) 40px; clip-path: circle(0% at 100% 100%); visibility: hidden; transition: clip-path .9s var(--io), visibility 0s .9s; }
.menu.is-open { clip-path: circle(150% at 100% 100%); visibility: visible; transition: clip-path .9s var(--io); }
.menu__top { height: 92px; display: flex; justify-content: space-between; align-items: center; font: 900 2rem var(--sans); letter-spacing: -.05em; }
.menu__close { height: 54px; padding: 0 26px; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 700; }
.menu__list { list-style: none; margin: auto 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.menu__list li { border-bottom: 2px solid rgba(255,255,255,.3); overflow: hidden; }
.menu__list a { display: flex; align-items: baseline; gap: 20px; padding: 10px 0; transform: translateY(105%); transition: transform .8s var(--ease) calc(.15s + var(--i, 0) * .05s), color .25s; }
.menu.is-open .menu__list a { transform: none; }
.menu__n { font: 600 .9rem var(--mono); opacity: .7; }
.menu__t { font: 900 clamp(2.4rem, 7.6vh, 6.4rem)/1 var(--sans); letter-spacing: -.045em; }
.menu__list a:hover { color: var(--mint); }

.toast { position: fixed; left: 50%; bottom: calc(var(--tape) + 20px); z-index: 5500; transform: translate(-50%, 20px); background: var(--ink); color: var(--paper); padding: 16px 24px; border-radius: 999px; font-weight: 600; opacity: 0; pointer-events: none; transition: all .4s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1100px) {
  .home__copy { --shift: 0px; margin-bottom: 0; }
  .home { grid-template-columns: 1fr; }
  .board { margin-top: 10px; min-height: 480px; }
  .clocks { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .basket__grid, .faq__grid { grid-template-columns: 1fr; }
  .tape__syms { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .top { grid-template-columns: 1fr auto; padding: 14px; }
  .status { display: none; }
  .logo span { font-size: 1.6rem; } .logo img { width: 38px; height: 38px; }
  .xbtn, .wallet { height: 48px; } .xbtn { width: 48px; } .wallet { padding: 0 16px; font-size: .9rem; }
  .home { padding-top: 110px; }
  .hero { font-size: clamp(2.2rem, 10.5vw, 4.4rem); }
  .ca { width: 100%; } .ca__v { flex: 1; }
  .clocks { grid-template-columns: 1fr 1fr; }
  .tl__scale { margin-left: 70px; } .tlr { grid-template-columns: 70px 1fr; } .tl__now { margin-left: 70px; } .tlr__k { font-size: 1rem; }
  .tlr__seg span { display: none; }
  .grid { grid-template-columns: 1fr 1fr; } .card { height: 180px; }
  .tiles { grid-template-columns: 1fr; }
  .ca--big { grid-template-columns: 1fr; } .ca--big .ca__v { padding: 0 24px 20px; }
  .menu__list { grid-template-columns: 1fr; }
  .tstats { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
