:root { --fg:#14171f; --muted:#5b6475; --bg:#fff; --line:#e4e7ee; --brand:#2453ff; --ok:#0f7b45; --warn:#a35b00; --bad:#b3261e; }
* { box-sizing: border-box; }
body { margin:0; font:16px/1.55 system-ui,-apple-system,Segoe UI,Roboto,sans-serif; color:var(--fg); background:var(--bg); }
header { display:flex; justify-content:space-between; align-items:center; padding:14px 24px; border-bottom:1px solid var(--line); }
header nav { display:flex; gap:18px; align-items:center; }
a { color:var(--brand); text-decoration:none; } a:hover { text-decoration:underline; }
.brand { font-weight:700; font-size:19px; color:var(--fg); }
main { max-width:960px; margin:0 auto; padding:32px 24px 64px; }
footer { text-align:center; color:var(--muted); font-size:14px; padding:24px; border-top:1px solid var(--line); }
h1 { font-size:34px; line-height:1.2; margin:0 0 12px; } h2 { margin-top:40px; }
.hero { text-align:center; padding:32px 0; } .hero h1 { font-size:44px; }
.lead { font-size:19px; color:var(--muted); max-width:680px; margin:0 auto 20px; }
.muted { color:var(--muted); } .small { font-size:14px; }
.grid3 { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:20px; margin-top:24px; }
.card { border:1px solid var(--line); border-radius:12px; padding:20px; }
.price { font-size:32px; font-weight:700; margin:4px 0; }
.btn { display:inline-block; background:var(--brand); color:#fff; border:0; border-radius:8px; padding:10px 18px; font:inherit; font-weight:600; cursor:pointer; }
.btn:hover { text-decoration:none; filter:brightness(1.08); } .btn:disabled { opacity:.5; cursor:wait; }
.btn.lg { padding:14px 26px; font-size:18px; } .btn.sm { padding:6px 12px; }
.btn.secondary { background:#eef1f8; color:var(--fg); }
.link { background:none; border:0; color:var(--brand); font:inherit; cursor:pointer; padding:0; } .danger { color:var(--bad); }
.inline { display:inline; }
.narrow { max-width:400px; margin:0 auto; }
.stack { display:flex; flex-direction:column; gap:14px; }
.row { display:flex; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
label { display:flex; flex-direction:column; gap:4px; font-weight:600; }
input, textarea { font:inherit; padding:10px; border:1px solid var(--line); border-radius:8px; width:100%; }
.row input { width:auto; flex:1; }
textarea { font-family:ui-monospace,Menlo,monospace; font-size:14px; }
.error { color:var(--bad); background:#fdeceb; padding:10px; border-radius:8px; }
.ok { color:var(--ok); background:#e7f6ee; padding:10px; border-radius:8px; }
code, pre { font-family:ui-monospace,Menlo,monospace; font-size:14px; background:#f4f6fa; border-radius:6px; }
code { padding:1px 5px; } pre { padding:14px; overflow-x:auto; } .key { word-break:break-all; }
table { width:100%; border-collapse:collapse; margin:12px 0; } th, td { text-align:left; padding:8px; border-bottom:1px solid var(--line); }
.pill { display:inline-block; padding:4px 12px; border-radius:999px; margin-right:8px; font-weight:600; font-size:14px; }
.pill.valid { background:#e7f6ee; color:var(--ok); } .pill.risky { background:#fff3e0; color:var(--warn); }
.pill.invalid { background:#fdeceb; color:var(--bad); } .pill.unknown { background:#eef1f8; color:var(--muted); }
.credits { margin:0; }
.try { display:flex; gap:8px; max-width:480px; margin:0 auto 8px; } .try input { flex:1; }
.tryout { min-height:1.5em; font-weight:600; }
.tryout.valid { color:var(--ok); } .tryout.risky { color:var(--warn); } .tryout.invalid { color:var(--bad); }
