:root {
  --bg: #f6faf9;
  --text: #17302c;
  --muted: #4c6762;
  --accent: #00796b;
  --accent-text: #ffffff;
  --surface: #ffffff;
  --border: #d4e3e0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1a18;
    --text: #e3efec;
    --muted: #9db5b0;
    --accent: #4db6ac;
    --accent-text: #062420;
    --surface: #17262a;
    --border: #2b3f3c;
  }
}

* { box-sizing: border-box; }

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

main {
  max-width: 34rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.brand {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 2rem;
}

h1 {
  font-size: 1.75rem;
  line-height: 1.2;
  margin: 0 0 1rem;
}

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

.button {
  display: block;
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
}

.button[hidden] { display: none; }

.code-label { margin-top: 2rem; text-align: center; }

.code {
  margin: 0.5rem 0;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font: 600 2rem/1 ui-monospace, "Cascadia Mono", Menlo, monospace;
  letter-spacing: 0.3em;
  text-align: center;
}

.small { font-size: 0.875rem; text-align: center; }
