:root {
  --bg: #fbfaf7; --surface: #ffffff; --text: #1d2420; --muted: #58625c; --line: #dfe3de;
  --accent: #1f6b3a; --accent-text: #ffffff; --accent-soft: #e8f2eb; --bad: #a33a2b;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121614; --surface: #1b211e; --text: #e8ece9; --muted: #a3ada7; --line: #2f3833;
    --accent: #5dbb7c; --accent-text: #0c150f; --accent-soft: #1f2e25; --bad: #f08a78;
  }
}
:root[data-theme="dark"] {
  --bg: #121614; --surface: #1b211e; --text: #e8ece9; --muted: #a3ada7; --line: #2f3833;
  --accent: #5dbb7c; --accent-text: #0c150f; --accent-soft: #1f2e25; --bad: #f08a78;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.wrap { max-width: 640px; margin: 0 auto; padding: 0 16px; }
.top { border-bottom: 1px solid var(--line); padding: 14px 0; }
.brand { color: var(--text); font-weight: 700; text-decoration: none; }
main.wrap { padding-top: 24px; padding-bottom: 32px; }
h1 { font-size: 1.75rem; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 1.2rem; margin: 0 0 8px; }
a { color: var(--accent); }
.eyebrow { color: var(--muted); font-size: .9rem; margin: 0 0 4px; }
.lede { color: var(--muted); margin: 0 0 20px; }
.btn { display: inline-block; border: 0; border-radius: 10px; background: var(--accent); color: var(--accent-text);
  font: inherit; font-weight: 600; padding: 12px 18px; text-decoration: none; cursor: pointer; text-align: center; }
.btn-big { display: block; font-size: 1.2rem; padding: 18px; margin-bottom: 12px; }
.btn-quiet { background: var(--accent-soft); color: var(--accent); }
.copyrow { display: flex; gap: 8px; margin-bottom: 24px; }
.linkbox { flex: 1; min-width: 0; font: inherit; font-size: .9rem; padding: 10px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--surface); color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin: 0 0 18px; }
.card p { margin: 0 0 12px; }
.qr { display: block; width: 240px; max-width: 100%; height: auto; margin: 0 auto 12px; background: #fff; border-radius: 8px; }
.script p { overflow-wrap: anywhere; }
.script { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.card-call { border-color: var(--accent); }
.form label { display: block; font-weight: 600; margin-bottom: 12px; }
.form input, .form select { display: block; width: 100%; margin-top: 4px; font: inherit; padding: 10px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); }
.form-note { color: var(--muted); font-size: .9rem; margin-top: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status-bad { color: var(--bad); font-weight: 600; }
.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; padding: 18px 0 28px; }
.foot p { margin: 0 0 6px; }
[hidden] { display: none !important; }
