/* Colors and logos come from the Tiny Details brand folder (game-prototype-claude/brand/tiny-details). */
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url(/fonts/nunito-sans-latin.woff2) format("woff2");
}

:root {
  --bg: #f6f1e7;
  --text: #22223a;
  --muted: #6c6a72;
  --coral: #ff5a3c;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141a3a;
    --text: #efe8d6;
    --muted: #a3a1a8;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.125rem/1.6 "Nunito Sans", system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--coral);
}

h1,
h2,
h3 {
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

code {
  font-size: 0.85em;
}

/* Landing page */

.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  /* The extra bottom padding lifts the logo a little above the exact middle, where centered things look right. */
  padding: 2rem 1.5rem calc(2rem + 6vh);
  box-sizing: border-box;
  text-align: center;
}

.landing h1 {
  margin: 0;
}

.landing img {
  display: block;
  width: min(22rem, 70vw);
  height: auto;
}

.landing ul,
.landing p {
  /* Small, because the logo image already has room below the letters for the "y". */
  margin: 0.5rem 0 0;
  font-size: 1.2rem;
  font-weight: 650;
  line-height: 1.35;
}

.landing ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
  padding: 0;
  list-style: none;
}

/* Privacy policy */

.page {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.page header img {
  display: block;
  width: 9rem;
  height: auto;
}

.page h1 {
  font-size: 2rem;
  margin: 3rem 0 0.25rem;
}

.page h2 {
  font-size: 1.3rem;
  margin: 2.5rem 0 0.5rem;
}

.page h3 {
  font-size: 1.125rem;
  margin: 1.75rem 0 0.25rem;
}

.muted {
  color: var(--muted);
}
