/* BlobIQ - website (BLO-70 prototype). Plain CSS, mobile first, no external resources.
   Tokens consistent with packages/presentation/src/presentation.css (Arena, logo, bloby). */

/* ---------- Font: Nunito, self-hosted (OFL), no Google Fonts CDN (GDPR) ---------- */
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/nunito-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/nunito-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/nunito-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/nunito-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 900; font-display: swap; src: url(../fonts/nunito-latin-ext-900-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 900; font-display: swap; src: url(../fonts/nunito-latin-900-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;
  /* from the game presentation */
  --ink: #06161f;
  --arena-bg: #0b2b3a;
  --arena-1: #103d52;
  --arena-2: #14506a;
  --arena-3: #1a6585;
  --lime: #c6f03c;
  --cream: #fff6e0;
  --sky: #bfe9f5;
  /* blobs (packages/shared/src/blob.ts) */
  --coral: #ff5a4e;
  --sun: #ffc93c;
  --teal: #19c6b0;
  --lilac: #b58cff;
  --pink: #ff8fc7;
  --grass: #7bd34b;
  --azure: #5cc8ff;
  --tangerine: #ff9a3c;
  --cloud: #f4f1e8;
  --indigo: #7d8bff;
  /* phone (controller) */
  --phone-bg: #1c1563;
  /* utility */
  --text-on-cream: #1d2f3a; /* contrast with --cream approx. 12:1 */
  --muted: #bfe9f5; /* = --sky, contrast with --arena-bg approx. 10:1 */
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 20px;
  --max: 1120px;
  --r: 22px;
  --outline: 4px;
  --shadow: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--arena-bg);
  color: var(--cream);
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--lime); text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 900; line-height: 1.08; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong, b { font-weight: 900; }
:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; border-radius: 6px; }
.on-cream :focus-visible { outline-color: var(--ink); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 12px; font-weight: 900; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 56px 0; position: relative; }
.section-cream { background: var(--cream); color: var(--text-on-cream); }
.section-cream a { color: #0b4f6c; }
.section-cream a:hover { color: var(--ink); }
.section-dark { background: var(--arena-1); }
.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 14px;
  background: var(--lime);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.h2 { font-size: clamp(1.9rem, 5.5vw, 3rem); }
.lead { font-size: 1.2rem; max-width: 40em; }
.muted { color: var(--muted); }
.section-cream .muted { color: #3a5262; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 52px;
  padding: 10px 26px;
  background: var(--lime);
  color: var(--ink);
  border: var(--outline) solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 6px 0 var(--ink);
  font: inherit;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { color: var(--ink); transform: translateY(2px); box-shadow: 0 4px 0 var(--ink); }
.btn:active { transform: translateY(6px); box-shadow: 0 0 0 var(--ink); }
.btn-big { min-height: 62px; padding: 12px 34px; font-size: 1.3rem; }
.btn-light { background: var(--cream); }
.btn-outline { background: transparent; color: var(--cream); border-color: var(--cream); box-shadow: none; }
.btn-outline:hover { background: var(--cream); color: var(--ink); transform: none; box-shadow: none; }
.btn-small { min-height: 44px; padding: 6px 18px; font-size: 1rem; box-shadow: 0 4px 0 var(--ink); border-radius: 14px; }
.btn .arrow { font-size: 1.1em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 43, 58, .94);
  border-bottom: 3px solid var(--ink);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.site-header nav { display: none; } /* the menu appears from 900px; hidden, it must not take a flex gap */
.site-header .container > * { min-width: 0; }
.menu { display: none; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: 8px 14px; border-radius: 12px; color: var(--cream); font-weight: 700; text-decoration: none; }
.menu a:hover, .menu a[aria-current] { background: var(--arena-2); color: #fff; }
.logo-link { display: inline-block; text-decoration: none; line-height: 0; }

/* ---------- BlobIQ logo (as in packages/presentation, direction B "mascot") ---------- */
.logo-b { --u: 1; position: relative; display: inline-block; padding-top: calc(var(--u) * 50px); font-family: var(--font); line-height: 1; flex: none; }
.logo-b-blob {
  position: absolute; top: 0; left: calc(var(--u) * 30px);
  width: calc(var(--u) * 92px); height: calc(var(--u) * 84px);
  background: var(--lime); border: calc(var(--u) * 7px) solid var(--ink);
  border-radius: 52% 48% 46% 54% / 60% 58% 42% 40%;
  transform-origin: 50% 100%; animation: blob-breathe 2.6s ease-in-out infinite;
}
.logo-b-eye { position: absolute; top: 24%; width: 22%; height: 30%; background: #fff; border: calc(var(--u) * 5px) solid var(--ink); border-radius: 50%; animation: logo-blink 4.2s infinite; }
.logo-b-eye::after { content: ''; position: absolute; left: 22%; top: 30%; width: 48%; height: 40%; background: var(--ink); border-radius: 50%; }
.logo-b-eye-1 { left: 20%; }
.logo-b-eye-2 { left: 56%; }
.logo-b-mouth { position: absolute; left: 36%; top: 62%; width: 28%; height: 14%; background: var(--ink); border-radius: 0 0 999px 999px; }
.logo-b-word { position: relative; white-space: nowrap; font-weight: 900; font-size: calc(var(--u) * 112px); line-height: .9; letter-spacing: -.02em; color: var(--cream); text-shadow: calc(var(--u) * 8px) calc(var(--u) * 8px) 0 var(--ink); }
.logo-b-ow { position: relative; display: inline-block; z-index: 0; }
.logo-b-ow::before { content: attr(data-t); position: absolute; left: 0; top: 0; z-index: -1; color: var(--ink); -webkit-text-stroke: calc(var(--u) * 22px) var(--ink); text-shadow: calc(var(--u) * 8px) calc(var(--u) * 8px) 0 var(--ink); }
.logo-b-q { color: var(--lime); }
.logo-b-bubble {
  position: absolute; right: calc(var(--u) * -44px); top: calc(var(--u) * -4px);
  background: #fff; color: var(--ink); border: calc(var(--u) * 6px) solid var(--ink); border-radius: 50%;
  padding: calc(var(--u) * 6px) calc(var(--u) * 18px); font-weight: 900; font-size: calc(var(--u) * 34px); line-height: 1;
  transform: rotate(8deg); animation: logo-bob 3.4s ease-in-out infinite;
}
.logo-b-bubble::after { content: ''; position: absolute; left: calc(var(--u) * 4px); bottom: calc(var(--u) * -16px); width: calc(var(--u) * 16px); height: calc(var(--u) * 16px); background: #fff; border: calc(var(--u) * 5px) solid var(--ink); border-radius: 50%; }
@keyframes logo-blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
@keyframes logo-bob { 0%, 100% { transform: rotate(8deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-8%); } }

/* ---------- Blobs (as in Blob.tsx: elements and CSS, size from font-size = blob width) ---------- */
.blob {
  --c: var(--lime);
  position: relative; display: block; flex: none;
  width: 1em; height: .9375em; font-size: 64px;
  background: var(--c); border: .0625em solid var(--ink);
  border-radius: 50% 50% 34% 34% / 55% 55% 36% 36%;
  transform-origin: 50% 100%;
  animation: blob-breathe 2.5s ease-in-out infinite;
}
.blob.cube { border-radius: 26%; }
.blob.ball { border-radius: 50%; }
.blob.drop { border-radius: 20% 20% 44% 44% / 22% 22% 46% 46%; }
.blob i { position: absolute; top: .219em; width: .1875em; height: .234em; background: #fff; border-radius: 50%; overflow: hidden; }
.blob i::after { content: ''; position: absolute; left: .047em; top: .0625em; width: .094em; height: .094em; background: var(--ink); border-radius: 50%; }
.blob i:nth-child(1) { left: .203em; }
.blob i:nth-child(2) { left: .516em; }
.blob b { position: absolute; left: .3125em; top: .547em; width: .25em; height: .109em; background: var(--ink); border-radius: 0 0 .16em .16em; }
.blob.sleepy i { top: .297em; height: .14em; border-radius: 0 0 .125em .125em; }
.blob.sleepy i::after { top: .016em; }
.blob.happy b { left: .28em; top: .53em; width: .31em; height: .17em; border-radius: 0 0 .19em .19em; }
.anim-hop { animation: blob-hop 1.6s ease-in-out infinite; }
.anim-droop { animation: blob-droop 2.8s ease-in-out infinite; }
.anim-walk { animation: blob-walk .5s ease-in-out infinite; }
.anim-sleep { animation: blob-sleep 3.6s ease-in-out infinite; filter: saturate(.35) brightness(.8); }
.anim-sleep i::after { display: none; }
.delay-1 { animation-delay: -.4s; } .delay-2 { animation-delay: -.9s; } .delay-3 { animation-delay: -1.4s; } .delay-4 { animation-delay: -1.9s; } .delay-5 { animation-delay: -2.3s; }
@keyframes blob-breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.05, .93); } }
@keyframes blob-hop { 0%, 100% { transform: translateY(0) scale(1, 1); } 15% { transform: translateY(0) scale(1.14, .84); } 45% { transform: translateY(-46%) scale(.94, 1.08); } 72% { transform: translateY(0) scale(1.1, .88); } }
@keyframes blob-droop { 0%, 100% { transform: scale(1.04, .9); } 50% { transform: scale(1.08, .84); } }
@keyframes blob-sleep { 0%, 100% { transform: scale(1.06, .86); } 50% { transform: scale(1.1, .8); } }
@keyframes blob-walk { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg) translateY(-8%); } }

/* ---------- Hero ---------- */
.hero { padding: 36px 0 56px; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, var(--arena-1) 0%, var(--arena-bg) 70%); }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 14px; background: var(--arena-2); border: 3px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: .95rem; }
.badge::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
.hero h1 { font-size: clamp(2.4rem, 9.5vw, 4.6rem); line-height: 1; margin-bottom: .4em; text-shadow: 0 4px 0 var(--ink); }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lead { margin-bottom: 1.2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 14px; }
.hero-note a { text-decoration: underline; }
.hero-note { font-size: .95rem; margin: 0 0 24px; max-width: 34em; }
.join-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; background: var(--arena-1); border: 3px solid var(--ink); border-radius: 20px; max-width: 520px; }
.join-form label { flex: 1 1 100%; font-weight: 700; }
.join-form input {
  flex: 1 1 150px; min-width: 0; min-height: 52px; padding: 8px 14px;
  background: #fff; color: var(--ink); border: var(--outline) solid var(--ink); border-radius: 16px;
  font: inherit; font-size: 1.35rem; font-weight: 900; letter-spacing: .28em; text-transform: uppercase; text-align: center;
}
.join-form input::placeholder { color: #56676f; letter-spacing: .2em; }

.stage { position: relative; width: 100%; max-width: 640px; margin: 0 auto; aspect-ratio: 16 / 11; container-type: inline-size; user-select: none; }
.stage .beam { position: absolute; top: 0; width: 34%; height: 86%; background: linear-gradient(to bottom, rgba(198, 240, 60, .22), rgba(198, 240, 60, 0) 85%); }
.stage .beam-l { left: 4%; clip-path: polygon(0 0, 58% 0, 100% 100%, 12% 100%); }
.stage .beam-r { right: 4%; clip-path: polygon(42% 0, 100% 0, 88% 100%, 0 100%); }
.stage .ring { position: absolute; left: 50%; border: var(--outline) solid var(--ink); border-radius: 50%; transform: translateX(-50%); }
.stage .p1 { bottom: -34%; width: 100%; height: 76%; background: var(--arena-1); }
.stage .p2 { bottom: -28%; width: 80%; height: 60%; background: var(--arena-2); }
.stage .p3 { bottom: -20%; width: 52%; height: 42%; background: var(--arena-3); }
.stage .spot { position: absolute; display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); }
.stage .blob { font-size: 11.8cqw; }
.stage .name-tag { margin-top: 6px; padding: 1px 8px; background: var(--cream); color: var(--ink); border: 3px solid var(--ink); border-radius: 10px; font-size: 3cqw; font-weight: 900; line-height: 1.25; white-space: nowrap; }
.stage .host { left: 50%; bottom: 7%; }
.stage .host .blob { font-size: 16.5cqw; }
.stage .platform { position: absolute; left: 50%; bottom: 5.5%; width: 21%; height: 5%; transform: translateX(-50%); background: var(--lime); border: 4px solid var(--ink); border-radius: 50%; }
.stage .antenna { position: absolute; z-index: -1; right: 3.2cqw; top: -5cqw; width: .9cqw; height: 9.5cqw; background: var(--ink); border-radius: 4px; transform: rotate(18deg); }
.stage .antenna::before { content: ''; position: absolute; left: -1.2cqw; top: -2cqw; width: 3.4cqw; height: 3.4cqw; background: var(--coral); border: 3px solid var(--ink); border-radius: 50%; }
.stage .host .blob { position: relative; --c: var(--cloud); }
.bubble {
  position: absolute; left: 50%; top: 1%; width: 84%; transform: translateX(-50%);
  padding: 10px 16px; background: var(--cream); color: var(--ink);
  border: var(--outline) solid var(--ink); border-radius: 20px; box-shadow: 6px 6px 0 var(--ink);
  font-size: clamp(.82rem, 3.6cqw, 1.05rem); font-weight: 700; line-height: 1.35; text-align: center; min-height: 3.2em; display: flex; align-items: center; justify-content: center;
}
.bubble::after { content: ''; position: absolute; left: 50%; bottom: -14px; width: 22px; height: 22px; background: var(--cream); border-right: var(--outline) solid var(--ink); border-bottom: var(--outline) solid var(--ink); transform: translateX(-50%) rotate(45deg); }
.bubble span { transition: opacity .3s; }
.bubble.fading span { opacity: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 22px; margin-top: 28px; list-style: none; padding: 0; counter-reset: step; }
.step { position: relative; padding: 24px 22px 22px; background: #fff; color: var(--text-on-cream); border: var(--outline) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow) var(--shadow) 0 var(--ink); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -20px; left: 18px; width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--lime); color: var(--ink); border: var(--outline) solid var(--ink); border-radius: 50%; font-size: 1.5rem; font-weight: 900;
}
.step h3 { margin-top: 10px; font-size: 1.4rem; color: var(--ink); }
.step p { margin-bottom: 14px; }
.step .screenshot { display: block; width: 100%; border: 3px solid var(--ink); border-radius: 14px; background: var(--arena-bg); }
.step .screenshot-phone { max-width: 190px; margin: 0 auto; border-radius: 22px; }
.code-demo { display: inline-block; padding: 2px 12px; background: var(--lime); color: var(--ink); border: 3px solid var(--ink); border-radius: 10px; font-weight: 900; letter-spacing: .2em; }

/* ---------- Rounds ---------- */
.rounds { display: grid; gap: 22px; margin-top: 30px; list-style: none; padding: 0; }
.round { display: flex; flex-direction: column; background: var(--arena-2); border: var(--outline) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow) var(--shadow) 0 var(--ink); overflow: hidden; }
.round-stage { display: flex; align-items: flex-end; justify-content: center; gap: 14px; height: 124px; padding: 0 12px 16px; background: var(--arena-1); border-bottom: var(--outline) solid var(--ink); }
.round-body { padding: 18px 20px 22px; }
.round h3 { font-size: 1.5rem; margin-bottom: .2em; }
.round-label { display: inline-block; margin: 0 0 8px; padding: 2px 12px; background: var(--cream); color: var(--ink); border: 3px solid var(--ink); border-radius: 999px; font-size: .78rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.round p { margin: 0; }
.round-soon { border-style: dashed; background: transparent; box-shadow: none; }
.round-soon .round-stage { background: transparent; }
.round .blob { font-size: 52px; }
.round .blob.big { font-size: 60px; }
.balloon { position: relative; display: block; width: 22px; height: 27px; margin-bottom: 8px; background: var(--coral); border: 3px solid var(--ink); border-radius: 50% 50% 46% 46%; animation: blob-breathe 2.5s ease-in-out infinite; }
.balloon::after { content: ''; position: absolute; left: 50%; top: 100%; width: 3px; height: 14px; background: var(--ink); }
.zig { position: relative; display: block; width: 42px; height: 78px; margin-bottom: 18px; background: var(--sun); border: 4px solid var(--ink); clip-path: polygon(58% 0, 8% 56%, 42% 56%, 30% 100%, 92% 38%, 56% 38%); }
.chip { display: block; width: 26px; height: 9px; margin-bottom: 4px; background: var(--sun); border: 3px solid var(--ink); border-radius: 50%; }
.stack { display: flex; flex-direction: column-reverse; margin-bottom: 0; }
.track { display: flex; align-items: flex-end; gap: 0; width: 100%; padding: 0 8px; }
.track span { flex: 1; height: 14px; border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); background: var(--arena-3); }
.track span:nth-child(odd) { background: var(--arena-2); }
.track-cell { position: relative; }
.trophy { display: block; width: 26px; height: 30px; margin-bottom: 6px; background: var(--sun); border: 4px solid var(--ink); border-radius: 4px 4px 14px 14px; }

/* ---------- Audience, tiles ---------- */
.tiles { display: grid; gap: 20px; margin-top: 28px; list-style: none; padding: 0; }
.tile { padding: 22px; background: #fff; color: var(--text-on-cream); border: var(--outline) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow) var(--shadow) 0 var(--ink); }
.tile h3 { font-size: 1.3rem; color: var(--ink); }
.tile p { margin: 0; }
.count { display: block; font-size: 3.2rem; font-weight: 900; line-height: 1; color: var(--ink); }
.count small { font-size: 1.1rem; font-weight: 700; }
.blob-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px; margin: 10px 0 12px; min-height: 44px; }
.blob-row .blob { font-size: 34px; }

/* ---------- Presenter ---------- */
.presenter { display: grid; gap: 28px; align-items: center; }
.presenter-stage { display: flex; justify-content: center; padding: 20px 0 0; }
.presenter .host-big { position: relative; display: flex; flex-direction: column; align-items: center; }
.presenter .host-big .blob { --c: var(--cloud); font-size: min(210px, 52vw); z-index: 1; }
.presenter .host-big .platform-d { width: min(290px, 74vw); height: 44px; margin-top: -24px; background: var(--lime); border: 4px solid var(--ink); border-radius: 50%; }
.presenter .host-big .antenna-d { position: absolute; right: 16%; top: -30px; width: 9px; height: 72px; background: var(--ink); border-radius: 4px; transform: rotate(18deg); }
.presenter .host-big .antenna-d::before { content: ''; position: absolute; left: -11px; top: -22px; width: 30px; height: 30px; background: var(--coral); border: 4px solid var(--ink); border-radius: 50%; }
.quote { margin: 0 0 14px; padding: 14px 18px; background: var(--cream); color: var(--ink); border: var(--outline) solid var(--ink); border-radius: 20px; box-shadow: 6px 6px 0 var(--ink); font-weight: 700; }
.quote:nth-of-type(even) { margin-left: 18px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 26px; display: grid; gap: 12px; max-width: 800px; }
.faq details { background: #fff; color: var(--text-on-cream); border: var(--outline) solid var(--ink); border-radius: 18px; box-shadow: 0 6px 0 var(--ink); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; font-weight: 900; font-size: 1.1rem; color: var(--ink); cursor: pointer; list-style: none; border-radius: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 32px; height: 32px; background: var(--lime); border: 3px solid var(--ink); border-radius: 50%; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 0; padding: 0 18px 16px; }

/* ---------- Call to action, contact, footer ---------- */
.cta { text-align: center; background: var(--arena-2); border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); }
.cta .h2 { margin-bottom: .3em; }
.cta p { max-width: 36em; margin-left: auto; margin-right: auto; }
.contact-grid { display: grid; gap: 20px; margin-top: 10px; }
.site-footer { padding: 40px 0 28px; background: var(--ink); border-top: 4px solid var(--ink); font-size: .95rem; }
.footer-grid { display: grid; gap: 28px; }
.site-footer h2 { margin-bottom: .5em; font-size: 1rem; letter-spacing: .05em; text-transform: uppercase; color: var(--lime); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--lime); }
.site-footer .fine-print { margin: 26px 0 0; padding-top: 16px; border-top: 2px solid var(--arena-1); color: var(--muted); font-size: .875rem; }

/* ---------- Subpages (text) ---------- */
.subpage-hero { padding: 40px 0 28px; background: radial-gradient(120% 90% at 50% 0%, var(--arena-1) 0%, var(--arena-bg) 75%); }
.subpage-hero h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); text-shadow: 0 4px 0 var(--ink); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.2em; font-size: 1.2rem; }
.prose li { margin-bottom: .4em; }
.draft {
  display: block; margin: 0 0 24px; padding: 14px 18px; background: var(--sun); color: var(--ink);
  border: var(--outline) solid var(--ink); border-radius: 16px; font-weight: 700;
}
.to-fill { background: #ffe9a8; color: var(--ink); padding: 0 6px; border-radius: 6px; font-weight: 700; }
.data-table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .98rem; }
.data-table th, .data-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 2px solid var(--arena-2); }
.section-cream .data-table th, .section-cream .data-table td { border-bottom-color: #c9d6dc; }
.data-table th { font-weight: 900; color: inherit; }
.scroll-x { overflow-x: auto; }
.downloads { display: grid; gap: 14px; margin: 20px 0 0; padding: 0; list-style: none; }
.downloads li { padding: 14px 18px; background: var(--arena-2); border: 3px solid var(--ink); border-radius: 16px; }

/* ---------- Larger screens ---------- */
@media (min-width: 700px) {
  :root { --gutter: 28px; }
  .section { padding: 80px 0; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .rounds { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .downloads { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .site-header nav { display: block; }
  .menu { display: flex; }
  .hero { padding: 56px 0 80px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 40px; }
  .presenter { grid-template-columns: 1fr 1.2fr; gap: 56px; }
  .rounds { grid-template-columns: repeat(3, 1fr); }
  .tiles { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Motion: disable animations with prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Screenshots on subpages ---------- */
.gallery { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; margin: 0 0 1.5em; }
.gallery img { border: 3px solid var(--ink); border-radius: 14px; background: var(--arena-bg); }
.gallery img:first-child { flex: 1 1 340px; min-width: 0; }
.gallery .screenshot-phone { flex: 0 1 150px; width: 150px; height: auto; border-radius: 20px; }
.gallery figcaption { flex: 1 1 100%; font-size: .95rem; color: #3a5262; }
.screenshot-press { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 0 1.2em; border: 3px solid var(--ink); border-radius: 14px; background: var(--arena-bg); }

/* ---------- BLO-70 stage 2: language switcher, beta sign-up, video ---------- */
.lang-switch { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; font-weight: 900; color: var(--cream); text-decoration: none; border-radius: 12px; }
.lang-switch:hover { text-decoration: underline; }
.beta { display: grid; gap: 24px; align-items: start; }
.beta-form { display: grid; gap: 12px; padding: 20px; background: #fff; color: var(--text-on-cream); border: var(--outline) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow) var(--shadow) 0 var(--ink); }
.beta-form label { font-weight: 700; }
.beta-form input[type="email"] { width: 100%; min-height: 52px; padding: 8px 14px; font: inherit; font-size: 1.1rem; color: var(--ink); background: #fff; border: var(--outline) solid var(--ink); border-radius: 16px; }
.beta-form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .95rem; }
.beta-form .consent input { flex: 0 0 auto; width: 24px; height: 24px; margin-top: 2px; accent-color: var(--ink); }
.beta-form .consent a { color: #0b4f6c; }
.beta-form button { justify-self: start; }
.beta-form button[disabled] { opacity: .6; cursor: progress; }
.beta-status { min-height: 1.4em; margin: 0; font-weight: 700; }
.beta-status.ok { color: #1b5e20; }
.beta-status.error { color: #8a1c14; }
.ts-box { max-width: 100%; overflow: hidden; } /* Cloudflare Turnstile (BLO-136): hidden until Cloudflare asks for an interaction */
.form-fine-print { margin: 0; font-size: .88rem; color: #3a5262; }
.video { max-width: 820px; margin: 24px auto 12px; }
.video-play { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border: var(--outline) solid var(--ink); border-radius: var(--r); background: var(--arena-1); box-shadow: var(--shadow) var(--shadow) 0 var(--ink); }
.video-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-button { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; gap: 10px; align-items: center; padding: 14px 24px; background: var(--lime); color: var(--ink); border: var(--outline) solid var(--ink); border-radius: 999px; font-weight: 900; font-size: 1.15rem; box-shadow: 4px 4px 0 var(--ink); }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: var(--outline) solid var(--ink); border-radius: var(--r); background: #000; }
@media (min-width: 900px) { .beta { grid-template-columns: 1fr 1fr; gap: 48px; } }
.site-header .btn-small { white-space: nowrap; }
#faq .container { text-align: center; }
#faq .faq { margin-left: auto; margin-right: auto; text-align: left; }
.platforms { display: flex; flex-wrap: wrap; gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.platforms li { flex: 1 1 120px; max-width: 170px; display: grid; align-content: start; justify-items: center; gap: 6px; min-width: 128px; padding: 14px 16px; text-align: center; background: var(--arena-1); color: var(--sky); border: 3px dashed var(--arena-3); border-radius: 16px; }
.platforms strong { color: var(--cream); font-weight: 900; }
.platforms span { font-size: .8rem; font-weight: 700; }
.contact-form { margin-top: 18px; }
.contact-form input[type="text"], .contact-form textarea { width: 100%; min-height: 52px; padding: 8px 14px; font: inherit; font-size: 1.05rem; color: var(--ink); background: #fff; border: var(--outline) solid var(--ink); border-radius: 16px; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .form-fine-print a { color: #0b4f6c; }
.beta-form .form-fine-print a { color: #0b4f6c; }
.lang-switch .flag { flex: none; width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 2px var(--ink); }

/* ---------- BLO-109: the header fits phones from 320px (logo + language + CTA in one row) ---------- */
@media (max-width: 480px) {
  .site-header .container { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .site-header .logo-b { --u: .28; }
  .site-header .lang-switch { gap: 5px; padding: 0 4px; }
  .site-header .lang-switch .flag { width: 20px; height: 14px; }
  .site-header .btn-small { min-height: 40px; padding: 4px 12px; font-size: .92rem; border-width: 3px; }
}

/* News list (BLO-113) */
.news-list { display: grid; gap: 20px; margin: 28px 0 0; padding: 0; list-style: none; max-width: 800px; }
.news-item { padding: 22px; background: #fff; color: var(--text-on-cream); border: var(--outline) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow) var(--shadow) 0 var(--ink); overflow-wrap: anywhere; }
.news-item h2, .news-item h3 { margin: 0 0 .5em; font-size: 1.3rem; color: var(--ink); }
.news-item p { margin: 0 0 .7em; }
.news-item p:last-child { margin-bottom: 0; }
/* news-date inside .news-item */
.news-item .news-date { font-weight: 900; font-size: .9rem; color: #3a5262; }
.news-feed { margin-top: 24px; font-size: .95rem; }

/* News page (BLO-140): featured newest entry + card grid with category chips */
.news-featured-list, .news-grid { margin: 28px 0 0; padding: 0; list-style: none; }
.news-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.news-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; }
.news-card h3 { margin: .1em 0; font-size: 1.15rem; }
.news-card p { margin: 0; font-size: .98rem; }
.news-featured { display: grid; gap: 10px; padding: 30px 32px; background: var(--arena-bg); color: var(--cream); }
.news-featured h2 { margin: .2em 0; font-size: clamp(1.6rem, 4vw, 2.3rem); color: var(--cream); }
.news-featured p { margin: 0; color: var(--sky); font-size: 1.1rem; max-width: 62ch; }
.news-featured .news-date { color: var(--sky); font-size: .9rem; }
.news-featured .news-more, .news-featured a { color: var(--lime); }
.news-featured a:hover { color: #fff; }
.news-featured .news-more { border-bottom-color: var(--lime); }
.news-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.news-meta .news-date { margin: 0; }
.news-card .news-date { font-size: .85rem; }
.news-tag { display: inline-block; padding: 3px 12px; border: 3px solid var(--ink); border-radius: 999px; font-weight: 900; font-size: .8rem; letter-spacing: .02em; color: var(--ink); background: var(--cloud); }
.news-tag-game { background: var(--lime); }
.news-tag-site { background: var(--sky); }
.news-tag-apps { background: var(--sun); }
.news-more { display: inline-block; margin-top: 6px; font-weight: 900; text-decoration: none; border-bottom: 3px solid var(--lime); }
.news-card p:has(> .news-more) { margin-top: auto; }
.news-item h2, .news-item h3 { overflow-wrap: anywhere; }
.news-list .news-meta { margin-bottom: .5em; }
@media (max-width: 480px) { .news-featured { padding: 22px 20px; } }

/* Desktop menu: keep items on one line and tighten the spacing on narrower desktops (BLO-113) */
.menu a { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1099px) { .menu { gap: 0; } .menu a { padding: 8px 6px; font-size: .9rem; } .site-header .container { gap: 10px; } }
.news-item a { color: #0b4f6c; }
.news-item a:hover { color: var(--ink); }

@media (max-width: 560px) { .hero-actions { flex-direction: column; align-items: stretch; } .hero-actions .btn { width: 100%; justify-content: center; text-align: center; } }
