/* The apex pages' one stylesheet (#164): plain, and readable on a phone. */
:root {
  color-scheme: light dark;
  --page: #f6f2ea;
  --text: #24211c;
  --muted: #5f594f;
  --rule: #d9d1c2;
  --link: #7a5a12;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #15171c;
    --text: #ece7dc;
    --muted: #a8a294;
    --rule: #33363d;
    --link: #e2c26a;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 24px 20px 48px;
  background: var(--page);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
main { max-width: 680px; margin: 0 auto; }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 4px; }
h2 { font-size: 21px; line-height: 1.3; margin: 36px 0 8px; padding-top: 20px; border-top: 1px solid var(--rule); }
h3 { font-size: 17px; margin: 24px 0 4px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--link); overflow-wrap: anywhere; }
.updated, footer { color: var(--muted); font-size: 15px; }
footer { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--rule); }

/* The invite landing page (#179, #178 H6), which the Worker renders for /join/<code> on the apex. */
.invite ol { margin: 0 0 14px; padding-left: 22px; }
.invite .app-icon { display: block; width: 72px; height: 72px; border-radius: 16px; margin: 8px 0 20px; }
.party-code {
  margin: 4px 0 16px;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
}
.copy {
  min-height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: 10px;
  background: var(--link);
  color: var(--page);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* The App Store badge (#211), shown once the app is released. */
.app-store { display: inline-block; margin-top: 6px; }
.app-store img { display: block; height: 40px; width: auto; }
