:root {
  color-scheme: light dark;
  --navy: #3b4558;
  --brass: #c9a24a;
  --wood: #8a5a33;
  --sky: #cfe7fb;
  --background: #f2f8fd;
  --surface: #ffffff;
  --text: #293345;
  --muted: #59667a;
  --border: #d9e2ea;
  --link: #754821;
}

* { box-sizing: border-box; }

html { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, var(--sky), var(--background) 360px);
  line-height: 1.6;
}

a { color: var(--link); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .12em; }
a:focus-visible { outline: 3px solid var(--brass); outline-offset: 4px; border-radius: 3px; }

.site-shell {
  width: min(100% - 2rem, 960px);
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

.hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.game-icon {
  display: block;
  width: clamp(144px, 42vw, 216px);
  height: auto;
  margin: 0 auto 1.5rem;
  border-radius: 24%;
  box-shadow: 0 18px 40px #3b45582b;
}

.eyebrow {
  margin: 0 0 .65rem;
  color: var(--wood);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1, h2, p { margin-top: 0; }
h1, h2 { line-height: 1.18; }
h1 { margin-bottom: 1rem; font-size: clamp(2.3rem, 9vw, 4.5rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.3rem, 5vw, 1.75rem); letter-spacing: -.02em; }

.pitch {
  max-width: 36rem;
  margin: 0 auto 1.65rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 3vw, 1.25rem);
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: .75rem 1rem;
  border: 1px solid var(--navy);
  border-radius: .8rem;
  background: var(--navy);
  color: #ffffff;
  font: inherit;
  cursor: default;
  opacity: 1;
}

.store-button span { font-size: .9rem; }
.store-button strong { padding-left: .8rem; border-left: 1px solid #ffffff66; }

.features, .content-card {
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: 0 12px 32px #3b45580d;
}

.features { padding: 1.5rem; }
.features h2 { margin-bottom: 1rem; }
.features ul { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.features li { position: relative; padding-left: 1.65rem; }
.features li::before { content: "✦"; position: absolute; left: 0; color: var(--wood); }

.page-header { padding: 1.5rem 0; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); font-weight: 750; text-decoration: none; }
.brand img { border-radius: 22%; }
.content-card { padding: clamp(1.5rem, 5vw, 3rem); }
.content-card h1 { font-size: clamp(2rem, 7vw, 3rem); }
.content-card h2 { margin: 2rem 0 .6rem; }
.content-card p { max-width: 72ch; }
.content-card li { padding-left: .2rem; }
.content-card li + li { margin-top: .5rem; }
.content-card a { overflow-wrap: anywhere; }
.support section + section { border-top: 1px solid var(--border); }
.support section h2 { margin-top: 1.5rem; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding: 2rem 0;
  color: var(--muted);
  font-size: .9rem;
}
.site-footer nav { display: flex; gap: 1.25rem; }

@media (min-width: 700px) {
  .hero { display: grid; grid-template-columns: 240px 1fr; align-items: center; gap: 2.5rem; padding: 5rem 0 3.5rem; text-align: left; }
  .game-icon { width: 100%; margin: 0; }
  .pitch { margin-left: 0; }
  .features { padding: 2rem; }
  .features ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #202a39;
    --surface: #313d50;
    --text: #f3f6fa;
    --muted: #c4cfde;
    --border: #4c5a6c;
    --link: #efc873;
  }
  body { background: linear-gradient(180deg, #334b61, var(--background) 360px); }
  .eyebrow, .features li::before { color: var(--brass); }
  .store-button { border-color: var(--brass); background: var(--brass); color: #202a39; }
  .store-button strong { border-left-color: #202a3966; }
}
