:root {
  color-scheme: light;
  --ink: #181326;
  --muted: #5c5368;
  --cream: #faf6ed;
  --paper: #fffcf6;
  --border: #e2d9e8;
  --plum: #5e3289;
  --gold: #ffcc69;
  --light-text: #f5eefb;
  --measure: 45rem;
  --content: 72rem;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--cream); color: var(--ink); line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: var(--plum); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .13em; }
:focus-visible { outline: 3px solid #9d4ee8; outline-offset: 5px; }
h1, h2, p, figure, dl, dd { margin: 0; }
h1, h2 { line-height: 1.1; letter-spacing: -.045em; }
.container { width: min(var(--content), calc(100% - 4rem)); margin-inline: auto; }
.skip-link { position: absolute; top: .7rem; left: .7rem; z-index: 2; transform: translateY(-150%); padding: .55rem .8rem; background: white; }
.skip-link:focus { transform: none; }

.site-header, .site-footer { background: var(--ink); color: var(--light-text); }
.site-header { border-bottom: 1px solid #ffffff22; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.35rem; min-height: 4.5rem; }
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .4rem 1.5rem; }
.site-header a, .site-footer a { color: inherit; font-weight: 600; text-decoration: none; }
.site-header nav a, .site-footer nav a { font-size: .95rem; }
.site-header nav a:hover, .site-footer nav a:hover, a[aria-current="page"] { color: var(--gold); }
.brand { display: inline-flex; align-items: center; gap: .55rem; flex-shrink: 0; font-size: 1.14rem; letter-spacing: -.025em; }
.site-footer { padding-block: .65rem; }
.site-footer p { color: #d4c8de; font-size: .92rem; }

.hero {
  overflow: hidden;
  background: radial-gradient(ellipse at 79% 55%, #40215e 0%, transparent 56%), linear-gradient(135deg, #181326 20%, #20142f 100%);
  color: var(--light-text);
}
.hero-inner { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3.25rem, 7vw, 6.6rem); }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { font-family: "Arial Black", "Segoe UI Black", "Segoe UI", sans-serif; font-weight: 950; text-transform: uppercase; line-height: .86; letter-spacing: -.058em; }
.game-genre { display: block; margin-bottom: 1.05rem; color: var(--gold); font: 750 clamp(.94rem, 2vw, 1.15rem)/1.3 "Segoe UI", sans-serif; letter-spacing: .16em; }
.title-line { display: block; font-size: clamp(4rem, 8.4vw, 7.65rem); }
.versus { display: inline-block; color: var(--gold); font-size: .44em; letter-spacing: -.03em; vertical-align: .42em; }
.cats { color: #d5b2ff; }
.hero-copy p { max-width: 29rem; margin-block: 1.6rem 1.5rem; color: #eee3f6; font-size: clamp(1.02rem, 2.2vw, 1.22rem); }
.hero-art {
  width: min(100%, 31.5rem);
  height: auto;
  aspect-ratio: 1;
  margin-inline: auto;
  border: 1px solid #e8c5ff60;
  border-radius: clamp(1rem, 3vw, 2rem);
  box-shadow: 0 1.4rem 3.6rem #0806129c, 0 0 0 .45rem #dec2ff14;
  object-fit: cover;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: .52rem;
  background: var(--gold);
  color: #261b18;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}
.button:hover { background: #ffda91; }
.button.secondary { background: transparent; border-color: #916ab2; color: var(--plum); }
.button.secondary:hover { background: #f1e8fb; }

.gameplay { background: var(--cream); }
.gameplay-inner { display: grid; grid-template-columns: .82fr 1fr; align-items: center; gap: clamp(2rem, 8vw, 7rem); padding-block: clamp(3rem, 7vw, 6.2rem); }
.game-capture { justify-self: center; text-align: center; }
.game-capture img {
  width: auto;
  max-height: 31.5rem;
  border: .48rem solid var(--ink);
  border-radius: 1.5rem;
  box-shadow: 0 1.15rem 2.6rem #24163436;
  background: var(--ink);
}
figcaption { margin-top: 1rem; color: var(--muted); font-size: .92rem; }
.gameplay h2 { max-width: 10ch; margin-bottom: 1.7rem; font-size: clamp(2.4rem, 5.5vw, 4.25rem); }
.play-features { max-width: 33rem; }
.play-features div { padding: .95rem 0; border-top: 1px solid #cdc0d8; }
.play-features dt { font-size: 1.13rem; font-weight: 760; }
.play-features dd { color: var(--muted); }

.document { min-height: calc(100vh - 10rem); padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.document-header { padding-block: clamp(2.6rem, 7vw, 5rem) clamp(1.7rem, 4vw, 3rem); border-bottom: 1px solid var(--border); }
.document-header h1 { font-size: clamp(2.65rem, 7vw, 5rem); }
.document-header p { margin-top: .7rem; color: var(--muted); font-size: clamp(1.04rem, 2.5vw, 1.27rem); }
.document-header .updated { margin-top: .45rem; font-size: .92rem; }
.legal-layout { display: grid; grid-template-columns: minmax(11rem, 15rem) minmax(0, var(--measure)); align-items: start; gap: clamp(1.5rem, 5vw, 4.3rem); margin-top: 2rem; }
.toc { position: sticky; top: 1.5rem; display: grid; gap: .15rem; padding: .5rem 0 .5rem .9rem; border-left: 2px solid #bc9bdf; }
.toc a { display: block; padding: .2rem .2rem; font-weight: 600; font-size: .94rem; text-decoration-color: transparent; }
.toc a:hover { text-decoration-color: currentColor; }
.policy { min-width: 0; overflow-wrap: anywhere; }
.policy section { padding-block: 1.5rem; border-bottom: 1px solid var(--border); }
.policy section:first-child { padding-top: .4rem; }
.policy section:last-child { border-bottom: 0; padding-bottom: 0; }
.policy h2, .support-card h2 { margin-bottom: .75rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.policy p + p { margin-top: .72rem; }
.package-id { font-family: ui-monospace, Consolas, monospace; font-size: .94em; }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; margin-block: 2rem 1rem; }
.support-card { padding: clamp(1.2rem, 3.5vw, 2.25rem); border: 1px solid var(--border); border-radius: 1rem; background: var(--paper); }
.support-card p { max-width: 37ch; margin-bottom: 1rem; color: var(--muted); }
.text-link { display: block; margin-top: .8rem; }
.support-email { overflow-wrap: anywhere; }

@media (max-width: 50rem) {
  .hero-inner { gap: 2.1rem; }
  .title-line { font-size: clamp(3.5rem, 10vw, 5.8rem); }
  .gameplay-inner { gap: 2.3rem; }
  .site-header nav, .site-footer nav { gap: .35rem .9rem; }
}

@media (max-width: 39rem) {
  .container { width: calc(100% - 2rem); }
  .hero-inner, .gameplay-inner, .legal-layout, .support-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { padding-block: 2.75rem; gap: 2rem; }
  .hero-art { width: min(100%, 24rem); margin-inline: 0; }
  .title-line { font-size: clamp(3.65rem, 13vw, 5.4rem); }
  .gameplay-copy { grid-row: 1; }
  .gameplay h2 { margin-bottom: 1rem; }
  .game-capture img { max-height: 25rem; }
  .toc { position: static; }
  .legal-layout { gap: 1.75rem; }
  .header-inner, .footer-inner { min-height: 4rem; gap: .6rem 1rem; flex-wrap: wrap; padding-block: .75rem; }
  .site-header nav, .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 24rem) {
  .header-inner nav { flex-basis: 100%; }
  .site-footer p { margin-left: auto; }
}
