body { margin: 0; background: #010101; }
a { color: inherit; }
.page { font-family: Figtree, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; color: #e6edf8; background: #010101; overflow: hidden; overflow: clip; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 24px; box-sizing: border-box; }
.serif { font-family: "Cormorant Garamond", "Iowan Old Style", Georgia, serif; }
.label { margin: 0; font-size: 12px; line-height: 16px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: #ecd29f; }
a:focus-visible { outline: 2px solid #ecd29f; outline-offset: 3px; }

/* Header: the studio frame */
.top { position: relative; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 22px; color: #e6edf8; }
.brand svg { width: 30px; height: 30px; fill: currentColor; }
.nav { display: flex; gap: 28px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: #8d99b0; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: #e6edf8; }

/* Hero: the game's name in its own voice, the game itself in the dark on the right */
.hero { position: relative; min-height: 820px; display: flex; flex-direction: column; }
.halo { position: absolute; z-index: 0; right: 4%; top: 50%; width: 720px; height: 720px; margin-top: -330px; border-radius: 50%; background: radial-gradient(circle, rgba(236, 210, 159, 0.1) 0%, rgba(236, 210, 159, 0) 62%); pointer-events: none; }
.bgv { position: absolute; z-index: 1; top: 0; right: 9%; width: 460px; height: 100%; object-fit: cover; object-position: center 50%; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 76%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 76%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask-composite: intersect; }
.hero-body { position: relative; z-index: 3; flex: 1; display: flex; align-items: center; padding-block: 40px 96px; }
.hero h1 { margin: 18px 0 0; font-weight: 500; line-height: 0.9; }
.hero h1 .big { display: block; font-size: clamp(96px, 15vw, 210px); letter-spacing: 0.08em; margin-left: -0.04em; }
.hero h1 .sub { display: block; margin-top: 18px; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: 0.32em; text-transform: uppercase; color: #bacfec; }
.hero .lead { margin: 34px 0 34px; font-size: 22px; line-height: 33px; max-width: 26ch; }
.actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.price { font-size: 15px; color: #8d99b0; }
.hint { margin: 22px 0 0; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 650; color: #6f7a8f; }
.taps { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.glow-follow { position: absolute; left: 0; top: 0; width: 380px; height: 380px; margin: -190px 0 0 -190px; border-radius: 50%; background: radial-gradient(circle, rgba(236, 210, 159, 0.17) 0%, rgba(236, 210, 159, 0.06) 42%, rgba(236, 210, 159, 0) 70%); transform: translate(var(--mx, 0px), var(--my, 0px)); transition: transform 0.9s cubic-bezier(.16, .84, .3, 1), opacity 0.7s ease; opacity: 0; }
.hero:hover .glow-follow { opacity: 1; }
.soft-ring { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1px solid rgba(186, 207, 236, 0.55); box-sizing: border-box; animation: soft-ring 2.8s cubic-bezier(.15, .6, .3, 1) forwards; }

/* How it plays */
.intro { padding-block: 120px 40px; }
.intro p { margin: 0; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.35; max-width: 30ch; color: #e6edf8; }
.intro p em { font-style: normal; color: #ecd29f; }
.plays { padding-block: 72px 120px; }
.plays-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.play { border-top: 1px solid rgba(186, 207, 236, 0.22); padding-top: 26px; }
.play h3 { margin: 0 0 14px; font-weight: 500; font-size: 30px; line-height: 1.1; letter-spacing: 0.04em; }
.play p { margin: 0 0 12px; font-size: 17px; line-height: 28px; color: #aab8d0; }

/* On iPhone: the App Store screenshots as a gallery that slides a little with the scroll */
.gallery { padding-block: 40px 130px; }
.gallery h2, .cost h2, .questions h2, .facts h2 { margin: 0 0 40px; font-weight: 500; font-size: clamp(34px, 3.4vw, 46px); letter-spacing: 0.06em; }
.shots { display: flex; width: max-content; gap: 22px; padding-inline: max(24px, calc((100vw - 1152px) / 2)); }
.shots img { display: block; height: 560px; width: auto; max-width: none; border-radius: 22px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -24px rgba(0, 0, 0, 0.9); }
.shots-wrap { overflow-x: auto; scrollbar-width: none; view-timeline: --shots block; }
.shots-wrap::-webkit-scrollbar { display: none; }

/* What it costs: three short lines, said plainly */
.cost { padding-block: 40px 120px; }
.cost .lines { margin: 0; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.12; letter-spacing: -0.01em; font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; }
.cost .lines span { display: block; }
.cost .lines .warm { color: #ecd29f; }
.cost .small { margin: 28px 0 0; font-size: 17px; line-height: 28px; color: #aab8d0; max-width: 52ch; }

/* Questions people ask before they install, answered plainly */
.questions { padding-block: 40px 120px; }
.qa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; row-gap: 40px; }
.qa { border-top: 1px solid rgba(186, 207, 236, 0.22); padding-top: 22px; }
.qa h3 { margin: 0 0 10px; font-size: 19px; line-height: 26px; font-weight: 650; color: #e6edf8; }
.qa p { margin: 0; font-size: 17px; line-height: 28px; color: #aab8d0; max-width: 60ch; }

/* Facts for the press, and the documents */
.facts { padding-block: 40px 120px; border-top: 1px solid rgba(186, 207, 236, 0.14); }
.facts .wrap { padding-top: 96px; }
.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; margin: 0; }
.fact-grid div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding-block: 16px; border-bottom: 1px solid rgba(186, 207, 236, 0.14); }
.fact-grid dt { font-size: 12px; line-height: 26px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: #6f7a8f; }
.fact-grid dd { margin: 0; font-size: 17px; line-height: 26px; font-variant-numeric: tabular-nums; }
.docs { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 44px; font-size: 16px; }
.docs a { color: #ecd29f; text-underline-offset: 4px; }

.foot { border-top: 1px solid rgba(186, 207, 236, 0.14); padding-block: 36px; color: #6f7a8f; font-size: 15px; }
.foot-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }

/* Scroll: the game opens from a slit as the page arrives, text comes in line by line, the gallery drifts sideways */
@keyframes soft-ring { from { width: 40px; height: 40px; margin: -20px 0 0 -20px; opacity: 0.8; } to { width: 560px; height: 560px; margin: -280px 0 0 -280px; opacity: 0; } }
@keyframes open-in { from { opacity: 0; clip-path: inset(40% 20% 40% 20% round 40px); transform: translateY(60px) scale(0.95); } to { opacity: 1; clip-path: inset(0 0 0 0 round 0px); transform: none; } }
@keyframes line-in { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
/* The strip drifts left until its last screenshot is in view, by the time the strip reaches the top of the screen. */
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(min(0px, calc(100vw - 100%))); } }
.bgv, .halo { animation: open-in 1.6s cubic-bezier(.2, .7, .2, 1) both 0.15s; }
@supports (animation-timeline: view()) {
  .reveal { animation: line-in linear both; animation-timeline: view(); animation-range: entry 5% cover 30%; }
  .plays-grid .play:nth-child(2) { animation-range: entry 15% cover 36%; }
  .plays-grid .play:nth-child(3) { animation-range: entry 25% cover 42%; }
  .cost .lines span { animation: line-in linear both; animation-timeline: view(); }
  .cost .lines span:nth-child(1) { animation-range: entry 10% cover 25%; }
  .cost .lines span:nth-child(2) { animation-range: entry 20% cover 32%; }
  .cost .lines span:nth-child(3) { animation-range: entry 30% cover 40%; }
  .shots { animation: slide linear both; animation-timeline: --shots; animation-range: entry 0% exit 0%; }
}
@media (prefers-reduced-motion: reduce) { .page *, .page *::before { animation: none !important; transition: none !important; } }
/* The hints and the light answer a mouse; without one, or with reduced motion, there is nothing to point at. */
@media (hover: none), (prefers-reduced-motion: reduce) { .hint, .glow-follow { display: none; } }
@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero-body { padding-block: 32px 560px; align-items: flex-start; }
  .bgv { top: auto; bottom: 0; right: 50%; margin-right: -170px; width: 340px; height: 560px; }
  .halo { right: 50%; margin-right: -340px; top: auto; bottom: -60px; margin-top: 0; }
  .plays-grid, .fact-grid, .qa-grid { grid-template-columns: minmax(0, 1fr); }
  .shots img { height: 440px; }
  .intro { padding-top: 80px; }
}
@media (max-width: 560px) { .nav { width: 100%; gap: 20px; } .fact-grid div { grid-template-columns: 120px minmax(0, 1fr); } }
/* The narrowest phones put the label above the value, so an address keeps to one line. */
@media (max-width: 360px) { .fact-grid div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
