@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --ink: #000000;
  --ink-soft: #3d3d3d;
  --rule: #000000;
  --hl: #f2c200;          /* highlighter: marks what Dingo found */
  --critical: #c8102e;
  --high: #d9570b;
  --medium: #8a6400;
  --low: #55606b;
  --pass: #2e7a4e;
  --wash: #f4f4f2;
  --focus: #1a5fd0;
  --measure: 68ch;
  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-stretch: 100%;
}
a { color: inherit; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.visually-hidden, .sprite {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .5rem 1rem; }
.skip:focus { left: 1rem; z-index: 10; }

/* ------------------------------------------------------------ chrome */
.top, main, .foot { max-width: 1180px; margin: 0 auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1.1rem;
}
.wordmark {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 850; font-stretch: 112%; font-size: 1.25rem; text-decoration: none; letter-spacing: -0.01em;
}
.paw { width: 1.3rem; height: 1.3rem; fill: currentColor; }
.top nav { display: flex; gap: 1.25rem; font-size: .95rem; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; }
.foot {
  margin-top: 5rem; padding-block: 0 3rem; font-size: .9rem; color: var(--ink-soft);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem clamp(1.5rem, 4vw, 4rem);
}
.foot::before { content: ""; grid-column: 1 / -1; border-top: 5px solid var(--ink); margin-bottom: 1rem; }
.foot p { margin: .25rem 0; max-width: 46ch; }
.foot-name { color: var(--ink); font-weight: 850; font-stretch: 110%; font-size: 1.05rem; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-content: start; }
.foot-links a { color: var(--ink); font-weight: 600; }
.foot-credits { grid-column: 1 / -1; font-size: .8rem; margin-top: 1rem !important; max-width: none !important; }

/* ------------------------------------------------------------ home */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
  padding-block: clamp(2rem, 6vw, 4.5rem) 3rem;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.9rem, 7.6vw, 6.1rem);
  line-height: .92;
  font-weight: 900;
  font-stretch: 72%;
  letter-spacing: -0.015em;
  max-width: 11ch;
}
.descriptor { font-size: 1.25rem; margin: 1.25rem 0 2rem; max-width: 34ch; color: var(--ink-soft); }

.scan-form { max-width: 36rem; }
.field { display: flex; border: 3px solid var(--ink); background: var(--paper); }
.field:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.field input {
  flex: 1; min-width: 0; border: 0; padding: .95rem 1rem; font: inherit; font-size: 1.2rem; background: transparent;
}
.field input:focus { outline: none; }
.field button, .btn {
  border: 0; background: var(--ink); color: var(--paper); font: inherit; font-weight: 800; font-stretch: 110%;
  font-size: 1.1rem; padding: 0 1.5rem; cursor: pointer;
}
.field button:hover, .btn:hover { background: #2b2b2b; }
.field button:disabled { opacity: .6; cursor: progress; }
.turnstile { margin-top: .6rem; }
.form-error {
  margin: .75rem 0 0; padding: .6rem .8rem; border-left: 4px solid var(--critical); background: #fbeaec;
  font-weight: 600;
}
.fine { font-size: .875rem; color: var(--ink-soft); margin: .75rem 0 0; max-width: 46ch; }

.hero-sample { margin: 0; }
.report h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; font-stretch: 80%; margin: 0 0 1.5rem; line-height: 1.05;
}

/* Three questions: rows that mirror the report's own findings. */
.questions, .rules { padding-block: 3.5rem 1rem; }
.questions > h2, .rules > h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; font-stretch: 76%; line-height: 1;
  margin: 0; padding-bottom: .6rem; border-bottom: 10px solid var(--ink);
}
.q {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem clamp(1.5rem, 4vw, 4rem);
  padding-block: 1.75rem; border-bottom: 1px solid var(--ink);
}
.q h3 { margin: 0; font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 850; font-stretch: 78%; line-height: 1.08; max-width: 16ch; }
.q-body p { margin: 0 0 1rem; color: var(--ink-soft); max-width: 62ch; }
.finding.example { border: 0; padding: 0; }
.finding.example h4 { margin: 0; font-size: 1.02rem; font-weight: 800; line-height: 1.35; }

/* Rules: a plain definition table. */
.rules dl { margin: 0; }
.rules dl > div {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: .25rem clamp(1.5rem, 4vw, 4rem);
  padding-block: .9rem; border-bottom: 1px solid #cfcfcf;
}
.rules dt { font-weight: 800; }
.rules dd { margin: 0; color: var(--ink-soft); max-width: 62ch; }
.rules dd a { color: var(--ink); white-space: nowrap; }

/* ------------------------------------------------------------ the label */
.label {
  border: 2px solid var(--ink); padding: .6rem .8rem .8rem; background: var(--paper);
  font-stretch: 88%; line-height: 1.25; max-width: 25rem;
}
.lb-title { margin: 0; font-size: 2.6rem; font-weight: 900; font-stretch: 66%; line-height: 1; letter-spacing: -0.01em; }
.lb-sub { margin: .25rem 0 .35rem; font-size: .9rem; overflow-wrap: anywhere; }
.lb-rule-xl { height: 10px; background: var(--rule); margin: .35rem 0; }
.lb-rule-m { height: 5px; background: var(--rule); margin: .35rem 0; }
.lb-row {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  border-top: 1px solid var(--rule); padding: .22rem 0; font-size: .95rem;
}
.lb-rule-xl + .lb-row, .lb-rule-m + .lb-row { border-top: 0; }
.lb-indent { padding-left: 1rem; }
.lb-head { font-size: .8rem; font-weight: 700; }
.lb-grade { align-items: center; }
.lb-grade span { font-size: 1.4rem; font-weight: 900; font-stretch: 70%; }
.lb-grade strong { font-size: 3.4rem; font-weight: 900; font-stretch: 62%; line-height: .9; }
.lb-foot { margin: .4rem 0 0; font-size: .78rem; }
.hl { background: var(--hl); padding: 0 .3rem; }
.g-A, .g-B { color: var(--pass); }
.g-C { color: var(--medium); }
.g-D { color: var(--high); }
.g-F { color: var(--critical); }
.g-none { color: var(--low); }

/* ------------------------------------------------------------ scanning */
.scanning { padding-block: clamp(3rem, 10vw, 7rem); max-width: 46rem; }
.trail { width: min(320px, 80vw); height: 40px; fill: var(--ink); }
.trail use { opacity: .12; animation: step 2.1s infinite; }
.trail use:nth-child(2) { animation-delay: .3s; }
.trail use:nth-child(3) { animation-delay: .6s; }
.trail use:nth-child(4) { animation-delay: .9s; }
.trail use:nth-child(5) { animation-delay: 1.2s; }
.trail use:nth-child(6) { animation-delay: 1.5s; }
.trail use:nth-child(7) { animation-delay: 1.8s; }
@keyframes step { 0%, 100% { opacity: .12; } 15% { opacity: 1; } 45% { opacity: .12; } }
.sniff-title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; font-stretch: 74%; line-height: 1; margin: 1.5rem 0 .75rem; overflow-wrap: anywhere; }
.sniff-time { color: var(--ink-soft); margin: 0 0 1.5rem; }
.sniff-list { margin: 0; padding-left: 1.2rem; color: var(--ink-soft); }
.sniff-list li { padding: .15rem 0; }

/* ------------------------------------------------------------ report */
.report { padding-top: 1.5rem; }
.report-head { margin-bottom: 2rem; }
.report-head h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.8rem); font-weight: 900; font-stretch: 72%; line-height: 1; margin: 0 0 .5rem;
  overflow-wrap: anywhere;
}
.report-head p { margin: 0; color: var(--ink-soft); }
.report-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.btn-ghost {
  border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font: inherit; font-weight: 700;
  padding: .45rem .9rem; cursor: pointer; text-decoration: none; display: inline-block;
}
.btn-ghost:hover { background: var(--wash); }
.btn { padding: .55rem 1.1rem; }

.report-grid { display: grid; grid-template-columns: 22rem minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.report-grid .label { position: sticky; top: 1rem; }
.pillar { margin-bottom: 2.75rem; }
.pillar > h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 5px solid var(--ink); padding-bottom: .3rem; margin-bottom: 0; }
.pillar > h2 small { font-size: .95rem; font-weight: 600; font-stretch: 100%; }

.finding { border-bottom: 1px solid #cfcfcf; padding: 1rem 0; }
.finding-top { display: flex; gap: .8rem; align-items: baseline; }
.sev {
  flex: none; font-size: .78rem; font-weight: 800; font-stretch: 90%; padding: .1rem .45rem; border: 2px solid currentColor;
  min-width: 5.2rem; text-align: center;
}
.sev-critical { color: var(--critical); }
.sev-high { color: var(--high); }
.sev-medium { color: var(--medium); }
.sev-low { color: var(--low); }
.sev-pass { color: var(--pass); }
.sev-info { color: var(--low); border-style: dashed; }
.finding h3 { margin: 0; font-size: 1.08rem; font-weight: 700; line-height: 1.35; }
.finding.is-fail h3 { font-weight: 800; }
.finding-body { margin: .5rem 0 0 6rem; max-width: var(--measure); }
.finding-body p { margin: .3rem 0; color: var(--ink-soft); }
.finding-body .fix { color: var(--ink); }
.finding-body .fix b { font-weight: 800; }
.evidence { margin: .4rem 0 0; padding-left: 1.1rem; font-size: .92rem; overflow-wrap: anywhere; }
.hidden-note { background: var(--hl); color: var(--ink); padding: .15rem .4rem; font-weight: 600; display: inline; }
details.passes { margin-top: .5rem; }
details.passes summary { cursor: pointer; font-weight: 700; padding: .6rem 0; }

.status-box { border: 3px solid var(--ink); padding: 1.2rem 1.4rem; max-width: 44rem; margin-bottom: 2rem; }
.status-box h2 { margin-top: 0; }
.status-box.is-warn { border-color: var(--medium); }

.verify { border: 2px solid var(--ink); padding: 1.1rem 1.25rem; margin: 1.5rem 0 0; max-width: 48rem; }
.verify h2 { font-size: 1.35rem; font-stretch: 90%; margin: 0 0 .6rem; }
.explain { border-block: 1px solid var(--ink); padding: 1rem 0 1.1rem; margin: 0 0 2.5rem; }
.explain h2 { font-size: 1.15rem; font-weight: 800; font-stretch: 100%; margin: 0 0 .6rem; }
.report-links { display: inline-flex; flex-wrap: wrap; gap: .4rem 1.25rem; align-items: center; margin-left: .5rem; font-size: .95rem; }
.explain-controls { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.explain select { font: inherit; padding: .45rem .5rem; border: 2px solid var(--ink); background: var(--paper); }
.explain-out { margin-top: 1rem; max-width: var(--measure); }
.explain-out p { margin: .4rem 0; }
.explain-out ul { margin: .4rem 0; padding-left: 1.2rem; }
.muted { color: var(--ink-soft); font-size: .9rem; }
.verify code, .verify .code {
  display: block; background: var(--wash); padding: .55rem .7rem; margin: .3rem 0 .8rem; overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88rem;
}
.verify ol { padding-left: 1.2rem; }
.revealed { background: var(--hl); padding: .6rem .8rem; margin-top: .8rem; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-sample { max-width: 25rem; }
  .q, .rules dl > div, .foot { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: 1fr; }
  .report-grid .label { position: static; }
}
@media (max-width: 560px) {
  .top nav { gap: .9rem; font-size: .88rem; }
  .top nav a:first-child { display: none; }
  .field { flex-direction: column; }
  .field button { padding: .9rem; }
  .finding-top { flex-direction: column; gap: .35rem; }
  .finding-body { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .trail use { animation: none; opacity: .6; }
}

details.more summary { cursor: pointer; font-size: .92rem; margin: .3rem 0 0 1.1rem; }

/* ------------------------------------------------------------ text pages (/bot, /privacy) */
.doc { max-width: 1180px; padding-top: 1.5rem; }
.doc > * { max-width: var(--measure); }
.doc h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 900; font-stretch: 72%; line-height: .95; margin: 1rem 0 1rem; }
.doc h2 { font-size: 1.5rem; font-weight: 850; font-stretch: 85%; margin: 2.25rem 0 .5rem; }
.doc .lede { font-size: 1.2rem; color: var(--ink-soft); }
.doc ul { padding-left: 1.2rem; }
.doc li { margin: .3rem 0; }
.doc code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--wash); padding: 0 .25rem; }
.doc p.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92rem; background: var(--wash); padding: .6rem .8rem; overflow-wrap: anywhere; }
.doc .scan-form { margin-top: 1rem; }
.doc .verify { margin-top: 1.25rem; }

/* ------------------------------------------------------------ contact form */
.contact-form { display: grid; gap: .35rem; max-width: 36rem; margin-top: 1.5rem; }
.contact-form label { font-weight: 700; margin-top: .8rem; }
.contact-form .opt { font-weight: 400; color: var(--ink-soft); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; padding: .7rem .8rem; border: 2px solid var(--ink); background: var(--paper); width: 100%;
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { justify-self: start; padding: .8rem 1.4rem; margin-top: .4rem; }
.contact-form .fine { margin-top: 0; }
.contact-form [role="status"] { margin-top: .6rem; padding: .6rem .8rem; }

/* Common questions: plain expandable rows in the same table rhythm as the rules. */
.faq { padding-block: 3.5rem 1rem; }
.faq > h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; font-stretch: 76%; line-height: 1;
  margin: 0; padding-bottom: .6rem; border-bottom: 10px solid var(--ink);
}
.faq details { border-bottom: 1px solid #cfcfcf; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; font-weight: 800; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .9rem; font-weight: 900; }
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.faq details p { margin: 0 0 1.1rem; color: var(--ink-soft); max-width: 62ch; }
