/* Brings the landing in line with the STEMX Arena exchange it sells: the same accent and button shape, a section that
   shows the product itself, a first screen that fits the window and a mobile menu that reads cleanly. Loaded last. */

/* One accent with the exchange: its indigo gradient, softer glow and rounder corners on every button. */
:root { --blue: #5b6bff; }
/* Keep full-bleed artwork contained in browsers without overflow: clip. */
@supports not (overflow: clip) {
  main, .arena-product, .round-lounge { overflow: hidden; }
}
.button, .site-header .header-cta, .arena-hero .button, .migration-gallery__calculator .button, .round-lounge .calculator-cta, .economy-ledger__cta {
  border: 1px solid #a0aaff61; border-radius: 14px;
  background: linear-gradient(135deg, #4b5cff, #6a5ff0);
  box-shadow: 0 10px 28px -12px #5b6bffcc, inset 0 1px 0 #ffffff2e;
}
.button:hover { filter: brightness(1.08); box-shadow: 0 14px 34px -12px #5b6bffe6, inset 0 1px 0 #ffffff33; }
.site-header .header-cta { border-radius: 12px; }
.text-link, .arena-hero .hero-actions .text-link, .tokenomics-glass__footer button { color: #a3acff; }
.round-lounge .tabs button[aria-selected=true] { background: linear-gradient(135deg, #4b5cff, #6a5ff0); box-shadow: inset 0 0 0 1px #a0aaff73, 0 4px 14px #5b6bff4d; }
.round-lounge .presets button[aria-pressed=true] { background: #5b6bff38; border-color: #8d98ffbf; }
.round-lounge .round-goal, .economy-ledger__percent span, .stemx-future__percent span, .migration-gallery__ratio strong { color: #6f7cff; }

/* The first screen, its three figures included, fits the window on desktops; the coin keeps its place and scales
   with the screen's height when the window is wide and low. */
@media (min-width: 1191px) {
  .arena-hero { --hero-height: clamp(780px, min(calc(71.15 * var(--vw, 1vw)), 100svh), 1200px); }
  .arena-foreground { --art-w: min(56%, calc(var(--hero-height) * .88)); width: var(--art-w); left: calc(71% - var(--art-w) / 2); }
}

/* Mobile menu: a solid panel, so the page does not show through the links, ending in the main action. */
.site-header nav .nav-cta { display: none; }
@media (max-width: 900px) {
  .site-header nav { gap: 0; max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; background: #080e20; box-shadow: 0 30px 50px -20px #000c; }
  .site-header .menu-button { width: 44px; height: 44px; flex-shrink: 0; }
  dialog { max-height: calc(100dvh - 32px); overscroll-behavior: contain; }
  dialog .dialog-close { width: 44px; height: 44px; }
  .site-header nav.is-open .nav-cta { display: inline-flex; margin-top: 14px; min-height: 52px; padding: 14px 22px; color: #fff; font-size: 16px; }
}

/* One photographed device scene; unchanged demo captures are placed inside its screens. */
.arena-product { position: relative; overflow: clip; padding: clamp(56px, calc(6 * var(--vw, 1vw)), 100px) 0 clamp(80px, calc(8 * var(--vw, 1vw)), 140px); }
.arena-product__inner { display: grid; gap: 28px; }
.arena-product__intro { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 1fr; align-items: start; column-gap: clamp(36px, calc(5 * var(--vw, 1vw)), 84px); row-gap: 18px; }
.arena-product__eyebrow { grid-column: 1 / -1; margin: 0; color: #9aaaf3; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.arena-product h2 { font-size: clamp(38px, calc(3.8 * var(--vw, 1vw)), 60px); line-height: 1.08; letter-spacing: -1.4px; }
.arena-product h2 span { background: linear-gradient(110deg, #f3f4ff, #b8c4fa); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.arena-product__lead { max-width: 490px; padding-bottom: 4px; }
.arena-product__lead p { color: #b8c4df; font-size: clamp(16px, calc(1.3 * var(--vw, 1vw)), 19px); line-height: 1.6; }
.arena-product__lead .arena-product__sports { margin-top: 12px; color: #8e9cb9; font-size: 13px; line-height: 1.6; }
.arena-product__lead .button { margin-top: 22px; min-height: 52px; }
.arena-product__shot { min-width: 0; margin: -20px 0 0; }
.arena-product__stage { position: relative; width: calc(100% + 96px); margin-inline: -48px; }
.arena-product__composition { display: block; width: 100%; height: auto; aspect-ratio: 1536 / 820; fill: none; stroke: none; mask-image: linear-gradient(transparent, #000 10%, #000 85%, transparent), linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-composite: intersect; -webkit-mask-composite: source-in; }
.arena-product__screen-layer { position: relative; width: 1536px; height: 1024px; overflow: hidden; }
.arena-product__screen-mac { display: block; width: 1440px; height: 800px; max-width: none; transform-origin: 0 0; transform: matrix3d(.521527777778,0,0,0,-.022249348958,.505631510417,0,-.000027669271,0,0,1,0,274,280,0,1); }
.arena-product__shot figcaption { position: relative; margin-top: -12px; color: #8f9cbb; font-size: 11px; line-height: 1.6; text-align: right; }
.arena-product__markets { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-top: 30px; border-top: 1px solid #a1b8ed24; }
.arena-product__markets article + article { padding-left: 48px; border-left: 1px solid #a1b8ed24; }
.arena-product__market-label { margin-bottom: 10px; color: #95a4d7; font-size: 11px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.arena-product__markets h3 { color: #f0f3fc; font-size: clamp(22px, calc(2 * var(--vw, 1vw)), 28px); line-height: 1.3; letter-spacing: -.3px; }
.arena-product__markets h3 + p { max-width: 475px; margin-top: 12px; color: #aebbd5; font-size: 16px; line-height: 1.65; }
.arena-product__markets a { display: inline-flex; align-items: center; gap: 16px; margin-top: 20px; color: #a6b3ff; font-size: 14px; font-weight: 600; }
.arena-product__markets a:hover { color: #fff; }
.arena-product__markets a svg { width: 18px; height: 18px; }
@media (max-width: 1190px) {
  .arena-product__stage { width: calc(100% + 64px); margin-inline: -32px; }
}
@media (max-width: 1000px) {
  .arena-product__intro { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .arena-product h2 { font-size: clamp(34px, 4.7vw, 48px); }
  .arena-product__markets { gap: 32px; }
  .arena-product__markets article + article { padding-left: 32px; }
  .arena-product__shot figcaption { margin-top: -20px; }
}
@media (max-width: 900px) {
  .arena-product__stage { width: calc(100% + 48px); margin-inline: -24px; }
}
@media (max-width: 700px) {
  .site-header nav { max-height: calc(100dvh - 72px); }
}
@media (max-width: 650px) {
  .arena-product__inner { gap: 26px; }
  .arena-product__intro { grid-template-columns: 1fr; gap: 20px; }
  .arena-product h2 { font-size: clamp(27px, 7.9vw, 48px); letter-spacing: -.8px; }
  .arena-product__eyebrow { font-size: var(--f10, 10px); }
  .arena-product__lead p { font-size: 16px; }
  .arena-product__lead .button { width: 100%; margin-top: 20px; }
  .arena-product__shot { margin-top: -12px; }
  .arena-product__stage { width: calc(100% + 40px); margin-inline: -20px; }
  .arena-product__shot figcaption { margin-top: 0; text-align: center; font-size: var(--f10, 10px); }
  .arena-product__markets { grid-template-columns: 1fr; gap: 26px; padding-top: 24px; }
  .arena-product__markets article + article { padding: 26px 0 0; border-left: 0; border-top: 1px solid #a1b8ed24; }
  .arena-product__markets h3 + p { font-size: 15px; }
  .arena-product__markets a { margin-top: 14px; }
}
