:root {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #e7ecd8;
  background: #141910;
  font-synthesis: none;
  color-scheme: dark;
  --muted: #a5b298;
  --line: #35402c;
  --accent: #cbee8c;
  --paper: #20281b;
}
.languages { margin-left: auto; display: flex; align-items: center; }
.languages a[aria-current="true"] { text-decoration: underline; }
video { width: 100%; max-height: 520px; background: #141910; border-radius: 12px; }
li { margin-bottom: 14px; line-height: 1.6; }
code { overflow-wrap: anywhere; }
.split > *, .grid > *, main { min-width: 0; }
.result h2 { overflow-wrap: anywhere; }
.number { overflow-wrap: anywhere; }
#form-error:empty { display: none; }
@media (max-width: 600px) {
  .split .grid, #proof .grid { grid-template-columns: 1fr; }
  nav { flex-wrap: wrap; overflow: visible; }
  .languages { width: 100%; justify-content: flex-end; }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
nav,
main,
footer {
  max-width: 1160px;
  margin: auto;
  padding: 24px 32px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
  margin-top: 6px;
}
.cat {
  color: var(--accent);
  font-size: 23px;
}
nav {
  display: flex;
  gap: 8px;
  border-block: 1px solid var(--line);
  padding-block: 10px;
}
nav a {
  font-size: 12px;
  letter-spacing: 1px;
  padding: 14px;
  text-decoration: none;
  border-radius: 8px;
}
nav a[aria-current="page"] {
  background: var(--paper);
  color: var(--accent);
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
button,
.action {
  font: inherit;
  min-height: 44px;
  border-radius: 8px;
  padding: 12px 18px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--paper);
  color: #e7ecd8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
button:hover,
.action:hover {
  border-color: var(--accent);
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
.primary {
  background: var(--accent);
  color: #19210f;
  font-weight: 800;
  border: 0;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 800;
  color: var(--muted);
  margin: 16px 0;
}
h1 {
  font-size: clamp(32px, 5vw, 60px);
  letter-spacing: -2px;
  line-height: 1.08;
  margin: 12px 0 20px;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 14px;
  letter-spacing: 0.6px;
}
.intro {
  max-width: 690px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.hero {
  padding: 24px 0 32px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.card,
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  min-width: 0;
}
.card .number {
  font-size: 30px;
  font-weight: 800;
  margin: 14px 0;
}
.muted,
small {
  color: var(--muted);
}
.label {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
}
.badge {
  display: inline-block;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 10px;
  letter-spacing: 0.8px;
  white-space: nowrap;
}
.valid,
.PASS,
.healthy {
  color: var(--accent);
}
.invalid,
.FAIL,
.critical {
  color: #ffa98d;
}
.UNAVAILABLE,
.degraded,
.unverifiable {
  color: #e8cd82;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}
.split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
}
.check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.check:last-child {
  border: 0;
}
.check strong {
  display: block;
}
.check small {
  display: block;
  margin-top: 6px;
}
.symbol {
  font-weight: 800;
  font-size: 18px;
  width: 20px;
}
.result {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 20px 0;
  background: #27341f;
}
.result h2 {
  margin: 0 0 8px;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-block: 24px;
}
.facts strong {
  display: block;
  font-size: 20px;
  margin-top: 8px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}
th,
td {
  text-align: left;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
th {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
tr:last-child td {
  border: 0;
}
tbody tr:hover {
  background: var(--paper);
}
code {
  font:
    12px ui-monospace,
    monospace;
  word-break: break-all;
  color: #cdd7bb;
}
details {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
}
summary {
  cursor: pointer;
  min-height: 30px;
}
dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
}
dt {
  color: var(--muted);
  font-size: 12px;
}
dd {
  margin: 0;
  overflow-wrap: anywhere;
}
input {
  font: inherit;
  width: 100%;
  min-height: 46px;
  background: #141910;
  color: #e7ecd8;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
label {
  display: block;
  margin: 15px 0 8px;
  font-size: 12px;
  color: var(--muted);
}
form {
  max-width: 640px;
}
.inline-form {
  display: flex;
  gap: 10px;
  align-items: end;
}
.inline-form > div {
  flex: 1;
}
.timeline {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 10px;
  margin: 20px 0;
}
.timeline span {
  border: 1px solid var(--line);
  padding: 8px;
  border-radius: 6px;
}
.text {
  max-width: 760px;
  line-height: 1.8;
}
.error {
  padding: 18px;
  border-left: 3px solid #ffa98d;
  background: #31251f;
}
.operator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 11px;
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
  margin-top: 60px;
}
.copy {
  font-size: 10px;
  padding: 4px 10px;
  min-height: 32px;
  margin-left: 8px;
}
.empty {
  padding: 60px;
  text-align: center;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #e8cd82;
  outline-offset: 3px;
}
@media (max-width: 720px) {
  header,
  nav,
  main,
  footer {
    padding-inline: 18px;
  }
  .brand {
    font-size: 17px;
  }
  .cat {
    font-size: 16px;
  }
  .brand small {
    font-size: 7px;
  }
  nav {
    gap: 0;
    overflow: auto;
  }
  nav a {
    font-size: 9px;
    padding: 14px 10px;
    white-space: nowrap;
  }
  .grid,
  .operator-grid {
    grid-template-columns: 1fr 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .card,
  .panel {
    padding: 18px;
  }
  .card .number {
    font-size: 24px;
  }
  .facts strong {
    font-size: 17px;
  }
  .inline-form {
    display: block;
  }
  dl {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  dt {
    margin-top: 8px;
  }
  h1 {
    letter-spacing: -1px;
  }
  .badge {
    font-size: 9px;
  }
  footer {
    gap: 15px;
  }
  .hero {
    padding-top: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
  }
}
