:root {
  --paper: #f5f5ef;
  --ink: #11120f;
  --muted: #686a61;
  --rule: #c9cbc1;
  --signal: #d45520;
  --code: #e9eadf;
  --string: #276749;
  --key: #215f8f;
  --danger: #9c2f24;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  width: min(100% - 2rem, 48rem);
  margin: 0 auto;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.5 Arial, Helvetica, sans-serif;
}

a { color: inherit; text-underline-offset: .18em; }
a:hover { color: var(--signal); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

.bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--ink);
}
.brand {
  color: var(--ink);
  font: 700 1rem ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: -.03em;
  text-decoration: none;
}
nav { display: flex; gap: 1rem; font: .8rem ui-monospace, "SFMono-Regular", Consolas, monospace; }
nav a { text-decoration: none; }
nav a[aria-current="page"] { color: var(--signal); }

main { padding: 5rem 0; }
h1, h2 { font-weight: 600; letter-spacing: -.035em; }
h1 { max-width: 32rem; margin: 0 0 .75rem; font-size: clamp(2.25rem, 8vw, 4.25rem); line-height: 1; }
h2 { margin: 0; font-size: 1rem; }
p { max-width: 36rem; margin: 0 0 1rem; }
.quiet { color: var(--muted); font-size: .85rem; }

.actions, .inline-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
button {
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: .6rem .8rem;
  background: var(--ink);
  color: var(--paper);
  font: 700 .8rem ui-monospace, "SFMono-Regular", Consolas, monospace;
  cursor: pointer;
}
button:hover { border-color: var(--signal); background: var(--signal); }
button:disabled { cursor: wait; opacity: .55; }
button.secondary { background: transparent; color: var(--ink); }
.text-action { font: .8rem ui-monospace, "SFMono-Regular", Consolas, monospace; }

.demo { margin-top: 4rem; }
.section-line, .service-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--ink);
  padding: .7rem 0;
  font: .78rem ui-monospace, "SFMono-Regular", Consolas, monospace;
}
.service-line { margin-top: 5rem; border-bottom: 1px solid var(--rule); }
.live { color: var(--signal); }

pre {
  overflow-x: auto;
  margin: .75rem 0;
  padding: .9rem;
  border-left: 2px solid var(--signal);
  background: var(--code);
  font: .76rem/1.6 ui-monospace, "SFMono-Regular", Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }
.syn-command { color: var(--key); font-weight: 700; }
.syn-flag { color: var(--signal); }
.syn-string { color: var(--string); }
.syn-url { color: var(--key); }

.account-shell { max-width: 36rem; }
.account-shell > section + section, .account-shell > details { margin-top: 3rem; }
form { display: grid; gap: .55rem; margin-top: 1.5rem; }
label, summary, dt { font: .78rem ui-monospace, "SFMono-Regular", Consolas, monospace; }
input {
  width: 100%;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: .7rem;
  background: transparent;
  color: var(--ink);
  font: .9rem ui-monospace, "SFMono-Regular", Consolas, monospace;
}
form button { justify-self: start; margin-top: .3rem; }
.error { margin-top: 1rem; color: var(--danger); }
details { border-top: 1px solid var(--rule); padding-top: .8rem; }
summary { cursor: pointer; }
details section { margin-top: 2rem; }
.panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.panel-heading h1 { font-size: 2rem; }
.facts { margin: 2rem 0; border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--rule); }
.facts.compact { margin-top: 2rem; }
dt { color: var(--muted); }
dd { margin: 0; overflow-wrap: anywhere; }
progress { width: 100%; height: .35rem; border: 0; accent-color: var(--signal); }
.plain-list { padding-left: 1.2rem; }
[hidden] { display: none !important; }

@media (max-width: 34rem) {
  main { padding: 3.5rem 0; }
  .section-line, .service-line { align-items: flex-start; }
  .facts div { grid-template-columns: 1fr; gap: .15rem; }
}
