:root {
  --bg: #0e1117;
  --panel: #161b22;
  --panel2: #1c2330;
  --text: #e6edf3;
  --muted: #8b949e;
  --accent: #66c0f4;
  --good: #57ab5a;
  --warn: #d29922;
  --bad: #f85149;
  --border: #30363d;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.55; }
a { color: var(--accent); }
.nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; border-bottom: 1px solid var(--border); background: var(--panel); }
.logo { font-weight: 700; font-size: 18px; color: var(--accent); }
.logo a { color: var(--accent); text-decoration: none; }
main { max-width: 900px; margin: 0 auto; padding: 24px 16px 60px; }
.hero h1 { font-size: 30px; line-height: 1.25; margin: 8px 0 12px; }
.sub { color: var(--muted); font-size: 16px; max-width: 640px; }
.score-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; }
.badge { background: var(--panel2); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; font-size: 13px; color: var(--accent); }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 22px; margin: 22px 0; }
.card h2 { margin-top: 0; }
.hint { color: var(--muted); font-size: 14px; }
.hint.small { font-size: 12px; }
.error { background: #2d1a1a; border: 1px solid var(--bad); color: #ffb3b3; border-radius: 8px; padding: 12px 16px; margin: 18px 0; }
label { display: block; margin: 14px 0 4px; font-weight: 600; font-size: 14px; }
input, textarea { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font-size: 15px; }
textarea { font-family: inherit; }
input:focus, textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.cta { display: inline-block; margin-top: 16px; background: linear-gradient(180deg, #5a99c4, #417a9c); color: #fff; border: none; border-radius: 8px; padding: 12px 20px; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; }
.cta.ghost { background: transparent; border: 1px solid var(--accent); color: var(--accent); }
.cta.ghost.disabled { border-color: var(--border); color: var(--muted); cursor: default; }
.tabs { display: flex; gap: 8px; margin-top: 18px; }
.tab { background: var(--panel2); border: 1px solid var(--border); color: var(--muted); border-radius: 8px; padding: 8px 14px; cursor: pointer; }
.tab.active { border-color: var(--accent); color: var(--text); }
.tab-pane { margin-top: 8px; }
.hidden { display: none; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cols h3 { margin: 0 0 6px; color: var(--accent); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.plan { background: var(--panel2); border: 1px solid var(--border); border-radius: 10px; padding: 18px; }
.plan.featured { border-color: var(--accent); }
.plan .price { font-size: 24px; font-weight: 700; color: var(--accent); }
.plan p { color: var(--muted); font-size: 13px; min-height: 3.2em; }
footer { text-align: center; color: var(--muted); font-size: 12px; padding: 24px; }
code { background: var(--panel2); padding: 1px 5px; border-radius: 4px; }
.report-head { display: flex; gap: 24px; align-items: center; margin: 10px 0 4px; }
.gauge { --score: 0; width: 132px; height: 132px; border-radius: 50%; background: conic-gradient(var(--gauge-color, var(--accent)) calc(var(--score) * 1%), var(--panel2) 0); display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; flex-shrink: 0; }
.gauge::before { content: ""; position: absolute; inset: 10px; background: var(--panel); border-radius: 50%; }
.score-num { position: relative; font-size: 40px; font-weight: 800; }
.score-max { position: relative; font-size: 12px; color: var(--muted); }
.grade { font-size: 18px; color: var(--accent); margin: 0; }
.meta { color: var(--muted); font-size: 13px; }
.delta { font-weight: 700; }
.delta.up { color: var(--good); }
.delta.down { color: var(--bad); }
table.cats { width: 100%; border-collapse: collapse; }
table.cats td { padding: 6px 8px; }
.bar { height: 10px; background: var(--panel2); border-radius: 6px; overflow: hidden; min-width: 160px; }
.fill { height: 100%; background: var(--accent); }
.issue { border: 1px solid var(--border); border-left-width: 4px; border-radius: 8px; padding: 10px 14px; margin: 10px 0; background: var(--panel2); }
.issue.sev-high { border-left-color: var(--bad); }
.issue.sev-medium { border-left-color: var(--warn); }
.issue.sev-low { border-left-color: var(--good); }
.issue-head { font-weight: 700; }
.sev { text-transform: uppercase; font-size: 11px; letter-spacing: .05em; }
.sev-high .sev { color: var(--bad); }
.sev-medium .sev { color: var(--warn); }
.sev-low .sev { color: var(--good); }
.pts { color: var(--muted); font-weight: 400; }
.issue .fix { color: var(--accent); font-size: 14px; }
.copy-block { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 14px; margin: 14px 0; position: relative; }
.copy-block pre { white-space: pre-wrap; margin: 0 0 8px; font-size: 14px; font-family: inherit; }
.copy-btn { position: absolute; top: 10px; right: 10px; background: var(--panel2); border: 1px solid var(--border); color: var(--accent); border-radius: 6px; padding: 4px 10px; cursor: pointer; font-size: 12px; }
.paywall { border-color: var(--accent); }
@media (max-width: 640px) { .cols { grid-template-columns: 1fr; } .report-head { flex-direction: column; align-items: flex-start; } }