:root {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: #f7f1e5;
  color: #3a3026;
  --muted: #7b6a54;
  --rule: #cdbb9e;
  --red: #953d2a;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
header {
  max-width: 1320px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid var(--rule);
}
.brand {
  font:
    italic 32px Georgia,
    serif;
  text-decoration: none;
  letter-spacing: -1px;
  color: var(--red);
}
nav {
  display: flex;
  gap: 26px;
  font-size: 10px;
}
nav a {
  text-decoration: none;
}
.journal-masthead {
  max-width: 1320px;
  margin: auto;
  text-align: center;
  padding: 26px 40px 23px;
  border-bottom: 5px double #9e8968;
}
.journal-masthead strong {
  display: block;
  font:
    normal clamp(40px, 6.5vw, 89px)/1.2 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -4px;
  margin: 12px 0;
}
.journal-masthead span {
  font:
    8px/1.8 ui-monospace,
    monospace;
  letter-spacing: 2px;
  color: #8c7659;
}
main {
  max-width: 1320px;
  margin: auto;
  padding: 0 40px;
}
.hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  padding: 35px 0;
  border-bottom: 1px solid #b8a07d;
}
.eyebrow {
  font:
    8px/1.9 ui-monospace,
    monospace;
  letter-spacing: 1.5px;
  color: #8c6b4b;
}
h1 {
  font:
    normal clamp(35px, 4vw, 52px)/1.05 Georgia,
    serif;
  letter-spacing: -1.8px;
  margin: 18px 0 22px;
}
h2 {
  font:
    normal clamp(26px, 3vw, 38px)/1.15 Georgia,
    serif;
  letter-spacing: -1px;
  margin: 15px 0 22px;
}
h3 {
  font:
    normal 22px/1.3 Georgia,
    serif;
  letter-spacing: -0.5px;
}
.lead {
  font-size: 14px;
  line-height: 1.9;
  max-width: 650px;
  color: #725c44;
}
.actions {
  display: flex;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 10px;
  margin: 26px 0;
}
.button {
  display: inline-block;
  background: #4e3d28;
  color: #fff7e7;
  padding: 13px 18px;
  text-decoration: none;
  font-size: 11px;
  border: 1px solid #4e3d28;
}
.button:hover {
  background: #72583b;
}
.notice {
  font-size: 10px;
  line-height: 1.9;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
  color: #7b6348;
}
.notice b {
  display: block;
  font:
    9px ui-monospace,
    monospace;
  margin-bottom: 7px;
  color: #876148;
}
.ledger-note {
  border-left: 1px solid #bca785;
  padding: 20px 0 20px 45px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ledger-note > span {
  font:
    8px/1.9 ui-monospace,
    monospace;
  color: #886e4d;
  letter-spacing: 1.3px;
}
.ledger-note p {
  font:
    normal 33px/1.25 Georgia,
    serif;
  color: #796046;
  margin: 25px 0;
}
.ledger-note em {
  color: var(--red);
}
main > section:not(.hero) {
  padding: 35px 0;
  border-bottom: 1px solid #b8a07d;
}
.sectionhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 10px;
  margin-bottom: 22px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 3px double #ad9774;
  border-bottom: 3px double #ad9774;
  margin: 24px 0;
}
.metrics article {
  padding: 24px 25px;
  border-right: 1px solid var(--rule);
}
.metrics article:first-child {
  padding-left: 0;
}
.metrics article:last-child {
  border: 0;
}
.metrics strong {
  font:
    normal 39px Georgia,
    serif;
  letter-spacing: -1.7px;
  color: #8e4029;
}
.metrics h3 {
  font:
    9px ui-monospace,
    monospace;
  color: #71583e;
  letter-spacing: 0.5px;
  margin: 12px 0 10px;
}
.metrics .muted {
  font-size: 9px;
  line-height: 1.8;
}
.muted {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 950px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 45px;
  align-items: start;
}
.split > div:first-child > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.9;
  color: #796044;
}
.panel {
  border: 1px solid #c9b491;
  padding: 25px;
  background: #fffbf0;
  min-width: 0;
}
.panel h3 {
  font-size: 24px;
  margin-top: 0;
}
.tablewrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
th,
td {
  padding: 15px 12px;
}
th {
  font:
    8px ui-monospace,
    monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8a6c4b;
  background: #f0e5d0;
  border-top: 1px solid #b49b73;
  border-bottom: 1px solid #b49b73;
}
td {
  font:
    10px ui-monospace,
    monospace;
  border-bottom: 1px solid #dfd0b7;
}
button,
input,
select {
  font: inherit;
}
button {
  font-size: 10px;
  padding: 11px 15px;
  border: 1px solid #b5a07a;
  border-radius: 0;
  background: #f4ead7;
  color: #785331;
  cursor: pointer;
}
button[aria-selected="true"] {
  background: #6a5034;
  color: #fff7e7;
  border-color: #6a5034;
}
button:hover {
  background: #e6d6ba;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 15px;
  margin-bottom: 22px;
}
.fault-result h3 {
  font-size: 24px;
}
.fault-result p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
pre {
  font:
    9px/1.9 ui-monospace,
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #eee3ce;
  border-left: 2px solid #b19a71;
  padding: 17px;
  max-height: 300px;
  overflow: auto;
}
.match-summary {
  padding: 28px;
  border-top: 3px double #b6a07c;
  background: #eee4d0;
}
.match-bar {
  height: 31px;
  display: flex;
  border: 1px solid #c1ae8c;
  margin: 30px 0 20px;
}
.match-bar > span {
  background: #6d805a;
}
.match-bar > .exceptions {
  background: repeating-linear-gradient(135deg, #d7c4a1 0 4px, #eee0c5 4px 8px);
}
.match-legend {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font:
    10px ui-monospace,
    monospace;
  color: #786041;
  margin-bottom: 22px;
}
.details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 25px 0;
}
.details article {
  border-top: 1px solid #b29c77;
  padding-top: 12px;
}
.details p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.details .eyebrow {
  font-size: 7px;
}
aside {
  background: #ede0c8;
  border-left: 2px solid #ac8d5d;
  padding: 22px 27px;
  margin: 30px 0;
  font-size: 12px;
  line-height: 1.9;
  color: #796044;
}
aside h3 {
  font-size: 24px;
  color: #60492f;
}
video {
  display: block;
  width: 100%;
  border: 6px double #8f7856;
  background: #2c271f;
  margin: 25px 0;
}
.review {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.review h2 {
  max-width: 500px;
}
.review .actions {
  flex-direction: column;
  flex-shrink: 0;
  gap: 15px;
}
footer {
  max-width: 1320px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 40px;
  font:
    8px/1.9 ui-monospace,
    monospace;
  color: var(--muted);
  border-top: 3px double #a58d67;
}
:focus-visible {
  outline: 3px solid #3d7197;
  outline-offset: 5px;
}
@media (max-width: 1000px) {
  .split {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .hero {
    gap: 30px;
  }
  .ledger-note {
    padding-left: 30px;
  }
  .ledger-note p {
    font-size: 28px;
  }
  .metrics strong {
    font-size: 31px;
  }
  .review {
    flex-direction: column;
    align-items: flex-start;
  }
  .review .actions {
    flex-direction: row;
  }
}
@media (max-width: 700px) {
  header {
    padding: 16px 18px;
  }
  .brand {
    font-size: 27px;
  }
  nav {
    gap: 15px;
    font-size: 9px;
  }
  .journal-masthead {
    padding: 20px 18px;
  }
  .journal-masthead strong {
    font-size: 44px;
    letter-spacing: -2px;
  }
  .journal-masthead span {
    font-size: 7px;
    letter-spacing: 1px;
  }
  main {
    padding: 0 18px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 25px 0;
    gap: 20px;
  }
  h1 {
    font-size: 41px;
  }
  .lead {
    font-size: 13px;
  }
  .ledger-note {
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid var(--rule);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .ledger-note p {
    grid-row: 1/3;
    grid-column: 2;
    margin: 0;
    font-size: 23px;
  }
  .ledger-note > span {
    font-size: 7px;
    align-self: center;
  }
  .metrics {
    grid-template-columns: 1fr;
  }
  .metrics article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 18px 0 !important;
    border: 0;
    border-bottom: 1px solid var(--rule);
    column-gap: 18px;
    align-items: center;
  }
  .metrics strong {
    grid-row: 1/3;
    font-size: 36px;
  }
  .metrics h3 {
    font-size: 8px;
    line-height: 1.6;
    margin: 0;
  }
  .metrics .muted {
    margin: 8px 0 0;
    font-size: 8px;
  }
  .sectionhead {
    flex-wrap: wrap;
    gap: 10px;
  }
  .panel {
    padding: 20px;
  }
  .details {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .details article {
    padding-top: 8px;
  }
  .details h3 {
    font-size: 24px;
  }
  .tablewrap {
    max-width: 100%;
  }
  th,
  td {
    padding: 13px 9px;
    font-size: 9px;
  }
  .tabs {
    gap: 7px;
  }
  .tabs button {
    padding: 9px 10px;
    font-size: 9px;
  }
  .match-summary {
    padding: 20px;
  }
  .match-legend {
    font-size: 9px;
  }
  .review .actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .review h2 {
    font-size: 31px;
  }
  footer {
    padding: 22px 18px;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

/* The original invariant examples become ruled ledger entries. */
.journal-card {
  border-top: 3px double #b8a17d;
  border-bottom: 1px solid #cdbb9e;
  background: #f0e6d3;
  padding: 18px 20px;
  margin-top: 30px;
}
.journal-heading {
  display: flex;
  justify-content: space-between;
  font:
    8px ui-monospace,
    monospace;
  letter-spacing: 1.3px;
  color: #8c6440;
  margin-bottom: 15px;
}
.journal-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-top: 1px solid #d2bea0;
  font-size: 10px;
  color: #70583d;
}
.journal-line code {
  font:
    9px ui-monospace,
    monospace;
  color: #8e4e30;
}
.journal-card > p {
  font:
    italic 13px Georgia,
    serif;
  color: #8b6540;
  margin: 16px 0 0;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
  font-size: 10px;
}
.section-title h2 {
  font-size: 27px;
  margin: 0;
}
.pill {
  font:
    8px ui-monospace,
    monospace;
  padding: 5px 8px;
  border: 1px solid #bdaa8b;
  color: #8b6b45;
}
.fault-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  border-bottom: 1px solid #cdbb9e;
  padding-bottom: 16px;
  margin-bottom: 20px;
}
@media (max-width: 700px) {
  .journal-card {
    padding: 16px;
  }
  .journal-line {
    gap: 12px;
    font-size: 9px;
  }
  .journal-line code {
    font-size: 8px;
  }
  .section-title {
    flex-wrap: wrap;
    gap: 12px;
  }
  .section-title h2 {
    font-size: 25px;
  }
  .fault-tabs {
    gap: 7px;
  }
  .fault-tabs button {
    padding: 9px 10px;
    font-size: 9px;
  }
}
