/* Mas Interactive — company site */

:root {
  --bg: #f3efe7;
  --bg-2: #ebe5da;
  --card: #fbf9f4;
  --ink: #131211;
  --ink-2: #4b4740;
  --ink-3: #7a746a;
  --line: rgba(19, 18, 17, .12);
  --line-2: rgba(19, 18, 17, .24);
  --accent: #ff4f1a;
  --accent-ink: #c43a0e;
  --on-ink: #f6f3ec;
  --nav-bg: rgba(243, 239, 231, .78);

  /* Business Inc's own colours, used on its game card */
  --navy: #070b16;
  --navy-2: #0e1424;
  --gold: #f9b841;
  --cream: #f3e9d2;
  --green: #34d399;
  --game-text: #f4f6fb;
  --game-muted: #a3acbf;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 32px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d0f;
    --bg-2: #151518;
    --card: #141417;
    --ink: #f2eee6;
    --ink-2: #bcb6ab;
    --ink-3: #8b867d;
    --line: rgba(255, 255, 255, .1);
    --line-2: rgba(255, 255, 255, .22);
    --accent: #ff6a3d;
    --accent-ink: #ff8f69;
    --on-ink: #111;
    --nav-bg: rgba(13, 13, 15, .74);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 24px;
  border-radius: 999px;
  font: 600 16px/1 var(--font);
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: var(--accent); color: #fff; }
.btn-line { border: 1.5px solid var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-glass { border: 1.5px solid rgba(255, 255, 255, .22); color: var(--game-text); background: rgba(255, 255, 255, .06); }
.btn-glass:hover { border-color: var(--gold); color: var(--gold); }

.store { display: inline-block; transition: transform .25s var(--ease); }
.store:hover { transform: translateY(-2px); }
.store img { height: 52px; width: auto; }
/* Google's badge PNG carries 41px of clear space around a 168px-tall badge; scale it so the visible badge matches Apple's 52px */
.store.play img { height: calc(52px * 250 / 168); max-width: none; margin: calc(52px * -41 / 168); }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  height: 30px; padding: 0 12px;
  border-radius: 999px;
  font: 600 13px/1 var(--font);
  letter-spacing: .01em;
  border: 1px solid rgba(255, 255, 255, .16);
  color: var(--game-muted);
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.live { color: var(--green); border-color: rgba(52, 211, 153, .35); background: rgba(52, 211, 153, .08); }
.pill.live i { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: ping 2.2s infinite; }
.pill.dev { color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.pill.dev i { animation: blink 1.4s steps(2, start) infinite; }

@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 80%, 100% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } }
@keyframes blink { to { visibility: hidden; } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: inline-flex; align-items: baseline; gap: 7px; line-height: 1; }
.brand .b1 { font-weight: 850; font-size: 21px; letter-spacing: .02em; position: relative; }
.brand .b1::after { content: ""; position: absolute; right: -9px; top: 1px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.brand .b2 { font-weight: 500; font-size: 17px; letter-spacing: -.01em; color: var(--ink-2); margin-left: 8px; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links .opt { font-size: 15px; font-weight: 550; color: var(--ink-2); transition: color .2s; }
.nav-links .opt:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 0%, transparent 75%);
  opacity: .6;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1 var(--mono);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2);
  padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 999px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.display {
  margin: 28px 0 0;
  font-size: clamp(54px, 8.6vw, 128px);
  line-height: .92;
  letter-spacing: -.05em;
  font-weight: 800;
}
.display .line { display: block; }
.display em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.035em;
  color: var(--accent);
  padding-right: .04em;
}
.lead { margin-top: 28px; max-width: 30em; font-size: clamp(18px, 1.55vw, 21px); line-height: 1.5; color: var(--ink-2); }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Phones */
.hero-visual { display: flex; justify-content: center; }
.fan {
  --pw: clamp(190px, 19vw, 262px);
  --rx: 0deg; --ry: 0deg;
  position: relative;
  width: calc(var(--pw) * 2.1);
  height: calc(var(--pw) * 2.3);
  perspective: 1600px;
}
.phone {
  position: absolute; left: 50%; top: 50%;
  width: var(--pw); aspect-ratio: 9 / 19.5;
  padding: calc(var(--pw) * .04);
  border-radius: calc(var(--pw) * .17);
  background: linear-gradient(145deg, #2a2a2e, #0b0b0c 40%, #1b1b1e);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .12),
    0 50px 80px -30px rgba(10, 8, 4, .45),
    0 18px 30px -18px rgba(10, 8, 4, .35);
  transform-style: preserve-3d;
  transition: transform .9s var(--ease);
}
.p-center { z-index: 3; transform: translate(-50%, -50%) rotateX(var(--rx)) rotateY(var(--ry)); }
.p-left   { z-index: 1; transform: translate(-106%, -46%) rotate(-9deg) scale(.86) rotateX(var(--rx)) rotateY(var(--ry)); }
.p-right  { z-index: 2; transform: translate(6%, -44%) rotate(8deg) scale(.86) rotateX(var(--rx)) rotateY(var(--ry)); }
.js .hero-visual:not(.in) .p-left { transform: translate(-50%, -50%) rotate(0) scale(.86); }
.js .hero-visual:not(.in) .p-right { transform: translate(-50%, -50%) rotate(0) scale(.86); }

.screen {
  position: relative; width: 100%; height: 100%;
  border-radius: calc(var(--pw) * .135);
  overflow: hidden;
  background: #0b0f1a;
}
.screen.light { background: #f2f2f7; }
.screen.light img { width: 100%; }
.screen.light img + img { margin-top: 6px; }
.screen .safe { height: calc(var(--pw) * .14); background: #fff; }
.screen .island {
  position: absolute; z-index: 2; left: 50%; top: calc(var(--pw) * .035);
  width: 32%; height: calc(var(--pw) * .085);
  transform: translateX(-50%);
  border-radius: 999px; background: #000;
}
.screen .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.greet {
  position: absolute; left: 0; right: 0; top: 0;
  padding: calc(var(--pw) * .2) calc(var(--pw) * .08) calc(var(--pw) * .3);
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent);
  color: #fff;
}
.greet small { display: block; font: 600 calc(var(--pw) * .045)/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.greet strong { display: block; margin-top: 6px; font-size: calc(var(--pw) * .085); line-height: 1.1; letter-spacing: -.02em; }

.chip {
  position: absolute; z-index: 4;
  left: 50%; bottom: calc(var(--pw) * -.02);
  width: max-content;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--card) 86%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -20px rgba(10, 8, 4, .35);
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip img { width: 44px; height: 44px; border-radius: 11px; }
.chip b { display: block; font-size: 15px; letter-spacing: -.01em; }
.chip small { display: block; font-size: 12.5px; color: var(--ink-3); }
.chip em { font-style: normal; font-weight: 700; font-size: 14px; padding-left: 12px; margin-left: 2px; border-left: 1px solid var(--line); color: var(--ink); }
@keyframes float { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -8px); } }

/* ---------- Numbers ---------- */
.numbers { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(28px, 4vw, 52px) clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b {
  display: flex; align-items: flex-start;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1; font-weight: 750; letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.stat .star { font-style: normal; font-size: .5em; margin: .12em 0 0 .08em; color: var(--accent); }
.stat > span { display: block; margin-top: 12px; font-size: 15px; color: var(--ink-3); max-width: 15em; line-height: 1.4; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0 0; }
.sec-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.num { display: block; font: 600 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 20px; }
.title { font-size: clamp(38px, 5.4vw, 72px); line-height: 1; letter-spacing: -.045em; font-weight: 780; max-width: 13em; }
.sec-side { font-size: 18px; color: var(--ink-2); max-width: 28em; justify-self: end; }

/* ---------- Game card ---------- */
.game {
  position: relative;
  background: var(--navy);
  color: var(--game-text);
  border-radius: var(--r);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 40px 80px -50px rgba(7, 11, 22, .7);
}
@media (prefers-color-scheme: dark) { .game, .close-card { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); } }
.game::before {
  content: ""; position: absolute; z-index: -1; right: -10%; top: 30%;
  width: 60%; height: 60%;
  background: radial-gradient(closest-side, rgba(249, 184, 65, .14), transparent);
  pointer-events: none;
}
.game-banner { position: relative; aspect-ratio: 21 / 8; overflow: hidden; }
.game-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.game.in .game-banner img { transform: scale(1); }
.game-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 11, 22, 0) 30%, rgba(7, 11, 22, .7) 70%, var(--navy) 100%); }

.game-body {
  position: relative;
  display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(32px, 5vw, 72px);
  padding: 0 clamp(20px, 4.6vw, 56px) clamp(32px, 4vw, 48px);
  margin-top: clamp(-96px, -7vw, -48px);
}
.app-icon {
  width: 112px; height: 112px;
  border-radius: 26px;
  box-shadow: 0 0 0 4px var(--navy), 0 24px 40px -16px rgba(0, 0, 0, .8);
}
.app-icon.sm { width: 72px; height: 72px; border-radius: 17px; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .7); }
.game-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.game-title { margin-top: 18px; font-size: clamp(38px, 4.6vw, 60px); line-height: 1; letter-spacing: -.045em; font-weight: 800; }
.game-title span { display: block; margin-top: 6px; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; font-size: .6em; color: var(--gold); }
.rating { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 15px; color: var(--game-muted); }
.rating b { color: var(--game-text); font-size: 16px; }
.stars { position: relative; display: inline-block; font-size: 18px; letter-spacing: 2px; color: rgba(255, 255, 255, .18); line-height: 1; }
.stars .fill { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--gold); }
.game-pitch { margin-top: 20px; font-size: 18px; line-height: 1.6; color: #d3d9e6; max-width: 34em; }
.game-cta { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.features { align-self: end; border-top: 1px solid rgba(255, 255, 255, .1); }
.features li {
  display: flex; align-items: baseline; gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: 17px; color: #e2e7f0;
}
.features span { font: 600 12px/1 var(--mono); color: var(--gold); letter-spacing: .06em; }

/* Filmstrip */
.strip {
  overflow: hidden;
  padding: 8px 0 clamp(28px, 4vw, 48px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.strip-track { display: flex; gap: 14px; width: max-content; animation: slide 60s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip figure { position: relative; width: clamp(200px, 22vw, 280px); aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden; background: var(--navy-2); flex: none; }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.strip figcaption {
  position: absolute; left: 10px; bottom: 10px;
  padding: 6px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: #fff;
  background: rgba(7, 11, 22, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
@keyframes slide { to { transform: translateX(calc(-50% - 7px)); } }

/* Next game */
.next {
  margin-top: 20px;
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 4.6vw, 56px);
  border-radius: var(--r);
  border: 1.5px dashed var(--line-2);
  background:
    repeating-linear-gradient(-45deg, transparent 0 14px, color-mix(in srgb, var(--ink) 3%, transparent) 14px 15px),
    var(--card);
}
.next-num {
  font-size: clamp(88px, 12vw, 168px); line-height: .8; font-weight: 800; letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line-2);
}
.next-copy h3 { margin-top: 18px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -.04em; font-weight: 750; }
.next-copy p { margin-top: 12px; font-size: 17px; color: var(--ink-2); }
.redact {
  position: relative; display: inline-block; vertical-align: middle;
  margin-left: .15em;
  color: transparent;
  background: var(--ink);
  border-radius: 6px;
  padding: 0 .1em;
  line-height: 1.1;
  overflow: hidden;
  user-select: none;
}
.redact::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--bg) 35%, transparent) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: sweep 3.2s var(--ease) infinite;
}
@keyframes sweep { 60%, 100% { transform: translateX(100%); } }

/* ---------- Studio ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principle {
  padding: 32px 28px 36px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.principle:hover { transform: translateY(-4px); border-color: var(--line-2); }
.p-num { display: block; font: 600 13px/1 var(--mono); letter-spacing: .08em; color: var(--accent-ink); }
.principle h3 { margin-top: 48px; font-size: 26px; letter-spacing: -.03em; line-height: 1.1; font-weight: 720; }
.principle p { margin-top: 12px; color: var(--ink-2); font-size: 16.5px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-2); }
.timeline li { position: relative; padding-top: 40px; padding-right: 12px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--ink); box-shadow: 0 0 0 5px var(--bg);
}
.timeline .is-next::before { background: var(--bg); border: 1.5px dashed var(--accent); }
.timeline .when { font: 600 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.timeline .is-next .when { color: var(--accent-ink); }
.timeline h3 { margin-top: 14px; font-size: 24px; letter-spacing: -.03em; font-weight: 720; line-height: 1.1; }
.timeline p { margin-top: 8px; font-size: 16px; color: var(--ink-2); max-width: 18em; }

/* ---------- Closing ---------- */
.closing { padding-bottom: clamp(72px, 10vw, 140px); }
.close-card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r);
  background: var(--navy);
  color: var(--game-text);
  min-height: 440px;
  display: flex; align-items: center;
  padding: clamp(36px, 6vw, 80px) clamp(20px, 5vw, 72px);
}
.close-art {
  position: absolute; z-index: -1; right: 0; top: 0;
  width: 58%; height: 100%; object-fit: cover; object-position: center 40%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
  opacity: .9;
}
.close-copy { max-width: 30em; }
.close-copy h2 { margin-top: 28px; font-size: clamp(42px, 6vw, 84px); line-height: .95; letter-spacing: -.05em; font-weight: 800; }
.close-copy p { margin-top: 16px; font-size: 19px; color: #cfd6e4; }
.close-copy .stores { margin-top: 32px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; font-weight: 550; color: var(--ink-2); }
.foot-links a:hover { color: var(--ink); }
.legal { margin-top: 28px; font-size: 14px; color: var(--ink-3); max-width: 60em; }
.legal.small { margin-top: 8px; font-size: 12.5px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero-visual.reveal { transform: translateY(40px) scale(.97); }
.js .hero-visual.reveal.in { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { order: 2; }
  .fan { --pw: clamp(170px, 30vw, 240px); }
  .game-body { grid-template-columns: 1fr; }
  .features { align-self: start; }
  .principles { grid-template-columns: 1fr; }
  .principle h3 { margin-top: 28px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { gap: 18px; }
  .nav-links .opt { display: none; }
  .brand .b2 { font-size: 16px; }
  .sec-head { grid-template-columns: 1fr; gap: 20px; }
  .sec-side { justify-self: start; font-size: 17px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; padding: 28px 0; }
  .stat:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat > span { font-size: 14px; }
  .game-banner { aspect-ratio: 16 / 10; }
  .app-icon { width: 88px; height: 88px; border-radius: 21px; }
  .game-pitch { font-size: 17px; }
  .features li { font-size: 16px; padding: 15px 0; }
  .next { grid-template-columns: 1fr; gap: 8px; }
  .next-num { font-size: 84px; }
  .timeline { grid-template-columns: 1fr; gap: 32px; }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline li { padding: 0 0 0 40px; }
  .timeline h3 { margin-top: 10px; }
  .close-card { min-height: 0; align-items: flex-end; padding-top: 220px; }
  .close-art { width: 100%; height: 62%; -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); mask-image: linear-gradient(180deg, #000 40%, transparent); }
  .chip { padding: 8px 12px 8px 8px; gap: 10px; }
  .chip img { width: 36px; height: 36px; border-radius: 9px; }
  .chip b { font-size: 14px; }
  .chip small { font-size: 11.5px; }
}

@media (max-width: 400px) {
  .fan { --pw: 150px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .strip { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-left: clamp(20px, 4.6vw, 56px); }
}
