/* Multimate marketing landing — rebuilt from the design handoff
   (design_handoff_multimate_landing). Tokens + section specs live in that
   bundle's README; keep changes in sync with it. */

:root {
  --bg: #08090C;
  --fg: #F0F3EE;
  --accent: #FF8534;
  --accent-hov: #FFA05C;
  --violet: #9C6BFF;
  --violet-light: #BFA0FF;
  --cyan: #4DE1FF;
  --amber: #FFB86B;
  --pink: #FF7BA9;
  --grotesk: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  /* shared max page column — marketing site, portal, dashboard nav; CrazyGames-class width so game frames get room */
  --page-w: 1600px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--grotesk); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
img { max-width: 100%; display: block; }

/* Branded scrollbars — same rules as the engine's SHELL_CSS (packages/ui-kit/
   src/styles.ts), keep in sync. The logo orange on every scroller: the page
   itself, nav drawers, panels, the dashboard's lists. Chrome ≥121 honours
   scrollbar-color OVER the ::-webkit-* pseudo-elements when both are set, so
   the standard property is gated to engines WITHOUT them (Firefox) — that
   keeps the gradient thumb in Chrome. v179: 14px bar, transparent track (the
   page colour reads through), 3px thumb border = an 8px floating capsule. */
@supports not selector(::-webkit-scrollbar) { * { scrollbar-width: auto; scrollbar-color: var(--accent) transparent; } }
::-webkit-scrollbar { width: 14px; height: 14px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg,#FFA05C,#FF8534 55%,#E5641E); border-radius: 999px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg,#FFB47A,#FF9147 55%,#F07028); background-clip: padding-box; }
::-webkit-scrollbar-corner { background: transparent; }

.wrap { max-width: var(--page-w); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { position: relative; z-index: 1; padding: 3vw 0; }
/* anchor jumps must clear the sticky nav (its height ≈ logo + padding) */
[id] { scroll-margin-top: 150px; }
@media (max-width: 820px) { [id] { scroll-margin-top: 100px; } }

/* fixed crosshatch backdrop, faded below the hero */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 75%);
}

/* ---------------- nav ---------------- */
.nav { position: sticky; top: 0; z-index: 60; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: linear-gradient(180deg, rgba(14,22,52,.92), rgba(7,11,26,.88)); border-bottom: 1px solid rgba(90,140,255,.22); box-shadow: 0 10px 34px -14px rgba(20,50,140,.5); }
.nav-in { display: flex; align-items: center; gap: 22px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: block; text-decoration: none; margin: 12px 0; }
.brand-mark { display: block; height: 92px; width: auto; filter: drop-shadow(0 8px 22px rgba(0,0,0,.55)); }
/* plate kept only where the footer lockup's dark linework needs it */
.logo-plate { display: inline-flex; padding: 5px 8px; border-radius: 9px; background: #FFF; box-shadow: 0 2px 14px rgba(255,133,52,.22); }
@media (max-width: 820px) { .brand-mark { height: 64px; } .brand { margin: 6px 0; } }
.nav-links { display: flex; gap: 18px; margin-left: auto; align-items: center; }
.nav-links a { font: 600 15.5px var(--grotesk); color: rgba(240,243,238,.9); text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: #9FC1FF; }
/* signed-in creator: the Log-in link becomes an avatar menu (landing.js) */
.nav-profile { position: relative; }
.nav-avatar { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 5px 12px 5px 5px; cursor: pointer; font: 600 14px var(--grotesk); color: rgba(240,243,238,.92); }
.nav-avatar:hover { border-color: rgba(159,193,255,.5); }
.nav-avatar-dot { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #08090C; font-weight: 800; font-size: 13px; }
.nav-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px; background: #12161f; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 6px; box-shadow: 0 14px 40px rgba(0,0,0,.5); z-index: 30; display: flex; flex-direction: column; }
.nav-menu a, .nav-menu button { display: block; width: 100%; text-align: left; padding: 9px 12px; border: 0; background: none; border-radius: 8px; font: 600 14px var(--grotesk); color: rgba(240,243,238,.9); text-decoration: none; cursor: pointer; }
.nav-menu[hidden] { display: none; }
.nav-menu a:hover, .nav-menu button:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-menu .nav-menu-out { color: #ff9a9a; }
@media (max-width: 820px) { .nav-profile { align-self: flex-start; } }
.nav-cta { font: 700 15px var(--grotesk); padding: 15px 0; border-radius: 9px; background: var(--accent); color: #08090C; text-decoration: none; box-shadow: 0 6px 22px rgba(255,133,52,0); white-space: nowrap; overflow: hidden; max-width: 0; margin-left: -22px; opacity: 0; transform: scale(.5) translateY(-8px); pointer-events: none; transition: background .15s, opacity .25s ease, box-shadow .4s ease, max-width .45s cubic-bezier(.22,1,.36,1), padding .45s cubic-bezier(.22,1,.36,1), margin .45s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.34,1.56,.64,1); }
.nav.scrolled .nav-cta { max-width: 260px; padding: 15px 20px; margin-left: 0; opacity: 1; transform: none; pointer-events: auto; box-shadow: 0 6px 26px rgba(255,133,52,.35); }
.nav-cta:hover { background: var(--accent-hov); }
.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; margin: 0; background: transparent; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; cursor: pointer; }
.nav-burger span { display: block; height: 2px; border-radius: 2px; background: rgba(240,243,238,.85); transition: transform .18s, opacity .18s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-burger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-cta, .nav.scrolled .nav-cta { margin-left: auto; }
  .nav-burger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 8px 0; background: #0A101F; border-bottom: 1px solid rgba(90,140,255,.2); box-shadow: 0 24px 40px -18px rgba(0,0,0,.8); }
  .nav-links.open a { display: block; padding: 13px 24px; font-size: 16px; }
}

/* ---------------- hero ---------------- */
.hero { padding-top: clamp(48px, 7vw, 104px); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: clamp(36px, 5vw, 64px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,133,52,.28); background: rgba(255,133,52,.07); border-radius: 999px; padding: 7px 14px; font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 22px; }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: mmPulse 2s ease-out infinite; }
h1 { font: 700 clamp(40px, 6.6vw, 80px)/0.98 var(--grotesk); letter-spacing: -.035em; text-wrap: balance; }
/* padding+negative margin: background-clip:text only paints inside the layout
   box, and the italic glyph overhang (the Y) pokes past it — pad the box so
   the gradient covers the whole glyph, then pull the spacing back */
h1 em { font-style: italic; background: linear-gradient(90deg, #FF8534, #FFB86B, #FFA05C, #FF8534); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: mmShimmer 4s linear infinite; filter: drop-shadow(0 0 20px rgba(255,133,52,.3)); padding: .08em .18em .08em .06em; margin: -.08em -.18em -.08em -.06em; }
.h1-dim { display: block; color: rgba(240,243,238,.34); font-size: .55em; line-height: 1.06; margin-top: .3em; }
.subhead { max-width: 52ch; font: 400 clamp(16px, 1.6vw, 19px)/1.62 var(--grotesk); color: rgba(240,243,238,.64); text-wrap: pretty; margin-top: 22px; }
h2 { font: 700 clamp(30px, 4.4vw, 54px)/1.03 var(--grotesk); letter-spacing: -.03em; text-wrap: balance; margin-top: 14px; }
.h2-small { font-size: clamp(26px, 3.6vw, 44px); letter-spacing: -.025em; }

.email-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 480px; margin-top: 28px; }
.email-form input { flex: 1; min-width: 220px; padding: 14px 16px; border-radius: 11px; border: 2px solid rgba(255,133,52,.6); background: rgba(255,133,52,.05); color: var(--fg); font: 400 15px var(--mono); outline: none; box-shadow: 0 4px 18px rgba(255,133,52,.12); transition: border-color .15s, background .15s, box-shadow .15s; }
.email-form input::placeholder { color: rgba(240,243,238,.35); }
.email-form input:focus { border-color: var(--accent); background: rgba(255,133,52,.09); box-shadow: 0 0 0 3px rgba(255,133,52,.18), 0 4px 18px rgba(255,133,52,.16); }
.email-form button { padding: 14px 22px; border: 0; border-radius: 11px; background: var(--accent); color: #08090C; font: 600 15px var(--grotesk); cursor: pointer; box-shadow: 0 10px 30px rgba(255,133,52,.24); transition: background .15s, transform .15s; }
.email-form button:hover { background: var(--accent-hov); transform: translateY(-1px); }
/* nav "Join" click lands on the hero form — throb the submit so the next step is obvious */
@keyframes mmThrob {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(255,133,52,.24); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(255,133,52,.001), 0 10px 40px rgba(255,133,52,.6); }
}
.email-form button.throb { animation: mmThrob .8s ease-in-out 3; }
.form-note { font: 400 13px var(--mono); color: rgba(240,243,238,.42); margin-top: 12px; }
.hero-link { margin-top: 8px; }
.hero-link a { display: inline-block; padding: 13px 0; font: 500 14.5px var(--grotesk); color: var(--violet); text-decoration: none; border-bottom: 1px solid rgba(156,107,255,.4); transition: color .15s; }
.hero-link a:hover { color: var(--violet-light); }

.hero-vis { position: relative; }
.hero-arena { position: relative; z-index: 2; }
.hero-arena iframe { display: block; width: 100%; height: clamp(480px, 40vw, 560px); border: 0; }
.hero-arena-note { position: relative; z-index: 2; margin: 12px 2px 0; font: 400 12.5px/1.6 var(--mono); color: rgba(240,243,238,.6); }
.hero-arena-note a { display: inline-block; padding: 13px 0; color: #FF8534; text-decoration: none; }
.hero-arena-note a:hover { text-decoration: underline; }
.arena-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 9px; font: 500 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(240,243,238,.55); background: linear-gradient(180deg,#0E1116,#0A0C10); transition: opacity .4s; }
.hero-arena.loaded .arena-loading { opacity: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(6px); pointer-events: none; }
.glow-violet { left: 50%; top: 45%; width: 380px; height: 380px; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(156,107,255,.16), transparent 70%); animation: mmAuroraA 16s ease-in-out infinite; }
.glow-orange { left: 78%; top: 74%; width: 300px; height: 300px; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(255,133,52,.14), transparent 70%); animation: mmAuroraB 21s ease-in-out infinite; }

.hero-steps { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(100%, 420px); border-radius: 16px; border: 1px solid rgba(255,255,255,.12); background: linear-gradient(180deg,#12151B,#0C0E13); box-shadow: 0 40px 90px -30px rgba(0,0,0,.9); z-index: 2; padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.hstep { display: flex; align-items: flex-start; gap: 14px; }
.hstep .step-num { flex: none; margin-top: 2px; }
.hstep b { display: block; font: 600 17px var(--grotesk); }
.hstep span { display: block; font: 400 14px/1.5 var(--grotesk); color: rgba(240,243,238,.6); margin-top: 3px; }
.hero-learn { display: block; text-align: center; margin-top: 4px; padding: 12px 18px; border-radius: 11px; border: 1px solid rgba(255,133,52,.4); background: rgba(255,133,52,.08); color: var(--accent); font: 600 14.5px var(--grotesk); text-decoration: none; transition: background .15s, color .15s; }
.hero-learn:hover { background: var(--accent); color: #08090C; }

.puck { position: absolute; display: flex; align-items: center; gap: 9px; padding: 8px 13px 8px 8px; border-radius: 999px; background: rgba(18,21,27,.94); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 14px 34px -14px #000; z-index: 3; }
.puck-1 { left: 6%; top: 8%; animation: mmPop .6s .5s both, mmFloat 6s 1.1s ease-in-out infinite; }
.puck-2 { right: -2%; top: 17%; animation: mmPop .6s .95s both, mmFloat 6.6s 1.55s ease-in-out infinite; }
.puck-3 { left: 4%; bottom: 15%; animation: mmPop .6s 1.4s both, mmFloat 7s 2s ease-in-out infinite; }
.puck-4 { right: 12%; bottom: 7%; animation: mmPop .6s 1.85s both, mmFloat 7.4s 2.45s ease-in-out infinite; }
.avatar { width: 22px; height: 22px; border-radius: 50%; }
.av-orange { background: linear-gradient(145deg,#FF8534,#C2410C); }
.av-violet { background: linear-gradient(145deg,#9C6BFF,#5B2ED6); }
.av-cyan { background: linear-gradient(145deg,#4DE1FF,#0091C2); }
.av-amber { background: linear-gradient(145deg,#FFB86B,#D96A00); }
.handle { font: 500 12.5px var(--mono); }
.ping { font: 500 10.5px var(--mono); color: var(--accent); }

/* ---------------- marquee + stats ---------------- */
.marquee { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.015); padding: 13px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track { display: flex; width: max-content; animation: mmMarquee 30s linear infinite; }
.marquee-track span { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: rgba(240,243,238,.34); white-space: nowrap; }
/* the separator IS the <b>: a CSS diamond, never a glyph — so a translated
   marquee string that still carries one (sdk/lang/*.json) renders nothing */
.marquee-track b { display: inline-block; width: 6px; height: 6px; margin: 0 10px; background: var(--accent); transform: rotate(45deg); vertical-align: middle; font-size: 0; color: transparent; overflow: hidden; }

.stats-band { position: relative; z-index: 1; background: rgba(255,255,255,.015); border-bottom: 1px solid rgba(255,255,255,.07); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.stat { padding: 26px 18px; text-align: center; }
.stat-n { font: 700 clamp(22px, 2.6vw, 30px) var(--grotesk); color: var(--accent); text-shadow: 0 0 26px rgba(255,133,52,.3); }
.stat-c { font: 400 12px/1.5 var(--mono); color: rgba(240,243,238,.5); margin-top: 6px; }

/* ---------------- the wall ---------------- */
.eyebrow { position: relative; padding-left: 36px; font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .18em; color: var(--accent); }
/* little rule that draws itself in when the section reveals */
.eyebrow::before { content: ''; position: absolute; left: 0; top: 50%; width: 26px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .8s cubic-bezier(.16,1,.3,1) .2s; }
.eyebrow.rv.in::before, body:not(.rv-on) .eyebrow::before { transform: scaleX(1); }
/* centered contexts: no rule, no offset */
.join-wrap .eyebrow { padding-left: 0; }
.join-wrap .eyebrow::before { display: none; }
.eyebrow.violet { color: var(--violet); }
.wall-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 4vw, 56px); align-items: start; }
.body-lg { font: 400 clamp(16px, 1.6vw, 19px)/1.62 var(--grotesk); color: rgba(240,243,238,.64); }
.highlight { font: 500 clamp(16px, 1.7vw, 20px)/1.5 var(--grotesk); color: var(--fg); margin-top: 18px; text-align: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.chip { font: 400 12px var(--mono); border-radius: 8px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.1); color: rgba(240,243,238,.34); }
.todo-card { max-width: 380px; justify-self: end; width: 100%; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: linear-gradient(180deg,#12151B,#0C0E13); box-shadow: 0 24px 60px -28px rgba(0,0,0,.8); overflow: hidden; }
.todo-head { font: 500 12px var(--mono); letter-spacing: .08em; color: rgba(240,243,238,.5); padding: 11px 18px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02); }
.todo-list { list-style: none; margin: 0; padding: 10px 18px 14px; }
.todo-list li { display: flex; align-items: center; gap: 11px; padding: 7px 0; font: 400 14px var(--mono); color: rgba(240,243,238,.38); }
.todo-list li + li { border-top: 1px solid rgba(255,255,255,.04); }
.todo-tick { display: inline-flex; width: 18px; justify-content: center; color: var(--accent); }
.todo-list .done s { text-decoration-color: rgba(240,243,238,.3); }
.todo-list .you { color: var(--fg); font-weight: 600; }
.todo-list .you .todo-tick { color: var(--fg); }
@media (max-width: 720px) { .todo-card { justify-self: stretch; max-width: none; } }
.chip.done { color: #4ADE80; border-color: rgba(74,222,128,.4); background: rgba(74,222,128,.07); }
.chip-you { color: var(--accent); border-color: rgba(255,133,52,.4); background: rgba(255,133,52,.07); }

/* ---------------- how it works ---------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 18px; margin-top: 42px; }
.step-card { padding: 24px; border-radius: 16px; border: 1px solid rgba(255,255,255,.09); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); transition: transform .3s, border-color .3s, box-shadow .3s; }
.step-card:hover { border-color: rgba(255,133,52,.34); transform: translateY(-4px); box-shadow: 0 20px 44px -20px rgba(255,133,52,.3); }
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.step-num { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; font: 600 12px var(--mono); }
.n-orange { color: var(--accent); background: rgba(255,133,52,.12); border: 1px solid rgba(255,133,52,.3); }
.n-violet { color: var(--violet-light); background: rgba(156,107,255,.12); border: 1px solid rgba(156,107,255,.3); }
.n-cyan { color: var(--cyan); background: rgba(77,225,255,.12); border: 1px solid rgba(77,225,255,.3); }
.step-title { font: 600 17px var(--grotesk); }
.step-title .cmd { font: 600 15.5px var(--mono); color: var(--accent); }
.step-card p { font: 400 14.5px/1.6 var(--grotesk); color: rgba(240,243,238,.6); }

.demos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 18px; }
.demo-card { padding: clamp(20px, 3vw, 30px); border-radius: 16px; border: 1px solid rgba(255,255,255,.09); }
.demo-violet { background: linear-gradient(155deg, rgba(156,107,255,.09), rgba(255,255,255,.012)); }
.demo-orange { background: linear-gradient(155deg, rgba(255,133,52,.09), rgba(255,255,255,.012)); }
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.demo-label { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .16em; color: rgba(240,243,238,.55); }
.ghost-btn { padding: 7px 13px; border-radius: 8px; border: 1px solid rgba(255,255,255,.16); background: transparent; color: rgba(240,243,238,.7); font: 500 12.5px var(--mono); cursor: pointer; transition: color .15s, border-color .15s; }
.ghost-btn:hover { color: var(--accent); border-color: var(--accent); }
.room-code { font: 600 clamp(28px, 4vw, 38px) var(--mono); letter-spacing: .14em; color: var(--accent); text-shadow: 0 0 26px rgba(255,133,52,.4); margin: 16px 0 14px; }
.lobby-rows { min-height: 186px; display: flex; flex-direction: column; gap: 9px; }
.lobby-row { display: flex; align-items: center; gap: 10px; animation: mmRise .35s both; }
.lobby-av { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.lobby-name { font: 500 13px var(--mono); }
.lobby-status { margin-left: auto; font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.lobby-bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,.07); margin-top: 16px; overflow: hidden; }
.lobby-fill { height: 100%; width: 0; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--cyan)); transition: width .4s ease; }
.demo-note { font: 400 12.5px/1.55 var(--mono); color: rgba(240,243,238,.65); margin-top: 12px; }

.prompt-row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.prompt-row input { flex: 1; min-width: 180px; padding: 11px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: var(--fg); font: 400 13.5px var(--mono); outline: none; }
.prompt-row input:focus { border-color: var(--accent); }
.prompt-row button { min-height: 44px; padding: 11px 18px; border: 0; border-radius: 10px; background: var(--fg); color: #0B0C10; font: 600 13.5px var(--grotesk); cursor: pointer; transition: background .15s; }
.prompt-row button:hover { background: var(--accent); }
.preview-card { min-height: 196px; margin-top: 16px; }
.preview-art { position: relative; height: 96px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 12px, rgba(255,255,255,.015) 12px 24px); border: 1px solid rgba(255,255,255,.08); }
.preview-art span { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: rgba(240,243,238,.4); }
.preview-line { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); transition: width .4s linear; }
.preview-title { font: 600 16px var(--grotesk); margin-top: 14px; }
.preview-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; min-height: 26px; }
.preview-tags span { font: 400 11px var(--mono); color: var(--accent); border: 1px solid rgba(255,133,52,.35); background: rgba(255,133,52,.06); border-radius: 6px; padding: 4px 8px; }

/* ---------------- platform ---------------- */
.band-platform { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.07); background: linear-gradient(180deg, rgba(255,133,52,.045), transparent 55%); padding: clamp(64px, 8vw, 120px) 0; }
.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(36px, 5vw, 64px); align-items: center; }
.fg { color: var(--fg); }
.mini-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.mini-stat { flex: 1; min-width: 130px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.02); }
.mini-stat b { display: block; font: 700 26px var(--grotesk); color: var(--accent); }
.mini-stat span { font: 400 12px/1.4 var(--mono); color: rgba(240,243,238,.5); }
.platform-grid .body-lg { margin-top: 20px; }

.stack-wrap { position: relative; }
.stack-glow { position: absolute; inset: -30px 0; background: radial-gradient(60% 60% at 50% 50%, rgba(255,133,52,.12), transparent 75%); pointer-events: none; }
html { overflow-x: clip; }
.stack-panel { position: relative; border-radius: 18px; background: linear-gradient(180deg,#10131A,#0A0C11); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 90px -34px #000; padding: 22px; }
.stack-head { display: flex; align-items: center; gap: 9px; font: 500 12.5px var(--mono); color: rgba(240,243,238,.7); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: mmPulse 2s ease-out infinite; }
.stack-time { margin-left: auto; font: 400 11px var(--mono); color: rgba(240,243,238,.4); }
.stack-yours { margin-top: 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255,133,52,.4); background: rgba(255,133,52,.05); }
.stack-file { font: 500 13.5px var(--mono); color: var(--fg); }
.stack-badge { float: right; font: 500 10.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.stack-sub { font: 400 11.5px var(--mono); color: rgba(240,243,238,.4); margin-top: 5px; }
.stack-divider { font: 400 11px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: rgba(240,243,238,.35); margin: 16px 2px 10px; }
.stack-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.015); margin-top: 8px; font: 400 13px var(--mono); color: rgba(240,243,238,.75); }
.stack-row .auto { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: rgba(240,243,238,.4); }
.stack-hot { border-color: rgba(156,107,255,.4); background: rgba(156,107,255,.07); }
.hot-status { font-size: 11px; color: var(--violet-light); white-space: nowrap; }
.stack-note { font: 400 12px/1.55 var(--mono); color: rgba(240,243,238,.45); border-top: 1px dashed rgba(255,255,255,.12); margin-top: 16px; padding-top: 12px; }

.workflow-card { margin-top: clamp(36px, 5vw, 64px); border-radius: 18px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.08); padding: clamp(20px, 3vw, 30px); }
.workflow-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.workflow-head h3 { font: 600 clamp(18px, 2.2vw, 24px) var(--grotesk); letter-spacing: -.02em; }
.workflow-sub { font: 400 12px var(--mono); color: rgba(240,243,238,.4); }

/* ---------------- orb rush ---------------- */
.band-play { position: relative; z-index: 1; padding: clamp(64px, 8vw, 120px) 0; background: radial-gradient(60% 50% at 50% 0%, rgba(156,107,255,.1), transparent 70%); }
.play-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.play-hint { font: 400 13px/1.5 var(--mono); color: rgba(240,243,238,.6); max-width: 90ch; text-align: right; }
.play-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,258px); gap: 16px; align-items: stretch; }
@media (max-width: 720px) { .play-grid { grid-template-columns: 1fr; } .play-hint { text-align: left; } }
.arena-embed iframe { display: block; width: 100%; height: clamp(380px, 48vw, 540px); border: 0; }
.embed-note { font: 400 13px/1.6 var(--mono); color: rgba(240,243,238,.45); margin-top: 14px; }
.embed-note a { color: var(--violet); text-decoration: none; border-bottom: 1px solid rgba(156,107,255,.4); }
.embed-note a:hover { color: var(--violet-light); }
.arena-wrap { border-radius: 18px; overflow: hidden; background: linear-gradient(180deg,#0E1116,#0A0C10); border: 1px solid rgba(255,255,255,.09); box-shadow: inset 0 0 80px rgba(0,0,0,.7); }
.arena { position: relative; height: clamp(300px, 42vw, 420px); cursor: crosshair; touch-action: none;
  background: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 34px 34px; }
.orb { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px rgba(255,133,52,.8); transition: opacity .18s linear; will-change: transform; }
.bot { position: absolute; width: 22px; height: 22px; border-radius: 50%; will-change: transform; }
.bot-violet { background: linear-gradient(145deg,#9C6BFF,#5B2ED6); box-shadow: 0 0 16px rgba(156,107,255,.6); }
.bot-cyan { background: linear-gradient(145deg,#4DE1FF,#0091C2); box-shadow: 0 0 16px rgba(77,225,255,.55); }
.bot-amber { background: linear-gradient(145deg,#FFB86B,#D96A00); box-shadow: 0 0 16px rgba(255,184,107,.55); }
.player-dot { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--fg); border: 2px solid var(--accent); box-shadow: 0 0 20px rgba(255,133,52,.7); will-change: transform; }
.win-overlay { position: absolute; inset: 0; background: rgba(8,9,12,.78); display: none; place-items: center; text-align: center; z-index: 4; }
.win-overlay.on { display: grid; }
.win-text { font: 700 clamp(22px, 3vw, 32px) var(--grotesk); letter-spacing: -.02em; margin-bottom: 16px; }
.rematch-btn { padding: 11px 22px; border: 0; border-radius: 10px; background: var(--accent); color: #08090C; font: 600 14.5px var(--grotesk); cursor: pointer; box-shadow: 0 12px 34px rgba(255,133,52,.26); }
.rematch-btn:hover { background: var(--accent-hov); }
.scores { border-radius: 18px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.02); padding: 18px; display: flex; flex-direction: column; gap: 9px; }
.score-row { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 11px; border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.015); }
.score-you { border-color: rgba(255,133,52,.4); background: rgba(255,133,52,.06); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot-you { background: var(--fg); box-shadow: 0 0 8px rgba(255,133,52,.8); }
.dot-violet { background: var(--violet); }
.dot-cyan { background: var(--cyan); }
.dot-amber { background: var(--amber); }
.s-handle { font: 500 13px var(--mono); }
.score-row b { margin-left: auto; font: 600 16px var(--mono); }
.score-note { font: 400 11.5px/1.55 var(--mono); color: rgba(240,243,238,.4); border-top: 1px dashed rgba(255,255,255,.12); margin-top: auto; padding-top: 12px; }

/* ---------------- features / batteries / genres ---------------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(288px, 1fr)); gap: 16px; margin-top: 42px; }

.batteries { margin-top: clamp(56px, 7vw, 90px); }
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-top: 30px; }
.icon-card { padding: 18px; border-radius: 14px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.08); transition: transform .3s, border-color .3s, background .3s; }
.icon-card:hover { border-color: rgba(255,133,52,.4); transform: translateY(-3px); background: rgba(255,133,52,.04); }
.icon-card svg { fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.icon-card:hover svg { transform: translateY(-2px) scale(1.12); }
.icon-card h4 { font: 600 17px var(--grotesk); margin: 12px 0 6px; }
.icon-card p { font: 400 14.5px/1.6 var(--grotesk); color: rgba(240,243,238,.6); }
.batteries-note { font: 500 15px var(--grotesk); color: rgba(240,243,238,.7); margin-top: 22px; text-align: center; }

.genres-card { margin-top: clamp(56px, 7vw, 90px); border-radius: 18px; background: linear-gradient(120deg, rgba(255,133,52,.055), rgba(156,107,255,.07)); border: 1px solid rgba(255,255,255,.09); padding: clamp(20px, 3vw, 30px); }
.genre-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 18px; }
.genre { position: relative; display: block; height: 130px; border-radius: 13px; background: #0C0F14; overflow: hidden; border: 1px solid rgba(255,255,255,.08); transition: transform .35s, border-color .35s; text-decoration: none; }
.genre img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.genre:hover img { transform: scale(1.07); }
.genre span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--fg); background: linear-gradient(transparent, rgba(8,9,12,.85)); pointer-events: none; }
.genre:hover { transform: translateY(-4px) scale(1.02); }
/* game logo floated over the boxart (portal-capsule look) */
.genre .genre-logo { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); width: auto; height: auto; max-width: 74%; max-height: 54%; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(0,0,0,.7)); pointer-events: none; }
.genre:hover .genre-logo { transform: translate(-50%, -50%) scale(1.05); }
.g-orange:hover { border-color: rgba(255,133,52,.45); }
.g-violet:hover { border-color: rgba(156,107,255,.45); }
.g-cyan:hover { border-color: rgba(77,225,255,.45); }
.g-amber:hover { border-color: rgba(255,184,107,.45); }
.g-pink:hover { border-color: rgba(255,123,169,.45); }

/* ---------------- audience / compare / ownership ---------------- */
.band-audience { position: relative; z-index: 1; background: rgba(255,255,255,.015); border-top: 1px solid rgba(255,255,255,.07); padding: clamp(56px, 7vw, 100px) 0; text-align: center; }
.aud-h { font: 700 clamp(24px, 3.2vw, 40px)/1.15 var(--grotesk); letter-spacing: -.025em; max-width: 900px; margin: 0 auto; text-wrap: balance; }
.aud-sub { font: 500 clamp(15px, 1.6vw, 19px) var(--grotesk); color: var(--accent); margin-top: 16px; }

.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid rgba(255,255,255,.09); background: rgba(0,0,0,.25); margin-top: 36px; }
.compare { min-width: 860px; width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 15px 18px; text-align: left; font-weight: 400; }
.compare thead th { font: 600 14px var(--grotesk); border-bottom: 1px solid rgba(255,255,255,.1); }
.compare tbody th { font: 500 14px var(--grotesk); color: rgba(240,243,238,.85); }
.compare tbody td { font: 400 13.5px var(--grotesk); color: rgba(240,243,238,.72); }
.ci { display: inline-block; width: 26px; font: 700 18px var(--mono); vertical-align: -2px; }
.join-pricing { margin: 30px 0 34px; text-align: left; }
.ci.ok { color: #4ADE80; }
.ci.mid { color: var(--amber); }
.ci.no { color: #FF6B6B; }
.compare .col-mm .ci.ok { color: var(--accent); }
.compare tbody tr { border-top: 1px solid rgba(255,255,255,.05); transition: background .15s; }
.compare tbody tr:hover { background: rgba(255,255,255,.02); }
.compare .col-mm { border-left: 1px solid rgba(255,133,52,.3); border-right: 1px solid rgba(255,133,52,.3); background: rgba(255,133,52,.05); color: var(--accent) !important; }
.compare thead .col-mm { background: linear-gradient(180deg, rgba(255,133,52,.13), rgba(255,133,52,.05)); font: 600 14px var(--grotesk); color: var(--fg) !important; }
.mm-chip-logo { display: inline-flex; vertical-align: -4px; margin-right: 8px; padding: 2px 4px; border-radius: 5px; background: #FFF; }
.table-foot { font: 400 clamp(16px, 1.6vw, 19px)/1.62 var(--grotesk); color: rgba(240,243,238,.64); margin-top: 16px; }

.own-card { border-radius: 18px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.09); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(24px, 4vw, 48px); align-items: center; }

/* ---------------- pricing ---------------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 42px; }
.price-card { padding: clamp(24px, 3.5vw, 36px); border-radius: 16px; border: 1px solid rgba(255,255,255,.09); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); transition: transform .3s, border-color .3s, box-shadow .3s; }
.price-card:hover { transform: translateY(-3px); border-color: rgba(255,133,52,.3); box-shadow: 0 20px 44px -22px rgba(255,133,52,.25); }
.price-card.price-now { border-color: rgba(255,133,52,.4); background: linear-gradient(180deg, rgba(255,133,52,.09), rgba(255,255,255,.012)); }
.price-tag { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--accent); }
.price-card:not(.price-now) .price-tag { color: var(--violet-light); }
.price-card h3 { font: 600 clamp(20px, 2.2vw, 26px) var(--grotesk); letter-spacing: -.02em; margin: 12px 0 10px; }
.price-card p { font: 400 15px/1.65 var(--grotesk); color: rgba(240,243,238,.64); }
.price-cta { display: inline-block; min-height: 44px; box-sizing: border-box; margin-top: 18px; padding: 13px 20px; border-radius: 11px; background: var(--accent); color: #08090C; font: 600 14.5px var(--grotesk); text-decoration: none; box-shadow: 0 10px 30px rgba(255,133,52,.24); transition: background .15s; }
.price-cta:hover { background: var(--accent-hov); }

/* ---------------- faq ---------------- */
.faq-wrap { max-width: 900px; margin: 0 auto; padding: 0 var(--gutter); }
.faq { border-top: 1px solid rgba(255,255,255,.07); }
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 34px; }
.faq-row { border-radius: 14px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.025); overflow: hidden; transition: border-color .25s; }
.faq-row:hover, .faq-row.open { border-color: rgba(255,133,52,.3); }
.faq-row > button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border: 0; background: transparent; color: var(--fg); font: 600 15.5px var(--grotesk); text-align: left; cursor: pointer; transition: color .15s; }
.faq-row > button:hover { color: var(--accent); }
/* :last-child — question text may be span-wrapped for i18n; only the +/− indicator is accent */
.faq-row > button span:last-child { color: var(--accent); font: 500 18px var(--mono); }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-panel > p { overflow: hidden; font: 400 14.5px/1.6 var(--grotesk); color: rgba(240,243,238,.62); padding: 0 20px; }
.faq-row.open .faq-panel { grid-template-rows: 1fr; }
.faq-row.open .faq-panel > p { padding-bottom: 20px; }

/* ---------------- join + footer ---------------- */
.band-join { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.07); background: radial-gradient(70% 100% at 50% 100%, rgba(255,133,52,.14), transparent 65%); padding: clamp(64px, 9vw, 130px) 0; }
.join-wrap { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
.join-h { font-size: clamp(34px, 5.4vw, 66px); line-height: 1; letter-spacing: -.035em; }
.join-wrap .body-lg { margin-top: 18px; }
.join-form { max-width: 460px; margin: 30px auto 0; justify-content: center; }
.join-form input { padding: 15px 16px; }

/* footer: injected by the shared /footer.js (one source for every surface) */

/* ---------------- polish layer: hero entrance, stars, scroll reveals ---------------- */
/* staged hero entrance — rise + deblur, one wave down the left column */
.hero .pill, .hero h1, .hero .subhead, .hero .email-form, .hero .form-note { opacity: 0; animation: mmHeroRise .9s cubic-bezier(.16,1,.3,1) forwards; }
.hero h1 { animation-delay: .08s; }
.hero .subhead { animation-delay: .18s; }
.hero .email-form { animation-delay: .28s; }
.hero .form-note { animation-delay: .36s; }
/* the arena column rises without the blur — filters repaint the iframe */
.hero-vis { opacity: 0; animation: mmHeroRisePlain 1s cubic-bezier(.16,1,.3,1) .15s forwards; }

/* faint star field over the hero, twinkling on two layers, plus the
   occasional shooting star — echoes the orb-rush space vibe */
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 22px 34px, rgba(255,255,255,.55), transparent 55%),
    radial-gradient(1.2px 1.2px at 180px 120px, rgba(255,255,255,.4), transparent 55%),
    radial-gradient(1.8px 1.8px at 300px 220px, rgba(191,160,255,.5), transparent 55%),
    radial-gradient(1.1px 1.1px at 110px 260px, rgba(255,255,255,.35), transparent 55%),
    radial-gradient(1.4px 1.4px at 250px 60px, rgba(255,184,107,.45), transparent 55%);
  background-size: 340px 340px;
  animation: mmTwinkle 6s ease-in-out infinite; }
.hero::after { content: ''; position: absolute; top: 10%; right: 4%; width: 160px; height: 2px; border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.85)); opacity: 0;
  transform: rotate(-26deg); animation: mmShoot 12s linear infinite 3s; pointer-events: none; }

/* scroll reveal: landing.js tags elements .rv (+ body.rv-on), flips .in on entry */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,1,.3,1) var(--rvd, 0s), transform .7s cubic-bezier(.16,1,.3,1) var(--rvd, 0s); }
.rv.in { opacity: 1; transform: none; }

/* ---------------- keyframes ---------------- */
@keyframes mmPulse { 0% { box-shadow: 0 0 0 0 rgba(255,133,52,.5); } 100% { box-shadow: 0 0 0 12px rgba(255,133,52,0); } }
@keyframes mmShimmer { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes mmHeroRise { from { opacity: 0; transform: translateY(28px); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes mmHeroRisePlain { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes mmAuroraA { 0%, 100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(calc(-50% + 46px), calc(-50% - 34px)) scale(1.14); } }
@keyframes mmAuroraB { 0%, 100% { transform: translate(-50%,-50%) scale(1.06); } 50% { transform: translate(calc(-50% - 40px), calc(-50% + 38px)) scale(.94); } }
@keyframes mmTwinkle { 0%, 100% { opacity: .4; } 50% { opacity: .9; } }
@keyframes mmShoot {
  0% { transform: translate(0,0) rotate(-26deg); opacity: 0; }
  2% { opacity: .9; }
  9% { transform: translate(-44vw, 22vw) rotate(-26deg); opacity: 0; }
  100% { transform: translate(-44vw, 22vw) rotate(-26deg); opacity: 0; }
}
@keyframes mmBlink { 50% { opacity: 0; } }
@keyframes mmScan { from { transform: translateY(-100%); } to { transform: translateY(1100%); } }
@keyframes mmMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mmPop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes mmFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes mmRise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .scanline, .cursor, .pill-dot, .live-dot, .email-form button.throb,
  h1 em, .glow, .hero::before, .hero::after { animation: none !important; }
  .puck { animation: none !important; opacity: 1; }
  .hero .pill, .hero h1, .hero .subhead, .hero .email-form, .hero .form-note, .hero-vis { animation: none !important; opacity: 1; }
  .hero::after { opacity: 0; }
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}

/* ---------------- language picker (flag dropdown inside the header bar — i18n.js) ----------------
   Desktop: the header is one bar — the picker pins to its top-right and the
   nav links drop to its bottom edge, stacked visually without a second strip.
   Mobile: the picker sits inline beside the burger. */
.nav-in { position: relative; }
.lang-dd { position: relative; }
@media (min-width: 821px) {
  .nav-in .lang-dd { position: absolute; top: 12px; right: var(--gutter); }
  /* align-items center: the signed-in avatar pill (swapped in for the Log-in
     link) is 38px tall against 20px of link text — bottom-aligning it parked
     its centre 9px above the nav row. Centring aligns the two; the :has()
     padding trim gives back the 18px the taller pill adds to the row, so the
     links themselves don't move between signed-out and signed-in. */
  .nav-links { align-self: flex-end; padding-bottom: 26px; align-items: center; }
  .nav-links:has(.nav-profile) { padding-bottom: 17px; }
  .nav-cta { align-self: flex-end; margin-bottom: 16px; }
  /* dashboard: .nav-profile is a direct .nav-in child, not inside .nav-links —
     bottom margin puts its centre on the same line as the link text
     (26px link padding + 10px half-link = 17px margin + 19px half-pill) */
  .nav-in > .nav-profile { align-self: flex-end; margin-bottom: 17px; }
}
.lang-btn { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: rgba(240,243,238,.85); font: 500 12px var(--mono); cursor: pointer; transition: border-color .15s; }
.lang-btn:hover { border-color: rgba(255,255,255,.32); }
.lang-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang-flag { font-size: 15px; line-height: 1; }
.lang-chev { font-size: 9px; opacity: .6; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; min-width: 172px; background: #12161F; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; box-shadow: 0 14px 40px rgba(0,0,0,.5); z-index: 70; display: flex; flex-direction: column; }
.lang-menu[hidden] { display: none; }
.lang-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; background: none; border-radius: 8px; color: rgba(240,243,238,.9); font: 600 13.5px var(--grotesk); cursor: pointer; text-align: left; }
.lang-menu button:hover { background: rgba(255,255,255,.07); color: #fff; }
.lang-menu li[aria-selected="true"] button { color: var(--accent); }
.lang-menu .lang-flag { font-size: 16px; }
