:root {
  color-scheme: dark;
  --ink: #f4f6ff;
  --muted: #b9c3ed;
  --accent: #ffda46;
  --line: #8d9eff37;
  --bg: #101642;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse 65% 30rem at 78% 15%, #293bbd 0%, transparent 76%),
    linear-gradient(#151e55, var(--bg) 34rem, #12163b 75%, #10142e);
}
img { display: block; max-width: 100%; }
main { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #8befff; outline-offset: 5px; }
.wrap { width: min(100% - 5rem, 74rem); margin-inline: auto; }
.skip { position: absolute; z-index: 5; padding: .7rem 1rem; background: #101642; transform: translateY(-110%); }
.skip:focus { transform: translateY(0); }
.site-header { min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: .75rem; align-items: center; font-weight: 850; font-size: 1.06rem; letter-spacing: -.015em; line-height: 1.1; }
.brand img { border-radius: .7rem; }
.brand small { display: block; margin-top: .28rem; color: #b0bdff; font-size: .55rem; letter-spacing: .15em; }
.site-header nav { display: flex; align-items: center; gap: 1.15rem; font-size: .9rem; font-weight: 700; }
.nav-text { color: #d3dcff; }
.nav-text:hover, .legal-links a:hover { color: var(--accent); }
.store-badge { display: inline-flex; align-items: center; width: 10.125rem; max-width: 100%; }
.store-badge:hover { opacity: .88; }
.store-badge img { width: 100%; height: auto; }
.nav-download { width: 8.44rem; }
.feedback-trigger { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 2.65rem; padding: .55rem .8rem; border: 1px solid #a5b3ff77; border-radius: 2rem; background: #374cca; color: #fff; font: inherit; cursor: pointer; white-space: nowrap; }
.feedback-trigger:hover { background: #435dde; }
.feedback-trigger svg { width: 1.14rem; height: 1.14rem; }
.hero { min-height: 42rem; position: relative; display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 1rem; }
.hero-copy { padding-block: 3rem; position: relative; z-index: 2; }
.eyebrow { display: flex; gap: .5rem; align-items: center; color: #b8c6ff; font-size: .68rem; font-weight: 850; letter-spacing: .16em; margin: 0 0 1rem; }
.eyebrow span { display: inline-block; width: .47rem; height: .47rem; transform: rotate(45deg); border-radius: 1px; background: #67e8ff; box-shadow: 0 0 1rem #3bd8ff97; }
h1, h2, h3, p, figure { margin: 0; }
h1 { font-size: clamp(4.2rem, 8vw, 7.25rem); font-weight: 950; line-height: .87; letter-spacing: -.064em; text-shadow: 0 .075em #09123c6b; }
h1 em { font-style: normal; color: var(--accent); }
.lede { color: var(--muted); font-size: clamp(1rem, 1.55vw, 1.2rem); max-width: 26rem; margin-top: 1.45rem; line-height: 1.55; }
.primary { margin-top: 1.5rem; }
.hero-meta { margin-top: 1.25rem; color: #aebcfa; font-size: .82rem; font-weight: 650; }
.hero-meta span { margin-inline: .35rem; }
.hero-art { position: relative; height: 39rem; isolation: isolate; }
.art-grid { position: absolute; inset: 7% -4% 4% -4%; z-index: -3; transform: rotate(-9deg); background: repeating-linear-gradient(0deg,transparent 0 3.2rem,#94a9fb27 3.2rem calc(3.2rem + 1px)),repeating-linear-gradient(90deg,transparent 0 3.2rem,#94a9fb27 3.2rem calc(3.2rem + 1px)); mask-image: radial-gradient(ellipse,#000 5%,transparent 70%); }
.phone { position: absolute; width: 47%; max-width: 18rem; left: 28%; top: 5%; border-radius: 1.85rem; padding: .42rem; background: linear-gradient(140deg,#c6deff,#596dc0 20%,#201a67 55%,#878ce2 95%); transform: rotate(10deg); box-shadow: 1rem 2rem 3.2rem #070f4eae, inset 0 0 0 2px #b6d0ff93; z-index: 1; }
.phone img { width: 100%; height: auto; aspect-ratio: 585 / 1266; object-fit: cover; border-radius: 1.48rem; }
.arc { position: absolute; z-index: -2; border: 1px solid #87adff50; border-radius: 50%; transform: rotate(-24deg); }
.arc-outer { inset: 23% -1% 22%; }
.arc-inner { inset: 30% 3% 27%; border-color: #72eaff64; }
.twinkle { position: absolute; color: #99efff; z-index: 2; text-shadow: 0 0 1rem #27beff; }
.twinkle-one { top: 10%; left: 25%; font-size: 1.6rem; }
.twinkle-two { top: 23%; right: 5%; font-size: 1.6rem; }
.twinkle-three { bottom: 16%; right: 15%; color: #ffdc58; text-shadow: 0 0 1rem #ffae24; }
.cluster, .mini { display: grid; grid-template-columns: repeat(3,1fr); gap: .15rem; }
.cluster { position: absolute; z-index: 2; width: clamp(4.8rem,10vw,9.1rem); filter: drop-shadow(.45rem .75rem .7rem #090b3c95); }
.cluster i, .mini i { aspect-ratio: 1; border-radius: 18%; background: linear-gradient(135deg,var(--tile-top),var(--tile-color) 46%,var(--tile-bottom)); box-shadow: inset 0 2px 1px #ffffffab,inset 0 -3px 2px #0003,0 .22em var(--tile-edge); }
.cluster-cyan { --tile-top: #8effff; --tile-color: #13e3ef; --tile-bottom: #09b4dc; --tile-edge: #0679b2; left: 5%; top: 28%; transform: rotate(-23deg); }
.cluster-gold { --tile-top: #fff6a2; --tile-color: #ffcb2c; --tile-bottom: #ff9a1e; --tile-edge: #b65e16; right: -1%; bottom: 24%; transform: rotate(21deg); }
.cluster-violet { --tile-top: #e7b5ff; --tile-color: #a96bff; --tile-bottom: #7940e3; --tile-edge: #4924a2; width: 5.1rem; right: 10%; top: 10%; transform: rotate(28deg); }
.cluster-cyan i:nth-child(4) { grid-column: 2; }
.cluster-gold i:nth-child(1) { grid-column: 3; }
.cluster-violet i:first-child { grid-column: 2; }
.game-tag { display: flex; gap: .65rem; align-items: center; position: absolute; z-index: 3; bottom: 14%; left: 1%; padding: .62rem .78rem; border: 1px solid #7cc9ff80; border-radius: .9rem; background: #171e53; box-shadow: 0 .6rem 1rem #10164f98; transform: rotate(-6deg); }
.game-tag > span { display: grid; place-items: center; height: 2.05rem; width: 2.05rem; border-radius: .52rem; color: #022340; background: #54e4ff; font-size: 1.2rem; font-weight: 950; }
.game-tag b { display: block; font-size: .9rem; }
.game-tag small { color: #aebfff; font-size: .53rem; letter-spacing: .06em; }
.play { padding-block: 4rem; border-top: 1px solid var(--line); }
.section-lead { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; margin-bottom: 2.4rem; gap: 0 2rem; }
.section-lead .eyebrow { grid-column: 1 / -1; }
h2 { font-size: clamp(2.8rem,5.9vw,5.2rem); font-weight: 920; line-height: .94; letter-spacing: -.052em; }
.section-lead > p:last-child, .journey-copy > p:last-child, .download-copy > p:last-child { color: var(--muted); max-width: 21rem; line-height: 1.55; font-size: 1.06rem; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; padding: 0; margin: 0; }
.step { position: relative; background: linear-gradient(151deg,#212f74,#1a2256 74%); border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.5rem; min-height: 16.5rem; }
.step-no { position: absolute; top: 1.35rem; left: 1.5rem; font-size: .74rem; font-weight: 850; color: #acbbf1; letter-spacing: .12em; }
.mini { width: 5.5rem; margin: .55rem auto 1.35rem; position: relative; --tile-top:#6ee8ff; --tile-color:#0bd4f0; --tile-bottom:#05a8d7; --tile-edge:#0765ab; }
.mini i { border-radius: .28rem; display: grid; place-items: center; color: #082952; font-weight: 900; }
.mini-unjam i:not(:nth-child(5)):not(:nth-child(6)):not(:nth-child(8)) { opacity: .42; --tile-top:#b68aff; --tile-color:#7b63d5; --tile-bottom:#5547ac; --tile-edge:#3b2c78; }
.mini-unjam i:nth-child(2) { visibility: hidden; }
.mini-fit { --tile-top:#fff19c; --tile-color:#ffd42e; --tile-bottom:#fca617; --tile-edge:#bf7118; }
.mini-fit i:is(:nth-child(2),:nth-child(5),:nth-child(6)) { background: #1b2553; border: 1px dashed #87ebff; box-shadow: none; }
.mini-clear { --tile-top:#e0ffa2; --tile-color:#83ef52; --tile-bottom:#4bc740; --tile-edge:#278149; }
.mini-clear i:nth-child(n+4):nth-child(-n+6) { --tile-top:#f4ffff; --tile-color:#68f0ff; --tile-bottom:#27eaff; box-shadow: inset 0 0 0 1px #fff,0 0 .75rem #6affff; }
.mini-clear span { position: absolute; inset: 23% -10% auto auto; color: #fff68b; text-shadow: 0 0 .6rem #ffd62b; font-size: 1.65rem; }
.step h3 { font-size: 1.3rem; letter-spacing: -.035em; font-weight: 850; }
.step p { margin-top: .43rem; color: var(--muted); line-height: 1.55; font-size: .92rem; max-width: 16rem; }
.journey { padding-block: 3rem 4.5rem; display: grid; grid-template-columns: .87fr 1fr; align-items: center; gap: 1.25rem; }
.journey-copy > p:last-child { margin-top: 1rem; }
.medals { min-height: 17rem; position: relative; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse,#6150e076,transparent 68%); }
.medals img { width: 32%; height: auto; filter: drop-shadow(0 .8rem .65rem #0708259c); }
.medals img:first-child { transform: translateX(9%) rotate(-15deg); }
.medals img:nth-child(2) { position: relative; z-index: 1; transform: translateY(-12%) scale(1.12); }
.medals img:last-child { transform: translateX(-9%) rotate(15deg); }
.download { padding-bottom: 3.5rem; scroll-margin-top: 2rem; }
.download-box { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem 3rem; padding: clamp(1.75rem,5vw,4rem); border: 1px solid #7895f6; border-radius: 1.75rem; background: radial-gradient(ellipse at 79% 20%,#426ce5,transparent 65%),linear-gradient(135deg,#263eb0,#2546c5 75%,#2c49c3); }
.download-box::before { content: ""; z-index: -1; position: absolute; inset: 0; background: conic-gradient(from 30deg at 80% 34%,#86c0ff1e 0 14deg,transparent 14deg 34deg,#86c0ff1e 34deg 49deg,transparent 49deg 77deg,#86c0ff1e 77deg 91deg,transparent 91deg 123deg,#86c0ff1e 123deg 137deg,transparent 137deg 165deg,#86c0ff1e 165deg 180deg,transparent 180deg 214deg,#86c0ff1e 214deg 230deg,transparent 230deg 260deg,#86c0ff1e 260deg 276deg,transparent 276deg 306deg,#86c0ff1e 306deg 322deg,transparent 322deg); }
.download h2 { font-size: clamp(2.8rem,5.7vw,4.8rem); }
.download-copy > p:last-child { margin-top: .7rem; color: #dce8ff; }
.download-logo { grid-row: 1; grid-column: 2; width: 14rem; height: auto; place-self: center; filter: drop-shadow(0 .6rem .65rem #1324839c); }
.download-actions { grid-column: 1 / -1; }
.site-footer { padding-block: 1.25rem 2rem; border-top: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.legal-links { display: flex; gap: 1.15rem; font-size: .8rem; color: #d2ddff; }
.legal-links details { min-width: 6.5rem; }
.legal-links summary { cursor: pointer; font-weight: 700; }
.legal-links a { display: inline-block; padding: .6rem .55rem 0 0; }
.footer-note { color: var(--muted); font-size: .75rem; padding-top: .13rem; }
.feedback-dialog { color-scheme: light; width: min(33rem, calc(100% - 1.5rem)); max-height: calc(100% - 1.5rem); padding: 0; border: 1px solid #8292e2; border-radius: 1.15rem; background: #f6f8ff; color: #172249; box-shadow: 0 1.25rem 4.5rem #070b2cae; }
.feedback-dialog::backdrop { background: #080d2cbb; }
.feedback-heading { display: flex; align-items: center; justify-content: space-between; padding: 1.05rem 1.35rem; background: linear-gradient(115deg,#2e45ca,#7354e4); color: #fff; }
.feedback-heading h2 { font-size: 1.43rem; letter-spacing: -.035em; }
.feedback-close { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; padding: 0; border: 0; border-radius: .6rem; background: #ffffff1c; color: #fff; font: 1.6rem/1 system-ui,sans-serif; cursor: pointer; }
.feedback-close:hover { background: #ffffff32; }
.feedback-form { display: grid; gap: .82rem; padding: 1.18rem 1.35rem 1.35rem; }
.feedback-form label { display: block; font-size: .85rem; font-weight: 750; }
.feedback-form label small { color: #505d7c; font-size: .72rem; font-weight: 550; }
.feedback-form input, .feedback-form textarea { display: block; width: 100%; margin-top: .24rem; padding: .56rem .7rem; border: 1px solid #97a4c5; border-radius: .48rem; background: #fff; color: #172249; font: 1rem/1.35 system-ui,sans-serif; }
.feedback-form input:focus, .feedback-form textarea:focus { outline: 2px solid #5367e0; outline-offset: 1px; }
.feedback-form textarea { resize: vertical; }
.feedback-submit { padding: .63rem 1rem; border: 0; border-radius: 2rem; background: #394bc9; color: #fff; font: inherit; font-weight: 750; cursor: pointer; }
.feedback-submit:hover { background: #283bae; }
@media (max-width: 55rem) {
  .wrap { width: min(100% - 3rem, 74rem); }
  .hero { min-height: 36rem; }
  .hero-art { height: 31rem; }
  .phone { top: 12%; width: 58%; left: 24%; }
  .cluster-violet { right: 3%; }
}
@media (max-width: 43rem) {
  .wrap { width: calc(100% - 2rem); }
  .site-header { min-height: 4.5rem; }
  .site-header nav { gap: .38rem; }
  .nav-text { display: none; }
  .site-header .brand { gap: .45rem; font-size: .88rem; }
  .site-header .brand img { width: 2.1rem; height: 2.1rem; border-radius: .52rem; }
  .site-header .brand small { font-size: .42rem; }
  .nav-download { width: 5.6rem; min-height: 2.5rem; }
  .feedback-trigger { min-height: 2.5rem; padding-inline: .43rem; gap: .18rem; font-size: .72rem; }
  .feedback-trigger svg { width: .93rem; height: .93rem; }
  .hero { display: block; min-height: auto; }
  .hero-copy { padding: 2.5rem .12rem 0; }
  .hero h1 { font-size: clamp(4.25rem,15vw,5.8rem); }
  .hero-art { width: min(100%,25rem); height: min(115vw,29rem); margin: 0 auto; }
  .phone { width: 46%; top: 7%; left: 28%; }
  .cluster-cyan { left: 9%; }
  .cluster-gold { right: 4%; }
  .cluster-violet { width: 3.8rem; right: 10%; }
  .game-tag { left: 5%; bottom: 14%; padding: .48rem .62rem; }
  .game-tag b { font-size: .77rem; }
  .game-tag small { font-size: .46rem; }
  .play { padding-block: 2.5rem; }
  .section-lead { display: block; margin-bottom: 1.35rem; }
  .section-lead > p:last-child { margin-top: .8rem; }
  .steps { grid-template-columns: 1fr; gap: .65rem; }
  .step { min-height: 0; padding: 1.1rem 1rem 1.1rem 7.1rem; }
  .step-no { font-size: .55rem; top: .65rem; left: .82rem; }
  .mini { position: absolute; left: 1.45rem; top: 50%; transform: translateY(-50%); margin: .25rem 0 0; width: 4.4rem; }
  .step h3 { font-size: 1.12rem; }
  .step p { font-size: .84rem; }
  .journey { display: block; padding-block: 1.5rem 2.3rem; }
  .medals { min-height: 0; margin-top: 1.25rem; }
  .download { padding-bottom: 2.3rem; }
  .download-box { grid-template-columns: 1fr; gap: .9rem; }
  .download-logo { grid-column: 1; grid-row: 2; width: 10rem; }
  .site-footer { flex-wrap: wrap; }
  .footer-note { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
