:root {
  --bg: #0f1112;
  --surface: #171a1c;
  --border: #2a2e31;
  --text: #ece7dd;
  --muted: #9a958b;
  --brass: #b89b67;
  --on-brass: #15120c;
  --r: 14px;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.7 system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a {
  color: var(--brass);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--text);
}
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}
header.site {
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand svg {
  width: 28px;
  height: 28px;
}
.lang {
  font-size: 0.9rem;
  color: var(--muted);
}
main {
  flex: 1;
  padding: 32px 0 48px;
}
h1 {
  font-size: 1.9rem;
  line-height: 1.25;
  margin: 0 0 0.6em;
}
h2 {
  font-size: 1.2rem;
  line-height: 1.35;
  margin: 2em 0 0.5em;
}
p,
ul,
ol {
  margin: 0 0 1em;
}
li {
  margin-bottom: 0.4em;
}
.meta {
  color: var(--muted);
  font-size: 0.9rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
}
.hero {
  text-align: center;
  padding-top: 16px;
}
.hero .logo svg {
  width: 96px;
  height: 96px;
}
.hero h1 {
  font-size: 2.6rem;
  margin: 0.3em 0 0.2em;
  letter-spacing: 0.02em;
}
.hero .tag {
  color: var(--muted);
  font-size: 1.15rem;
  margin-bottom: 1.5em;
}
.bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 2em;
  text-align: left;
}
.bullets li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 18px;
  margin-bottom: 10px;
}
.stores {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  margin: 1em 0;
}
@media (min-width: 520px) {
  .stores {
    flex-direction: row;
    justify-content: center;
  }
}
.btn {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--r);
  padding: 14px 22px;
  background: var(--brass);
  color: var(--on-brass);
  border: 1px solid var(--brass);
}
a.btn:hover {
  color: var(--on-brass);
  filter: brightness(1.08);
}
.btn.disabled {
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border);
  cursor: default;
  filter: none;
}
a.btn.disabled:hover {
  color: var(--muted);
  filter: none;
}
.code {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: var(--brass);
}
.center {
  text-align: center;
}
.invite .btn.primary {
  display: block;
  margin: 1.2em 0;
}
.hint {
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}
[hidden] {
  display: none !important;
}
footer.site {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}
footer.site .wrap {
  padding-top: 20px;
  padding-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
}
footer.site a {
  color: var(--muted);
}
footer.site a:hover {
  color: var(--text);
}
noscript .card {
  margin-bottom: 1em;
}
