:root {
  --concrete: #d9dcdf;
  --concrete-2: #cdd1d5;
  --panel: #fbfbfa;
  --ink: #15171a;
  --ink-2: #4a5059;
  --ink-3: #737a84;
  --rule: #b9bec4;
  --hazard: #f5c518;
  --real: #1f8a4c;
  --partly: #b26b00;
  --larp: #7b3fe4;
  --scam: #d7263d;
  --unclear: #5b6470;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --stencil: "Big Shoulders Stencil Display", "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--concrete);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-3); }

/* ---- top bar ---- */
.bar {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 18px var(--gutter) 0;
  max-width: 1440px; margin: 0 auto;
}
.brand {
  font: 900 26px/1 var(--stencil);
  letter-spacing: .01em;
  text-decoration: none;
}
.bar-links a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.bar-links a:hover { color: var(--ink); text-decoration: underline; }

main { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter) 80px; }

/* ---- home ---- */
.hero-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); }
.hero { max-width: 980px; }
.hero h1 {
  margin: 0;
  font: 800 clamp(52px, 9.5vw, 128px)/.88 var(--display);
  letter-spacing: -.01em;
}
.lede { margin: 22px 0 32px; max-width: 58ch; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); }

.ask { display: flex; gap: 0; max-width: 760px; border: 2px solid var(--ink); background: var(--panel); }
.ask input {
  flex: 1; min-width: 0;
  border: 0; background: transparent; padding: 18px 18px;
  font: 400 18px/1.2 var(--mono);
}
.ask input:focus { outline: none; }
.ask:focus-within { box-shadow: 0 0 0 3px var(--hazard); }
.go {
  border: 0; border-left: 2px solid var(--ink);
  background: var(--hazard); color: var(--ink);
  padding: 0 28px;
  font: 800 22px/1 var(--display); letter-spacing: .02em;
}
.go:hover { background: #ffd43b; }
.go:disabled { opacity: .6; cursor: progress; }
.ask-error { margin: 12px 0 0; color: var(--scam); font-weight: 700; }

.recent h2, .how h2 {
  font: 800 34px/1 var(--display);
  margin: 0 0 20px;
}
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.card { display: block; text-decoration: none; background: var(--panel); border: 1px solid var(--rule); }
.card:hover { border-color: var(--ink); }
.card-shot { position: relative; aspect-ratio: 16 / 10; background: var(--concrete-2); overflow: hidden; border-bottom: 1px solid var(--rule); }
.card-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; filter: saturate(.85); }
.card-shot .stamp { font-size: clamp(30px, 3.4vw, 44px); }
.card-body { padding: 12px 14px 14px; }
.card-host { font: 800 22px/1.1 var(--display); margin: 0 0 4px; overflow-wrap: anywhere; }
.card-line { margin: 0; font-size: 15px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-when { margin: 8px 0 0; font-size: 13px; color: var(--ink-3); }
.card-live { color: var(--ink); font-weight: 700; }

.how { margin-top: 88px; max-width: 860px; }
.how-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.how-steps li {
  counter-increment: s; position: relative;
  padding: 16px 0 16px 56px; border-top: 1px solid var(--rule);
  color: var(--ink-2);
}
.how-steps li::before {
  content: counter(s); position: absolute; left: 0; top: 10px;
  font: 900 34px/1 var(--stencil); color: var(--ink);
}
.how-steps b { color: var(--ink); }
.fine { margin-top: 24px; font-size: 15px; color: var(--ink-3); max-width: 62ch; }

/* ---- check page ---- */
.check-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: 28px 0 18px;
}
.target { min-width: 0; }
.host { margin: 0; font: 800 clamp(40px, 6vw, 72px)/.9 var(--display); overflow-wrap: anywhere; }
.url { display: inline-block; margin-top: 8px; font: 400 14px var(--mono); color: var(--ink-2); overflow-wrap: anywhere; }
.head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border: 1px solid var(--ink); background: var(--panel);
  font-size: 14px; font-weight: 700;
}
.pill[data-state="running"]::before, .pill[data-state="starting"]::before, .pill[data-state="queued"]::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--scam);
  animation: blink 1.2s steps(2, start) infinite;
}
.btn-quiet { border: 1px solid var(--rule); background: transparent; padding: 6px 12px; font-size: 14px; }
.btn-quiet:hover { border-color: var(--ink); background: var(--panel); }

.stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: 22px; align-items: start; }
@media (max-width: 980px) { .stage { grid-template-columns: 1fr; } }

.screen { margin: 0; background: var(--ink); border: 2px solid var(--ink); }
.tape {
  display: flex; align-items: center; gap: 16px;
  padding: 6px 12px;
  background: repeating-linear-gradient(-45deg, var(--hazard) 0 14px, var(--ink) 14px 28px);
  background-size: 40px 40px;
  animation: tape 1.6s linear infinite;
  font-size: 13px; font-weight: 700;
}
.tape > span { background: var(--hazard); padding: 1px 8px; color: var(--ink); }
.tape-live::before { content: "● "; color: var(--scam); }
.tape-time { margin-left: auto; font-variant-numeric: tabular-nums; }
.screen-inner { position: relative; aspect-ratio: 16 / 10; background: #24272c; overflow: hidden; }
.vnc, .still { position: absolute; inset: 0; width: 100%; height: 100%; }
.vnc > div { background: transparent !important; }
.vnc canvas { cursor: default !important; }
.still { object-fit: cover; object-position: top; }
.screen-wait {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #c9ccd1; font-size: 15px; text-align: center; padding: 20px;
}
.screen-wait p { margin: 0; }
.screen-cap {
  padding: 7px 12px; background: var(--ink); color: #c9ccd1;
  font: 400 13px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.screen-cap:empty { display: none; }

/* the stamp: the one loud thing */
.stamp {
  position: absolute; left: 50%; top: 46%;
  transform: translate(-50%, -50%) rotate(-7deg);
  padding: .08em .32em .02em;
  border: .09em solid currentColor; border-radius: .08em;
  font: 900 clamp(56px, 10vw, 132px)/1 var(--stencil);
  letter-spacing: .02em; white-space: nowrap;
  color: var(--stamp, var(--unclear));
  background: rgba(251, 251, 250, .92);
  box-shadow: 0 3px 0 rgba(0, 0, 0, .25), 0 0 0 4px rgba(251, 251, 250, .35);
  pointer-events: none;
}
.stamp.small { font-size: clamp(30px, 3.4vw, 44px); }
.stamp.slam { animation: slam .42s cubic-bezier(.2, 1.4, .4, 1) both; }
[data-verdict="REAL"] { --stamp: var(--real); }
[data-verdict="PARTLY REAL"] { --stamp: var(--partly); }
[data-verdict="LARP"] { --stamp: var(--larp); }
[data-verdict="SCAM"] { --stamp: var(--scam); }
[data-verdict="UNCLEAR"] { --stamp: var(--unclear); }

/* report */
.report { margin-top: 22px; background: var(--panel); border: 2px solid var(--ink); padding: clamp(18px, 3vw, 32px); }
.report-top { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.report-verdict { font: 900 clamp(40px, 5vw, 60px)/.9 var(--stencil); color: var(--stamp); margin: 0; }
.meter { flex: 1 1 220px; min-width: 200px; padding-top: 6px; }
.meter-track { height: 12px; border: 2px solid var(--ink); background: repeating-linear-gradient(90deg, transparent 0 9.6%, var(--rule) 9.6% 10%); position: relative; }
.meter-fill { position: absolute; inset: 0 auto 0 0; background: var(--stamp); }
.meter-label { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }
.report h2 { font: 800 clamp(26px, 3vw, 34px)/1.05 var(--display); margin: 18px 0 8px; max-width: 30ch; }
.report-summary { margin: 0; max-width: 68ch; color: var(--ink-2); }
.findings { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 2px; }
.finding { display: grid; grid-template-columns: 34px 1fr; gap: 0 12px; padding: 12px 0; border-top: 1px solid var(--rule); }
.finding-mark {
  width: 28px; height: 28px; display: grid; place-items: center;
  font: 900 18px/1 var(--display); color: var(--panel); background: var(--ink-3);
}
.finding[data-kind="works"] .finding-mark { background: var(--real); }
.finding[data-kind="missing"] .finding-mark { background: var(--ink-3); }
.finding[data-kind="risk"] .finding-mark { background: var(--scam); }
.finding[data-kind="info"] .finding-mark { background: #2f6db5; }
.finding h3 { margin: 2px 0 2px; font-size: 17px; }
.finding p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.evidence { display: block; margin-top: 6px; font: 400 12.5px/1.5 var(--mono); color: var(--ink-3); overflow-wrap: anywhere; }
.evidence a { color: var(--ink-2); }
.watch { margin: 18px 0 0; padding: 12px 14px; background: var(--concrete); font-size: 15px; }
.report-foot { margin: 18px 0 0; font-size: 13.5px; color: var(--ink-3); }
.report.error h2 { color: var(--scam); }

/* log */
.log-col { background: var(--panel); border: 1px solid var(--rule); position: sticky; top: 12px; max-height: calc(100vh - 24px); display: flex; flex-direction: column; }
@media (max-width: 980px) { .log-col { position: static; max-height: none; } }
.log-h { margin: 0; padding: 14px 16px 10px; font: 800 22px/1 var(--display); border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.log-meta { font: 400 13px var(--body); color: var(--ink-3); }
.log { list-style: none; margin: 0; padding: 6px 0 10px; overflow-y: auto; flex: 1; }
.log li { padding: 0 16px; }
.say { margin: 10px 0 6px; font-size: 16px; color: var(--ink); }
.say.typing::after { content: "▍"; animation: blink 1s steps(2, start) infinite; color: var(--ink-3); }
.thinking { margin: 4px 0; font-size: 14px; color: var(--ink-3); font-style: italic; }
.note { margin: 6px 0; font-size: 14px; color: var(--partly); }
.step { margin: 2px 0; }
.step > button {
  width: 100%; display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; align-items: baseline;
  border: 0; background: none; padding: 5px 0; text-align: left; font-size: 15px;
}
.step > button:hover .step-title { text-decoration: underline; }
.step-icon { font: 700 13px/1 var(--mono); color: var(--ink-3); }
.step[data-state="ok"] .step-icon { color: var(--real); }
.step[data-state="fail"] .step-icon { color: var(--scam); }
.step[data-state="run"] .step-icon { animation: blink .9s steps(2, start) infinite; color: var(--ink); }
.step-title { color: var(--ink-2); overflow-wrap: anywhere; }
.step[data-by="larpcheck"] .step-title { color: var(--ink); font-weight: 700; }
.step-ms { font: 400 12px var(--mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.step-detail { margin: 2px 0 10px 26px; }
.step-detail pre {
  margin: 0 0 6px; padding: 8px 10px; background: #1e2125; color: #e4e6e9;
  font: 400 12px/1.5 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 320px; overflow: auto;
}
.step-detail pre.cmd { background: var(--concrete); color: var(--ink); }
.step-thumb { display: block; margin: 4px 0 8px 26px; width: calc(100% - 26px); max-width: 320px; border: 1px solid var(--rule); }
.step-thumb img { display: block; width: 100%; }

@keyframes blink { 50% { opacity: 0; } }
@keyframes tape { to { background-position: 40px 0; } }
@keyframes slam {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(1.8); }
  70% { opacity: 1; transform: translate(-50%, -50%) rotate(-6deg) scale(.96); }
  100% { opacity: 1; transform: translate(-50%, -50%) rotate(-7deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .tape, .stamp.slam, .say.typing::after, .step[data-state="run"] .step-icon, .pill::before { animation: none !important; }
}

/* ---- account strip ---- */
.bar { flex-wrap: wrap; gap: 10px 24px; }
.bar-links { display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.acct { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.acct:empty { display: none; }
.acct-credits { color: var(--ink); font-weight: 700; }
.acct-wallet { font: 400 13px var(--mono); color: var(--ink-2); }
.linkish { border: 0; background: none; padding: 0; font-size: 14px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.acct-wallet .linkish { font: 400 13px var(--body); color: var(--ink-3); }
.acct-buy { border: 1px solid var(--ink); background: var(--hazard); padding: 5px 11px; font-size: 14px; font-weight: 700; }
.acct-buy:hover { background: #ffd43b; }

/* ---- dialog ---- */
.dlg { width: min(460px, calc(100vw - 32px)); border: 2px solid var(--ink); padding: 24px 24px 22px; background: var(--panel); color: var(--ink); }
.dlg::backdrop { background: rgba(21, 23, 26, .55); }
.dlg h2 { margin: 0 32px 12px 0; font: 800 30px/1 var(--display); }
.dlg p { margin: 0 0 12px; color: var(--ink-2); font-size: 16px; }
.dlg .dlg-lede { color: var(--ink); font-size: 17px; }
.dlg-x { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--ink-3); }
.dlg-x:hover { color: var(--ink); }
.dlg-status { color: var(--ink); }
.dlg-status.bad { color: var(--scam); font-weight: 700; }
.dlg-status.good { color: var(--real); font-weight: 700; font-size: 18px; }
.dlg-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.btn-solid, .btn-line { display: inline-block; padding: 11px 18px; border: 2px solid var(--ink); font: 800 19px/1 var(--display); text-decoration: none; color: var(--ink); }
.btn-solid { background: var(--hazard); }
.btn-solid:hover { background: #ffd43b; }
.btn-solid:disabled { opacity: .7; cursor: progress; }
.btn-line { background: transparent; }
.wallet-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.wallet-list button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--rule); background: var(--panel); font-size: 16px; text-align: left; }
.wallet-list button:hover { border-color: var(--ink); }
.wallet-list img { width: 28px; height: 28px; }

/* ---- hero specimen: the latest stamped verdict ---- */
.specimen { display: block; text-decoration: none; color: var(--ink); }
.specimen-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border: 2px solid var(--ink); background: var(--ink); transform: rotate(1.2deg); }
.specimen-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.specimen-shot .stamp { font-size: clamp(40px, 4.6vw, 76px); }
.specimen-cap { margin: 18px 0 0; max-width: 46ch; font-size: 15px; color: var(--ink-2); }
.specimen-cap b { font: 800 20px/1 var(--display); color: var(--ink); margin-right: 4px; }
.specimen:hover .specimen-cap b { text-decoration: underline; }
@media (min-width: 1100px) {
  .hero-wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .hero h1 { font-size: clamp(64px, 7.2vw, 112px); }
}
@media (max-width: 1099px) { .specimen { display: none; } }

/* ---- phone header: brand, then the account strip on one line ---- */
@media (max-width: 640px) {
  .bar { align-items: center; }
  .bar-links { width: 100%; justify-content: flex-start; }
  .bar-links > a { display: none; }
  .acct { gap: 12px; row-gap: 8px; }
}
