:root {
  color-scheme: dark;
  --gold: #ead7a3;
  --muted: #a9b6a6;
  --line: #d2c3912c;
  --ok: #7fd8a6;
  --warn: #f0b267;
  --bad: #f08a72;
  --note: #8fb3d9;
  font-family: Arial, Helvetica, sans-serif;
  background: #08110d;
  color: #f3f2e8;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 15% 10%, #22303f66, transparent 55%), radial-gradient(ellipse at 85% 0%, #3a2f1550, transparent 50%), #08110d;
}
header, footer {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  max-width: 1080px; margin: auto; padding: 24px 28px; font: 10px/1.6 monospace; letter-spacing: .12em;
}
header a, footer a { color: var(--gold); text-decoration: none; }
header .brand { font-size: 17px; font-weight: 700; letter-spacing: .13em; }
header .brand span { color: #f1f2e7; }
header nav { display: flex; gap: 16px; }
footer { color: #86977f; }
main { max-width: 1080px; margin: 8px auto 40px; padding: 0 28px; }
.title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.kicker { color: var(--gold); font: 10px/1.6 monospace; letter-spacing: .16em; margin: 0 0 6px; }
h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 400; letter-spacing: -.05em; margin: 0; }
.beta { border: 1px solid #6fa8ff66; color: #a9c9ff; border-radius: 999px; padding: 5px 12px; font: 9px/1.6 monospace; letter-spacing: .14em; text-transform: uppercase; }
.lead { color: var(--muted); font-size: 15px; line-height: 1.8; max-width: 760px; margin: 18px 0 24px; }
.panel {
  border: 1px solid #6fa8ff33; border-radius: 16px; padding: 20px 22px;
  background: linear-gradient(150deg, #101b2a99, #0b1412aa);
}
.networks { border: 0; padding: 0; margin: 0 0 16px; }
.networks legend { color: var(--muted); font: 9px/1.6 monospace; letter-spacing: .14em; text-transform: uppercase; padding: 0 0 8px; }
.networks label { display: inline-flex; align-items: center; gap: 7px; margin-right: 16px; color: #dfe4d8; font: 12px/1.6 monospace; cursor: pointer; }
.networks input { accent-color: var(--gold); }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; color: var(--muted); font: 9px/1.6 monospace; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.field input {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #0a1310;
  color: #f3f2e8; font: 13px/1.6 monospace; padding: 13px 14px;
}
.field input:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
#analyze {
  display: inline-flex; align-items: center; gap: 9px; border: 0; border-radius: 10px;
  background: linear-gradient(110deg, #e6cd8e, #f2e4be); color: #122015;
  font: 700 12px/1.6 monospace; letter-spacing: .04em; padding: 13px 18px; cursor: pointer;
}
#analyze svg { width: 16px; height: 16px; }
#analyze:disabled { opacity: .5; cursor: progress; }
.fine { color: #86977f; font-size: 11px; line-height: 1.8; margin: 12px 0 0; }
.examples { margin: 10px 0 0; color: var(--muted); font: 11px/1.9 monospace; }
.examples button {
  background: transparent; border: 1px solid var(--line); border-radius: 999px; color: var(--gold);
  font: 10px/1.6 monospace; padding: 5px 11px; margin: 2px 4px 2px 0; cursor: pointer;
}
.examples button:hover { border-color: #e5d09780; }

#report { margin-top: 34px; }
.score-row { display: grid; grid-template-columns: 190px 1fr; gap: 22px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; background: #0d1712aa; }
.score { border-right: 1px solid var(--line); padding-right: 20px; }
.score-label { display: block; color: var(--muted); font: 9px/1.6 monospace; letter-spacing: .14em; text-transform: uppercase; }
#score { display: block; font-size: 52px; font-weight: 400; line-height: 1.1; letter-spacing: -.04em; }
.band { display: inline-block; margin-top: 6px; border-radius: 999px; padding: 4px 10px; font: 9px/1.6 monospace; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line); color: var(--muted); }
.band.few { color: var(--ok); border-color: #7fd8a655; }
.band.review { color: var(--warn); border-color: #f0b26755; }
.band.high { color: var(--bad); border-color: #f08a7255; }
.identity strong { display: block; font-size: 20px; font-weight: 400; }
.identity span { display: block; color: var(--muted); font: 11px/1.8 monospace; margin: 4px 0 8px; overflow-wrap: anywhere; }
.identity a { color: var(--gold); font: 11px/1.8 monospace; text-underline-offset: 4px; }
.score-note { grid-column: 1 / -1; margin: 0; color: #86977f; font-size: 11px; line-height: 1.8; }
h2 { font-size: 20px; font-weight: 400; letter-spacing: -.02em; margin: 34px 0 12px; }
.agents { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.agent { border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 14px; background: #0d171299; }
.agent h3 { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: #f3f2e8; }
.agent .role { display: block; color: var(--muted); font: 9px/1.6 monospace; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.agent ul { list-style: none; margin: 0; padding: 0; }
.agent li { border-top: 1px solid #d2c3911f; padding: 9px 0; font: 11px/1.7 monospace; color: #dfe4d8; }
.agent li:first-child { border-top: 0; }
.agent li.risk strong { color: var(--bad); }
.agent li.verified strong { color: var(--ok); }
.agent li.unknown strong { color: var(--note); }
.agent li strong { display: block; font-weight: 600; margin-bottom: 3px; }
.agent li em { font-style: normal; color: #86977f; }
.agent li a { color: var(--gold); text-decoration: none; border-bottom: 1px solid #d2c39150; }
.receipt-lead { color: var(--muted); font-size: 12px; line-height: 1.8; max-width: 720px; margin: 0 0 14px; }
.receipt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.col { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #0d171299; }
.col h3 { margin: 0 0 10px; font: 700 11px/1.6 monospace; letter-spacing: .08em; text-transform: uppercase; }
.col h3 span { float: right; color: var(--muted); font-weight: 400; }
.col.verified h3 { color: var(--ok); }
.col.risk h3 { color: var(--bad); }
.col.unknown h3 { color: var(--note); }
.col ul { list-style: none; margin: 0; padding: 0; }
.col li { border-top: 1px solid #d2c3911f; padding: 10px 0; font: 11px/1.7 monospace; color: #dfe4d8; }
.col li:first-child { border-top: 0; }
.col li strong { display: block; font-weight: 600; margin-bottom: 3px; }
.col li em { font-style: normal; display: block; color: #86977f; margin-top: 5px; }
.col li a { color: var(--gold); text-decoration: none; border-bottom: 1px solid #d2c39150; overflow-wrap: anywhere; }
.sources { width: 100%; border-collapse: collapse; font: 11px/1.7 monospace; }
.sources th { text-align: left; color: var(--muted); font-weight: 400; letter-spacing: .1em; text-transform: uppercase; font-size: 9px; padding: 6px 10px 6px 0; border-bottom: 1px solid var(--line); }
.sources td { padding: 9px 10px 9px 0; border-bottom: 1px solid #d2c3911f; color: #dfe4d8; }
.sources a { color: var(--gold); text-decoration: none; border-bottom: 1px solid #d2c39150; }
.yes { color: var(--ok); }
.no { color: var(--warn); }
.next { margin-top: 30px; border: 1px solid #6fa8ff33; border-radius: 14px; padding: 16px 18px; background: #101b2a66; }
.next strong { color: #a9c9ff; font: 700 10px/1.6 monospace; letter-spacing: .14em; text-transform: uppercase; }
.next p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
@media (max-width: 820px) {
  .score-row { grid-template-columns: 1fr; }
  .score { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 14px; }
  .receipt { grid-template-columns: 1fr; }
  header, footer, main { padding-left: 20px; padding-right: 20px; }
}
