:root {
  color-scheme: dark;
  --bg: #101416;
  --panel: #191e20;
  --line: #394044;
  --ink: #f4f5ee;
  --muted: #a9b3b4;
  --mint: #b4f38d;
  --blue: #8edde1;
  font:
    16px/1.52 'Inter',
    'Segoe UI',
    system-ui,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
header,
footer {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px max(5vw, 20px);
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -1.2px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mark {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  background: var(--mint);
  color: #121a12;
  border-radius: 7px;
  font-size: 24px;
  box-shadow: inset 0 -5px #86bd67;
}
.header-label,
footer {
  color: var(--muted);
  font-size: 14px;
}
header button {
  margin-left: auto;
}
main {
  width: min(1150px, 92vw);
  margin: 0 auto;
  flex: 1;
  padding: clamp(35px, 7vh, 84px) 0;
}
footer {
  border: 0;
  border-top: 1px solid var(--line);
  justify-content: space-between;
  flex-wrap: wrap;
}
footer strong {
  color: var(--ink);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(35px, 5vw, 65px);
  letter-spacing: -0.055em;
  line-height: 1.08;
}
h2 {
  font-size: 24px;
  letter-spacing: -0.04em;
}
h3 {
  font-size: 18px;
}
.kicker {
  font:
    600 14px/1.5 ui-monospace,
    monospace;
  color: var(--mint);
  margin-bottom: 16px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr minmax(310px, 0.95fr);
  gap: 7vw;
  align-items: center;
  padding: 3vh 0;
}
.hero p,
.muted {
  color: var(--muted);
}
.hero h1 {
  margin-bottom: 15px;
}
.panel,
dialog {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(20px, 3vw, 34px);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 17px 0;
  font-size: 14px;
  font-weight: 600;
}
input,
select {
  background: #111719;
  color: var(--ink);
  border: 1px solid #535e61;
  border-radius: 7px;
  padding: 12px;
  font: inherit;
  width: 100%;
}
button {
  background: #262d2f;
  border: 1px solid #4a5556;
  color: var(--ink);
  border-radius: 7px;
  padding: 9px 15px;
  cursor: pointer;
  font: 600 14px/1.4 inherit;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
}
button:hover {
  border-color: var(--mint);
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
button.primary {
  background: var(--mint);
  border-color: var(--mint);
  color: #172014;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.full {
  width: 100%;
}
.switch {
  display: flex;
  gap: 5px;
  margin-bottom: 18px;
}
.switch button[aria-pressed='true'] {
  border-color: var(--mint);
  color: var(--mint);
}
.rack {
  width: min(330px, 100%);
  margin: 35px 0 6px;
  padding: 16px 24px;
  border: 1px solid #394541;
  border-radius: 9px;
  background: repeating-linear-gradient(
    0deg,
    #141b19 0 20px,
    #1a231e 21px 22px
  );
}
.rack i {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 6px 0;
  height: 30px;
  border: 1px solid #48534b;
  border-radius: 4px;
  background: #202925;
  padding: 0 11px;
}
.rack i:before {
  content: '';
  width: 30%;
  height: 5px;
  background: repeating-linear-gradient(
    90deg,
    #627965 0 2px,
    transparent 2px 4px
  );
}
.rack i:after {
  content: '';
  margin-left: auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: -12px 0 #597454;
}
.row,
.toolbar,
.title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}
.title-row {
  align-items: end;
  margin-bottom: 26px;
}
.toolbar {
  justify-content: flex-start;
  margin: 18px 0;
}
.row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.row:last-child {
  border: 0;
}
.stack {
  display: grid;
  gap: 20px;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
}
.facts b,
.facts small {
  display: block;
}
.facts small {
  font-size: 14px;
  color: var(--muted);
}
.tag,
code {
  font:
    14px/1.5 ui-monospace,
    monospace;
  color: var(--mint);
}
code {
  display: block;
  background: #101715;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow-wrap: anywhere;
}
#notice:not(:empty) {
  padding: 12px 16px;
  border: 1px solid #767354;
  background: #28271c;
  color: #f6e3a8;
  border-radius: 7px;
  margin-bottom: 20px;
}
.list {
  min-width: 0;
  overflow-wrap: anywhere;
}
dialog {
  width: min(700px, 92vw);
  color: var(--ink);
  max-height: 83vh;
  overflow: auto;
}
dialog::backdrop {
  background: #000b;
}
.file {
  font:
    14px/1.5 ui-monospace,
    monospace;
}
.tiny {
  font-size: 14px;
  color: var(--muted);
}
.toolbar input {
  max-width: 420px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 0;
  }
  .rack {
    display: none;
  }
  .title-row {
    align-items: start;
  }
  .panel {
    padding: 20px;
  }
  .header-label {
    font-size: 13px;
  }
  footer {
    gap: 3px;
    align-items: flex-start;
    flex-direction: column;
  }
}
a {
  color: var(--blue);
}
[role='alert'] {
  color: #ffbc9a;
  margin-bottom: 12px;
}
