body { margin: 0; background: #080927; }
a { color: inherit; }
.page { font-family: Figtree, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; color: #f3eefc; background: #080927; overflow: hidden; overflow: clip; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 24px; box-sizing: border-box; }
.round { font-family: Fredoka, ui-rounded, "SF Pro Rounded", system-ui, sans-serif; }
.label { margin: 0; font-size: 12px; line-height: 16px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: #ff9ec0; }
a:focus-visible { outline: 2px solid #ffd0dc; outline-offset: 3px; }

.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: #f3eefc; }
.brand svg { width: 30px; height: 30px; fill: currentColor; }
.nav { display: flex; gap: 28px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: #9c98c4; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: #f3eefc; }

/* Hero: the game's name in its own round letters, the game itself on the right, petals in the air */
.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(233, 75, 124, 0.2) 0%, rgba(233, 75, 124, 0) 64%); 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: 16px 0 0; font-weight: 700; line-height: 0.9; }
.hero h1 .big { display: block; font-size: clamp(52px, 10.5vw, 150px); letter-spacing: -0.02em; background: linear-gradient(180deg, #ff9ec0 0%, #e94b7c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .sub { display: block; margin-top: 16px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; color: #c9c6e6; letter-spacing: 0; }
.hero .lead { margin: 30px 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: #9c98c4; }
.hint { margin: 22px 0 0; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 650; color: #8f8bb3; }
.petals, .taps { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.petal { position: absolute; top: -40px; left: var(--x); width: calc(20px * var(--s)); height: calc(28px * var(--s)); border-radius: 0 75% 0 75%; background: #ffffff; opacity: 0.9; animation: fall var(--t) linear infinite; animation-delay: var(--d); }
.petal.soft { background: #ffd0dc; }
.burst { position: absolute; width: 0; height: 0; }
.tp { position: absolute; left: -7px; top: -9px; width: 14px; height: 19px; border-radius: 0 75% 0 75%; background: #ffffff; opacity: 0; animation: trail 2s cubic-bezier(.3, .1, .6, 1) forwards; }
.tp:nth-child(2) { background: #ffd0dc; animation-duration: 2.3s; animation-delay: 0.08s; }
.tp:nth-child(3) { width: 10px; height: 14px; animation-delay: 0.16s; }

.intro { padding-block: 120px 40px; }
.intro p { margin: 0; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.35; max-width: 30ch; }
.intro p em { font-style: normal; color: #ff9ec0; }
.plays { padding-block: 72px 120px; }
.plays-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.play { background: rgba(243, 238, 252, 0.04); border-radius: 26px; padding: 30px 28px 26px; box-shadow: inset 0 0 0 1px rgba(243, 238, 252, 0.08); }
.play h3 { margin: 0 0 14px; font-weight: 600; font-size: 28px; line-height: 1.1; color: #ffd0dc; }
.play p { margin: 0 0 12px; font-size: 17px; line-height: 28px; color: #c9c6e6; }

.gallery { padding-block: 40px 130px; }
.gallery h2, .cost h2, .questions h2, .facts h2 { margin: 0 0 40px; font-weight: 600; font-size: clamp(34px, 3.4vw, 46px); }
.shots-wrap { overflow-x: auto; scrollbar-width: none; view-timeline: --shots block; }
.shots-wrap::-webkit-scrollbar { display: none; }
.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: 30px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 60px -24px rgba(0, 0, 0, 0.9); }

.cost { padding-block: 40px 120px; }
.cost .lines { margin: 0; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.12; font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; letter-spacing: -0.01em; }
.cost .lines span { display: block; }
.cost .lines .pink { color: #ff9ec0; }
.cost .small { margin: 28px 0 0; font-size: 17px; line-height: 28px; color: #c9c6e6; max-width: 54ch; }

/* 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(243, 238, 252, 0.12); padding-top: 22px; }
.qa h3 { margin: 0 0 10px; font-size: 19px; line-height: 26px; font-weight: 650; color: #ffd0dc; }
.qa p { margin: 0; font-size: 17px; line-height: 28px; color: #c9c6e6; max-width: 60ch; }

.facts { padding-block: 40px 120px; border-top: 1px solid rgba(243, 238, 252, 0.1); }
.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(243, 238, 252, 0.1); }
.fact-grid dt { font-size: 12px; line-height: 26px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: #8f8bb3; }
.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: #ff9ec0; text-underline-offset: 4px; }
.foot { border-top: 1px solid rgba(243, 238, 252, 0.1); padding-block: 36px; color: #8f8bb3; font-size: 15px; }
.foot-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }

@keyframes fall { 0% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(40px, 420px) rotate(220deg); } 100% { transform: translate(-20px, 900px) rotate(480deg); } }
@keyframes trail { 0% { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0.5); } 12% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(var(--sway, 0px) + var(--dx)), 180px) rotate(300deg) scale(1); } }
@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 { display: none; } }
@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero-body { padding-block: 32px 520px; align-items: flex-start; }
  .bgv { top: auto; bottom: 0; right: 50%; margin-right: -170px; width: 340px; height: 520px; }
  .halo { right: 50%; margin-right: -340px; top: auto; bottom: -60px; margin-top: 0; }
  .petal:nth-child(even) { display: none; }
  .plays-grid, .fact-grid, .qa-grid { grid-template-columns: minmax(0, 1fr); }
  .shots img { height: 440px; border-radius: 24px; }
  .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; } }
