* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::selection {
  background: #111;
  color: #fff;
}

:root {
  --page: #fff;
  --text: #111;
  --muted: #686868;
  --faint: #969696;
  --line: #e1e1e1;
  --line-strong: #bdbdbd;
  --inverse: #111;
  --inverse-text: #f7f7f7;
  --inverse-muted: #a8a8a8;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--page);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
}

.paper-noise {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

.site-head,
main,
.site-foot {
  width: min(1040px, calc(100% - 48px));
  margin-inline: auto;
}

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 0 17px;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

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

.site-head nav a {
  text-decoration: none;
}

.site-head nav a:hover,
.site-head nav a:focus-visible {
  color: var(--text);
  text-decoration: underline;
}

.site-head nav .nav-buffer {
  border-bottom: 1px dashed var(--line-strong);
}

.site-head nav .nav-convictions {
  color: var(--text);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  grid-template-areas:
    "eyebrow meta"
    "wordmark meta"
    "line meta";
  column-gap: 76px;
  align-items: center;
  min-height: 400px;
  padding: 64px 0;
  border-bottom: 1px solid var(--line-strong);
}

.eyebrow,
.section-kicker {
  color: var(--muted);
  font: 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.eyebrow {
  grid-area: eyebrow;
  align-self: end;
}

.wordmark {
  grid-area: wordmark;
  width: max-content;
  max-width: 100%;
  margin-top: 18px;
  overflow: hidden;
  color: var(--text);
  font: 700 17px/1.04 ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: pre;
}

.hero-line {
  grid-area: line;
  align-self: start;
  max-width: 34ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
}

.hero-meta {
  grid-area: meta;
  display: flex;
  flex-direction: column;
  align-self: center;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font: 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.hero-meta span {
  padding: 12px 0 12px 20px;
  border-top: 1px solid var(--line);
}

.hero-meta span:last-child {
  border-bottom: 1px solid var(--line);
}

.hero-meta span::before {
  content: "[ ] ";
  color: var(--text);
}

.hero-meta span:nth-child(2)::before {
  content: "[x] ";
}

.specimen {
  padding: 48px 0 44px;
  border-bottom: 1px solid var(--line-strong);
}

.section-kicker {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.specimen-layout {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(320px, 1.35fr) minmax(150px, 1fr);
  gap: 34px;
  align-items: center;
  padding: 42px 0 30px;
}

.specimen-data {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.specimen-data div {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.specimen-data dt {
  color: var(--muted);
  font: 10px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.specimen-data dd {
  margin-top: 5px;
  color: var(--text);
  font-size: 12px;
}

.specimen-data--right {
  text-align: right;
}

.murk-body {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.murk-body pre {
  max-width: 100%;
  overflow: hidden;
  font: 700 12px/1.13 ui-monospace, SFMono-Regular, Consolas, monospace;
  text-align: left;
  white-space: pre;
}

.murk-body span {
  min-width: 136px;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  font: 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  text-align: center;
}

.murk-body:hover span,
.murk-body:focus-visible span {
  border-color: var(--text);
  background: var(--text);
  color: var(--page);
}

.murk-body:focus-visible {
  outline: 1px solid var(--text);
  outline-offset: 6px;
}

.inspection-note {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.commitment-door {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 48px;
  margin-top: 56px;
  padding: 32px;
  border: 1px dashed var(--text);
  background: var(--page);
}

.commitment-door::before,
.commitment-door::after {
  position: absolute;
  padding: 0 3px;
  background: var(--page);
  font: 13px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  content: "+";
}

.commitment-door::before {
  top: -7px;
  left: -6px;
}

.commitment-door::after {
  right: -6px;
  bottom: -7px;
}

.commitment-label {
  color: var(--muted);
  font: 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.commitment-door h2 {
  margin-top: 17px;
  color: var(--text);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
}

.commitment-door > div > p:last-child {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
}

.commitment-state {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font: 10px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.commitment-state span:nth-child(2) {
  color: var(--text);
  font-weight: 700;
}

.commitment-state a {
  margin-top: auto;
  color: var(--text);
  font-weight: 700;
}

.breach {
  width: calc(100% + 96px);
  margin-top: 56px;
  margin-left: -48px;
  background: var(--inverse);
  color: var(--inverse-text);
}

.breach-inner {
  width: min(1040px, calc(100% - 48px));
  margin-inline: auto;
  padding: 38px 0;
}

.breach-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #333;
}

.breach-head h2,
.breach-head span {
  font: 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.breach-head span {
  color: var(--inverse-muted);
}

.latest-output {
  min-height: 124px;
  padding: 26px 0;
  color: var(--inverse-text);
  font: 14px/1.65 ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: pre-wrap;
}

.breach-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.breach-actions button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #555;
  border-radius: 0;
  background: transparent;
  color: var(--inverse-muted);
  font: 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  cursor: pointer;
}

.breach-actions button:hover,
.breach-actions button:focus-visible {
  border-color: var(--inverse-text);
  color: var(--inverse-text);
}

.breach-actions a {
  color: var(--inverse-text);
  font: 700 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.records,
.doctrine,
.about {
  padding: 64px 0;
  border-bottom: 1px solid var(--line-strong);
}

.records h2,
.doctrine h2,
.about h2 {
  max-width: 28ch;
  margin-top: 24px;
  color: var(--text);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
}

.record-list {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.record-list a {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 78px;
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}

.record-list a:hover,
.record-list a:focus-visible {
  background: var(--text);
  color: var(--page);
}

.record-no,
.record-open {
  font: 10px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.record-list b {
  display: block;
  font-size: 15px;
  font-weight: 500;
}

.record-list small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.record-list a:hover small,
.record-list a:focus-visible small {
  color: var(--inverse-muted);
}

.all-records {
  display: inline-block;
  margin-top: 21px;
  font: 700 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.doctrine ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  border-block: 1px solid var(--line-strong);
  list-style: none;
}

.doctrine li {
  min-height: 170px;
  padding: 20px;
  border-left: 1px solid var(--line);
}

.doctrine li:first-child {
  border-left: 0;
}

.doctrine li span {
  color: var(--muted);
  font: 10px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.doctrine li p {
  max-width: 18ch;
  margin-top: 42px;
  font-size: 16px;
}

.about p {
  max-width: 68ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
}

.coordinates {
  display: grid;
  grid-template-columns: minmax(190px, .8fr) minmax(0, 1.2fr);
  gap: 18px 32px;
  align-items: end;
  padding: 54px 0;
  border-bottom: 1px solid var(--line-strong);
}

.coord-label {
  color: var(--text);
  font: 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.coordinates div p:last-child {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.wallet-coordinate {
  width: 100%;
  padding: 13px 14px;
  border: 1px dashed var(--text);
  color: var(--text);
  font: 12px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  text-align: left;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.wallet-coordinate:hover,
.wallet-coordinate:focus-visible {
  background: var(--text);
  color: var(--page);
}

.coordinates > p {
  grid-column: 2;
  color: var(--muted);
  font-size: 11px;
}

.site-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0 40px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "wordmark"
      "line"
      "meta";
    min-height: 0;
    padding: 56px 0;
  }

  .hero-meta {
    margin-top: 42px;
  }

  .specimen-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .specimen-data {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    order: 2;
  }

  .specimen-data--right {
    order: 3;
    text-align: left;
  }

  .murk-body {
    order: 1;
  }

  .commitment-door {
    grid-template-columns: 1fr;
  }

  .commitment-state {
    min-height: 130px;
    padding-top: 20px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .doctrine ol {
    grid-template-columns: 1fr;
  }

  .doctrine li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    min-height: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .doctrine li:first-child {
    border-top: 0;
  }

  .doctrine li p {
    max-width: none;
    margin-top: 0;
  }

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

  .coordinates > p {
    grid-column: 1;
  }
}

@media (max-width: 520px) {
  .site-head,
  main,
  .site-foot {
    width: min(100% - 30px, 1040px);
  }

  .site-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-head nav {
    gap: 11px 15px;
    font-size: 12px;
  }

  .hero {
    padding: 48px 0;
  }

  .wordmark {
    font-size: 10px;
  }

  .hero-line {
    font-size: 16px;
  }

  .hero-meta {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-meta span {
    padding-left: 0;
  }

  .specimen {
    padding: 42px 0 38px;
  }

  .section-kicker {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .murk-body {
    min-height: 280px;
  }

  .murk-body pre {
    font-size: 8px;
  }

  .specimen-data {
    grid-template-columns: 1fr;
  }

  .commitment-door {
    gap: 32px;
    padding: 24px 20px;
  }

  .commitment-door h2 {
    font-size: 25px;
  }

  .breach {
    width: calc(100% + 30px);
    margin-left: -15px;
  }

  .breach-inner {
    width: min(100% - 30px, 1040px);
  }

  .breach-head,
  .breach-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .records,
  .doctrine,
  .about {
    padding: 50px 0;
  }

  .records h2,
  .doctrine h2,
  .about h2 {
    font-size: 24px;
  }

  .record-list a {
    grid-template-columns: 38px minmax(0, 1fr);
    padding-inline: 8px;
  }

  .record-open {
    display: none;
  }
}

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