@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@500;600&display=swap");

:root {
  --paper: #f9f9f7;
  --ink: #121316;
  --muted: #5b5f68;
  --line: #dcdcd6;
  --blue: #0559fd;
  --good: #0c9d58;
  --mid: #f2a600;
  --bad: #e5443a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Geist, system-ui, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--paper);
}

.app { max-width: 1120px; margin: 0 auto; padding: 40px 20px 56px; }

.kicker { font: 500 12px "Geist Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin: 0; }
h1 { font-size: clamp(30px, 4.6vw, 50px); letter-spacing: -.03em; margin: 8px 0 10px; max-width: 820px; }
.lede { max-width: 700px; color: var(--muted); line-height: 1.6; margin: 0 0 24px; }

.verdict {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--ink); color: #fff; padding: 16px 20px; margin-bottom: 24px;
  box-shadow: 8px 8px 0 var(--blue);
  font-weight: 600;
}
.verdict .pill { font: 600 13px "Geist Mono", monospace; padding: 6px 10px; text-transform: uppercase; letter-spacing: .06em; }
.verdict .pill.pass { background: var(--good); }
.verdict .pill.fail { background: var(--bad); }
.verdict span:last-child { font-weight: 400; color: #c9cbd1; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .cards { grid-template-columns: minmax(0, 1fr); } }

.card {
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  padding: 20px;
  display: flex; flex-direction: column;
}
.card h2 { font: 600 24px "Geist Mono", monospace; margin: 0; }
.card header p { color: var(--muted); font-size: 14px; margin: 4px 0 8px; min-height: 40px; line-height: 1.4; }

.gauge { width: 100%; max-width: 260px; margin: 6px auto 0; display: block; }
.gauge .needle { transition: transform .25s cubic-bezier(.3,1.4,.5,1); transform-origin: 100px 100px; }

.value { display: block; text-align: center; font: 600 30px "Geist Mono", monospace; margin: -6px 0 10px; }
.value.good { color: var(--good); }
.value.mid { color: #b37a00; }
.value.bad { color: var(--bad); }

input[type="range"] { width: 100%; accent-color: var(--blue); }
input[type="range"]:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.scale { display: flex; justify-content: space-between; font: 500 12px "Geist Mono", monospace; color: var(--muted); margin: 6px 0 12px; }
.fix { margin: auto 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14px; line-height: 1.5; min-height: 64px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.foot { margin-top: 36px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.foot a { color: var(--blue); font-weight: 600; }
