/* Shared by every page on sealedphotos.app, including the invite pages the
   invitePage function renders. */
:root {
  --bg: #fff8f6;
  --ink: #231a1a;
  --muted: #6f5f5f;
  --seal: #9b1b30;
  --on-seal: #ffffff;
  --card: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1313;
    --ink: #f5e9e8;
    --muted: #b9a5a4;
    --seal: #c0394f;
    --card: #2a1f1f;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}
main {
  width: 100%;
  max-width: 420px;
  padding: 48px 24px;
  text-align: center;
}
h1 { font-size: 34px; line-height: 1.15; margin: 24px 0 12px; }
.lead { font-size: 19px; margin: 0 0 8px; }
.muted { color: var(--muted); margin: 0; }
a { color: var(--seal); }
.seal {
  width: 88px;
  height: 88px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--seal);
  color: var(--on-seal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
}
.code {
  margin: 28px 0 8px;
  padding: 16px;
  border-radius: 16px;
  background: var(--card);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 8px;
}
.button {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 16px;
  border: 0;
  border-radius: 999px;
  background: var(--seal);
  color: var(--on-seal);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.button.secondary {
  background: transparent;
  color: var(--seal);
  box-shadow: inset 0 0 0 2px var(--seal);
}
