:root {
  color-scheme: dark;
  --bg: #17191b;
  --surface: #202325;
  --text: #f4f0e6;
  --muted: #b9b9ae;
  --accent: #c5afff;
  --line: #414442;
  font:
    16px/1.55 system-ui,
    -apple-system,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
header,
main {
  width: min(100% - 2.5rem, 49rem);
  margin-inline: auto;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}
header a {
  color: var(--muted);
  text-decoration: none;
}
.identity {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-weight: 700;
}
.identity img {
  border-radius: 50%;
}
main {
  padding: clamp(2.75rem, 8vw, 5.5rem) 0 3rem;
}
.kicker,
label {
  font:
    650 0.76rem/1.4 ui-monospace,
    SFMono-Regular,
    monospace;
  letter-spacing: 0.1em;
}
.kicker {
  color: var(--accent);
}
h1 {
  font-size: clamp(2.9rem, 9vw, 5.6rem);
  line-height: 0.99;
  letter-spacing: -0.065em;
  margin: 0.65rem 0 1.2rem;
}
h1 span {
  color: var(--accent);
}
.intro {
  font-size: clamp(1.05rem, 3vw, 1.34rem);
  max-width: 39rem;
  color: var(--muted);
  margin: 0 0 2rem;
}
.intro code {
  color: var(--text);
}
.panel,
#result {
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: clamp(1.1rem, 3vw, 1.7rem);
  background: var(--surface);
}
label {
  display: block;
  letter-spacing: 0.03em;
  margin-bottom: 0.6rem;
}
.entry {
  display: flex;
  gap: 0.55rem;
}
.entry input {
  min-width: 0;
  flex: 1;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid #767972;
  border-radius: 0.3rem;
  padding: 0.67rem 0.8rem;
}
.entry button {
  font: 650 0.93rem/1.35 system-ui;
  border: 0;
  border-radius: 0.3rem;
  padding: 0.7rem 1.1rem;
  background: var(--accent);
  color: #201b2d;
  cursor: pointer;
}
.text-button {
  cursor: pointer;
  background: none;
  border: 0;
  color: var(--accent);
  font: inherit;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  margin-top: 0.85rem;
  padding: 0.3rem 0;
}
.privacy,
.scope,
#revision {
  color: var(--muted);
  font-size: 0.9rem;
}
.privacy {
  margin: 0.55rem 0 0;
}
h2 {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin: 0.4rem 0;
}
.scope {
  margin-top: 2.4rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.scope h2 {
  font-size: 1.05rem;
  color: var(--text);
}
.scope p {
  max-width: 44rem;
  margin: 0.5rem 0;
}
#progress:empty {
  display: none;
}
#result {
  margin-top: 1.2rem;
}
#result-title {
  line-height: 1.25;
}
#commands article {
  margin: 0.85rem 0;
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--accent);
  background: var(--bg);
}
#commands h3 {
  margin: 0;
  font:
    600 1rem/1.5 ui-monospace,
    monospace;
}
#commands p,
#revision {
  margin: 0.25rem 0;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  direction: ltr;
  unicode-bidi: plaintext;
  max-height: 12rem;
  overflow: auto;
  margin: 0.6rem 0;
  font-size: 0.95rem;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
h2:focus-visible {
  outline: 3px solid #e1d5ff;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 530px) {
  .entry {
    flex-direction: column;
  }
  .entry button {
    min-height: 44px;
  }
  header {
    font-size: 0.8rem;
  }
}
