@font-face {
  font-family: Geist;
  src: url("/fonts/geist.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}
@font-face {
  font-family: GeistMono;
  src: url("/fonts/geist-mono.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}
:root {
  color-scheme: dark;
  --bg: #121218;
  --panel: #17171f;
  --inset: #0d0d12;
  --line: rgba(255, 255, 255, 0.1);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.62);
  --tick: rgba(255, 255, 255, 0.4);
  --signal: #aebce5;
  --low: #5fe0ac;
  --medium: #e8c36a;
  --high: #f59e5b;
  --critical: #ff6072;
  font-family: Geist, Arial, sans-serif;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  color: var(--signal);
}
button,
input {
  font: inherit;
}
button,
a,
input,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}
p {
  margin: 0 0 16px;
  line-height: 1.5;
}
h1 {
  font-size: 2.625rem;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}
h2 {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 16px;
}
h3 {
  font-size: 1.125rem;
  font-weight: 500;
}
.shell {
  max-width: 752px;
  margin: auto;
  min-height: 100vh;
  border-inline: 1px solid var(--line);
  padding: 0 48px;
}
header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 16px;
  margin-bottom: 40px;
}
.brand {
  font-family: GeistMono, monospace;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-link {
  font-size: 0.875rem;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}
main {
  font-size: 1.125rem;
}
.lede {
  color: var(--muted);
  margin-bottom: 16px;
}
.assure {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  padding: 24px 0 0;
  margin: 0 0 32px;
}
.assure li {
  min-width: 0;
}
.assure .pix {
  width: 21px;
  height: 21px;
  margin: 0 0 12px;
  image-rendering: pixelated;
}
.assure strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}
.assure a {
  text-decoration-color: var(--tick);
}
form {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 28px 24px 24px;
}
.step {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.step .group:last-child {
  margin-bottom: 0;
}
.step-label.sys {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  line-height: 1.5;
  font-family: Geist, Arial, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  color: var(--signal);
  font-family: GeistMono, monospace;
  font-size: 0.75rem;
  letter-spacing: 0;
}
.example {
  margin: -4px 0 12px;
  min-height: 0;
}
.notice {
  border: 1px solid var(--medium);
  border-left: 3px solid var(--medium);
  padding: 14px 16px;
  font-size: 0.875rem;
  line-height: 1.45;
  margin: 0 0 28px;
}
.notice strong {
  font-weight: 500;
  color: var(--medium);
}
.notice p {
  margin: 6px 0 0;
}
.notice button {
  color: var(--text);
  background: none;
  border: 0;
  text-decoration: underline;
  padding: 8px 0;
  min-height: 44px;
}
.group {
  margin: 0 0 28px;
}
.sys {
  font-family: GeistMono, monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.field-label {
  display: block;
  margin-bottom: 10px;
}
.amount-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #76767b;
  background: var(--inset);
  border-radius: 2px;
}
.amount-wrap:focus-within {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}
.amount-wrap input {
  min-width: 0;
  width: 100%;
  height: 56px;
  background: none;
  color: var(--text);
  border: 0;
  padding: 14px 16px;
  font-family: GeistMono, monospace;
  font-size: 1.125rem;
  outline: none;
}
.amount-wrap input:focus-visible {
  outline: none;
}
.amount-wrap span {
  font-family: GeistMono, monospace;
  color: var(--muted);
  font-size: 0.875rem;
  padding-right: 16px;
}
.amount-wrap:has([aria-invalid="true"]) {
  border-color: var(--critical);
}
.hint,
.error {
  font-size: 0.875rem;
  margin: 8px 0 0;
  line-height: 1.45;
}
.hint {
  color: var(--muted);
  min-height: 20px;
}
fieldset .hint {
  margin-top: 0;
  margin-bottom: 12px;
  min-height: 0;
}
.error {
  color: var(--critical);
}
fieldset {
  padding: 0;
  border: 0;
  min-width: 0;
}
legend {
  padding: 0;
  margin-bottom: 12px;
  line-height: 1.5;
  font-size: 1rem;
}
.choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.choice {
  position: relative;
}
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid #76767b;
  border-radius: 2px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color 120ms;
}
.choice input:checked + span {
  color: var(--text);
  font-weight: 500;
  border-color: var(--signal);
  box-shadow: inset 0 0 0 1px var(--signal);
  background: rgba(174, 188, 229, 0.22);
}
.choice input:checked + span::before {
  content: "";
  width: 9px;
  height: 5px;
  margin-right: 8px;
  border-left: 1.5px solid var(--signal);
  border-bottom: 1.5px solid var(--signal);
  transform: translateY(-2px) rotate(-45deg);
}
.choice input:focus-visible + span {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}
.choice:hover input:not(:checked) + span {
  border-color: var(--muted);
}
.primary,
.secondary {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--signal);
  border-radius: 2px;
  font-family: GeistMono, monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.primary {
  min-height: 52px;
  background: var(--signal);
  color: var(--inset);
  font-size: 0.875rem;
  font-weight: 600;

}
.primary:hover {
  background: #c2cceb;
}
.primary:active {
  background: #98a6d0;
}
.secondary {
  background: none;
  color: var(--text);
  border-color: #76767b;
}
.secondary:hover {
  border-color: var(--text);
}
.busy-cells {
  display: none;
  margin-left: 12px;
  letter-spacing: 4px;
}
.busy .busy-cells {
  display: inline;
  animation: blink 0.6s steps(2) infinite;
}
@keyframes blink {
  50% {
    opacity: 0.3;
  }
}
.result {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
  margin-top: 32px;
  scroll-margin-top: 24px;
  --band: var(--low);
}
.result::before,
.result::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--tick);
  border-style: solid;
  pointer-events: none;
}
.result::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}
.result::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 1px 1px 0;
}
.result-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.result-top h2 {
  margin: 0;
  font-size: 0.8125rem;
}
#result-heading:focus {
  outline: none;
}
.crowd-caption {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: -16px 0 24px;
}
.verdict {
  font-size: 1.125rem;
}
.matches {
  border-top: 2px solid var(--band);
  background: var(--inset);
  margin: 24px 0;
  padding: 20px;
}
.matches h3 {
  font-size: 1.0625rem;
  line-height: 1.4;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}
.matches .match-context {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}
.matches .hint {
  font-size: 0.75rem;
  margin: 8px 0 0;
}
.match-leg {
  display: block;
  line-height: 1.6;
  white-space: nowrap;
}
.match-plus {
  color: var(--muted);
}
.band {
  color: var(--band);
}
.score {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}
.score-value {
  font-size: 4.5rem;
  line-height: 1;
  font-family: GeistMono, monospace;
}
.score-max {
  font-size: 0.875rem;
  color: var(--muted);
  font-family: GeistMono, monospace;
}
.meter {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
  height: 6px;
}
.meter i {
  background: var(--line);
}
.meter i.on {
  background: var(--band);
}
#crowd {
  display: block;
  width: 100%;
  height: 64px;
  margin: 16px 0 24px;
}
.result-copy p {
  margin-bottom: 16px;
}
.result[data-band="Medium"] {
  --band: var(--medium);
}
.result[data-band="High"] {
  --band: var(--high);
}
.result[data-band="Critical"] {
  --band: var(--critical);
}
.result table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  margin: 20px 0 16px;
}
.result th {
  font-weight: 400;
  color: var(--muted);
  text-align: left;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.result td {
  padding: 14px 0;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.result td:first-child {
  font-family: GeistMono, monospace;
  padding-right: 16px;
}
.result td:last-child,
.result th:last-child {
  text-align: right;
  white-space: nowrap;
}
.result .table-label {
  font-size: 0.875rem;
  font-weight: 500;
  margin: 20px 0 0;
}
.safer {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--inset);
  margin-top: 24px;
}
.safer > p:first-child {
  font-weight: 500;
}
.safer .hint {
  margin-top: 12px;
}
.result-note {
  font-size: 0.875rem;
  color: var(--muted);
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.result-note p {
  margin: 0;
}
.uncertain {
  font-size: 0.875rem;
  color: var(--muted);
}
footer {
  margin-top: 32px;
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
footer p {
  margin: 0;
}
.progress {
  height: 2px;
  background: var(--signal);
  transform-origin: left;
  animation: loading 1.6s ease-in-out infinite;
  margin-top: -41px;
  margin-bottom: 39px;
}
@keyframes loading {
  0% {
    transform: scaleX(0.05);
  }
  70% {
    transform: scaleX(0.85);
  }
  100% {
    transform: scaleX(0.95);
  }
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.reading section {
  margin: 40px 0;
  scroll-margin-top: 24px;
}
.reading .eyebrow {
  font-size: 0.75rem;
  color: var(--signal);
  margin-bottom: 16px;
}
.reading .lede {
  font-size: 1.125rem;
  line-height: 1.65;
}
.contents {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  padding: 12px 0;
  border-block: 1px solid var(--line);
  margin: 28px 0 40px;
  font-size: 0.875rem;
}
.contents a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.reading .privacy-lead {
  color: var(--text);
}
#disclaimer {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.reading h2 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
.reading p,
.reading li {
  font-size: 1rem;
  color: var(--muted);
}
.reading ul,
.reading ol {
  padding-left: 22px;
  line-height: 1.5;
}
.reading li {
  margin-bottom: 12px;
}
.bands {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.bands th,
.bands td {
  padding: 12px 8px 12px 0;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.bands th {
  font-weight: 500;
}
.bands td {
  color: var(--muted);
}
details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
summary {
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5;
  min-height: 44px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
summary::before {
  content: "▸";
  color: var(--muted);
}
details[open] summary::before {
  transform: rotate(90deg);
}
details p {
  margin: 12px 0 0;
}
.not-found {
  padding: 40px 0 80px;
}
.scan-label {
  font-size: 0.875rem;
  color: var(--muted);
}
@media (max-width: 750px) {
  .shell {
    border: 0;
    padding: 0 24px;
  }
}
@media (max-width: 639px) {
  .shell {
    padding: 0 16px;
  }
  header {
    min-height: 72px;
    margin-bottom: 32px;
  }
  .brand {
    font-size: 1.125rem;
  }
  h1 {
    font-size: 2rem;
  }
  .contents {
    column-gap: 16px;
  }
  .assure {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 0;
  }
  .assure li {
    display: grid;
    grid-template-columns: 21px 1fr;
    gap: 14px;
    align-items: start;
  }
  .assure .pix {
    margin: 2px 0 0;
  }
  .matches {
    padding: 16px 12px;
    margin-inline: -4px;
  }
  .result table {
    font-size: 0.75rem;
  }
  .result td:first-child {
    padding-right: 8px;
  }
  .step-label.sys {
    font-size: 0.875rem;
  }
  main {
    font-size: 1.0625rem;
  }
  .lede {
    margin-bottom: 24px;
  }
  .sys,
  .primary,
  .secondary,
  .result-top h2 {
    font-size: 0.75rem;
  }
  .result {
    padding: 20px 16px;
  }
  .score-value {
    font-size: 3.5rem;
  }
  .notice {
    padding: 12px;
  }
  .progress {
    margin-top: -33px;
    margin-bottom: 31px;
  }
  .group {
    margin-bottom: 24px;
  }
  form {
    padding: 20px 16px 16px;
  }
  .choice input:checked + span::before {
    margin-right: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.hint,
.error,
.result-note {
  overflow-wrap: anywhere;
}
