:root {
  --cream: #f7f0e1;
  --card: #fffaf0;
  --ink: #2b2d42;
  --muted: #5b5d70;
  --matcha: #8db580;
  --pine: #4f7a5a;
  --sakura: #f2b8c6;
  --persimmon: #e8a06b;
  --clay: #8a6a4f;
  --border: #cbb99a;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --cream: #22232f;
    --card: #2b2d3b;
    --ink: #f7f0e1;
    --muted: #c9c3b3;
    --pine: #a7d1b0;
    --border: #5b5242;
  }
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

main, header, footer { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem; }

header { padding-top: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { font-weight: 700; font-size: 1.125rem; color: var(--ink); text-decoration: none; }
nav a { color: var(--pine); margin-left: 1rem; }

.hero { padding: 3rem 0 2rem; text-align: center; }
.hero h1 { font-size: 2.25rem; line-height: 1.2; margin: 0 0 1rem; }
.hero p { color: var(--muted); max-width: 32rem; margin: 0 auto 1.5rem; }

.button {
  display: inline-block;
  min-height: 48px;
  line-height: 48px;
  padding: 0 1.5rem;
  border-radius: 14px;
  background: var(--persimmon);
  color: #2b2d42;
  border: 2px solid var(--clay);
  font-weight: 700;
  text-decoration: none;
}
.button.secondary { background: var(--card); color: var(--pine); border-color: var(--border); }

.soon { color: var(--muted); font-size: 0.95rem; margin-top: 0.75rem; }

section { margin: 2.5rem 0; }
h2 { font-size: 1.5rem; margin: 0 0 0.75rem; }

.cards { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem;
}
.card h3 { margin: 0 0 0.4rem; font-size: 1.125rem; }
.card p { margin: 0; color: var(--muted); }

.promise {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  text-align: center;
  font-size: 1.125rem;
}

footer { padding: 2rem 0 3rem; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--border); margin-top: 3rem; }
footer a { color: var(--pine); }

/* Privacy page */
.doc h1 { font-size: 1.9rem; }
.doc h2 { font-size: 1.2rem; margin-top: 1.75rem; }
.doc ul { padding-left: 1.2rem; }
.doc li { margin-bottom: 0.4rem; }

/* Pixel art: each sprite is a crop of art/world.png or art/actors.png. --s scales it. */
:root { --s: 2; }
.px {
  display: inline-block;
  image-rendering: pixelated;
  background-repeat: no-repeat;
  width: calc(var(--w) * var(--s) * 1px);
  height: calc(var(--h) * var(--s) * 1px);
  background-position: calc(var(--x) * -1 * var(--s) * 1px) calc(var(--y) * -1 * var(--s) * 1px);
  background-size: calc(var(--sheetw) * var(--s) * 1px) calc(var(--sheeth) * var(--s) * 1px);
  background-image: var(--sheet);
}
.px.world { --sheet: url("art/world.png"); --sheetw: 512; --sheeth: 184; }
.px.actors { --sheet: url("art/actors.png"); --sheetw: 256; --sheeth: 241; }

.scene {
  position: relative;
  height: 15rem;
  margin: 0 auto 2rem;
  max-width: 26rem;
  border: 2px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(#bfd7e5 0%, #f7f0e1 62%, #8db580 62%, #8db580 100%);
}
.scene .px { position: absolute; bottom: 1.2rem; }
.scene .ground { position: absolute; left: 0; right: 0; bottom: 0; height: 1.2rem; background: #6f9a62; }

.shots { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 40rem) { .shots { grid-template-columns: repeat(3, 1fr); } }
.shots figure { margin: 0; text-align: center; }
.shots img {
  width: 100%;
  height: auto;
  border: 4px solid var(--clay);
  border-radius: 24px;
  background: var(--card);
}
.shots figcaption { color: var(--muted); font-size: 0.95rem; margin-top: 0.5rem; }

.card .icon { margin-bottom: 0.5rem; }

/* Waiting list form */
.waitlist { display: grid; gap: 0.5rem; max-width: 24rem; margin: 0 auto; text-align: left; }
.waitlist .soon { text-align: center; margin: 0 0 0.5rem; }
.waitlist label { font-weight: 700; }
.waitlist input[type="email"] {
  min-height: 48px;
  padding: 0 0.9rem;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: var(--card);
  color: var(--ink);
  font: inherit;
}
.waitlist .consent { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; font-size: 0.95rem; color: var(--muted); }
.waitlist .consent input { width: 22px; height: 22px; margin-top: 0.2rem; flex: none; }
.waitlist .button { justify-self: center; cursor: pointer; }

.waitlist .thanks { text-align: center; font-size: 1.05rem; background: var(--card); border: 2px solid var(--border); border-radius: 18px; padding: 1.25rem; margin: 0; }
