:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #22193d;
  background: #fcfaff;
  --muted: #554b67;
  --purple: #5225a6;
  --mint: #bbf6d9;
}

*, *::before, *::after {
  box-sizing: border-box;
}
body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
}
main {
  flex: 1;
}
a {
  color: inherit;
}
a:focus-visible, summary:focus-visible {
  outline: 3px solid #8f57e4;
  outline-offset: 5px;
}
h1, h2, h3, p {
  margin: 0;
}

.wrap {
  width: min(100% - 3rem, 70rem);
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 5;
  transform: translateY(-200%);
  background: white;
  padding: .75rem 1rem;
}
.skip:focus {
  transform: none;
}
.site-header {
  background: #fcfaff;
}
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header-inner {
  min-height: 4.5rem;
  padding-block: .65rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -.045em;
  text-decoration: none;
}
.brand-icon {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-right: .5rem;
  border-radius: 50%;
  background: var(--purple);
  color: white;
  font-size: .85rem;
  letter-spacing: 0;
}
.domain {
  color: var(--purple);
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem clamp(.85rem, 3vw, 2.25rem);
}
nav a {
  text-decoration: none;
  font-size: .94rem;
  font-weight: 650;
}
nav a:hover, .site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}
nav a[aria-current="page"] {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: .3em;
}

.hero {
  color: white;
  overflow: hidden;
  background: radial-gradient(ellipse at 73% 44%, #543087 0%, #32205f 42%, #221841 80%);
}
.hero-inner {
  min-height: 31rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding-block: 4rem;
}
.hero h1 {
  font-size: clamp(3.35rem, 7vw, 6.35rem);
  line-height: .96;
  letter-spacing: -.073em;
  font-weight: 850;
}
.hero h1 em {
  color: var(--mint);
  font-style: normal;
}
.hero p {
  max-width: 27rem;
  margin-block: 1.5rem 1.75rem;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: #f0e7ff;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3rem;
  padding: .65rem 1.25rem;
  border-radius: .7rem;
  font-size: .98rem;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}
.button-primary {
  background: var(--mint);
  color: #202137;
}
.button-primary:hover {
  background: #e1fff1;
}
.button-primary:focus-visible {
  outline-color: white;
}
.button-outline {
  border: 1px solid #c6b4e8;
  color: var(--purple);
}
.button-outline:hover {
  background: #f2e9fc;
}

.hero-art {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 35rem;
  aspect-ratio: 1.17;
  font-size: clamp(1.3rem, 4.5vw, 4.25rem);
}
.orbit {
  position: absolute;
  top: 50%;
  left: 51%;
  border: 1px solid #e2d3ff47;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-34deg);
}
.orbit-wide {
  width: 100%;
  height: 61%;
}
.orbit-narrow {
  width: 77%;
  height: 77%;
}
.ball {
  position: absolute;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 23%, var(--spot), var(--mid) 45%, var(--edge) 94%);
  box-shadow: inset 0 -0.15em 0.35em #1e07365e, 0 .36em .58em #130726a1;
}
.ball > span {
  display: grid;
  place-items: center;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff9ff;
  color: #261b42;
  box-shadow: inset 0 -.1em .15em #c1accd;
  font-weight: 850;
  letter-spacing: -.063em;
  line-height: 1;
  padding-right: .04em;
}
.ball-90 {
  --spot: #f5d5ff;
  --mid: #bb7bf6;
  --edge: #692fa8;
  width: 52%;
  top: 10%;
  left: 13%;
  transform: rotate(-12deg);
}
.ball-75 {
  --spot: #eafff1;
  --mid: #94efc2;
  --edge: #32a482;
  width: 39%;
  top: 46%;
  right: 6%;
  transform: rotate(12deg);
}
.ball-75 > span {
  font-size: .75em;
}
.ball-small {
  --spot: #fff2be;
  --mid: #ffc26a;
  --edge: #d8774f;
  width: 16%;
  top: 13%;
  right: 12%;
  transform: rotate(20deg);
}
.ball-small > span {
  font-size: .32em;
}
.spark {
  position: absolute;
  color: #e4c6ff;
  font-size: .55em;
  line-height: 1;
}
.spark-one {
  top: 11%;
  left: 4%;
}
.spark-two {
  top: 86%;
  left: 42%;
  color: #a5f3d2;
}
.spark-three {
  top: 46%;
  right: 1%;
}

.section {
  padding-block: clamp(2.75rem, 6vw, 5rem);
}
h2 {
  font-size: clamp(2rem, 4.35vw, 3rem);
  font-weight: 820;
  line-height: 1.08;
  letter-spacing: -.052em;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.35rem;
}
.game {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.35rem;
  border: 1px solid #e3d9ef;
  background: white;
}
.game-art {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  height: 10rem;
  overflow: hidden;
  padding-inline: 1.6rem;
  background: radial-gradient(ellipse at 10% 85%, var(--art-light), var(--art-dark));
}
.game-90 {
  --art-light: #e6cbff;
  --art-dark: #c8a5ee;
  --art-text: #7745ad;
}
.game-75 {
  --art-light: #d6fae6;
  --art-dark: #a5e4c9;
  --art-text: #2d8768;
}
.game-art img {
  border-radius: 24%;
  box-shadow: 0 .45rem 1.1rem #3021464d;
}
.game-art > span {
  position: absolute;
  z-index: -1;
  right: .055em;
  bottom: -.24em;
  color: var(--art-text);
  opacity: .42;
  font-size: clamp(7rem, 22vw, 14.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.09em;
}
.game-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.2rem, 3vw, 1.6rem);
}
.game h3 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -.045em;
}
.game p, .section-intro, .rule-list p, .support p {
  color: var(--muted);
  line-height: 1.6;
}
.game p {
  margin-block: .45rem 1.25rem;
}
.game-link {
  align-self: flex-start;
  margin-top: auto;
}
.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: auto;
}
.store-links a {
  border-radius: .55rem;
  background: #2b1f44;
  color: white;
  padding: .7rem .95rem;
  font-size: .92rem;
  font-weight: 720;
  text-decoration: none;
}
.store-links a:hover {
  background: #522b83;
}

.rules {
  background: #f2eafa;
}
.rules-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 1.5rem 3rem;
}
.section-intro {
  margin-top: .8rem;
  max-width: 32ch;
}
.rule-list {
  border-top: 1px solid #cdbbdf;
}
details {
  border-bottom: 1px solid #cdbbdf;
}
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 3.75rem;
  cursor: pointer;
  font-weight: 700;
  padding-block: .6rem;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "";
  width: .65rem;
  height: .65rem;
  flex: 0 0 .65rem;
  margin-right: .3rem;
  border-bottom: 2px solid var(--purple);
  border-right: 2px solid var(--purple);
  transform: translateY(-.15rem) rotate(45deg);
}
details[open] summary::after {
  transform: translateY(.15rem) rotate(225deg);
}
.rule-list p {
  padding: 0 1.2rem .9rem 0;
}
.support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.15rem 2rem;
}
.support p {
  margin-top: .65rem;
}
.site-footer {
  border-top: 1px solid #e6daef;
  background: #f8f2fc;
  color: var(--muted);
}
.footer-inner {
  flex-wrap: wrap;
  min-height: 5rem;
  padding-block: 1rem;
  font-size: .9rem;
}
.site-footer a {
  text-underline-offset: .2em;
}
.footer-links {
  gap: .5rem 1.35rem;
}

.page-hero {
  color: white;
  background: radial-gradient(ellipse at 78% 25%, #503182, #251a49 70%);
}
.page-hero.game-75 {
  background: radial-gradient(ellipse at 78% 25%, #275e57, #152e33 72%);
}
.page-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(2.4rem, 6vw, 4.75rem);
}
.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.45rem, 6.2vw, 4.85rem);
  font-weight: 820;
  line-height: 1.02;
  letter-spacing: -.055em;
}
.page-hero p {
  max-width: 48ch;
  margin-top: .95rem;
  color: #f4eefc;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.6;
}
.page-hero .store-links {
  margin-top: 1.35rem;
}
.page-hero .store-links a {
  background: var(--mint);
  color: #202137;
}
.page-hero .store-links a:hover {
  background: #e1fff1;
}
.page-hero .store-links a:focus-visible {
  outline-color: white;
}
.page-icon {
  width: clamp(6rem, 16vw, 10rem);
  height: auto;
  border-radius: 24%;
  box-shadow: 0 .7rem 2rem #12061b55;
}

.guide-body, .support-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 4rem);
}
.guide-body h2, .support-layout h2 {
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
}
.guide-steps {
  display: grid;
  gap: 1.1rem;
  padding-inline-start: 1.6rem;
  margin-block: 1.35rem 0;
}
.guide-step {
  padding-inline-start: .3rem;
}
.guide-step::marker {
  color: var(--purple);
  font-weight: 800;
}
.guide-step h3 {
  font-size: 1.1rem;
  line-height: 1.3;
}
.guide-step p, .support-layout p {
  margin-top: .4rem;
  color: var(--muted);
  line-height: 1.6;
}
.guide-shot, .guide-example {
  margin: 1.15rem 0 0;
}
.guide-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .95rem;
}
.guide-shot figcaption, .guide-example figcaption {
  margin-top: .75rem;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.5;
}
.guide-example {
  padding: clamp(.65rem, 2.8vw, 1.3rem);
  border: 1px solid #e1d4ed;
  border-radius: .95rem;
  background: #f6edfe;
}
.card-demo {
  width: 100%;
  border-spacing: .15rem;
  table-layout: fixed;
  color: #35274e;
  text-align: center;
  font-size: clamp(.81rem, 2vw, 1rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.card-demo td, .card-demo th {
  height: 2rem;
  padding: .1rem 0;
  border-radius: .25rem;
}
.card-demo td {
  background: white;
}
.card-demo td:empty {
  background: #e7dcef;
}
.card-demo .marked {
  background: #582995;
  color: white;
}
.card-demo-75 .marked {
  background: #24674f;
}
.support-card {
  padding: clamp(1rem, 4vw, 2rem);
  border: 1px solid #e1d4ed;
  border-radius: .95rem;
  background: white;
}
.support-card .button {
  margin-top: 1.2rem;
}
.support-card .support-address {
  overflow-wrap: anywhere;
  font-size: .91rem;
}
.support-links {
  display: grid;
  gap: 1.6rem;
}
.support-links ul {
  display: grid;
  gap: .5rem;
  margin-block: .75rem 0;
  padding-inline-start: 1.2rem;
}
.support-links a, .guide-shot a, .policy-article a {
  color: var(--purple);
  text-underline-offset: .16em;
}
.policy-article {
  max-width: 50rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.policy-article h2 {
  margin-top: 1.85rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -.025em;
}
.policy-article h3 {
  margin-top: 1.2rem;
  font-size: 1.15rem;
}
.policy-article p, .policy-article li + li {
  margin-top: .7em;
}
.policy-article ul, .policy-article ol {
  padding-inline-start: 1.5em;
}
.policy-article .policy-scope {
  margin: 0 0 1.3rem;
  padding: .85rem 1.05rem;
  border-inline-start: .25rem solid #6c34b2;
  border-radius: .35rem;
  background: #f2e9fc;
}

@media (max-width: 44rem) {
  .wrap {
    width: min(100% - 2rem, 70rem);
  }
  .hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding-block: 3rem 0;
  }
  .hero-art {
    width: min(88%, 27rem);
    justify-self: center;
    font-size: clamp(2rem, 10vw, 4rem);
    margin: .35rem 0 1.2rem;
  }
  .rules-inner, .guide-body, .support-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 34rem) {
  .game-grid {
    grid-template-columns: 1fr;
  }
  .game-art {
    height: 8.5rem;
    padding-inline: 1.2rem;
  }
  .game-art img {
    width: 6rem;
    height: 6rem;
  }
  .brand {
    font-size: 1.18rem;
  }
  .brand-icon {
    width: 1.75rem;
    height: 1.75rem;
  }
  nav {
    gap: .25rem .7rem;
  }
  nav a {
    font-size: .85rem;
    white-space: nowrap;
  }
}

@media (max-width: 32rem) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: .55rem;
  }
  .page-hero-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .page-icon {
    order: -1;
    width: 5rem;
  }
}
