:root { color-scheme: light dark; --fg:#1d1d1f; --bg:#fafafa; --muted:#6b6b6b; --accent:#f7931a; --card:#fff; --border:#ddd; }
@media (prefers-color-scheme: dark) { :root { --fg:#eee; --bg:#121212; --muted:#9a9a9a; --card:#1c1c1c; --border:#333; } }
* { box-sizing: border-box; }
body { margin:0; font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color:var(--fg); background:var(--bg); }
header, main, footer { max-width: 760px; margin: 0 auto; padding: 1rem; }
header { display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid var(--border); }
footer { font-size:.85rem; }
.inline { display:inline; }
.muted { color: var(--muted); } .small { font-size:.85rem; }
.banner { background:#fff3cd; color:#664d03; padding:.5rem .75rem; border-radius:6px; }
.error { background:#f8d7da; color:#842029; padding:.5rem .75rem; border-radius:6px; }
.ok { background:#d1e7dd; color:#0f5132; padding:.5rem .75rem; border-radius:6px; }
.button, button { display:inline-block; background:var(--accent); color:#111; border:0; border-radius:6px; padding:.55rem 1rem; font-weight:600; cursor:pointer; text-decoration:none; }
button[disabled] { opacity:.5; cursor:not-allowed; }
button.link { background:none; color:var(--muted); padding:0 .25rem; text-decoration:underline; font-weight:normal; }
.plans { display:grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap:1rem; }
.plan { background:var(--card); border:1px solid var(--border); border-radius:8px; padding:1rem; }
.plan h3 { margin:.2rem 0; } .price { font-size:1.4rem; font-weight:700; margin:.2rem 0; }
.checkout { display:flex; gap:1.5rem; flex-wrap:wrap; align-items:flex-start; }
.qr { background:#fff; padding:6px; border-radius:6px; }
dt { font-weight:600; margin-top:.5rem; } dd { margin:0; }
code.addr { word-break: break-all; } code.big { font-size:1.25rem; }
table { border-collapse: collapse; width:100%; } td, th { text-align:left; padding:.3rem .4rem; border-bottom:1px solid var(--border); }
.plan form { margin-top: .45rem; }
.plan form + form { margin-top: .35rem; }
button.alt { background: transparent; color: var(--fg); border: 2px solid var(--accent); }
textarea.bolt11 { width: 100%; max-width: 28rem; font: 12px/1.4 ui-monospace, Menlo, Consolas, monospace; word-break: break-all; background: var(--card); color: var(--fg); border: 1px solid var(--border); border-radius: 6px; padding: .4rem; }
