:root,
:root[data-theme="dark"] {
  --bg: #0c0c0d;
  --surface: #121214;
  --raised: #1a1a1d;
  --line: #26262a;
  --line-strong: #3a3a40;
  --text: #f4f1ea;
  --soft: #b9b5ab;
  --muted: #9a978f;
  --dim: #5c5a55;
  --hot: #ff7a1a;
  --hot-text: #ff8a3d;
  --hot-dim: #b35a1a;
  --hot-tint: #170f0a;
  --on-hot: #1a0c00;
  --ok: #3ddc84;
  --ok-deep: #1f8a50;
  --track: #1d1d20;
  --wall: #101012;
  --wall-stripe: rgba(255, 255, 255, 0.03);
  --menubar: rgba(30, 30, 33, 0.92);
  --menubar-text: #eeeae2;
  --menubar-chip: rgba(255, 255, 255, 0.14);
  --shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f4f2ec;
  --surface: #ebe8e0;
  --raised: #ffffff;
  --line: #dcd8cd;
  --line-strong: #c4bfb2;
  --text: #141412;
  --soft: #45423c;
  --muted: #5f5b52;
  --dim: #a39f94;
  --hot: #ff7a1a;
  --hot-text: #b8480a;
  --hot-dim: #d98a50;
  --hot-tint: #fff0e3;
  --on-hot: #1a0c00;
  --ok: #1f9d5b;
  --ok-deep: #8fdcb1;
  --track: #e2ded4;
  --wall: #e6e2d8;
  --wall-stripe: rgba(0, 0, 0, 0.035);
  --menubar: rgba(250, 249, 246, 0.88);
  --menubar-text: #1d1c19;
  --menubar-chip: rgba(0, 0, 0, 0.08);
  --shadow: 0 50px 100px -40px rgba(20, 20, 18, 0.45);
  color-scheme: light;
}

:root {
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --mac: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --page: 1312px;
  --header: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--header) + 16px);
  background: var(--bg);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--hot);
  color: var(--on-hot);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, p {
  margin: 0;
  text-wrap: pretty;
}

h1, h2 {
  font-weight: 600;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 6.2vw, 5.25rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--hot-text);
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--hot);
  outline-offset: 3px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  background: var(--hot);
  color: var(--on-hot);
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.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;
}

.wrap {
  width: min(var(--page), calc(100% - 32px));
  margin-inline: auto;
}

@media (min-width: 720px) {
  .wrap {
    width: min(var(--page), calc(100% - 128px));
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s, box-shadow 0.15s, color 0.15s;
}

.btn-hot,
.btn-primary {
  background: var(--hot);
  color: var(--on-hot);
  font-weight: 700;
}

.btn-hot:hover,
.btn-primary:hover {
  background: #ff9447;
  color: var(--on-hot);
}

.btn-line {
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--text);
}

.btn-line:hover {
  box-shadow: inset 0 0 0 1px var(--text);
  color: var(--text);
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.875rem;
}

.btn-large {
  min-height: 54px;
  padding: 0 26px;
  font-size: 1.0625rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fine {
  color: var(--muted);
  font: 400 0.8125rem/1.5 var(--mono);
}

.kicker {
  font: 500 0.75rem var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hot-text);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
  display: inline-block;
}

.dot-alert {
  background: #ff4d3d;
}

.dot-live {
  background: var(--ok);
}

.c-hot { color: var(--hot-text); }
.c-green { color: #34d399; }
.c-red { color: #f87171; }
.c-orange { color: #fb923c; }
.c-pink { color: #f472b6; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-bar {
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 600 0.875rem var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand img {
  width: 26px;
  height: 26px;
}

.site-nav {
  display: none;
  gap: 24px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font: 400 0.8125rem var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: var(--text);
}

.header-meta {
  display: none;
  margin-left: auto;
  font: 400 0.8125rem var(--mono);
  color: var(--muted);
  white-space: nowrap;
}

.theme-toggle {
  margin-left: auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--text);
}

.theme-toggle:hover {
  box-shadow: inset 0 0 0 1px var(--text);
}

.header-meta + .theme-toggle {
  margin-left: 0;
}

.theme-toggle .icon {
  width: 18px;
  height: 18px;
}

[data-theme="dark"] .icon-moon,
[data-theme="light"] .icon-sun {
  display: none;
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
  }
}

@media (min-width: 1100px) {
  .header-meta {
    display: block;
  }
}

/* Hero */

.hero {
  padding: 88px 0 72px;
  display: grid;
  gap: 56px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lede {
  font-size: 1.1875rem;
  color: var(--soft);
  max-width: 40ch;
}

.hint {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 400 0.8125rem var(--mono);
  color: var(--muted);
}

@media (min-width: 1000px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 64px;
  }
}

/* Desk: the clickable menu bar and popover */

.desk {
  position: relative;
  container-type: inline-size;
  min-height: 500px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(135deg, var(--wall-stripe) 0 2px, transparent 2px 14px),
    var(--wall);
  overflow: hidden;
}

.menubar {
  height: 34px;
  padding: 0 8px 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--menubar);
  color: var(--menubar-text);
  font: 500 13px var(--mac);
  white-space: nowrap;
}

.menubar-app {
  font-weight: 700;
}

.menubar-item {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 0 9px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: inherit;
  font: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menubar-item:hover,
.menubar-item[aria-expanded="true"] {
  background: var(--menubar-chip);
}

.menubar-item .dot {
  width: 6px;
  height: 6px;
}

.menubar-clock {
  opacity: 0.85;
  padding-right: 8px;
}

@media (max-width: 559px) {
  .menubar-app,
  .menubar-clock {
    display: none;
  }
}

@container (max-width: 560px) {
  .menubar-clock {
    display: none;
  }
}

.popover {
  position: absolute;
  top: 44px;
  right: 16px;
  width: min(380px, calc(100% - 32px));
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 16px;
  background: #1f1f21;
  border: 1px solid #3a3a3e;
  box-shadow: var(--shadow);
  font: 500 13px var(--mac);
  color: #e5e7eb;
}

.popover[hidden] {
  display: none;
}

.tabs {
  display: flex;
  gap: 5px;
}

.tabs [role="tab"] {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: #2c2c2e;
  color: #d4d4d8;
  font: 600 13px var(--mac);
}

.tabs [role="tab"]:hover {
  background: #37373a;
}

.tabs [role="tab"][aria-selected="true"] {
  background: rgba(10, 132, 255, 0.38);
  color: #ffffff;
}

.tabs .icon {
  width: 14px;
  height: 14px;
}

@media (max-width: 479px) {
  .tabs [role="tab"] {
    padding: 0 6px;
  }

  .tabs .icon {
    display: none;
  }
}

.pane {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pane[hidden] {
  display: none;
}

.pane-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
}

.pane-foot {
  font-size: 12px;
  color: #9ca3af;
}

.pool {
  padding: 11px 12px;
  border-radius: 11px;
  background: #2a2a2d;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.pool > p:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.pool > p:first-child span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: #ffffff;
}

.pool em {
  font-style: normal;
  font-weight: 500;
  color: #9ca3af;
}

.pool b {
  font-weight: 700;
}

.pool .icon {
  width: 14px;
  height: 14px;
}

.pool-orange { background: #2d2521; }
.pool-pink { background: #2d2529; }
.pool-green { background: #232a27; }
.pool-red { background: #2d2323; }

.pool-note {
  gap: 4px;
  color: #d1d5db;
  font-size: 12px;
}

.pool-sub {
  font-size: 12px;
  color: #d1d5db;
}

.popover-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 4px 0;
  border-top: 1px solid #333336;
  font-size: 12px;
  color: #fb923c;
}

.popover-word {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #9ca3af;
}

/* Bars */

.bar {
  height: 7px;
  border-radius: 4px;
  background: #45454a;
  overflow: hidden;
}

.bar span {
  display: block;
  width: var(--v);
  height: 100%;
}

.bar-orange span { background: repeating-linear-gradient(135deg, #f97316 0 3px, #fdba74 3px 6px); }
.bar-green span { background: repeating-linear-gradient(135deg, #10b981 0 3px, #6ee7b7 3px 6px); }
.bar-red span { background: repeating-linear-gradient(135deg, #ef4444 0 3px, #fca5a5 3px 6px); }
.bar-pink span { background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 1.2px, transparent 1.6px) 0 50% / 7px 100% repeat-x, #db5a9a; }

.bar-thick {
  height: 10px;
  border-radius: 2px;
  background: var(--track);
}

.bar-ok span { background: repeating-linear-gradient(135deg, var(--ok) 0 4px, var(--ok-deep) 4px 8px); }
.bar-hot span { background: repeating-linear-gradient(135deg, var(--hot) 0 4px, var(--hot-dim) 4px 8px); }
.bar-plain span { background: repeating-linear-gradient(135deg, var(--text) 0 4px, var(--dim) 4px 8px); }

/* Readout */

.readout {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.readout-bar {
  min-height: 44px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  font: 500 0.75rem var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.readout-bar-end {
  margin-left: auto;
  display: none;
}

.readout-cols {
  display: grid;
}

.col {
  padding: 32px 24px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.col:last-child {
  border-bottom: 0;
}

.col-hot {
  background: var(--hot-tint);
}

.label {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 0.75rem var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.col-hot .label {
  color: var(--hot-text);
}

.big {
  font: 500 clamp(5.5rem, 10vw, 9.25rem)/0.9 var(--mono);
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}

.big span {
  font-size: 0.43em;
  color: var(--muted);
}

.col-hot .big {
  color: var(--hot);
}

.col-hot .big span {
  color: var(--hot-dim);
}

.facts {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font: 400 0.875rem var(--mono);
  color: var(--soft);
}

.facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.facts dd {
  margin: 0;
}

@media (min-width: 900px) {
  .readout-bar-end {
    display: inline;
  }

  .readout-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .col {
    padding: 32px 28px 36px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .col:last-child {
    border-right: 0;
  }
}

/* Bands */

.band {
  padding-top: 128px;
}

.band-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.band-intro > p:not(.kicker):not(.fine) {
  color: var(--soft);
  max-width: 46ch;
}

.band-split {
  display: grid;
  gap: 48px;
}

@media (min-width: 1000px) {
  .band-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 64px;
  }

  #editor.band-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
  }
}

.band-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.band-head h2 {
  max-width: 18ch;
}

/* Ledger */

.ledger {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line-strong);
  font-size: 1rem;
}

.ledger th,
.ledger td {
  text-align: left;
  vertical-align: top;
  padding: 20px 24px 20px 0;
  border-bottom: 1px solid var(--line);
}

.ledger thead th {
  padding: 14px 24px 14px 0;
  font: 500 0.75rem var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.ledger tbody th {
  font-weight: 600;
}

.ledger td {
  color: var(--soft);
}

.ledger td.none {
  color: var(--dim);
}

@media (max-width: 719px) {
  .ledger thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .ledger tr {
    display: block;
    padding: 12px 0 16px;
    border-bottom: 1px solid var(--line);
  }

  .ledger th,
  .ledger td {
    display: block;
    padding: 6px 0;
    border: 0;
  }

  .ledger td::before {
    content: attr(data-label);
    display: block;
    font: 500 0.6875rem var(--mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2px;
  }
}

/* Settings */

.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}

.seg [role="tab"] {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font: 500 0.8125rem var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.seg [role="tab"]:hover {
  color: var(--text);
}

.seg [role="tab"][aria-selected="true"] {
  background: var(--text);
  color: var(--bg);
}

.shots {
  margin-top: 40px;
}

.shots figure {
  margin: 0;
}

.shots figure[hidden] {
  display: none;
}

.shots img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.shots figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Local */

.rows {
  margin: 0;
  border-top: 1px solid var(--line-strong);
}

.rows div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.rows dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.rows dd {
  margin: 0;
  color: var(--soft);
}

.rows code {
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
}

/* Devices */

.devices {
  margin-top: 40px;
  display: grid;
  gap: 24px;
}

.device {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.device p {
  color: var(--soft);
}

.device-stage {
  height: 200px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--surface);
  display: grid;
  place-items: center;
}

.mb-chip {
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--raised);
  border: 1px solid var(--line);
  font: 500 14px var(--mac);
  white-space: nowrap;
}

.widget {
  width: 148px;
  height: 148px;
  padding: 16px;
  border-radius: 30px;
  background: var(--raised);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.widget-label {
  font: 500 0.6875rem var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.widget-num {
  font: 500 3.25rem/1 var(--mono);
  letter-spacing: -0.05em;
}

.widget .bar {
  height: 6px;
  background: var(--track);
}

.widget .bar span {
  background: var(--ok);
}

.ring {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: conic-gradient(var(--ok) 0 var(--v), var(--track) var(--v) 100%);
  display: grid;
  place-items: center;
}

.ring span {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--surface);
  display: grid;
  place-items: center;
  font: 500 1.625rem var(--mono);
}

@media (min-width: 900px) {
  .devices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .device-stage {
    height: 220px;
  }
}

/* Editor */

.editor-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.editor-title img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  flex: none;
}

.steps {
  margin: 8px 0 8px;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--soft);
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 8px;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font: 500 0.8125rem/1.9 var(--mono);
  color: var(--hot-text);
}

.steps code {
  color: var(--text);
}

.ide {
  position: relative;
  min-height: 420px;
  border-radius: 14px;
  overflow: hidden;
  background: #181818;
  border: 1px solid #333336;
  display: flex;
  flex-direction: column;
  font: 500 12px var(--mac);
  color: #cccccc;
}

[data-theme="light"] .ide {
  border-color: var(--line-strong);
}

.ide-tabs {
  height: 34px;
  display: flex;
  background: #1f1f1f;
  border-bottom: 1px solid #2b2b2b;
}

.ide-tabs span {
  padding: 0 16px;
  display: flex;
  align-items: center;
  border-right: 1px solid #2b2b2b;
  color: #8f8f8f;
}

.ide-tabs span.on {
  background: #181818;
  color: #ffffff;
}

.ide-code {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.ide-code i {
  display: block;
  height: 7px;
  width: var(--w);
  margin-left: calc(var(--x, 0) * 24px);
  border-radius: 4px;
  background: #2e2e33;
}

.ide-code i:nth-child(3) {
  background: #2f4a7a;
}

.ide-tip {
  position: absolute;
  right: 16px;
  bottom: 40px;
  width: 230px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #252526;
  border: 1px solid #454545;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font: 400 12px var(--mono);
  color: #d4d4d4;
}

.ide-tip p {
  display: flex;
  justify-content: space-between;
}

.ide-tip b {
  font-weight: 500;
  color: #ffffff;
}

.ide-tip-head {
  font: 600 12px var(--mac);
  color: #ffffff;
  padding-bottom: 4px;
  border-bottom: 1px solid #3a3a3a;
}

.ide-tip-foot {
  color: #9a9a9a;
}

.ide-status {
  height: 26px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: #1f1f1f;
  border-top: 1px solid #2b2b2b;
  color: #cccccc;
}

.ide-status span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 7px;
  height: 100%;
}

.ide-status .icon {
  width: 13px;
  height: 13px;
}

.ide-status-end {
  margin-left: auto;
}

.ide-meter {
  background: var(--hot);
  color: var(--on-hot);
  font-weight: 700;
}

/* Download */

.download {
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.download h1,
.download h2 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1;
}

.steps-inline {
  margin: 0;
}

@media (min-width: 900px) {
  .steps-inline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .steps-inline li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--line-strong);
  }
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
}

.footer-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-bar > p {
  color: var(--muted);
  font-size: 0.8125rem;
  max-width: 80ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font: 400 0.8125rem var(--mono);
}

.footer-links a {
  text-decoration: none;
  color: var(--soft);
}

.footer-links a:hover {
  color: var(--hot-text);
}

/* Motion */

@media (prefers-reduced-motion: no-preference) {
  .dot-live {
    animation: blink 2s infinite;
  }

  .hint .dot-alert,
  .menubar-item .dot-alert {
    animation: ping 1.8s ease-out infinite;
  }
}

@keyframes blink {
  50% { opacity: 0.25; }
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 61, 0.6); }
  80%, 100% { box-shadow: 0 0 0 6px rgba(255, 77, 61, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}

@media (forced-colors: active) {
  .btn-hot,
  .btn-primary,
  .tabs [role="tab"][aria-selected="true"],
  .seg [role="tab"][aria-selected="true"] {
    border: 1px solid ButtonText;
  }
}

.legal {
  display: grid;
  gap: 16px;
  max-width: 68ch;
  padding: 56px 0 24px;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal h2 {
  margin-top: 12px;
  font-size: 1.25rem;
}

.legal p,
.legal li {
  color: var(--soft);
  font-size: 1rem;
  line-height: 1.55;
}

.legal ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2rem;
}

.legal .dated {
  color: var(--muted);
  font: 400 0.8125rem var(--mono);
}
