:root {
  --night: #0c1024;
  --night-2: #161b37;
  --ink: #151515;
  --cream: #f3eddf;
  --paper: #fffaf0;
  --line: #c9bfac;
  --muted: #766d5e;
  --lime: #cfff47;
  --coral: #ff5b45;
  --violet: #6d45ff;
  --cyan: #4de5ff;
  --pink: #ff4fb8;
  --green: #18a276;
  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--cream); font-family: var(--sans); font-size: 18px; line-height: 1.6; }
button, input { font: inherit; }
button { color: inherit; }
canvas { display: block; width: 100%; }
a { color: inherit; }
.skip { position: fixed; z-index: 100; top: -5rem; left: 1rem; padding: .7rem 1rem; background: var(--lime); }
.skip:focus { top: 1rem; }
.progress { position: fixed; z-index: 95; inset: 0 0 auto; height: 4px; }
.progress i { display: block; width: 0; height: 100%; background: var(--coral); }
.masthead { min-height: 68px; padding: 0 clamp(18px, 4vw, 64px); display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #2d3250; color: var(--paper); background: var(--night); }
.brand { display: flex; align-items: center; gap: .7rem; color: inherit; text-decoration: none; font-size: 11px; letter-spacing: .15em; }
.brand > span { display: grid; width: 36px; aspect-ratio: 1; place-items: center; color: var(--night); background: var(--lime); font-family: var(--display); letter-spacing: -.05em; }
.mast-meta { display: flex; gap: 2rem; font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.mast-meta strong { color: var(--lime); }

.hero { position: relative; min-height: calc(100vh - 68px); padding: clamp(65px, 9vh, 110px) clamp(22px, 6vw, 95px) 70px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 5vw; color: var(--paper); background: var(--night); overflow: hidden; }
.hero-noise { position: absolute; inset: 0; opacity: .17; background-image: radial-gradient(circle at 20% 20%, var(--cyan) 0 1px, transparent 1.5px), radial-gradient(circle at 70% 60%, var(--pink) 0 1px, transparent 1.5px); background-size: 38px 38px, 61px 61px; mask-image: linear-gradient(90deg, #000, transparent 75%); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 1.1rem; font-size: 10px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 36px; height: 3px; margin: 0 .8rem .2rem 0; background: currentColor; }
.lime { color: var(--lime); }
.coral { color: var(--coral); }
.violet { color: var(--violet); }
.hero h1 { margin: 0; font-family: var(--display); font-size: clamp(60px, 8.8vw, 142px); line-height: .85; letter-spacing: -.075em; text-transform: uppercase; }
.hero h1 em { color: var(--lime); font-style: normal; text-shadow: 6px 6px 0 var(--violet); }
.dek { max-width: 690px; margin: 2.2rem 0 0; font-family: var(--serif); font-size: clamp(21px, 2vw, 29px); line-height: 1.36; }
.coin-stage { position: relative; min-height: 570px; z-index: 2; display: grid; place-items: center; }
.hero-coin { position: relative; z-index: 3; width: min(30vw, 430px); aspect-ratio: 1; display: grid; place-content: center; border: 13px solid var(--lime); border-radius: 50%; color: var(--night); background: var(--lime); box-shadow: inset 0 0 0 10px var(--night), inset 0 0 0 14px var(--lime), 22px 25px 0 var(--violet); transform: rotate(-8deg); }
.hero-coin::after { content: "EDGE"; position: absolute; inset: 7%; display: grid; place-items: end center; padding-bottom: 12%; border: 2px dashed var(--night); border-radius: 50%; font-size: 11px; font-weight: 900; letter-spacing: .3em; }
.hero-coin span { font-family: var(--display); font-size: clamp(58px, 7vw, 110px); line-height: .8; letter-spacing: -.08em; }
.hero-coin small { text-align: center; font-weight: 900; letter-spacing: .28em; }
.coin-shadow { position: absolute; bottom: 11%; width: 55%; height: 7%; border-radius: 50%; background: #050711; filter: blur(8px); }
.coin-orbit { position: absolute; border: 1px solid #383e63; border-radius: 50%; }
.orbit-a { width: 90%; aspect-ratio: 1; }
.orbit-b { width: 68%; aspect-ratio: 1; border-style: dashed; animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.coin-stage > p { position: absolute; right: 0; bottom: 8%; color: var(--cyan); font-family: var(--serif); font-size: 18px; font-style: italic; transform: rotate(-5deg); }
.hero-footer { position: absolute; inset: auto clamp(22px, 6vw, 95px) 22px; display: flex; gap: 3rem; font-size: 9px; font-weight: 900; letter-spacing: .17em; }
.hero-footer b { margin-left: auto; color: var(--lime); }

.prose { width: min(740px, calc(100% - 40px)); margin-left: auto; margin-right: auto; }
.shell, .shell-dark { width: min(1180px, calc(100% - 40px)); margin-left: auto; margin-right: auto; }
.rules { padding: 130px 0; font-family: var(--serif); font-size: clamp(23px, 2.4vw, 32px); line-height: 1.48; }
.dropcap::first-letter { float: left; margin: .12em .12em 0 0; font-family: var(--display); font-size: 4.8em; line-height: .68; color: var(--violet); }
.rules h2 { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line); font-family: var(--display); font-size: clamp(37px, 5vw, 65px); line-height: 1; letter-spacing: -.055em; text-transform: uppercase; }
.rules h2 em { color: var(--coral); font-style: normal; }

.bet-terminal { margin-bottom: 150px; border: 4px solid var(--night); background: var(--night); box-shadow: 16px 20px 0 var(--violet); }
.terminal-header { min-height: 52px; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; color: var(--lime); border-bottom: 1px solid #3a4062; font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.status-dot { display: inline-block; width: 8px; aspect-ratio: 1; margin-right: .5rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 13px var(--lime); }
.terminal-grid { display: grid; grid-template-columns: .62fr 1.38fr; min-height: 600px; }
.bet-control { padding: clamp(32px, 5vw, 65px); color: var(--paper); border-right: 1px solid #3a4062; display: flex; flex-direction: column; justify-content: center; }
.terminal-label { margin: 0; color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .2em; }
.bet-control output { font-family: var(--display); font-size: clamp(75px, 9vw, 125px); line-height: .9; color: var(--lime); letter-spacing: -.07em; }
.of-bankroll { margin: .4rem 0 1.6rem; font-family: var(--serif); color: #bbbcd0; }
input[type="range"] { width: 100%; accent-color: var(--coral); cursor: pointer; }
.range-ends { display: flex; justify-content: space-between; color: #8689a5; font-size: 10px; }
.bet-preview { margin-top: 2rem; padding: 15px; display: flex; justify-content: space-between; align-items: center; border: 1px solid #3a4062; }
.bet-preview span { font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.bet-preview strong { font-family: var(--display); color: var(--cyan); }
.play-game { margin-top: 1.5rem; padding: 1rem; border: 0; color: var(--night); background: var(--lime); font-size: 10px; font-weight: 900; letter-spacing: .12em; cursor: pointer; box-shadow: 5px 5px 0 var(--violet); }
.play-game b { float: right; }
.play-game:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--violet); }
.skip-game { margin-top: 1rem; border: 0; color: #9c9eb7; background: none; font-size: 11px; text-decoration: underline; cursor: pointer; }
.game-screen { position: relative; padding: 24px; color: var(--paper); background: #111631; overflow: hidden; }
.game-screen::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(#343a5d 1px, transparent 1px), linear-gradient(90deg, #343a5d 1px, transparent 1px); background-size: 38px 38px; }
.scoreboard { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #3a4062; background: rgba(12,16,36,.88); }
.scoreboard div { padding: 13px 16px; border-right: 1px solid #3a4062; }
.scoreboard div:last-child { border: 0; }
.scoreboard span { display: block; color: #7d82a6; font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.scoreboard strong { font-family: var(--display); font-size: clamp(17px, 2.2vw, 30px); }
.game-screen canvas { position: relative; z-index: 1; height: 470px; }
.live-coin { position: absolute; z-index: 5; right: 42px; top: 115px; width: 78px; aspect-ratio: 1; display: grid; place-items: center; border: 4px solid var(--lime); border-radius: 50%; color: var(--night); background: var(--lime); font-family: var(--display); font-size: 30px; box-shadow: 8px 9px 0 var(--violet); transition: transform .18s; }
.live-coin.flip { transform: rotateY(180deg) scale(1.12); }
.live-coin.loss { border-color: var(--coral); background: var(--coral); }
.tape { position: absolute; inset: auto 24px 22px; height: 5px; background: #2d3355; }
.tape i { display: block; width: 0; height: 100%; background: var(--lime); }
.game-result { display: none; padding: 30px; grid-template-columns: .6fr 1fr 1.2fr; align-items: center; gap: 2rem; color: var(--night); background: var(--lime); }
.game-result.open { display: grid; }
.game-result > span { font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.game-result > strong { font-family: var(--display); font-size: clamp(35px, 5vw, 63px); line-height: .9; }
.game-result p { margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.4; }
body.waiting .gated { opacity: .13; filter: blur(3px); pointer-events: none; user-select: none; }
.gated { transition: opacity .7s ease, filter .7s ease; }

.after-game { padding: 130px 0; }
.after-game h2, .section-intro h2, .mean-warning h2 { margin: 0 0 1.2rem; font-family: var(--display); font-size: clamp(45px, 6vw, 84px); line-height: .95; letter-spacing: -.06em; text-transform: uppercase; }
.after-game > p:not(.eyebrow), .section-intro > p:not(.eyebrow), .mean-warning p { font-family: var(--serif); font-size: 21px; }
.after-game blockquote { margin: 4rem 0 0; padding-left: 1.5rem; border-left: 7px solid var(--coral); font-family: var(--serif); font-size: clamp(28px, 3.5vw, 45px); line-height: 1.3; }
.after-game blockquote em { color: var(--violet); }

.pair-math { padding: 140px 20px; color: var(--night); background: var(--lime); }
.pair-inner { width: min(1180px, 100%); margin: auto; }
.dark-eye { color: var(--night); }
.pair-inner h2 { margin: 0; font-family: var(--display); font-size: clamp(47px, 7vw, 95px); line-height: .88; letter-spacing: -.065em; text-transform: uppercase; }
.pair-demo { margin: 70px 0 45px; display: grid; grid-template-columns: 1.2fr auto 1fr auto 1fr auto 1.2fr; align-items: center; gap: 1rem; }
.wallet, .event { min-height: 155px; padding: 22px; display: flex; flex-direction: column; justify-content: center; border: 3px solid var(--night); box-shadow: 7px 8px 0 var(--night); text-align: center; }
.wallet span, .event span { font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.wallet strong, .event strong { font-family: var(--display); font-size: clamp(34px, 4vw, 58px); }
.event.win { color: var(--paper); background: var(--violet); transform: rotate(-2deg); }
.event.loss { color: var(--paper); background: var(--coral); transform: rotate(2deg); }
.wallet.end { color: var(--paper); background: var(--night); }
.operator { font-family: var(--display); font-size: 42px; }
.pair-caption { max-width: 760px; margin: auto; font-family: var(--serif); font-size: 22px; text-align: center; }

.same-game { padding: 160px 0; }
.section-intro { margin-bottom: 70px; }
.comparison-scrolly { width: min(1400px, 100%); margin: auto; padding: 0 clamp(20px, 3vw, 50px); display: grid; grid-template-columns: 1.45fr .55fr; gap: 5vw; }
.comparison-stage { position: sticky; top: 7vh; height: 86vh; min-height: 610px; align-self: start; border: 3px solid var(--night); background: var(--paper); box-shadow: 12px 14px 0 var(--night); }
.comparison-stage canvas { height: 100%; }
.comparison-badge { position: absolute; top: 24px; right: 24px; min-width: 190px; padding: 14px 17px; color: var(--paper); background: var(--night); }
.comparison-badge span { display: block; color: var(--lime); font-size: 8px; font-weight: 900; letter-spacing: .15em; }
.comparison-badge strong { display: block; font-family: var(--display); font-size: 30px; }
.comparison-steps { padding: 22vh 0; }
.comparison-step { min-height: 72vh; padding: 25px; display: flex; flex-direction: column; justify-content: center; opacity: .2; }
.comparison-step.active { opacity: 1; }
.comparison-step > span { font-size: 9px; font-weight: 900; letter-spacing: .16em; color: var(--violet); }
.comparison-step h3 { margin: .6rem 0 1rem; font-family: var(--display); font-size: clamp(34px, 4vw, 55px); line-height: .95; letter-spacing: -.055em; text-transform: uppercase; }
.comparison-step p { margin: 0; font-family: var(--serif); font-size: 18px; }
.danger-step { padding: 28px; color: var(--paper); background: var(--coral); transform: rotate(.5deg); opacity: 1; }
.danger-step > span { color: var(--night); }

.crowd { padding: 160px 0; color: var(--paper); background: var(--night); }
.light-copy { color: var(--paper); }
.crowd-lab, .drawdown-card, .fractional-row, .sizer { border: 1px solid #3b4164; background: var(--night-2); }
.crowd-control { padding: 30px; border-bottom: 1px solid #3b4164; }
.crowd-control label { display: flex; align-items: baseline; gap: 1rem; font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.crowd-control output { font-family: var(--display); font-size: 45px; color: var(--lime); letter-spacing: -.05em; }
.kelly-marker { position: relative; height: 27px; margin: 0 7px; }
.kelly-marker i { position: absolute; top: 0; width: 1px; height: 11px; background: var(--lime); }
.kelly-marker span { position: absolute; top: 10px; transform: translateX(-50%); color: var(--lime); font-size: 8px; font-weight: 900; letter-spacing: .1em; white-space: nowrap; }
.crowd-viz { padding: 25px; }
.crowd-viz canvas { height: 510px; }
.crowd-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #3b4164; }
.crowd-stats div { padding: 22px; border-right: 1px solid #3b4164; }
.crowd-stats div:last-child { border: 0; }
.crowd-stats span { display: block; color: #888da9; font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.crowd-stats strong { display: block; font-family: var(--display); font-size: clamp(24px, 3vw, 42px); color: var(--lime); }
.mean-warning { padding-top: 140px; }

.mountain { padding: 160px 0; }
.mountain-lab { display: grid; grid-template-columns: 1.4fr .6fr; border: 3px solid var(--night); background: var(--paper); box-shadow: 12px 14px 0 var(--violet); }
.mountain-lab figure { margin: 0; padding: 30px; border-right: 1px solid var(--line); }
.mountain-lab canvas { height: 520px; }
.mountain-lab figcaption { display: flex; justify-content: space-between; color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.mountain-control { padding: clamp(30px, 5vw, 60px); display: flex; flex-direction: column; justify-content: center; }
.mountain-control label { font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.mountain-control > output { font-family: var(--display); font-size: clamp(65px, 8vw, 105px); line-height: .9; color: var(--violet); }
.growth-verdict { margin: 1.5rem 0; padding: 16px; border-left: 5px solid var(--coral); font-family: var(--serif); }
.growth-verdict strong { display: block; font-family: var(--display); font-size: 22px; text-transform: uppercase; }
.formula { margin-top: 1.2rem; padding: 20px; color: var(--paper); background: var(--night); }
.formula span { font-size: 8px; font-weight: 900; letter-spacing: .14em; color: var(--lime); }
.formula strong { display: block; font-family: var(--serif); font-size: 32px; }
.formula p { margin: .3rem 0 0; }
.summit-note { padding-top: 80px; font-family: var(--serif); font-size: 21px; }

.drawdown-room { padding: 160px 0; color: var(--paper); background: #211329; }
.drawdown-card { position: relative; }
.drawdown-card canvas { height: 620px; }
.drawdown-stat { position: absolute; top: 28px; left: 28px; max-width: 350px; padding: 22px; color: var(--night); background: var(--lime); box-shadow: 7px 8px 0 var(--violet); }
.drawdown-stat span { font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.drawdown-stat strong { display: block; font-family: var(--display); font-size: 56px; }
.drawdown-stat p { margin: .3rem 0 0; font-family: var(--serif); line-height: 1.35; }
.fractional-row { margin-top: 18px; display: grid; grid-template-columns: repeat(3, .5fr) 1.5fr; }
.fractional-row button { min-height: 120px; border: 0; border-right: 1px solid #3b4164; color: var(--paper); background: transparent; cursor: pointer; }
.fractional-row button span { display: block; color: #8e92aa; font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.fractional-row button strong { font-family: var(--display); font-size: 34px; }
.fractional-row button.active { color: var(--night); background: var(--lime); }
.fractional-row button.active span { color: var(--night); }
.fractional-result { padding: 22px 28px; }
.fractional-result span { color: var(--coral); font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.fractional-result strong { display: block; font-family: var(--display); font-size: 35px; }
.fractional-result p { margin: 0; color: #a7a9bc; font-family: var(--serif); font-size: 14px; }

.fog { padding: 160px 0; }
.fog-lab { display: grid; grid-template-columns: 1.35fr .65fr; border: 3px solid var(--night); background: var(--paper); box-shadow: 12px 14px 0 var(--violet); }
.fog-chart { padding: 28px; border-right: 1px solid var(--line); }
.fog-chart canvas { height: 580px; }
.fog-controls { padding: clamp(30px, 4vw, 55px); display: flex; flex-direction: column; justify-content: center; }
.belief-card { padding: 20px; margin-bottom: 2rem; color: var(--paper); background: var(--violet); transform: rotate(-1deg); box-shadow: 6px 7px 0 var(--night); }
.belief-card span, .fog-controls label { font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.belief-card strong { display: block; font-family: var(--display); font-size: 55px; }
.belief-card small { display: block; }
.fog-controls label { margin-top: 1.2rem; display: flex; justify-content: space-between; align-items: baseline; }
.fog-controls label output { font-family: var(--display); font-size: 28px; color: var(--violet); }
.fog-verdict { margin-top: 2rem; padding: 18px; border: 2px solid var(--night); font-family: var(--serif); }
.fog-verdict strong { display: block; font-family: var(--display); font-size: 24px; text-transform: uppercase; }
.big-quote { margin-top: 110px; font-family: var(--display); font-size: clamp(42px, 6vw, 80px); line-height: .98; letter-spacing: -.055em; text-transform: uppercase; }
.big-quote em { color: var(--coral); font-style: normal; }

.translation { padding: 160px 0; color: var(--paper); background: var(--night); }
.sizer { padding: clamp(25px, 4vw, 55px); }
.sizer-control { margin-bottom: 2.2rem; display: grid; grid-template-columns: 1fr 1.6fr; gap: 2rem; align-items: center; }
.sizer-control label { font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.sizer-control output { display: block; font-family: var(--display); font-size: 28px; color: var(--lime); }
.sizer-equation { margin-top: 4rem; padding-top: 35px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 1.5rem; align-items: center; border-top: 1px solid #3b4164; text-align: center; }
.sizer-equation > b { font-family: var(--display); font-size: 35px; color: var(--coral); }
.sizer-equation span { display: block; color: #8e92aa; font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.sizer-equation strong { display: block; font-family: var(--display); font-size: clamp(28px, 4vw, 50px); }
.sizer-equation .contracts { padding: 20px; color: var(--night); background: var(--lime); box-shadow: 6px 7px 0 var(--violet); }
.sizer-equation .contracts span { color: var(--night); }
.sizer-warning { margin: 2rem 0 0; padding: 15px; border: 1px solid #3b4164; color: #a4a7bd; font-family: var(--serif); font-size: 14px; text-align: center; }

.closing { min-height: 100vh; padding: 160px 20px; display: grid; place-items: center; color: var(--paper); background: var(--violet); text-align: center; }
.closing-inner { width: min(1000px, 100%); }
.closing .eyebrow::before { display: none; }
.closing h2 { margin: 0; font-family: var(--display); font-size: clamp(65px, 10vw, 145px); line-height: .83; letter-spacing: -.075em; text-transform: uppercase; }
.closing h2 em { color: var(--lime); font-style: normal; }
.closing-receipt { margin: 70px 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.45); }
.closing-receipt div { padding: 25px; border-right: 1px solid rgba(255,255,255,.45); }
.closing-receipt div:last-child { border: 0; }
.closing-receipt span, .closing-receipt small { display: block; font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.closing-receipt strong { display: block; font-family: var(--display); font-size: clamp(27px, 4vw, 48px); }
.closing-receipt small { color: #d5cdfc; }
.closing blockquote { margin: 0; font-family: var(--serif); font-size: clamp(30px, 4.5vw, 58px); line-height: 1.25; }
.closing blockquote em { color: var(--lime); }
.closing-inner > p:last-child { max-width: 750px; margin: 4rem auto 0; font-family: var(--serif); font-size: 18px; }

.methods { padding: 70px max(20px, 6vw); background: #ddd3c2; }
.methods details { width: min(1180px, 100%); margin: auto; }
.methods summary { cursor: pointer; font-family: var(--display); font-size: 24px; text-transform: uppercase; }
.method-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.method-grid div { padding: 25px; background: var(--cream); }
.method-grid h3 { margin: 0 0 .5rem; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.method-grid p { margin: 0; color: #50493f; font-size: 14px; }
.method-grid a { color: var(--violet); }
footer { padding: 45px max(20px, 5vw); display: grid; grid-template-columns: auto 1fr auto; gap: 3rem; align-items: center; color: var(--paper); background: #070a17; font-size: 12px; }
footer p { margin: 0; color: #898da9; }
footer a { color: var(--lime); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-decoration: none; }

@media (max-width: 920px) {
  body { font-size: 16px; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .coin-stage { min-height: 480px; }
  .hero-coin { width: min(62vw, 390px); }
  .hero-footer { display: none; }
  .terminal-grid, .mountain-lab, .fog-lab { grid-template-columns: 1fr; }
  .bet-control, .mountain-lab figure, .fog-chart { border-right: 0; border-bottom: 1px solid var(--line); }
  .game-result { grid-template-columns: 1fr; gap: .6rem; }
  .pair-demo { grid-template-columns: 1fr 1fr; }
  .pair-demo .operator { display: none; }
  .comparison-scrolly { grid-template-columns: 1fr; padding: 0; }
  .comparison-stage { top: 0; height: 58vh; min-height: 430px; z-index: 3; border-left: 0; border-right: 0; }
  .comparison-steps { padding: 0 20px; }
  .comparison-step { min-height: 60vh; }
  .crowd-stats { grid-template-columns: 1fr 1fr; }
  .crowd-stats div { border-bottom: 1px solid #3b4164; }
  .fractional-row { grid-template-columns: repeat(3, 1fr); }
  .fractional-result { grid-column: 1 / -1; border-top: 1px solid #3b4164; }
  .method-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .masthead { padding: 0 15px; }
  .mast-meta { display: none; }
  .hero { padding-left: 20px; padding-right: 20px; }
  .hero h1 { font-size: clamp(53px, 17vw, 88px); }
  .coin-stage { min-height: 370px; }
  .bet-terminal { width: calc(100% - 18px); box-shadow: 8px 10px 0 var(--violet); }
  .terminal-header div:last-child { display: none; }
  .bet-control { padding: 30px 20px; }
  .scoreboard { grid-template-columns: 1fr 1fr; }
  .scoreboard div:nth-child(3) { display: none; }
  .game-screen { padding: 12px; }
  .game-screen canvas { height: 380px; }
  .live-coin { right: 25px; top: 95px; width: 58px; }
  .pair-demo { grid-template-columns: 1fr; }
  .comparison-stage { height: 52vh; min-height: 370px; }
  .comparison-badge { top: 12px; right: 12px; min-width: 145px; padding: 9px 12px; }
  .comparison-badge strong { font-size: 22px; }
  .crowd-lab, .drawdown-card, .fractional-row, .sizer { width: calc(100% - 18px); }
  .crowd-viz { padding: 10px; }
  .crowd-viz canvas { height: 430px; }
  .crowd-stats { grid-template-columns: 1fr; }
  .mountain-lab, .fog-lab { width: calc(100% - 18px); box-shadow: 7px 8px 0 var(--violet); }
  .mountain-lab figure { padding: 12px; }
  .mountain-lab canvas, .fog-chart canvas { height: 400px; }
  .drawdown-card canvas { height: 500px; }
  .drawdown-stat { top: 14px; left: 14px; max-width: 265px; }
  .drawdown-stat strong { font-size: 40px; }
  .fractional-row { grid-template-columns: 1fr; }
  .fractional-result { grid-column: auto; }
  .sizer-control { grid-template-columns: 1fr; gap: .5rem; }
  .sizer-equation { grid-template-columns: 1fr; }
  .sizer-equation > b { transform: rotate(90deg); }
  .closing-receipt, .method-grid { grid-template-columns: 1fr; }
  .closing-receipt div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.45); }
  footer { grid-template-columns: 1fr; gap: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
