/* The app's Safari theme (packages/theme), so the invite page looks like the app. */
:root {
  --background: #f5efe3;
  --surface: #fffdf8;
  --line: #e2d8c4;
  --text: #302b24;
  --muted: #6b6153;
  --primary: #302b24;
  --on-primary: #fffdf8;
  --accent-ink: #55613f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font:
    17px/1.5 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}

main {
  max-width: 28rem;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

h1 {
  font-size: 2rem;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.1rem;
  margin: 2rem 0 0.5rem;
}

p,
li {
  color: var(--muted);
}

a {
  color: var(--accent-ink);
}

.card {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  text-align: center;
}

.label {
  margin: 0;
  font-size: 0.9rem;
}

.code {
  margin: 0.25rem 0 1rem;
  color: var(--text);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.button {
  display: block;
  padding: 0.85rem;
  border-radius: 0.75rem;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 600;
  text-decoration: none;
}
