/* Tillar Technologies site stylesheet. Precision-instrument world: record
   paper and ink, one accent for action, monospace strictly for evidence.
   Shared by index.html, cageos.html, cageos-lite.html, predx.html, and
   demo.html; DESIGN.md is the authority. Legacy styles.css is retired. */

@font-face {
  font-family: "Archivo";
  src: url("./fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("./fonts/archivo-var-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("./fonts/jbm-var.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f4f4f1;        /* page ground: record paper */
  --surface: #fdfdfc;      /* exhibits sit on white */
  --ink: #191c1e;
  --ink-soft: #4c5459;
  --rule: #d8d9d4;         /* hairlines */
  --rule-strong: #b9bcb4;
  --accent: #0d5a52;       /* the one action color */
  --accent-press: #094640;
  --on-accent: #f4faf8;
  --band: #22272a;         /* full-bleed ink band */
  --on-band: #eef0ee;
  --on-band-soft: #b9c2bf;
  --refusal: #a83618;      /* verdict colors live only inside records */
  --verified: #1c6f52;
  --focus: #0d5a52;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --max: 1160px;
  --gutter: max(24px, calc((100% - var(--max)) / 2));
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #131619;
  --surface: #1b2024;
  --ink: #e9ecea;
  --ink-soft: #a4adaa;
  --rule: #30373b;
  --rule-strong: #48524f;
  --accent: #45b3a4;
  --accent-press: #5cc9ba;
  --on-accent: #0c1f1c;
  --band: #0d1012;
  --on-band: #e3e7e4;
  --on-band-soft: #96a09c;
  --refusal: #e07a55;
  --verified: #52b58c;
  --focus: #45b3a4;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #131619;
    --surface: #1b2024;
    --ink: #e9ecea;
    --ink-soft: #a4adaa;
    --rule: #30373b;
    --rule-strong: #48524f;
    --accent: #45b3a4;
    --accent-press: #5cc9ba;
    --on-accent: #0c1f1c;
    --band: #0d1012;
    --on-band: #e3e7e4;
    --on-band-soft: #96a09c;
    --refusal: #e07a55;
    --verified: #52b58c;
    --focus: #45b3a4;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16.5px/1.62 "Archivo", "Segoe UI", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: var(--on-accent); }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -0.022em; text-wrap: balance; }
p { overflow-wrap: break-word; }
code, .record-body, .rkey, .rval { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 10px; left: 12px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-160%);
  transition: transform 160ms var(--ease-out);
  background: var(--ink);
  color: var(--surface);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; }

/* ---------- top bar ---------- */
.topbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px var(--gutter);
  border-bottom: 1px solid var(--rule-strong);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}
.brand-seal { width: 30px; height: 30px; color: var(--ink); }
.brand-name { font-size: 15px; font-weight: 460; letter-spacing: 0.01em; }
.brand-name b { font-weight: 760; }
.topnav { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.topnav > a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 620;
  transition: color 140ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .topnav > a:hover { color: var(--ink); }
}
.topnav > a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}
.theme-control select {
  min-height: 32px;
  padding: 3px 8px;
  border: 1px solid var(--rule-strong);
  background: var(--surface);
  color: var(--ink);
  font: 600 12.5px "Archivo", system-ui, sans-serif;
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
  padding: clamp(56px, 8vh, 88px) var(--gutter) clamp(64px, 9vh, 104px);
}
.hero h1 {
  max-width: 30ch;
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 660;
}
.hero-sub {
  max-width: 52ch;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 17.5px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 0;
  text-decoration: none;
  font-weight: 680;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 140ms var(--ease-out), background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}
.button:active { transform: scale(0.97); }
.button-primary { background: var(--accent); color: var(--on-accent); }
@media (hover: hover) and (pointer: fine) {
  .button-primary:hover { background: var(--accent-press); }
}
.button-quiet { border-color: var(--rule-strong); background: var(--surface); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .button-quiet:hover { border-color: var(--accent); color: var(--accent); }
}

/* The record: the page's one authored artifact. Prints itself once on load. */
.record {
  margin: 0;
  border: 1px solid var(--rule-strong);
  overflow: hidden;
  background: var(--surface);
}
.record-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--rule);
  background: var(--band);
}
.record-title, .record-verdict {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.record-title { color: var(--on-band-soft); }
.record-verdict { color: var(--on-band); border-bottom: 2px solid var(--refusal); padding-bottom: 2px; }
.record-body { padding: 22px 20px; font-size: 13.5px; line-height: 2.05; overflow-x: auto; scrollbar-color: var(--rule-strong) transparent; scrollbar-width: thin; }
.rline { display: flex; gap: 18px; white-space: nowrap; }
.rkey { flex: 0 0 4.5rem; color: var(--ink-soft); }
.rval { color: var(--ink); font-weight: 560; }
.is-refusal .rval { color: var(--refusal); }
.is-ok .rval { color: var(--verified); }
.record-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
}
.record-meta div { padding: 12px 16px; border-right: 1px solid var(--rule); }
.record-meta div:last-child { border-right: 0; }
.record-meta dt {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.record-meta dd { margin: 3px 0 0; font-size: 13px; font-weight: 680; }

/* the record prints itself once; storytelling: a record being captured */
@media (prefers-reduced-motion: no-preference) {
  .rline {
    opacity: 0;
    transform: translateY(6px);
    animation: rprint 420ms var(--ease-out) forwards;
    animation-delay: 280ms;
  }
  .rline:nth-child(2) { animation-delay: 390ms; }
  .rline:nth-child(3) { animation-delay: 500ms; }
  .rline:nth-child(4) { animation-delay: 610ms; }
  .rline:nth-child(5) { animation-delay: 720ms; }
  .rline:nth-child(6) { animation-delay: 830ms; }
  .rline:nth-child(7) { animation-delay: 940ms; }
  @keyframes rprint { to { opacity: 1; transform: translateY(0); } }
  .record { animation: rcard 520ms var(--ease-out); }
  @keyframes rcard { from { opacity: 0; transform: translateY(14px) scale(0.985); } }
}

/* ---------- status band ---------- */
.status-band {
  padding: 26px var(--gutter);
  background: var(--band);
  color: var(--on-band);
}
.status-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-weight: 740;
  font-size: 16px;
}
.status-mark { width: 10px; height: 10px; background: #e8a13d; flex: 0 0 auto; }
.status-text { max-width: 88ch; margin: 0; color: var(--on-band-soft); font-size: 14.5px; }

/* ---------- shared section shell ---------- */
.invariant, .reviewers, .sequence, .stack, .company {
  padding: clamp(64px, 9vh, 104px) var(--gutter);
}
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 640; max-width: 24ch; }
.section-lede { max-width: 66ch; margin: 18px 0 0; color: var(--ink-soft); font-size: 17px; }

/* ---------- invariant + chain ---------- */
.invariant-copy { max-width: 820px; }
.invariant-copy p { max-width: 68ch; margin: 18px 0 0; color: var(--ink-soft); font-size: 17px; }
.chain {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 44px 0 0;
  padding: 0;
  border-top: 2px solid var(--ink);
}
.chain li { padding: 18px 18px 6px 0; border-right: 1px solid var(--rule); margin: 0; }
.chain li:last-child { border-right: 0; }
.chain-n {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}
.chain strong { display: block; margin: 20px 0 6px; font-size: 17px; letter-spacing: -0.01em; }
.chain small { color: var(--ink-soft); font-size: 13.5px; line-height: 1.45; display: block; }

/* ---------- reviewers: the audit table ---------- */
.reviewers { background: var(--surface); border-block: 1px solid var(--rule); }
.audit-table { margin-top: 40px; border-top: 2px solid var(--ink); }
.audit-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) 1fr 1.15fr;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.audit-who {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 3px;
}
.audit-q { font-size: 18px; font-weight: 660; letter-spacing: -0.012em; }
.audit-what { color: var(--ink-soft); font-size: 15px; }

/* ---------- build sequence ---------- */
.dep-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 26px;
  margin-top: 40px;
}
.dep-core, .dep-layer {
  border: 1px solid var(--rule-strong);
  background: var(--surface);
  padding: 26px;
}
.dep-core { border: 1.5px solid var(--accent); display: flex; flex-direction: column; }
.dep-core h3 { font-size: 30px; }
.dep-stack { display: grid; gap: 26px; position: relative; }
.dep-stack::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 24px;
  bottom: 24px;
  border-left: 1px dashed var(--rule-strong);
}
.dep-layer h3 { font-size: 21px; }
.dep-stage {
  margin: 8px 0 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  font-size: 13.5px;
  font-weight: 640;
  color: var(--ink-soft);
}
.dep-core .dep-stage { color: var(--accent); }
.dep-caps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.dep-caps li {
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  font-weight: 620;
}
.dep-core p:not(.dep-stage), .dep-layer p:not(.dep-stage) { color: var(--ink-soft); margin: 10px 0 0; font-size: 15.5px; }
.text-action {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  text-decoration-thickness: 1.5px;
}
.dep-core .text-action { margin-top: auto; padding-top: 18px; }

/* ---------- control stack ---------- */
.stack {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(40px, 5vw, 72px);
  background: var(--surface);
  border-block: 1px solid var(--rule);
}
.stack-copy p { max-width: 60ch; margin: 18px 0 0; color: var(--ink-soft); font-size: 16.5px; }
.scope-note {
  padding: 12px 14px;
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  color: var(--ink) !important;
  font-size: 15px !important;
}
.ref-links { display: grid; gap: 10px; margin-top: 26px; max-width: 460px; }
.ref-links a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 640;
  font-size: 14.5px;
  transition: border-color 140ms ease, color 140ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .ref-links a:hover { border-color: var(--accent); color: var(--accent); }
}
.ext { width: 11px; height: 11px; flex: 0 0 auto; align-self: center; }
.seam-list { margin: 6px 0 0; border-top: 2px solid var(--ink); align-self: start; }
.seam-list div { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.seam-list dt { font-weight: 720; font-size: 16.5px; letter-spacing: -0.01em; }
.seam-list dd { margin: 6px 0 0; color: var(--ink-soft); font-size: 15px; max-width: 52ch; }

/* ---------- evidence cta ---------- */
.evidence-cta {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(52px, 7vh, 76px) var(--gutter);
  background: var(--band);
  color: var(--on-band);
}
.evidence-cta h2 { color: var(--on-band); }
.evidence-cta p { max-width: 62ch; margin: 16px 0 0; color: var(--on-band-soft); font-size: 16.5px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; }
.evidence-cta .button-quiet { background: transparent; border-color: var(--on-band-soft); color: var(--on-band); }
@media (hover: hover) and (pointer: fine) {
  .evidence-cta .button-quiet:hover { border-color: var(--on-band); }
}

/* ---------- company ---------- */
.company {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.company-copy p { max-width: 60ch; margin: 18px 0 0; color: var(--ink-soft); font-size: 16.5px; }
.company-copy .button { margin-top: 28px; }
.company-record { margin: 6px 0 0; border-top: 2px solid var(--ink); }
.company-record div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
}
.company-record dt { color: var(--ink-soft); font-size: 14px; }
.company-record dd { margin: 0; font-weight: 700; font-size: 14.5px; text-align: right; }

/* ---------- footer ---------- */
.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 22px var(--gutter);
  border-top: 1px solid var(--rule-strong);
  font-size: 13.5px;
  color: var(--ink-soft);
}
.footer p { margin: 0; }
.footer a { color: var(--ink); font-weight: 640; }


/* ---------- subpage components (DESIGN.md migration) ---------- */

/* compact hero for interior pages */
.hero.compact h1 { font-size: clamp(30px, 3vw, 42px); }

/* docket: a fact-sheet exhibit (band head + ledger rows) */
.docket {
  margin: 0;
  border: 1px solid var(--rule-strong);
  background: var(--surface);
  overflow: hidden;
}
.docket-head {
  padding: 12px 18px;
  background: var(--band);
  color: var(--on-band-soft);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.docket dl { margin: 0; padding: 4px 18px 8px; }
.docket dl div {
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) 1.2fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
}
.docket dl div:last-child { border-bottom: 0; }
.docket dt { color: var(--ink-soft); font-size: 13.5px; }
.docket dd { margin: 0; font-weight: 680; font-size: 14px; }

/* paired exhibits: claim / counter-claim */
.exhibit-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 40px;
}
.exhibit {
  border: 1px solid var(--rule-strong);
  background: var(--surface);
  overflow: hidden;
}
.exhibit-head {
  padding: 11px 24px;
  background: var(--band);
  color: var(--on-band-soft);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.exhibit-body { padding: 20px 24px 24px; }
.exhibit-body h3 { font-size: 21px; letter-spacing: -0.012em; }
.exhibit-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.exhibit-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  color: var(--ink-soft);
}
.exhibit-list li:last-child { border-bottom: 0; }

/* numbered step rail variants (sequences only) */
.chain.chain-3 { grid-template-columns: repeat(3, 1fr); }
.chain.chain-6 { grid-template-columns: repeat(3, 1fr); }
.chain.chain-6 li { border-bottom: 1px solid var(--rule); }
.chain.chain-3 li:nth-child(3n), .chain.chain-6 li:nth-child(3n) { border-right: 0; }
.invariant .seam-list { margin-top: 44px; }
.stack .ref-links { align-self: start; margin-top: 6px; max-width: none; }
.chain .chain-body { color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; display: block; }

/* proof steps: numbered checks with a mono command line */
.proof-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 40px 0 0;
  padding: 0;
  border-top: 2px solid var(--ink);
}
.proof-steps li { padding: 18px 18px 22px 0; border-right: 1px solid var(--rule); margin: 0; }
.proof-steps li:last-child { border-right: 0; }
.proof-steps strong { display: block; margin: 20px 0 8px; font-size: 16.5px; letter-spacing: -0.01em; }
.proof-steps p { margin: 0 0 14px; color: var(--ink-soft); font-size: 14px; }
.proof-steps code {
  display: inline-block;
  padding: 7px 10px;
  border: 1px solid var(--rule);
  background: var(--paper);
  font-size: 12px;
  font-weight: 560;
  overflow-wrap: anywhere;
}

/* wide scope statement */
.claim-boundary { background: var(--surface); border-block: 1px solid var(--rule); }
.claim-boundary p { max-width: 76ch; margin: 18px 0 0; color: var(--ink-soft); font-size: 16.5px; }

/* record footer link row (demo transcript) */
.record-link {
  display: block;
  padding: 14px 18px;
  border-top: 1px solid var(--rule);
  color: var(--accent);
  font-weight: 700;
  font-size: 14.5px;
  text-decoration-thickness: 1.5px;
}
@media (hover: hover) and (pointer: fine) {
  .record-link:hover { background: var(--paper); }
}


/* interactive gate console (cageos-lite-demo) */
.gate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px;
  margin-top: 40px;
  align-items: start;
}
.gate-label {
  display: block;
  margin-bottom: 8px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.gate-input textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--rule-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13.5px;
  line-height: 1.7;
  resize: vertical;
}
.gate-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.gate-actions .button { min-height: 40px; padding: 9px 15px; font-size: 14px; }
.record-verdict.is-allowed { border-bottom-color: var(--verified); }
.record-body pre { margin: 0; font-size: 13px; line-height: 1.75; white-space: pre-wrap; word-break: break-word; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; }
  .record { max-width: 640px; }
  .chain, .chain.chain-3, .chain.chain-6 { grid-template-columns: repeat(2, 1fr); border-top-width: 2px; }
  .exhibit-pair, .gate-grid { grid-template-columns: 1fr; }
  .proof-steps { grid-template-columns: repeat(2, 1fr); }
  .chain li { border-right: 0; border-bottom: 1px solid var(--rule); }
  .audit-row { grid-template-columns: 1fr; gap: 8px; }
  .dep-grid, .stack, .evidence-cta, .company { grid-template-columns: 1fr; }
  .dep-stack::before { display: none; }
}
@media (max-width: 720px) {
  .topbar { position: static; flex-direction: column; align-items: flex-start; padding-block: 16px; }
  .hero, .invariant, .reviewers, .sequence, .stack, .company { padding-inline: 20px; }
  .status-band, .evidence-cta, .footer { padding-inline: 20px; }
  .hero { padding-block: 44px 56px; }
  .hero h1 { font-size: 36px; }
  .chain, .chain.chain-3, .chain.chain-6 { grid-template-columns: 1fr; }
  .proof-steps { grid-template-columns: 1fr; }
  .proof-steps li { border-right: 0; border-bottom: 1px solid var(--rule); }
  .record-meta { grid-template-columns: 1fr; }
  .record-meta div { border-right: 0; border-bottom: 1px solid var(--rule); }
  .record-meta div:last-child { border-bottom: 0; }
  .company-record dd { text-align: left; }
  .company-record div { flex-direction: column; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media (forced-colors: active) {
  .status-mark { border: 1px solid ButtonText; }
  .button { border: 1px solid ButtonText; }
  .record-verdict { border-bottom-color: ButtonText; }
}
