:root {
  color-scheme: dark;
  --bg: #141311;
  --surface: #24221e;
  --text: #f3eee6;
  --muted: #c9bfb2;
  --line: #3a352e;
  --accent: #e39a45;
  --ink: #1a140e;
  --info: #9ec3d4;
  --warn: #f0b2a8;
  --ok: #9dccab;
}
* { box-sizing: border-box; }
html { overflow-x: clip; }
body, main, p, a, h1, h2, h3, li, label { overflow-wrap: anywhere; }
body {
  margin: 0;
  font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--text);
  color: var(--bg);
  padding: 8px 12px;
}
.skip:focus { top: 12px; }
.top, main, footer { width: min(42rem, calc(100% - 32px)); margin: 0 auto; }
.top { padding: 20px 0 8px; border-bottom: 1px solid var(--line); }
.brand { margin: 0 0 8px; letter-spacing: 0.04em; font-size: 0.85rem; }
nav { display: flex; flex-wrap: wrap; gap: 12px 16px; }
a { color: var(--info); }
h1 { font-size: 1.7rem; line-height: 1.2; margin: 28px 0 12px; }
h2 { font-size: 1.05rem; margin: 0 0 8px; }
.card, .pay, form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
}
.price { font-variant-numeric: tabular-nums; font-size: 1.25rem; margin: 8px 0; }
.meta, footer, .pending { color: var(--muted); }
.pending, .blocker { border-left: 3px solid var(--accent); padding-left: 12px; }
.blocker { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; padding: 16px; }
.ready { color: var(--ok); }
.warn { color: var(--warn); }
label { display: block; margin: 12px 0; }
input, select, button {
  font: inherit;
  color: var(--text);
  background: #1c1b18;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 44px;
  padding: 8px 10px;
  width: 100%;
}
button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 44px;
  padding: 0 16px;
  background: var(--accent);
  color: var(--ink);
  text-decoration: none;
  border: 0;
  border-radius: 6px;
}
.check input { width: auto; margin-right: 8px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
footer { padding: 32px 0 48px; font-size: 0.9rem; }
.testbanner { background: #3a2200; color: #ffd7a8; padding: 0.7rem 0.9rem; border-radius: 6px; }
img, svg, video { max-width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
}
