:root {
  --bg: #0b0e14; --panel: #131824; --ink: #eef2f9; --muted: #93a0b8;
  --line: #232b3a; --accent: #5b8cff; --accent-ink: #fff;
  --warn: #ff6b6b; --ok: #3ecf8e; --flag: #2a1f16;
  --maxw: 640px; --radius: 14px;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
main { max-width: var(--maxw); margin: 0 auto; padding: 24px 20px 48px; }

/* header / footer */
header.site, footer.site {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--ink); }
.brand span { color: var(--accent); }
header nav { display: flex; gap: 16px; font-size: 14px; }
header nav a { color: var(--muted); }
header nav a.cancel { color: var(--ink); border: 1px solid var(--line);
  padding: 5px 10px; border-radius: 999px; }
footer.site { display: block; text-align: center; color: var(--muted);
  border-top: 1px solid var(--line); margin-top: 32px; }
footer nav { display: flex; gap: 18px; justify-content: center; margin-bottom: 8px; }
.fine { font-size: 12.5px; color: var(--muted); }

/* hero / input */
.hero h1 { font-size: 30px; line-height: 1.15; letter-spacing: -.02em; margin: 8px 0 6px; }
.hero .sub { color: var(--muted); margin: 0 0 20px; }
textarea {
  width: 100%; background: var(--panel); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; font: inherit; resize: vertical; min-height: 140px;
}
textarea:focus, input[type=email]:focus { outline: 2px solid var(--accent); border-color: transparent; }
input[type=email] {
  width: 100%; margin-top: 12px; background: var(--panel); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px; font: inherit;
}
button {
  width: 100%; margin-top: 12px; padding: 15px 18px; font: 600 16px/1 inherit;
  color: var(--accent-ink); background: var(--accent); border: 0;
  border-radius: var(--radius); cursor: pointer;
}
button:hover { filter: brightness(1.06); }
button.danger { background: transparent; color: var(--warn); border: 1px solid var(--warn); }
.err { color: var(--warn); margin-top: 10px; }
.cf-turnstile { margin-top: 12px; }

/* teaser + gauge */
.teaser, .report, .account, .legal { background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 20px; }
.gauge {
  --pct: 0; width: 128px; height: 128px; border-radius: 50%; margin: 4px auto 14px;
  display: grid; place-items: center; font-size: 30px; font-weight: 800;
  background: conic-gradient(var(--accent) calc(var(--pct) * 1%), var(--line) 0);
}
.gauge span { width: 96px; height: 96px; border-radius: 50%; background: var(--panel);
  display: grid; place-items: center; }
.verdict { font-size: 20px; font-weight: 700; text-align: center; margin: 6px 0; }
.hook { color: var(--muted); text-align: center; margin: 0 0 8px; }

/* pay disclosure block */
.pay { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.disclose { font-size: 14px; line-height: 1.5; }
.disclose code, footer code, .legal code { background: #0b0e14; padding: 1px 6px;
  border-radius: 6px; border: 1px solid var(--line); font-size: 13px; }

/* report segments */
.segments { list-style: none; padding: 0; margin: 16px 0; }
.segments li { display: flex; gap: 12px; padding: 12px; border: 1px solid var(--line);
  border-radius: 10px; margin-bottom: 10px; }
.segments li.flag { background: var(--flag); border-color: #5a3a1f; }
.seg-pct { font-weight: 700; min-width: 46px; }
.seg-text { color: var(--muted); }
.report-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.report-actions button, .btn-link { width: auto; display: inline-block; }
.btn-link { padding: 13px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); }

/* account */
.status { font-size: 18px; font-weight: 700; }
.status.active { color: var(--ok); }
.status.canceled { color: var(--muted); }

/* legal */
.legal h2 { font-size: 17px; margin: 22px 0 6px; }
.legal p { color: #c7d0e0; }

@media (max-width: 400px) { .hero h1 { font-size: 25px; } }
@media print {
  header.site, footer.site, .report-actions, .pay { display: none; }
  body { background: #fff; color: #000; }
}
