:root {
  color-scheme: light;
  --paper: #fafaf8;
  --ink: #20221f;
  --muted: #5c6059;
  --line: #d9dcd5;
  --accent: #315342;
  --wash: #eff2ec;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
button:focus-visible,
.table-wrap:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
button {
  color: var(--ink);
}
.layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 860px);
  column-gap: 66px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 48px 96px;
}
aside {
  position: sticky;
  top: 36px;
  height: fit-content;
  font-size: 0.8rem;
  line-height: 1.5;
}
nav ol {
  list-style: none;
  padding: 24px 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
nav li a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  text-decoration: none;
}
nav li a:hover,
nav li a[aria-current] {
  color: var(--ink);
  text-decoration: underline;
}
.home-link {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.document-actions {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
}
.document-actions button {
  border: 0;
  background: none;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--accent);
  font-size: inherit;
}
main {
  min-width: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin-top: 0;
  color: var(--ink);
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 6.6vw, 5.15rem);
  line-height: 1.01;
  margin: 0 0 32px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 25px;
}
h3 {
  font-size: 1.25rem;
  letter-spacing: -0.018em;
  margin: 34px 0 14px;
}
p {
  margin: 0 0 20px;
  max-width: 76ch;
}
.lead {
  font-size: 1.36rem;
  line-height: 1.5;
  max-width: 56ch;
}
.intro {
  padding: 8px 0 42px;
}
.intro > p:not(.lead) {
  color: var(--muted);
}
.summary-links {
  list-style: none;
  padding: 12px 0 0;
  margin: 0;
  font-size: 0.94rem;
}
.summary-links li {
  padding: 6px 0;
}
.summary-links a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
section {
  padding: 46px 0 22px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 28px;
}
strong {
  font-weight: 700;
}
code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.83em;
  overflow-wrap: anywhere;
}
.small,
.provenance {
  font-size: 0.81rem;
  line-height: 1.55;
  color: var(--muted);
}
.table-wrap {
  max-width: 100%;
  overflow: auto;
  margin: 24px 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.85rem;
  line-height: 1.55;
}
caption {
  text-align: left;
  font-size: 0.8rem;
  color: var(--muted);
  padding-bottom: 12px;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 14px 15px 14px 0;
  border-bottom: 1px solid var(--line);
}
thead th {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  border-top: 1px solid var(--line);
}
tbody th {
  font-weight: 500;
  min-width: 105px;
}
td:last-child,
th:last-child {
  padding-right: 0;
}
.probe-table td:first-child {
  width: 38%;
  min-width: 180px;
}
.probe-table td:nth-child(2) {
  min-width: 125px;
}
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 22px;
}
.controls button {
  font-size: 0.8rem;
  border: 1px solid var(--line);
  background: transparent;
  padding: 8px 12px;
  min-height: 42px;
}
.controls button:hover {
  border-color: var(--ink);
}
.controls button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.case {
  padding-top: 6px;
}
.case h3 {
  margin-top: 8px;
  font-size: 1.5rem;
}
.customer-text {
  font-size: 1.2rem;
  line-height: 1.55;
  padding-left: 20px;
  border-left: 2px solid var(--ink);
  margin: 24px 0 12px;
}
.translation {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: -2px;
}
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin: 26px 0 22px;
}
.comparison > div {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  min-width: 0;
}
.comparison h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
  color: var(--muted);
}
.comparison p {
  font-size: 0.95rem;
  white-space: pre-line;
}
.comparison .translation {
  font-size: 0.82rem;
}
.reason {
  font-size: 0.93rem;
}
.case[hidden],
.tool[hidden] {
  display: none;
}
.tool {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.tool h3 {
  margin: 0;
  font-size: 1.4rem;
}
.tool-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 7px;
}
.tool-status {
  font-size: 0.73rem;
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}
.tool-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.tool p {
  font-size: 0.92rem;
}
.tool-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.tool-details h4 {
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 4px 0 8px;
}
.tool-details p {
  font-size: 0.86rem;
  margin-bottom: 0;
}
.flow,
.roadmap {
  padding-left: 22px;
}
.flow li,
.roadmap li {
  padding: 5px 0 18px 7px;
}
.flow strong,
.roadmap strong {
  display: block;
  margin-bottom: 4px;
}
.sources {
  padding-left: 25px;
  font-size: 0.86rem;
}
.sources li {
  padding: 14px 0 16px 6px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 25px;
}
.sources p {
  margin: 5px 0;
}
.sources .source-meta {
  font-size: 0.78rem;
  color: var(--muted);
}
.downloads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 25px 0 30px;
  font-size: 0.85rem;
}
.skip-link {
  position: absolute;
  left: 15px;
  top: -100px;
  padding: 12px 20px;
  background: var(--paper);
  z-index: 5;
}
.skip-link:focus {
  top: 15px;
}
.principle-list h3 {
  margin-top: 35px;
}
.provenance {
  margin-top: 14px;
}
@media (min-width: 1450px) {
  .layout {
    padding-top: 66px;
  }
}
@media (max-width: 1020px) {
  .layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 35px;
    padding: 35px 28px;
  }
  h1 {
    font-size: 4.1rem;
  }
  aside {
    font-size: 0.73rem;
  }
  .comparison,
  .tool-details {
    gap: 18px;
  }
}
@media (max-width: 760px) {
  :root {
    font-size: 16px;
  }
  .layout {
    display: block;
    padding: 24px 22px 60px;
  }
  aside {
    position: static;
    font-size: 0.8rem;
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }
  nav ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 17px;
    padding: 12px 0;
    border: 0;
  }
  nav li:nth-child(n + 6) {
    display: none;
  }
  nav li a {
    padding: 6px 0;
  }
  .document-actions {
    flex-direction: row;
    gap: 22px;
    padding-top: 10px;
  }
  h1 {
    font-size: 3.8rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  .lead {
    font-size: 1.19rem;
  }
  .intro {
    padding: 0 0 34px;
  }
  .comparison,
  .tool-details {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  section {
    padding: 34px 0 20px;
  }
  .tool-top {
    flex-wrap: wrap;
    gap: 8px;
  }
  .tool-details p {
    margin-bottom: 12px;
  }
  .downloads {
    grid-template-columns: 1fr;
  }
  .sources {
    padding-left: 19px;
  }
}
@media (max-width: 380px) {
  h1 {
    font-size: 3.1rem;
  }
  .layout {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
@media print {
  @page {
    margin: 18mm;
  }
  html {
    scroll-behavior: auto;
  }
  :root {
    font-size: 10pt;
    line-height: 1.5;
    background: #fff;
    color: #000;
  }
  .layout {
    display: block;
    padding: 0;
    max-width: none;
  }
  aside,
  .controls,
  #tool-count,
  .skip-link,
  noscript {
    display: none;
  }
  h1 {
    font-size: 38pt;
  }
  h2 {
    font-size: 22pt;
    break-after: avoid;
  }
  h3,
  h4 {
    break-after: avoid;
  }
  .intro {
    padding-bottom: 20px;
  }
  section {
    padding-top: 24px;
  }
  a {
    color: #000;
  }
  .case[hidden],
  .tool[hidden] {
    display: block !important;
  }
  .case {
    margin-bottom: 30px;
  }
  .table-wrap {
    overflow: visible;
  }
  table {
    font-size: 9pt;
  }
  tr {
    break-inside: avoid;
  }
  .comparison,
  .tool-details {
    display: block;
  }
  .tool,
  .sources li {
    break-inside: avoid;
  }
  .sources a {
    overflow-wrap: anywhere;
  }
  .sources .source-url {
    display: block;
  }
  .lead {
    font-size: 13pt;
  }
  p {
    orphans: 3;
    widows: 3;
  }
  .summary-links {
    display: none;
  }
}
