:root {
  --bg: #faf6ee;
  --bg-card: #ffffff;
  --border: #e6dac0;
  --border-strong: #d8caa8;
  --text: #221d17;
  --text-muted: #6e6455;
  --text-faint: #9c927e;
  --accent: #e2572a;
  --accent-strong: #c8441c;
  --accent-soft: #fbe4d6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(55% 40% at 50% 0%, rgba(226, 87, 42, 0.08), transparent 70%);
}

.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 40px 36px 36px;
  text-align: center;
  box-shadow: 0 24px 48px -24px rgba(34, 29, 23, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 28px;
}
.brand-mark { width: 24px; height: 24px; border-radius: 6px; }

h1 {
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 28px;
}

.qr-frame {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  display: inline-flex;
  margin-bottom: 24px;
}

#qrcode { line-height: 0; }
#qrcode img, #qrcode canvas, #qrcode table {
  display: block;
  width: 220px !important;
  height: 220px !important;
}

.hint {
  color: var(--text-faint);
  font-size: 0.82rem;
  margin: 0;
}

.demo-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1.5px solid var(--border);
  color: var(--text-faint);
  font-size: 0.78rem;
  line-height: 1.5;
}
