/*
  Visibility Root design system. One stylesheet, served through Django's
  static pipeline (WhiteNoise, CompressedManifestStaticFilesStorage), self-
  hosting its own fonts - nothing here links to fonts.googleapis.com or any
  other external host.
*/

/* ---------- Fonts (self-hosted, latin subset, woff2 only) ---------- */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400.9212f6f9860f.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500.a09f2fccfee3.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600.72993dddf88a.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-400.b636a65da4f0.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-500.b636a65da4f0.woff2") format("woff2");
}

/* ---------- Design tokens ---------- */

:root {
  --paper:      #F4F1EA;
  --white:      #FFFFFF;
  --ink:        #14110D;
  --ink-2:      #4A443D;
  --ink-3:      #6B6257;
  --rule:       #D5CCBB;
  --rule-soft:  #E5DDCE;
  --tint:       #EFEADF;
  --bar:        #DED6C6;
  --dark:       #1B2B22;
  --dark-2:     #14211A;
  --dark-text:  #CBD6CE;
  --dark-muted: #8FA396;
  --accent:     #B23A17;
  --accent-lt:  #E8845E; /* only on --dark backgrounds; --accent fails contrast there (2.5:1) */
  --radius:     2px;

  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: 120px;
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.66;
}

img { max-width: 100%; display: block; }

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 { font-size: 56px; line-height: 1.08; }
h2 { font-size: 34px; line-height: 1.16; }
h3 { font-size: 22px; line-height: 1.22; }
h4 { font-size: 18px; line-height: 1.22; }

p { margin: 0 0 1.2em; color: var(--ink-2); font-size: 18px; line-height: 1.68; }

a { color: var(--ink); text-decoration-color: var(--rule); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }

/* Machine text: URLs, code, evidence, severity labels, eyebrows - the
   typographic idea the whole system rests on. If it is JetBrains Mono, a
   machine produced or verified it; if it is Poppins, we wrote it. */
.mono, code, pre, .eyebrow, .machine {
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0;
}

.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin: 0 0 1rem;
}

/* ---------- Layout ---------- */

.page {
  padding: 0 var(--gutter);
}

/* Three distinct measures, never one max-width for everything. */
.measure-wide     { max-width: 920px; }
.measure-narrow    { max-width: 620px; }
.measure-medium    { max-width: 760px; }

.section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--rule-soft);
}

.section:first-of-type { border-top: none; }

.section-dark {
  background: var(--dark);
  color: var(--dark-text);
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--white);
}

.section-dark p { color: var(--dark-text); }

.section-dark .eyebrow { color: var(--dark-muted); }

.section-dark .inner { padding: 4.5rem var(--gutter); }

/* ---------- Numbered lists (no card grids, anywhere) ---------- */

.numbered-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.numbered-list > li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--rule-soft);
}

.numbered-list > li:first-child { border-top: none; padding-top: 0; }

/* Numerals hang large and pale in their own column, not read as body
   text - the same "the number is a label, not a sentence" idea as the
   report rail's own numerals (v2 rebuild, 2026-09-23). */
.numbered-list .num {
  font-family: var(--font-mono);
  font-size: 56px;
  line-height: 1;
  color: #DCD4C4;
}

.numbered-list h3, .numbered-list h4 { margin-bottom: 0.5em; }

.numbered-list h3 a, .numbered-list h4 a { text-decoration: none; }
.numbered-list h3 a:hover, .numbered-list h4 a:hover { text-decoration: underline; }

/* ---------- Buttons and inputs ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  text-decoration: none;
  text-align: center;
}

.btn:hover { background: var(--ink-2); border-color: var(--ink-2); }

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn-accent:hover { background: #96300f; border-color: #96300f; }

input[type="text"], input[type="email"], input[type="url"] {
  font-family: var(--font-body);
  font-size: 17px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  min-height: 44px;
}

.section-dark input[type="text"],
.section-dark input[type="email"],
.section-dark input[type="url"] {
  background: var(--dark-2);
  border-color: #33473a;
  color: var(--white);
}

label { display: block; font-size: 14px; color: var(--ink-3); margin-bottom: 0.4rem; }

.section-dark label { color: var(--dark-muted); }

/* Visually-hidden labels: present for every input, never aria-label alone. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.scan-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  max-width: 620px;
}

.scan-form input[type="url"] { flex: 1 1 320px; }

.field-error {
  color: var(--accent);
  font-size: 14px;
  margin: 0.4rem 0 0;
}

/* ---------- Accessibility primitives ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.section-dark :focus-visible {
  outline-color: var(--accent-lt);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Header / nav / footer ---------- */

.site-header {
  padding: 1.75rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.wordmark {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 15px;
  text-decoration: none;
  color: var(--ink-2);
}

.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }

.site-footer {
  background: var(--dark);
  color: var(--dark-text);
  padding: 3.5rem var(--gutter);
}

.site-footer a { color: var(--dark-text); }
.site-footer a:hover { color: var(--white); }

.footer-legal {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--dark-muted);
  line-height: 1.8;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #2a3c31;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

/* ---------- Evidence disclosures ---------- */

.evidence-toggle {
  font-family: var(--font-mono);
  font-size: 14px;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.5rem 0.9rem;
  color: var(--ink-2);
  cursor: pointer;
  min-height: 44px;
}

.evidence-toggle:hover { border-color: var(--ink-3); }

.evidence-body { margin-top: 1rem; }
.evidence-body[hidden] { display: none; }

/* ---------- Evidence tables ---------- */

table.evidence-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--ink);
  font-size: 15px;
}

table.evidence-table th, table.evidence-table td {
  border-bottom: 1px solid var(--rule-soft);
  padding: 0.7rem 0.9rem;
  text-align: left;
  font-family: var(--font-mono);
}

table.evidence-table th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  border-bottom: 1px solid var(--ink);
}

table.evidence-table tr:last-child td { border-bottom: none; }

.evidence-table .cell-accent { color: var(--accent); }

.evidence-table-more td { color: var(--ink-3); font-style: italic; }

.evidence-table-caption {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
  margin: 0 0 0.5rem;
}

/* ---------- Locked fix blocks ---------- */

.locked-fix {
  background: var(--tint);
  border-left: 3px solid var(--rule);
  padding: 1.25rem 1.5rem;
  margin-top: 1.25rem;
}

.locked-fix-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 0.9rem;
}

.locked-fix-bars { display: flex; flex-direction: column; gap: 0.5rem; }

.locked-fix-bar {
  height: 10px;
  background: var(--bar);
  border-radius: var(--radius);
}

.locked-fix-bar.w-90 { width: 90%; }
.locked-fix-bar.w-70 { width: 70%; }
.locked-fix-bar.w-50 { width: 50%; }

/* ---------- Severity chips ---------- */

.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--ink);
  border-radius: 0;
}

/* Filled = the headline finding only; hairline = every other full
   finding; hairline-muted = a MED severity chip on a demoted finding
   (v2 rebuild, 2026-09-23: border and text colours specified directly,
   not reused from the --ink/--rule tokens, since a report chip sits on
   its own rail rather than inline with body copy). */
.chip-filled { background: var(--accent); border-color: var(--accent); color: var(--white); }
.chip-hairline { background: transparent; border-color: #ABA394; color: #4A443D; }
.chip-hairline-muted { background: transparent; border-color: #C4BCAC; color: #6B6257; }

/* ---------- Report letterhead v2 (scan pages, sample report, 2026-09-23) ---------- */

.report-letterhead {
  border-top: 3px solid var(--ink);
  padding-top: 1.75rem;
}

.report-letterhead-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.report-letterhead h1 {
  font-size: 54px;
  font-weight: 600;
  letter-spacing: -0.042em;
  margin-bottom: 0.3em;
}

.report-facts {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-2);
  text-align: right;
  line-height: 1.9;
  white-space: nowrap;
}

.report-facts .issues-count { color: var(--accent); }

.report-letterhead-coverage { margin-top: 2rem; }

.report-lead { font-size: 19px; margin-top: 1.5rem; }

/* ---------- Report findings, full render (top three), v2 ---------- */

.report-findings {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
}

.report-finding {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule-soft);
}

.report-finding:first-child { border-top: none; padding-top: 0; }

.report-finding .num {
  font-family: var(--font-mono);
  font-size: 40px;
  line-height: 1;
  color: #DCD4C4;
}

.report-finding .chip { display: inline-block; margin-top: 14px; }

.report-finding h2 {
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -0.032em;
  margin-top: 1rem;
}

.report-finding .body { font-size: 17px; line-height: 1.68; max-width: 840px; }

/* ---------- "Also found" compact list (findings four and onward), v2 ---------- */

.report-also-found {
  list-style: none;
  margin: 0 0 3rem;
  padding: 0;
  border-bottom: 2px solid var(--ink);
}

.report-also-found li {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--rule-soft);
}

.report-also-found li:first-child { border-top: none; }

.report-also-found .num {
  font-family: var(--font-mono);
  font-size: 15px;
  color: #A9A090;
}

.report-also-found .title { font-size: 19px; font-weight: 500; color: var(--ink); }

.report-also-found .severity {
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: right;
  color: var(--ink-3);
  white-space: nowrap;
}

/* ---------- Split panel (homepage hero, v2 rebuild 2026-09-23) ----------
   Two abstracted views of the same page: a generic CSS wireframe (what a
   visitor sees) beside the machine view (what a non-rendering fetch
   receives). Neither side is a screenshot or an external image - the
   left is a deliberately generic stand-in, never a real company's
   design; the right is built from the same mono/dark language as the
   report's own machine-evidence block below, so the two surfaces read
   as one visual system. */

.split-panel {
  border: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}

.split-panel-half {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.split-panel-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.split-panel-left {
  background: var(--white);
  border-right: 1px solid var(--ink);
}

.split-panel-left .split-panel-label { color: var(--ink-3); }

.split-panel-right {
  background: #0E0F0D;
  color: var(--dark-text);
}

.split-panel-right .split-panel-label { color: var(--dark-muted); }

/* Generic wireframe blocks - CSS only, no image, deliberately abstract. */
.wireframe-nav {
  height: 20px;
  width: 40%;
  background: var(--rule-soft);
  margin-bottom: 1.75rem;
}

.wireframe-heading {
  height: 14px;
  background: var(--rule);
  margin-bottom: 0.6rem;
}

.wireframe-heading.w-70 { width: 70%; }
.wireframe-heading.w-45 { width: 45%; }

.wireframe-text {
  height: 8px;
  background: var(--rule-soft);
  margin-bottom: 0.5rem;
}

.wireframe-text.w-95 { width: 95%; }
.wireframe-text.w-80 { width: 80%; }

.wireframe-image {
  height: 90px;
  background: var(--rule-soft);
  border: 1px solid var(--rule);
  margin: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wireframe-image-icon {
  width: 28px;
  height: 22px;
  border: 2px solid var(--rule);
  border-radius: 2px;
  position: relative;
}

.wireframe-image-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 4px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 8px solid var(--rule);
}

.wireframe-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: auto;
}

.wireframe-card {
  height: 56px;
  background: var(--tint);
  border: 1px solid var(--rule-soft);
}

/* Machine view (right half) - top identity row, a rule, the readable-
   text finding, and a dashed empty region standing in for "nothing
   here". */
.split-panel-machine-top {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 1rem;
}

.split-panel-machine-top .host { color: var(--dark-muted); }
.split-panel-machine-top .status { color: #5E6B61; }

.split-panel-rule {
  border: none;
  border-top: 1px solid #2a3c31;
  margin: 0 0 1.25rem;
}

.split-panel-metric-label {
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark-muted);
  margin-bottom: 0.6rem;
}

.split-panel-metric {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.split-panel-metric-bar {
  width: 3px;
  height: 24px;
  background: var(--accent-lt);
}

.split-panel-metric-value {
  font-size: 24px;
  color: var(--accent-lt);
}

.split-panel-empty {
  flex: 1;
  min-height: 100px;
  border: 1px dashed #33473a;
  background-image: radial-gradient(circle, #2a3c31 1px, transparent 1px);
  background-size: 12px 12px;
  margin-bottom: 1.25rem;
}

.split-panel-note {
  font-size: 13px;
  line-height: 1.6;
  color: #7C8C81;
}

.split-panel-caption {
  color: var(--ink-3);
  max-width: 900px;
  margin-top: 1.5rem;
}

/* ---------- Coverage field (marketing.coverage_field, v2 2026-09-23) ---------- */

.coverage-field { width: 100%; }

.coverage-field-svg { display: block; width: 100%; height: auto; }

.coverage-caption {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 0.75rem;
}

.coverage-caption.upper { text-transform: uppercase; letter-spacing: 0.04em; }

.section-dark .coverage-caption { color: var(--dark-muted); }

/* ---------- Report machine-evidence block (thin-page findings, v2) ----------
   Same visual language as the homepage split panel's right half - a
   dark, mono, machine-shaped surface for the one finding type whose
   evidence IS a machine's own read of a page, rather than a table of
   facts a human stated. */

.machine-evidence {
  background: #0E0F0D;
  padding: 24px 26px;
  margin-top: 1.25rem;
}

.machine-evidence-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5E6B61;
  margin-bottom: 1rem;
}

.machine-evidence-row {
  display: grid;
  grid-template-columns: 360px 70px 1fr;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 13.5px;
  padding: 0.5rem 0;
  border-top: 1px solid #2a3c31;
}

.machine-evidence-row:first-of-type { border-top: none; }

.machine-evidence-row .url { color: #C9D4CC; overflow-wrap: anywhere; }
.machine-evidence-row .status { color: #5E6B61; }
.machine-evidence-row .result { color: var(--accent-lt); }

/* ---------- Scan pages: status, findings, fixes ---------- */

.credibility { color: var(--ink-3); font-size: 15px; margin: 0 0 2rem; }

.clean-note { color: var(--ink-2); }

.status-copy {
  font-size: 19px;
  color: var(--ink-2);
  line-height: 1.55;
}

.pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-3);
  margin-right: 0.6rem;
  animation: pulse 1.6s ease-in-out infinite;
  vertical-align: middle;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.section-label {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  margin: 2.5rem 0 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule-soft);
}

.findings-list { list-style: none; margin: 0; padding: 0; }

.finding {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule-soft);
}

.finding:last-child { border-bottom: none; }

.finding-label {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  margin: 0 0 0.5rem;
}

.severity-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
  background: var(--ink-3);
}

.severity-critical .severity-dot { background: var(--accent); }
.severity-high .severity-dot { background: #96682e; }

.finding-consequence { font-size: 17px; color: var(--ink); margin: 0; }

.evidence-row { margin-bottom: 0.75rem; }
.evidence-row:last-child { margin-bottom: 0; }

.evidence-row-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-2);
  display: block;
  margin-bottom: 0.3rem;
}

.evidence-row ul { margin: 0; padding-left: 1.2rem; }
.evidence-row li { word-break: break-word; color: var(--ink-2); }

.locked-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.locked-fix-preview {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: var(--tint);
  border: 1px dashed var(--rule);
}

.locked-fix-preview span:first-child { flex: none; color: var(--ink-3); }
.locked-fix-preview span:last-child { font-size: 15px; color: var(--ink-2); }

.cta {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule-soft);
}

.cta-copy { font-size: 16px; color: var(--ink-2); margin: 0 0 1.1rem; }
.cta-confirmed { font-size: 17px; color: var(--ink-2); }
.cta-error { color: var(--accent); font-size: 14px; margin: 0 0 0.75rem; }

.cta-form { display: flex; gap: 0.75rem; flex-wrap: wrap; max-width: 480px; }
.cta-form input[type="email"] { flex: 1 1 240px; }

.fixes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.fix {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--rule);
}

.fix-title { font-size: 16px; font-weight: 500; color: var(--ink); margin: 0 0 1rem; }
.fix-reason { font-size: 15px; color: var(--ink-2); font-style: italic; margin: 0; }
.fix-block { margin-bottom: 1.25rem; }
.fix-block:last-child { margin-bottom: 0; }

.fix-block-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
  word-break: break-word;
  margin: 0 0 0.5rem;
}

.fragment { margin-bottom: 1rem; }
.fragment:last-child { margin-bottom: 0; }

.fragment-insertion-point { font-size: 13px; color: var(--ink-3); margin: 0 0 0.4rem; }

.fragment-value {
  background: var(--tint);
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0 0 0.5rem;
}

.copy-btn {
  font-family: var(--font-mono);
  padding: 0.4rem 0.9rem;
  font-size: 13px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink-2);
  cursor: pointer;
  min-height: 36px;
}

.copy-btn:hover { background: var(--tint); }

/* ---------- Responsive: single breakpoint ---------- */

@media (max-width: 900px) {
  :root { --gutter: 20px; }

  h1 { font-size: 37px; }
  h2 { font-size: 26px; }

  .site-header { padding: 1.25rem 20px; }
  .section { padding: 3rem 0; }
  .section-dark .inner { padding: 3rem 20px; }

  .scan-form { flex-direction: column; align-items: stretch; }
  .scan-form input[type="url"] { flex: 1 1 auto; }

  .report-letterhead-top { flex-direction: column; }
  .report-facts { text-align: left; }
  .report-letterhead h1 { font-size: 34px; }

  .numbered-list > li,
  .report-finding {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .numbered-list .num { font-size: 34px; }
  .report-finding .num { font-size: 28px; }

  .report-also-found li {
    grid-template-columns: 1fr auto;
  }
  .report-also-found .num { display: none; }

  .split-panel { grid-template-columns: 1fr; min-height: 0; }
  .split-panel-left { border-right: none; border-bottom: 1px solid var(--ink); }

  .machine-evidence-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
