/* Fredoka (SIL Open Font License, fonts/OFL.txt), served from this site: no requests to a font CDN, so a visitor's
   address never reaches a third party */
@font-face {
  font-family: "Fredoka";
  src: url("fonts/fredoka.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --ink: #3f1d33;
  --muted: #5e4a68;
  --bg: #fff7fb;
  --card: #ffffff;
  --accent: #d6336c;
  --accent-ink: #ffffff;
  --line: #ecdde8;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f6eaf2;
    --muted: #d4c2d6;
    --bg: #1d1522;
    --card: #2a2030;
    --accent: #ff7aa8;
    --accent-ink: #2a0d1c;
    --line: #3d3044;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.6 "Fredoka", "Segoe UI", system-ui, -apple-system, sans-serif;
}
a { color: var(--accent); font-weight: 600; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }
header { padding: 40px 0 8px; text-align: center; }
header img.icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 6px 18px rgba(63, 29, 51, 0.18); }
h1 { font-size: 2.2rem; line-height: 1.2; margin: 16px 0 4px; }
/* the landing page's top: candy colors, the words on the left, the gameplay video on the right (stacked on phones) */
.hero { background: linear-gradient(160deg, #ff8fb8 0%, #b98be6 60%, #8c6ee4 100%); color: #fff; padding: 40px 0 36px; }
.hero-inner { display: flex; gap: 32px; align-items: center; justify-content: center; flex-wrap: wrap; }
.hero-text { flex: 1 1 320px; max-width: 460px; text-align: left; }
.hero h1 { font-size: 2.8rem; font-weight: 700; text-shadow: 0 3px 0 rgba(74, 22, 64, 0.35); margin: 14px 0 8px; }
.hero h1 span { display: block; font-size: 1.5rem; font-weight: 600; opacity: 0.95; }
.hero .tagline { color: #fff; opacity: 0.95; }
.hero .button { background: #fff; color: #b0245a; box-shadow: 0 6px 0 rgba(74, 22, 64, 0.25); font-weight: 700; }
.hero .small { font-size: 0.95rem; opacity: 0.9; margin: 14px 0 0; }
.hero-video { flex: 0 0 auto; }
.hero-video video { width: 260px; aspect-ratio: 9 / 16; border-radius: 28px; border: 8px solid #fff; box-shadow: 0 16px 40px rgba(60, 10, 60, 0.35); background: #f6d8e6; display: block; }
@media (max-width: 640px) {
  .hero-text { text-align: center; }
  .hero h1 { font-size: 2.3rem; }
  .hero-video video { width: 220px; }
}
h2 { font-size: 1.4rem; margin: 32px 0 8px; }
.tagline { color: var(--muted); font-size: 1.15rem; margin: 0 0 20px; }
.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 1.1rem;
}
.shots { display: flex; gap: 16px; overflow-x: auto; padding: 24px 0 8px; scroll-snap-type: x mandatory; }
.shots img { width: 240px; height: auto; max-width: 70vw; border-radius: 18px; border: 1px solid var(--line); scroll-snap-align: center; flex: none; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding: 16px 0; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.feature h3 { margin: 0 0 4px; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--muted); }
.doc { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 8px 24px 24px; margin: 24px 0; }
.doc ul { padding-left: 22px; }
footer { color: var(--muted); text-align: center; padding: 32px 0 48px; font-size: 0.95rem; }
footer a { margin: 0 8px; }
