:root {
  color-scheme: light dark;
  --bg: #f3ebdd;
  --text: #1f1a16;
  --muted: #6e645a;
  --accent: #b5573b;
  --on-accent: #f3ebdd;
  --surface: #e9dfcc;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1e1a16;
    --text: #f3ebdd;
    --muted: #a79b8d;
    --accent: #c9694b;
    --on-accent: #1e1a16;
    --surface: #2a2420;
  }
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

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

main {
  max-width: 34rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

h1 {
  font-family: ui-serif, "New York", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.15;
  margin: 0 0 1.5rem;
}

h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 2.5rem 0 0.5rem;
}

p, li { margin: 0 0 1rem; }

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

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

.code {
  font-family: ui-serif, "New York", Georgia, serif;
  font-size: 4rem;
  line-height: 1.1;
  letter-spacing: 0.15em;
  font-variant-numeric: tabular-nums;
  margin: 1.5rem 0;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  font-weight: 600;
  padding: 0.9rem 1.5rem;
  border-radius: 14px;
  margin: 0.5rem 0 1.5rem;
}

.mark {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  margin-bottom: 2rem;
}

footer {
  max-width: 34rem;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

footer a { color: var(--muted); margin-right: 1rem; }

.code-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.copy {
  font: inherit;
  font-size: 0.95rem;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0.5rem;
  min-width: 3.5rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.copy svg { display: block; }

.address {
  font-family: ui-serif, "New York", Georgia, serif;
  font-size: 1.75rem;
  color: var(--text);
  text-decoration: none;
  word-break: break-all;
}
