:root {
  color-scheme: light;
  --ink: #171b18;
  --muted: #616963;
  --line: #cfd4cf;
  --line-strong: #9da69f;
  --paper: #f7f7f3;
  --white: #ffffff;
  --charcoal: #252b27;
  --cyan: #087f86;
  --cyan-soft: #dceff0;
  --vermilion: #d64b2a;
  --vermilion-soft: #f7e3dd;
  --lime: #8aa70f;
  --lime-soft: #edf2d2;
  --yellow: #b98b09;
  --yellow-soft: #f5edce;
  --shadow: 0 16px 40px rgba(23, 27, 24, 0.08);
  --content: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(24px, calc((100% - var(--content)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(247, 247, 243, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--charcoal);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 13px;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--ink);
}

.scanner-hero {
  display: grid;
  min-height: 610px;
  grid-template-columns: minmax(0, 0.86fr) minmax(480px, 1.14fr);
  align-items: stretch;
  max-width: 1440px;
  margin: 0 auto;
  border-inline: 1px solid var(--line);
  background: var(--white);
}

.scanner-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 70px 56px 62px;
}

.eyebrow,
.section-index {
  margin: 0 0 16px;
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 690px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

.lede {
  max-width: 650px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.scan-form {
  max-width: 680px;
}

.scan-form > label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.scan-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 4px 0 rgba(23, 27, 24, 0.05);
  overflow: hidden;
}

.scan-row:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(8, 127, 134, 0.14);
}

.scan-row input {
  width: 100%;
  min-width: 0;
  padding: 0 18px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 16px;
}

.scan-row input::placeholder {
  color: #969e98;
}

.scan-row button {
  min-width: 180px;
  border: 0;
  border-left: 1px solid var(--charcoal);
  color: var(--white);
  background: var(--charcoal);
  padding: 0 20px;
  font-size: 14px;
  font-weight: 750;
}

.scan-row button:hover {
  background: var(--cyan);
  border-left-color: var(--cyan);
}

.scan-row button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.text-button {
  border: 0;
  padding: 0;
  color: var(--cyan);
  background: transparent;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-error {
  margin: 10px 0 0;
  color: #a22e16;
  font-size: 13px;
  font-weight: 650;
}

.mcp-connect {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  max-width: 680px;
  margin-top: 22px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mcp-connect-badge {
  padding: 5px 7px;
  border-radius: 3px;
  color: var(--white);
  background: var(--cyan);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  text-transform: uppercase;
}

.mcp-connect-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.mcp-connect-copy strong {
  font-size: 12px;
  line-height: 1.3;
}

.mcp-connect-copy span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.mcp-connect code {
  grid-column: 1 / 3;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mcp-connect-actions {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mcp-connect-actions button,
.mcp-connect-actions a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--ink);
  background: var(--white);
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.mcp-connect-actions button:hover,
.mcp-connect-actions a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.truth-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.truth-row span {
  border-left: 3px solid var(--cyan);
  padding: 4px 8px;
  color: var(--muted);
  background: #f0f3f0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.truth-row span:nth-child(2) {
  border-color: var(--vermilion);
}

.truth-row span:nth-child(3) {
  border-color: var(--lime);
}

.scanner-visual {
  position: relative;
  display: flex;
  min-width: 0;
  margin: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #eef0ed;
}

.scanner-visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 680px;
  object-fit: contain;
  object-position: center;
}

.scanner-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 290px;
  padding: 8px 10px;
  border: 1px solid rgba(23, 27, 24, 0.24);
  border-radius: 4px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 650;
}

.audit-stage,
.method-band,
.standards-band,
.limits-band {
  max-width: var(--content);
  margin: 0 auto;
  padding: 76px 0;
}

.stage-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.1;
}

.stage-status {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.stage-status[data-state="loading"]::before {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border: 2px solid var(--line);
  border-top-color: var(--cyan);
  border-radius: 50%;
  content: "";
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.layer-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.layer-rail > div {
  display: grid;
  min-height: 88px;
  grid-template-columns: 32px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 10px;
  padding: 14px 18px;
  border-right: 1px solid var(--line);
  background: var(--white);
}

.layer-rail > div:last-child {
  border-right: 0;
}

.layer-rail span {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--line-strong);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.layer-rail strong {
  align-self: end;
  font-size: 14px;
}

.layer-rail small {
  align-self: start;
  color: var(--muted);
  font-size: 11px;
}

.layer-rail > div[data-status="observed"] {
  box-shadow: inset 0 4px var(--lime);
}

.layer-rail > div[data-status="attention"],
.layer-rail > div[data-status="blocked"] {
  box-shadow: inset 0 4px var(--vermilion);
}

.layer-rail > div[data-status="sparse"] {
  box-shadow: inset 0 4px var(--yellow);
}

.empty-state {
  display: grid;
  min-height: 260px;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: center;
  gap: 60px;
  padding: 44px 56px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.empty-diagram {
  display: grid;
  height: 150px;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 8px;
}

.empty-diagram span {
  display: block;
  height: 42%;
  border: 1px solid var(--line-strong);
  background: var(--lime-soft);
}

.empty-diagram span:nth-child(2) {
  height: 62%;
  background: var(--cyan-soft);
}

.empty-diagram span:nth-child(3) {
  height: 82%;
  background: var(--vermilion-soft);
}

.empty-diagram span:nth-child(4) {
  height: 100%;
  background: #e7e9e7;
}

.empty-state h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.empty-state p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
}

.audit-results {
  border-bottom: 1px solid var(--line-strong);
  background: var(--white);
}

.summary-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.1fr) minmax(280px, 0.9fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.verdict-block,
.coverage-block,
.summary-counts {
  padding: 30px;
}

.verdict-block,
.coverage-block {
  border-right: 1px solid var(--line);
}

.verdict-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.summary-label,
.coverage-copy span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

#verdict-value {
  margin: 7px 0 2px;
  color: var(--cyan);
  font-size: 24px;
}

#target-origin {
  max-width: 100%;
  overflow: hidden;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coverage-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.coverage-copy strong {
  font-size: 28px;
}

.coverage-track {
  height: 10px;
  margin: 14px 0 10px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
}

.coverage-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--cyan);
  transition: width 300ms ease;
}

.coverage-block small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.summary-counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}

.summary-counts div {
  min-width: 0;
}

.summary-counts dt {
  min-height: 34px;
  color: var(--muted);
  font-size: 11px;
}

.summary-counts dd {
  margin: 0;
  font-size: 28px;
  font-weight: 750;
}

.summary-counts div:nth-child(1) dd {
  color: var(--lime);
}

.summary-counts div:nth-child(2) dd {
  color: var(--vermilion);
}

.summary-counts div:nth-child(3) dd {
  color: var(--yellow);
}

.result-toolbar {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
}

.segmented {
  display: inline-flex;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow-x: auto;
  background: var(--paper);
}

.segmented button {
  flex: 0 0 auto;
  min-height: 36px;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 0 14px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 650;
}

.segmented button:last-child {
  border-right: 0;
}

.segmented button[aria-selected="true"] {
  color: var(--white);
  background: var(--charcoal);
}

.export-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.export-actions button,
.paid-command button {
  min-height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 0 13px;
  color: var(--ink);
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.export-actions button:hover,
.paid-command button:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.check-list {
  display: grid;
}

.check-row {
  display: grid;
  min-height: 112px;
  grid-template-columns: 122px minmax(210px, 0.75fr) minmax(300px, 1.25fr) 170px;
  align-items: center;
  gap: 22px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
}

.check-row[hidden] {
  display: none;
}

.check-status {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.check-status::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
  content: "";
}

.check-row[data-status="pass"] .check-status::before {
  background: var(--lime);
}

.check-row[data-status="warning"] .check-status::before,
.check-row[data-status="fail"] .check-status::before {
  background: var(--vermilion);
}

.check-row[data-status="notice"] .check-status::before {
  background: var(--yellow);
}

.check-title h3 {
  margin: 0 0 5px;
  font-size: 15px;
}

.check-title span,
.check-standard {
  color: var(--muted);
  font-size: 11px;
}

.check-observed {
  min-width: 0;
}

.check-observed p {
  margin: 0 0 5px;
  font-size: 13px;
}

.check-observed .check-recommendation {
  color: #a43a22;
  font-weight: 650;
}

.check-observed code {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.check-standard {
  text-align: right;
}

.check-standard strong,
.check-standard small {
  display: block;
}

.paid-pack {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: 42px;
  padding: 38px 32px;
  border-top: 4px solid var(--cyan);
  background: #ebf1ee;
}

.paid-pack h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.paid-pack p:not(.section-index) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.paid-command {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.paid-command code {
  display: block;
  min-width: 0;
  overflow: hidden;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.paid-command button {
  color: var(--white);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.method-band {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
  border-top: 1px solid var(--line);
}

.method-intro p:last-child {
  max-width: 460px;
  color: var(--muted);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.method-grid article {
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--white);
}

.method-grid article > span {
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.method-grid h3 {
  margin: 24px 0 8px;
  font-size: 17px;
}

.method-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.standards-band {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 70px;
  border-top: 1px solid var(--line);
}

.source-list {
  border-top: 1px solid var(--line-strong);
}

.source-list a {
  display: grid;
  min-height: 80px;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: 18px 8px;
  border-bottom: 1px solid var(--line);
}

.source-list a:hover {
  background: var(--white);
}

.source-list strong {
  font-size: 14px;
}

.source-list span {
  color: var(--muted);
  font-size: 13px;
}

.limits-band {
  border-top: 1px solid var(--line);
}

.limits-band h2 {
  max-width: 660px;
}

.limits-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--line);
}

.limits-list p {
  min-height: 150px;
  margin: 0;
  padding: 24px;
  color: var(--muted);
  background: var(--white);
  font-size: 13px;
}

footer {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px max(24px, calc((100% - var(--content)) / 2));
  color: #dce1dd;
  background: var(--charcoal);
}

footer > div,
footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

footer span,
footer a {
  color: #aeb6b0;
  font-size: 12px;
}

footer a:hover {
  color: var(--white);
}

:focus-visible {
  outline: 3px solid rgba(8, 127, 134, 0.38);
  outline-offset: 3px;
}

@media (max-width: 1280px) {
  .site-header,
  footer {
    padding-inline: 24px;
  }

  .audit-stage,
  .method-band,
  .standards-band,
  .limits-band {
    margin-inline: 24px;
  }

  .scanner-copy {
    padding-inline: 40px;
  }

  h1 {
    font-size: 46px;
  }

  .check-row {
    grid-template-columns: 100px minmax(190px, 0.72fr) minmax(260px, 1.28fr) 140px;
    gap: 16px;
  }
}

@media (max-width: 980px) {
  .scanner-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    border-inline: 0;
  }

  .scanner-copy {
    min-height: 560px;
    padding: 64px 32px 54px;
  }

  .scanner-visual {
    min-height: 410px;
  }

  .scanner-visual img {
    max-height: none;
    aspect-ratio: 16 / 9;
  }

  .summary-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .summary-counts {
    grid-column: 1 / 3;
    border-top: 1px solid var(--line);
  }

  .coverage-block {
    border-right: 0;
  }

  .check-row {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .check-observed,
  .check-standard {
    grid-column: 2;
    text-align: left;
  }

  .paid-pack,
  .method-band,
  .standards-band {
    grid-template-columns: 1fr;
  }

  .limits-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 58px;
    padding-inline: 16px;
  }

  .brand-name,
  .site-header nav a:nth-child(1),
  .site-header nav a:nth-child(3) {
    display: none;
  }

  .site-header nav {
    gap: 16px;
  }

  .scanner-copy {
    min-height: 510px;
    padding: 46px 18px 42px;
  }

  h1 {
    font-size: 38px;
  }

  .lede {
    font-size: 16px;
  }

  .scan-row {
    grid-template-columns: 1fr;
    border-radius: 5px;
  }

  .scan-row input {
    min-height: 54px;
  }

  .scan-row button {
    min-height: 48px;
    border-top: 1px solid var(--charcoal);
    border-left: 0;
  }

  .mcp-connect {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px 12px;
  }

  .mcp-connect code {
    grid-column: 1 / -1;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .mcp-connect-actions {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .mcp-connect-actions button,
  .mcp-connect-actions a {
    flex: 1;
  }

  .form-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .scanner-visual {
    min-height: 285px;
  }

  .scanner-visual figcaption {
    right: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
  }

  .audit-stage,
  .method-band,
  .standards-band,
  .limits-band {
    margin-inline: 14px;
    padding-block: 54px;
  }

  .stage-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  h2 {
    font-size: 32px;
  }

  .stage-status {
    text-align: left;
  }

  .layer-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .layer-rail > div:nth-child(2) {
    border-right: 0;
  }

  .layer-rail > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .empty-state {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 34px 22px;
  }

  .empty-diagram {
    height: 100px;
  }

  .summary-band {
    grid-template-columns: 1fr;
  }

  .verdict-block,
  .coverage-block,
  .summary-counts {
    grid-column: auto;
    padding: 24px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .result-toolbar {
    align-items: stretch;
    flex-direction: column;
    padding: 14px;
  }

  .segmented {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
  }

  .segmented button {
    min-width: 0;
    min-height: 42px;
    padding-inline: 5px;
    overflow-wrap: anywhere;
    font-size: 10.5px;
    line-height: 1.15;
  }

  .export-actions {
    width: 100%;
  }

  .export-actions button {
    flex: 1;
  }

  .check-row {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px;
  }

  .check-observed,
  .check-standard {
    grid-column: 1;
  }

  .check-standard {
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .paid-pack {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 20px;
  }

  .paid-command {
    min-width: 0;
  }

  .method-band,
  .standards-band {
    gap: 36px;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .source-list a {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .limits-list {
    grid-template-columns: 1fr;
  }

  .limits-list p {
    min-height: 110px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 18px;
  }

  footer > div,
  footer nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

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