/* Doodle Party on paper: Home's yellow, ink outlines, offset ink shadows. One sheet for every page. */
:root {
  --ink: #25213f;
  --muted: #514c66;
  --paper: #fffaf0;
  --home: #ffdc60;
  --purple: #5937b9;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--home);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
img { max-width: 100%; height: auto; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--paper); padding: 8px 12px; border: 2px solid var(--ink); border-radius: 12px; }

.site-header, main, .site-footer { max-width: 680px; margin: 0 auto; padding: 0 16px; }
.site-header { padding-top: 24px; }
.wordmark { color: var(--ink); font-size: 15px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; }

main { display: grid; gap: 20px; }
.page-header { padding-top: 16px; padding-bottom: 4px; }
h1 { margin: 0; font-size: 34px; line-height: 1.15; font-weight: 800; }
.meta { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
main > article, main > section {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 4px 6px 0 var(--ink);
  padding: 24px;
}
main > article > :first-child, main > section > :first-child { margin-top: 0; }
h2 { margin: 20px 0 8px; font-size: 21px; line-height: 1.3; font-weight: 800; }
h3 { margin: 20px 0 4px; font-size: 17px; line-height: 1.4; font-weight: 800; }
p, ul { margin: 0 0 12px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--purple); font-weight: 600; text-underline-offset: 2px; overflow-wrap: anywhere; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; border-radius: 4px; }
.summary { font-size: 18px; font-weight: 600; }

.email, .button {
  display: inline-block;
  margin: 4px 0 12px;
  padding: 10px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--purple);
  color: var(--paper);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.email:focus-visible, .button:focus-visible { outline-color: var(--ink); }

.site-footer { padding-top: 24px; padding-bottom: 40px; color: var(--muted); font-size: 15px; }
.site-footer nav { margin-bottom: 4px; }

@media (max-width: 420px) {
  h1 { font-size: 29px; }
  main > article, main > section { padding: 18px; }
}

/* Landing page */
.hero h1 { font-size: 40px; }
.lede { margin: 12px 0 16px; font-size: 19px; }
.coming-soon {
  display: inline-block;
  margin: 0 0 12px;
  padding: 8px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 800;
}
.app-store img { display: block; height: 54px; width: auto; }
.hero-art { margin: 0; text-align: center; }
.hero-art img { width: 260px; border: 2px solid var(--ink); border-radius: 28px; box-shadow: 4px 6px 0 var(--ink); }
ol { margin: 0 0 12px; padding-left: 22px; }
.games { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.games li { display: flex; align-items: center; gap: 12px; margin: 0; }
.games img { flex: none; width: 56px; height: 56px; }
.games strong { display: block; }
.signature { font-weight: 800; }
@media (max-width: 420px) {
  .hero h1 { font-size: 32px; }
}

/* Email signup */
.signup { margin: 4px 0 12px; }
.signup label { display: block; font-weight: 800; margin-bottom: 6px; }
.signup-row { display: flex; flex-wrap: wrap; gap: 8px; }
.signup input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.signup .button { margin: 0; }
.small { margin: 8px 0 0; color: var(--muted); font-size: 15px; }

/* Cookie choice bar and the footer's Cookie settings */
.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  max-width: 648px;
  margin: 0 auto;
  padding: 16px 20px 4px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: 4px 6px 0 var(--ink);
}
.consent .button { margin: 0 8px 12px 0; }
.button.quiet { background: var(--paper); color: var(--ink); }
.link { padding: 0; border: 0; background: none; color: var(--purple); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
