/* ═══════════════════════════════════════════
   BASTION — private-bank prop firm
   Mint #97FCE4 (surfaces) · Ink #04201C (accent) — swapped · Paper #FFFFFF · Stone #EAF1EF · Cobalt #1F3BFF
   Display: Fraunces 600 · Text: Inter
   Flat colour, no gradients.
   ═══════════════════════════════════════════ */
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces/fraunces-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: block; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces/fraunces-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: block; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces/fraunces-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: block; }
@font-face { font-family: "Inter"; src: url("/fonts/inter/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }

:root {
  --ink: #04201c; --mint: #97fce4; --paper: #ffffff; --stone: #eaf1ef; --cobalt: #1f3bff; --down: #e5484d;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, sans-serif;
  --rail: 92px; --pad: clamp(20px, 4vw, 72px);
  --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: 400 18px/1.6 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(--ink); color: var(--mint); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 5000; background: var(--ink); color: var(--mint); padding: 10px 16px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--pad); }
main, .foot { padding-left: var(--rail); }

/* cursor */
body.has-cursor, body.has-cursor * { cursor: none !important; }
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 6000; }
.cursor__ring, .cursor__dot { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__ring { width: 46px; height: 46px; margin: -23px 0 0 -23px; border: 2px solid var(--cobalt); box-shadow: 0 0 0 1px rgba(255,255,255,.7); display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background-color .3s; }
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--cobalt); box-shadow: 0 0 0 1.5px #fff; }
.cursor__label { font: 600 12px/1 var(--sans); color: #fff; opacity: 0; white-space: nowrap; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.cursor.is-label .cursor__ring { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--cobalt); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { scale: .85; }

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

/* intro */
.intro { position: fixed; inset: 0; z-index: 4000; color: var(--ink); }
.intro__half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--mint); }
.intro__half--top { top: 0; } .intro__half--bot { bottom: 0; }
.intro__stage { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad); max-width: 1480px; margin: 0 auto; }
.intro__kicker { font-weight: 500; color: var(--ink); margin-bottom: 18px; opacity: 0; }
.intro__mask { overflow: hidden; }
.intro__word { font: 600 clamp(5rem, 19vw, 21rem)/.86 var(--serif); letter-spacing: -.045em; padding: .06em 0 .16em; margin-bottom: -.12em; transform: translateY(105%); }
.intro__rule { height: 2px; background: rgba(4,32,28,.15); margin: 34px 0 18px; }
.intro__rule i { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.intro__row { display: flex; justify-content: space-between; font-weight: 500; }
.intro__pct { font: 600 1.6rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.enter { align-self: flex-start; margin-top: 44px; height: 72px; padding: 0 40px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 1.1rem; border-radius: 2px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: background-color .3s; }
.enter.is-ready { pointer-events: auto; }
.enter:hover { background: var(--cobalt); }

/* header */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 300; display: flex; justify-content: space-between; align-items: center; height: 92px; padding: 0 var(--pad) 0 0; pointer-events: none; }
.top > * { pointer-events: auto; }
.logo { display: flex; align-items: center; gap: 14px; height: 92px; padding: 0 28px; background: var(--mint); color: var(--ink); }
.logo img { width: 44px; height: 44px; object-fit: contain; }
.logo span { font: 600 2rem/1 var(--serif); letter-spacing: -.03em; }
.top__right { display: flex; align-items: center; gap: 10px; }
.practice { height: 56px; padding: 0 22px; display: inline-flex; align-items: center; font-weight: 700; background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); border-radius: 2px; transition: background-color .3s, color .3s; }
.practice:hover { background: var(--ink); color: var(--mint); }
.xbtn { width: 56px; height: 56px; display: grid; place-items: center; background: var(--mint); color: var(--ink); border-radius: 2px; transition: background-color .3s, color .3s; }
.xbtn:hover { background: var(--ink); color: var(--mint); }
.wallet { height: 56px; padding: 0 24px; display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: var(--mint); font-weight: 700; border-radius: 2px; box-shadow: inset 0 0 0 2px var(--ink); transition: background-color .3s, color .3s; }
.wallet:hover { background: var(--mint); color: var(--ink); }
.wallet i { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); opacity: .35; }
.wallet.is-on i { opacity: 1; background: var(--mint); }

/* rail (left nav) */
.rail { position: fixed; left: 0; top: 92px; bottom: 0; width: var(--rail); z-index: 250; background: var(--mint); color: var(--ink); display: flex; flex-direction: column; align-items: center; padding: 26px 0 18px; transform: translateX(-100%); transition: transform 1s var(--ease) .3s; }
body.is-entered .rail { transform: none; }
.rail__track { position: absolute; left: 50%; top: 26px; bottom: 120px; width: 2px; margin-left: -1px; background: rgba(4,32,28,.14); }
.rail__track i { display: block; width: 100%; height: 100%; background: var(--ink); transform-origin: top; transform: scaleY(0); }
.rail__list { position: relative; list-style: none; flex: 1; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding-bottom: 100px; }
.rail__list button { writing-mode: vertical-rl; transform: rotate(180deg); padding: 12px 8px; font-weight: 600; font-size: .82rem; letter-spacing: .02em; background: var(--mint); color: rgba(4,32,28,.55); transition: color .3s, background-color .3s; border-radius: 2px; }
.rail__list button:hover { color: var(--ink); }
.rail__list button.is-active { color: var(--mint); background: var(--ink); }
.rail__menu { position: absolute; bottom: 18px; left: 10px; right: 10px; height: 78px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: var(--paper); color: var(--ink); font-weight: 700; font-size: .88rem; border-radius: 2px; transition: background-color .3s; }
.rail__menu:hover { background: var(--ink); color: var(--mint); }
.rail__menu:hover kbd { border-color: var(--mint); }
.rail__menu kbd { font: 600 .72rem var(--sans); border: 1.5px solid var(--ink); border-radius: 4px; padding: 1px 6px; }

/* landing */
.home { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 33vw, 560px); }
.home__main { display: flex; flex-direction: column; justify-content: flex-end; padding: 140px var(--pad) 64px; }
/* live order book above the title */
.book { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 240px; max-height: 46vh; margin: 0 0 clamp(28px, 4vh, 56px); }
.book__head { display: flex; align-items: baseline; gap: 14px 28px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 2px solid var(--ink); font-size: .92rem; }
.book__t { font: 600 1.25rem/1 var(--serif); letter-spacing: -.01em; }
.book__m { display: flex; gap: 22px; flex-wrap: wrap; color: #3f5d58; flex: 1; }
.book__m b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; margin-left: 4px; }
.book__live { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.book__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: blink 1.6s infinite; }
#book { display: block; flex: 1 1 0; width: 100%; height: 0; min-height: 180px; }
.book__keys { display: flex; gap: 22px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid rgba(4,32,28,.14); font-size: .82rem; color: #3f5d58; }
.book__keys .k { display: inline-block; width: 14px; height: 10px; margin-right: 7px; vertical-align: middle; }
.k--bid { background: var(--ink); } .k--ask { background: var(--mint); box-shadow: inset 0 0 0 1.5px var(--ink); }
.book__hint { margin-left: auto; }
@media (max-width: 760px) { .book { min-height: 200px; } .book__hint { display: none; } .book__m span:nth-child(n+3) { display: none; } }
.hero { font: 600 clamp(2.6rem, min(5.2vw, 10vh), 7.4rem)/1.02 var(--serif); letter-spacing: -.035em; margin-bottom: 34px; }
.hero__l { display: block; overflow: hidden; padding: .1em 0 .2em; margin: -.1em 0 -.2em; }
.hero__l > span { display: inline-block; }
.hero__num { font-style: normal; display: inline-block; min-width: 1.2ch; font-variant-numeric: tabular-nums; }
.home__sub { font-size: 1.45rem; font-weight: 500; max-width: 34ch; margin-bottom: 36px; }
.home__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.ca { display: inline-flex; align-self: flex-start; align-items: stretch; height: 58px; background: var(--stone); max-width: 100%; border-radius: 2px; overflow: hidden; }
.ca__k { display: grid; place-items: center; padding: 0 18px; background: var(--mint); color: var(--ink); font-weight: 700; font-size: .9rem; }
.ca__v { display: flex; align-items: center; padding: 0 20px; font: 600 .98rem/1 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ca__b { padding: 0 22px; font-weight: 700; background: var(--ink); color: var(--mint); display: grid; place-items: center; transition: background-color .3s; }
.ca__b:hover { background: var(--cobalt); color: var(--paper); }

.side { position: relative; background: var(--mint); color: var(--ink); padding: 130px 34px 34px; display: flex; flex-direction: column; min-height: 100svh; }
.side__head { display: flex; justify-content: space-between; font-weight: 500; color: rgba(4,32,28,.7); font-size: .95rem; }
.side__live { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.side__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.side__price { font: 600 clamp(3.4rem, 5.6vw, 6rem)/1 var(--serif); letter-spacing: -.03em; margin-top: 28px; font-variant-numeric: tabular-nums; }
.side__chg { font-weight: 600; margin-top: 8px; color: var(--ink); }
.side__chg.is-down { color: #b3261e; }
#curve { display: block; flex: 1 1 0; width: 100%; height: 0; min-height: 260px; margin-top: 28px; }
.side__foot { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .82rem; color: rgba(4,32,28,.7); padding-top: 16px; border-top: 1px solid rgba(4,32,28,.16); }
.sw { display: inline-block; width: 18px; height: 3px; vertical-align: middle; margin-right: 6px; }
.sw--mint { background: var(--ink); } .sw--line { background: #b3261e; } .sw--dash { height: 0; border-top: 3px dashed var(--cobalt); }

/* band */
.band { background: var(--ink); color: var(--paper); overflow: hidden; padding: 22px 0; margin-left: var(--rail); }
.band__track { display: flex; width: max-content; gap: 48px; font: 600 clamp(2rem, 3.8vw, 3.6rem)/1 var(--serif); letter-spacing: -.03em; white-space: nowrap; will-change: transform; }
.band__track i { font-style: normal; color: var(--mint); }

/* shared section heads */
.h2 { font: 600 clamp(3.2rem, 7.4vw, 8.6rem)/.92 var(--serif); letter-spacing: -.04em; max-width: 14ch; }
.h2 .w, .hero .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em 0 .2em; margin: -.1em 0 -.2em; }
.h2 .w > span { display: inline-block; }

/* accounts */
.accounts { background: var(--mint); color: var(--ink); padding: 140px 0; }
.sizes { display: grid; grid-template-columns: repeat(4, 1fr); margin: 70px 0 0; border-top: 2px solid rgba(4,32,28,.16); }
.sizes button { text-align: left; padding: 28px 24px 26px 0; font: 600 clamp(2.6rem, 5.6vw, 6rem)/1 var(--serif); letter-spacing: -.04em; color: rgba(4,32,28,.35); position: relative; transition: color .35s; }
.sizes button::before { content: ""; position: absolute; left: 0; right: 24px; top: -2px; height: 6px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.sizes button:hover { color: rgba(4,32,28,.7); }
.sizes button[aria-selected="true"] { color: var(--ink); }
.sizes button[aria-selected="true"]::before { transform: none; }
.rules { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; margin-top: 30px; background: rgba(4,32,28,.16); border: 2px solid rgba(4,32,28,.16); }
.rule { background: var(--mint); padding: 28px 24px 30px; display: flex; flex-direction: column; gap: 22px; min-width: 0; container-type: inline-size; }
.rule span { font-weight: 500; color: rgba(4,32,28,.7); }
.rule b { font: 600 clamp(1.7rem, 24cqi, 4.2rem)/1 var(--serif); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rule--mint { background: var(--ink); color: var(--mint); }
.rule--mint span { color: var(--mint); }
.accounts__cta { display: flex; align-items: center; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.accounts__cta p { color: rgba(4,32,28,.75); }

/* process */
.process { padding: 150px 0; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 90px; }
.steps__line { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--stone); }
.steps__line i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.step { padding-top: 40px; }
.step__n { display: block; font: 600 clamp(7rem, 13vw, 13rem)/.8 var(--serif); letter-spacing: -.05em; color: var(--ink); margin-bottom: 26px; }
.step:nth-child(3) .step__n { color: var(--cobalt); }
.step h3 { font: 600 clamp(1.8rem, 2.4vw, 2.5rem)/1.05 var(--serif); letter-spacing: -.02em; margin-bottom: 12px; }
.step p { max-width: 32ch; }

/* payout */
.payout { background: var(--ink); color: var(--paper); padding: 140px 0; }
.payout__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 14px; margin-top: 48px; }
.field__k { font-weight: 600; display: flex; justify-content: space-between; max-width: 560px; }
.field__k b { font: 600 1.6rem/1 var(--serif); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { height: 54px; padding: 0 22px; font-weight: 700; box-shadow: inset 0 0 0 2px var(--mint); border-radius: 2px; transition: background-color .3s, color .3s; }
.chips button[aria-checked="true"] { background: var(--mint); color: var(--ink); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; max-width: 560px; height: 30px; background: transparent; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; background: var(--mint); }
input[type=range]::-moz-range-track { height: 4px; background: var(--mint); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -13px; background: var(--ink); border: 4px solid var(--mint); border-radius: 50%; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; background: var(--ink); border: 4px solid var(--mint); border-radius: 50%; }
.payout__out { background: var(--mint); color: var(--ink); padding: 44px; border-radius: 2px; }
.payout__k { font-weight: 600; color: var(--ink); }
.payout__big { font: 600 clamp(4.4rem, 9vw, 9.6rem)/.95 var(--serif); letter-spacing: -.045em; margin: 14px 0 28px; font-variant-numeric: tabular-nums; }
.payout__dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-top: 1px solid rgba(4,32,28,.16); padding-top: 22px; }
.payout__dl dt { font-size: .88rem; color: rgba(4,32,28,.65); }
.payout__dl dd { font: 600 1.7rem/1.1 var(--serif); }
.payout__note { margin-top: 22px; font-size: .86rem; color: rgba(4,32,28,.65); }

/* markets */
.markets { padding: 150px 0; background: var(--stone); }
.markets__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 56px; }
.markets__stamp { font-weight: 600; color: #3f5d58; }
.tr { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1.2fr 1fr; align-items: center; min-height: 76px; border-bottom: 1px solid rgba(4,32,28,.14); padding: 0 4px; transition: background-color .5s; }
.tr--head { min-height: 48px; font-weight: 600; font-size: .88rem; color: #3f5d58; border-bottom: 2px solid var(--ink); }
.tr span:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.tr .mk { font: 600 1.7rem/1 var(--serif); letter-spacing: -.02em; }
.tr .pr { font-weight: 600; font-size: 1.1rem; }
.tr .up { color: #007a68; font-weight: 700; } .tr .dn { color: var(--down); font-weight: 700; }
.tr.flash { background: var(--ink); color: var(--mint); }
.tr:not(.tr--head):hover { background: var(--paper); }

/* faq */
.faq { background: var(--mint); color: var(--ink); padding: 150px 0; }
.faq__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.q { border-bottom: 1px solid rgba(4,32,28,.18); }
.q:first-child { border-top: 1px solid rgba(4,32,28,.18); }
.q__h { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; text-align: left; font: 600 clamp(1.4rem, 2vw, 1.9rem)/1.2 var(--serif); letter-spacing: -.01em; }
.q__h i { position: relative; flex: none; width: 22px; height: 22px; }
.q__h i::before, .q__h i::after { content: ""; position: absolute; left: 0; top: 10px; width: 22px; height: 2px; background: var(--ink); transition: transform .45s var(--ease); }
.q__h i::after { transform: rotate(90deg); }
.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: 28px; color: rgba(4,32,28,.8); max-width: 56ch; }
.q.is-open .q__b { grid-template-rows: 1fr; }

/* token */
.token { background: var(--cobalt); color: var(--paper); padding: 140px 0; }
.token__big { font: 600 clamp(6rem, 22vw, 26rem)/.82 var(--serif); letter-spacing: -.055em; margin-left: -.04em; }
.ca--big { display: grid; grid-template-columns: auto 1fr auto; width: 100%; height: auto; margin-top: 48px; background: var(--paper); color: var(--ink); text-align: left; }
.ca--big .ca__k { padding: 26px 24px; }
.ca--big .ca__v { font: 600 clamp(1.3rem, 2.6vw, 2.6rem)/1 var(--serif); padding: 0 26px; }
.ca--big:hover .ca__b { background: var(--ink); color: var(--paper); }
.token__row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.tstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 40px; max-width: 900px; }
.tstats div { background: rgba(4,32,28,.25); padding: 20px; }
.tstats dt { font-size: .88rem; } .tstats dd { font: 600 2.2rem/1.1 var(--serif); }

/* footer */
.foot { background: var(--mint); color: var(--ink); padding-top: 90px; padding-bottom: 40px; overflow: hidden; }
.foot__word { font: 600 clamp(6rem, 25vw, 30rem)/.8 var(--serif); letter-spacing: -.06em; padding: 0 var(--pad); color: var(--ink); white-space: nowrap; }
.foot__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(4,32,28,.16); font-size: .9rem; color: rgba(4,32,28,.75); }

/* menu */
.menu { position: fixed; inset: 0; z-index: 3500; background: var(--paper); color: var(--ink); display: flex; flex-direction: column; padding: 0 var(--pad) 40px; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .8s var(--io), visibility 0s .8s; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--io); }
.menu__top { height: 92px; display: flex; justify-content: space-between; align-items: center; font: 600 2rem var(--serif); letter-spacing: -.03em; }
.menu__close { height: 56px; padding: 0 26px; background: var(--mint); color: var(--ink); font-weight: 700; border-radius: 2px; }
.menu__list { list-style: none; margin: auto 0; }
.menu__list li { border-bottom: 2px solid var(--ink); overflow: hidden; }
.menu__list a { display: flex; align-items: baseline; gap: 30px; padding: 6px 0 10px; transform: translateY(105%); transition: transform .8s var(--ease), color .3s; transition-delay: calc(.1s + var(--i, 0) * .05s); }
.menu.is-open .menu__list a { transform: none; }
.menu__n { font-weight: 600; font-size: 1rem; color: #3f5d58; min-width: 2.4em; }
.menu__t { font: 600 clamp(2.6rem, 8.6vh, 7rem)/1 var(--serif); letter-spacing: -.04em; transition: transform .5s var(--ease); }
.menu__list a:hover { color: var(--cobalt); }
.menu__list a:hover .menu__t { transform: translateX(20px); }

/* toast */
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 5500; background: var(--mint); color: var(--ink); padding: 18px 24px; font-weight: 600; max-width: min(420px, calc(100% - 48px)); border-left: 6px solid var(--ink); transform: translateY(20px); opacity: 0; pointer-events: none; transition: all .4s var(--ease); }
.toast.is-on { transform: none; opacity: 1; }

/* responsive */
@media (max-width: 1100px) {
  .home { grid-template-columns: 1fr; }
  .side { min-height: 560px; padding-top: 40px; }
  .rules { grid-template-columns: repeat(3, 1fr); }
  .payout__grid, .faq__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --rail: 0px; }
  body { font-size: 17px; }
  .rail { left: auto; right: 14px; top: auto; bottom: 14px; width: auto; height: auto; padding: 0; background: none; transform: translateY(160%); }
  body.is-entered .rail { transform: none; }
  .rail__track, .rail__list { display: none; }
  .rail__menu { position: static; height: 58px; padding: 0 22px; flex-direction: row; box-shadow: 0 0 0 2px var(--ink); }
  .top { height: 72px; }
  .logo { height: 72px; padding: 0 16px; gap: 10px; }
  .logo img { width: 34px; height: 34px; }
  .logo span { font-size: 1.6rem; }
  .practice { display: none; }
  .xbtn, .wallet { height: 48px; } .xbtn { width: 48px; } .wallet { padding: 0 16px; font-size: .9rem; }
  .home__main { padding-top: 110px; }
  .hero { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .ca { width: 100%; align-self: stretch; } .ca__v { flex: 1; }
  .sizes { grid-template-columns: repeat(2, 1fr); }
  .rules { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .tr { grid-template-columns: 1.2fr 1.2fr 1fr; }
  .tr span:nth-child(4), .tr span:nth-child(5) { display: none; }
  .ca--big { grid-template-columns: 1fr; }
  .ca--big .ca__v { padding: 0 24px 20px; }
  .payout__dl, .tstats { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
