:root {
  color-scheme: light dark;
  --brand: #c23f3b;
  --ink: #18181b;
  --muted: #5c5b60;
  --paper: #f7f7f7;
  --bubble: #f8eae8;
  --store: #18181b;
  --store-ink: #fff;
  --shadow: rgba(24,24,27,.16);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
body { font: 1rem/1.5 "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
.page {
  min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto;
  padding: clamp(16px,3vh,32px) clamp(20px,5.5vw,100px) max(12px,env(safe-area-inset-bottom));
  max-width: 1800px; margin: auto;
}
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 13px; font-weight: 700; font-size: 1.5rem; letter-spacing: -.04em; }
.brand > span { white-space: normal; }
.brand-mark { width: 29px; height: 34px; flex: none; }
.brand-fomo { color: var(--brand); }
.header-note { display: flex; align-items: center; gap: 9px; font-size: .875rem; color: var(--muted); margin: 0; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.hero { display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 24px 0 12px; }
.intro { position: relative; z-index: 1; }
.eyebrow { font-size: .875rem; font-weight: 600; letter-spacing: .09em; margin: 0 0 16px; color: var(--muted); }
h1 { font-size: clamp(2rem,min(5.8vw,8.1vh),5.25rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 750; margin: 0; }
h1 span { color: var(--brand); }
.description { font-size: clamp(1rem,1.3vw,1.125rem); line-height: 1.5; margin: 16px 0 0; color: var(--muted); }
.stage { display: grid; grid-template-columns: 1fr 1.65fr 1fr; align-items: center; width: 100%; max-width: 1190px; margin: 14px auto 0; gap: 10px; }
.zee { margin: 0; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-width: 0; }
.character { position: relative; width: 100%; max-width: 280px; height: clamp(160px,29vh,300px); }
.scout-character img { position: absolute; height: 111%; width: 100%; object-fit: contain; inset: -6% 0 auto; }
.welcome-character canvas { display: block; width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 1; cursor: pointer; }
.welcome-fallback { position: absolute; height: 120%; width: 100%; object-fit: contain; inset: -8% 0 auto; }
.canvas-ready .welcome-fallback { display: none; }
.ground-shadow { position: absolute; width: 75%; height: 3%; border-radius: 50%; background: var(--shadow); bottom: 7%; left: 10%; filter: blur(1px); }
.welcome-character .ground-shadow { display: none; }
.bubble { position: relative; z-index: 2; background: var(--bubble); color: var(--ink); padding: 10px 16px; border-radius: 22px; font-size: .875rem; line-height: 1.4; max-width: 230px; text-align: left; transform: rotate(-3deg); margin-bottom: 6px; }
.bubble:after { content: ""; position: absolute; bottom: -7px; right: 25%; width: 16px; height: 16px; border-radius: 0 0 3px 15px; background: var(--bubble); transform: skewY(-24deg) rotate(-15deg); }
.bubble-welcome { transform: rotate(3deg); }
.bubble-welcome:after { left: 28%; right: auto; transform: scaleX(-1) skewY(-24deg) rotate(-15deg); }
.store-area { position: relative; z-index: 3; padding: 0 6px; }
.store-intro { margin: 0 0 16px; font-size: 1rem; font-weight: 500; }
.stores { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,8rem),1fr)); gap: 12px; justify-content: center; }
.store-button { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 15px 22px; border: 0; border-radius: 50px; background: var(--store); color: var(--store-ink); font: inherit; text-align: left; opacity: 1; cursor: default; }
.store-button svg { width: 25px; height: 29px; flex: none; }
.store-button > span { display: flex; flex-direction: column; gap: 1px; }
.store-name { font-size: 1.125rem; font-weight: 600; white-space: nowrap; }
.store-caption { font-size: .875rem; }
.release-note { font-size: .875rem; color: var(--muted); margin: 14px 0 0; }
.categories { margin: 16px 0 0; font-size: .875rem; color: var(--muted); line-height: 1.7; word-spacing: 4px; }
.categories i { font-style: normal; color: var(--muted); }
.footer { font-size: .875rem; color: var(--muted); flex-wrap: wrap; }
.footer p { margin: 0; }
.footer-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.footer a { color: var(--ink); text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.footer a:hover { text-decoration: underline; }
.footer a span { margin-left: 5px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; border-radius: 3px; }
@media (prefers-color-scheme: dark) {
  :root { --ink: #fff; --muted: #b8b5b5; --paper: #000; --bubble: #221817; --store: #f7f7f7; --store-ink: #18181b; --shadow: rgba(255,255,255,.14); }
}
@media (max-width: 1020px) {
  .page { padding: 18px 22px max(12px,env(safe-area-inset-bottom)); }
  .header-note { display: none; }
  .hero { padding-top: 22px; }
  h1 { font-size: clamp(2rem,7.6vw,3.5rem); }
  .stage { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; max-width: 480px; gap: 8px 22px; margin-top: 20px; }
  .zee { grid-row: 1; }
  .zee-scout { grid-column: 1; }
  .zee-welcome { grid-column: 2; }
  .character { height: clamp(110px,22vh,210px); max-width: 210px; }
  .bubble { padding: 8px 12px; max-width: 210px; }
  .store-area { grid-row: 2; grid-column: 1/-1; padding: 0; }
  .stores { gap: 10px; }
  .store-button { padding: 13px 18px; min-width: 0; width: 100%; justify-content: center; }
  .store-name { font-size: 1rem; }
  .store-button svg { width: 22px; height: 25px; }
  .footer { gap: 4px; }
  .footer-links { gap: 16px; }
}
@media (max-width: 600px) {
  .page { padding: 16px 18px max(8px,env(safe-area-inset-bottom)); }
  .hero { padding-top: 16px; }
  .eyebrow, .categories, .store-intro { display: none; }
  .description { margin-top: 12px; }
  .stage { margin-top: 16px; gap: 8px 16px; }
  .bubble { padding: 8px 10px; }
  .store-button { padding: 12px 14px; gap: 10px; }
  .release-note { margin: 10px 0 0; }
  .footer { justify-content: center; }
  .footer p { width: 100%; text-align: center; }
  .footer-links { gap: 24px; }
}
@media (max-width: 600px) and (max-height: 700px) {
  .hero { padding-top: 10px; padding-bottom: 4px; }
  .description { margin-top: 8px; }
  .stage { margin-top: 12px; }
  .character { height: 16vh; min-height: 85px; }
  .bubble-scout { display: none; }
  .zee { justify-content: flex-end; }
  .zee-scout { align-self: end; }
  .store-button { padding: 10px 12px; gap: 8px; }
}
@media (max-height: 540px) and (min-width: 601px) {
  .page { padding: 12px 24px; }
  .hero { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px 24px; align-items: center; padding: 12px 0; }
  .intro { text-align: left; }
  h1 { font-size: clamp(2rem,4vw,2.75rem); }
  .eyebrow, .categories, .store-intro, .release-note, .bubble-scout { display: none; }
  .description { margin-top: 12px; }
  .stage { margin: 0; gap: 8px 14px; }
  .character { height: 22vh; min-height: 70px; }
  .store-button { padding: 10px 12px; gap: 8px; }
  .store-button svg { width: 20px; height: 23px; }
  .footer { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 360px) {
  h1 { font-size: 1.75rem; }
  .store-button { padding: 10px 8px; gap: 7px; }
  .store-button svg { width: 20px; height: 23px; }
  .store-caption { white-space: nowrap; }
}

.page { position:relative; z-index:1; }

/* Matching store controls, with platform marks and one clear text hierarchy. */
.store-area { max-width:510px; width:100%; justify-self:center; }
.store-button { background:#111113; color:#fff; border:1px solid #49494f; border-radius:999px; padding:16px 22px; min-height:82px; justify-content:center; gap:15px; }
.store-button svg { width:31px; height:34px; }
.store-button .play-mark { width:30px; height:34px; }
.store-button > span { gap:0; }
.store-caption { font-size:.875rem; line-height:1.35; color:#dadade; white-space:nowrap; }
.store-name { font-size:1.375rem; line-height:1.3; letter-spacing:-.025em; font-weight:600; }
@media(max-width:600px){
  .store-button { min-height:76px; padding:12px 10px; gap:10px; border-radius:999px; }
  .store-button svg,.store-button .play-mark { width:25px; height:29px; }
  .store-name { font-size:1.125rem; }
  .store-caption { font-size:.875rem; }
}
@media(max-width:360px){
  .store-button { padding:11px 8px; gap:6px; }
  .store-button svg,.store-button .play-mark { width:21px; height:26px; }
  .store-name { font-size:1rem; }
  .store-caption { white-space:normal; }
}
