/* Hotshot Orchestrator, the site. One stylesheet for every page (landing, download, What's new, legal,
   packages); the landing adds landing.css (its sections) and scenes.css (its animated product scenes).
   Colours are the app's own tokens (src/styles.css): Graphite when the system is dark, Daylight when it
   is light. Type is the app's: the system sans for words, JetBrains Mono for anything a terminal says. */

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/JetBrainsMono-Regular.woff2") format("woff2");
}

/* Headlines: Hubot Sans (SIL Open Font License 1.1, assets/fonts/HubotSans-OFL.txt), unmodified.
   A grotesk drawn with a machine's regularity, for a page about agents; words stay in the system sans. */
@font-face {
  font-family: "Hubot Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/HubotSans-Bold.woff2") format("woff2");
}

:root {
  --bg: #0a0a0a;
  --bg-2: #0e0e0f;
  --surface: #121213;
  --surface-2: #19191b;
  --surface-3: #212124;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #ececec;
  --text-2: #b5b5ba;
  --muted: #8f8f96;
  --accent: #ff7a1a;
  --accent-text: #ff8a3d;
  --accent-fill: #c55300;
  --accent-fill-hover: #ae4900;
  --accent-soft: rgba(255, 122, 26, 0.11);
  --accent-line: rgba(255, 122, 26, 0.38);
  --ok: #5ed39b;
  --info: #8ccdf5;
  --warn: #f5c04a;
  --bad: #f58585;
  --focus: #ff8a3d;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 40px 90px -30px rgba(0, 0, 0, 0.85);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Hubot Sans", var(--font);
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(0.2, 0.75, 0.15, 1);
  /* A spring that overshoots a little and settles: for things that arrive or are let go of. */
  --spring: cubic-bezier(0.3, 1.4, 0.5, 1);
  color-scheme: dark;
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, 0.009, 0.035 2.1%, 0.141 4.4%, 0.723 12.9%, 0.938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, 0.991, 0.977 51%, 0.974 53.8%, 0.975 57.1%, 0.997 69.8%, 1.003 76.9%, 1.004 83.8%, 1);
  }
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f5f8;
    --bg-2: #eceef3;
    --surface: #ffffff;
    --surface-2: #eef0f4;
    --surface-3: #e4e7ee;
    --line: #dde1ea;
    --line-2: #b9c0cd;
    --text: #171a21;
    --text-2: #444c5c;
    --muted: #5a6374;
    --accent: #f26a10;
    --accent-text: #a8480a;
    --accent-fill: #c4550b;
    --accent-fill-hover: #ac4a09;
    --accent-soft: rgba(242, 106, 16, 0.1);
    --accent-line: rgba(196, 85, 11, 0.4);
    --ok: #047d58;
    --info: #0273ae;
    --warn: #a55a05;
    --bad: #c81e1e;
    --focus: #a8480a;
    --shadow: 0 30px 70px -28px rgba(15, 20, 30, 0.42);
    color-scheme: light;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
code,
pre,
kbd {
  font-family: var(--mono);
  font-size: 0.88em;
}
kbd {
  padding: 0.05em 0.4em;
  border-radius: 5px;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  font-size: 0.8em;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--accent-fill);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.muted {
  color: var(--muted);
}
.link {
  color: var(--accent-text);
  text-decoration: underline;
  text-decoration-color: var(--accent-line);
  text-underline-offset: 3px;
  font-weight: 550;
}
.link:hover {
  text-decoration-color: currentColor;
}

/* Buttons: the app's primary (an orange fill with a light top edge) and its quiet hairline button. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: var(--accent-fill);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 8px 24px -10px rgba(255, 106, 0, 0.55);
  color: #fff;
  font: 600 15px/1 var(--font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    transform 0.2s var(--ease-out),
    box-shadow 0.2s ease;
}
.btn:hover {
  background: var(--accent-fill-hover);
}
.btn:active {
  transform: translateY(1px);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-sm {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-lg {
  min-height: 52px;
  padding: 0 24px;
  font-size: 16px;
  border-radius: 12px;
}
.btn-ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--text);
}
.btn-ghost:hover {
  background: var(--surface-2);
}
.btn-quiet {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 550;
  padding: 6px 10px;
  border-radius: 8px;
}
.btn-quiet:hover {
  color: var(--text);
  background: var(--surface-2);
}
.pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  vertical-align: 2px;
}
.pill-soon {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--accent-line);
}

/* The header: the app's top bar, a hairline under a translucent near-black strip. */
.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid var(--line);
}
.head-row {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 62px;
}
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex: none;
  border-radius: 8px;
}
.lockup img {
  width: 44px;
  height: auto;
}
.lockup .word {
  display: block;
  height: 17px;
  aspect-ratio: 1494 / 196;
  background: var(--text);
  -webkit-mask: url("/assets/wordmark.svg") left center / contain no-repeat;
  mask: url("/assets/wordmark.svg") left center / contain no-repeat;
}
.head-nav {
  display: flex;
  gap: 2px;
  font-size: 14px;
}
.head-nav a,
.head-menu nav a {
  color: var(--text-2);
  text-decoration: none;
  padding: 6px 11px;
  border-radius: 8px;
  font-weight: 500;
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}
.head-nav a:hover,
.head-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-2);
}
.head-acts {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.head-menu {
  display: none;
  position: relative;
}
.head-menu summary {
  list-style: none;
  display: grid;
  place-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
}
.head-menu summary::-webkit-details-marker {
  display: none;
}
.head-menu summary span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s var(--ease-out);
}
.head-menu[open] summary span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.head-menu[open] summary span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}
.head-menu nav {
  position: absolute;
  right: 0;
  top: 52px;
  width: min(300px, calc(100vw - 32px));
  display: grid;
  padding: 8px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transform-origin: top right;
  animation: menu-in 0.18s var(--ease-out);
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
}
.head-menu nav a {
  padding: 12px 12px;
  font-size: 15px;
}
@media (max-width: 920px) {
  .head-nav {
    display: none;
  }
  .head-menu {
    display: block;
  }
  .head-acts {
    gap: 2px;
  }
}
@media (max-width: 520px) {
  .head-acts .btn-quiet {
    display: none;
  }
  .head-row {
    gap: 10px;
  }
  .lockup .word {
    height: 15px;
  }
}

/* Generic page heads (download, What's new, packages, legal). */
.page-head {
  padding-top: clamp(48px, 8vw, 104px);
  padding-bottom: 36px;
}
.page-head h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 720;
  text-wrap: balance;
}
.lede {
  margin: 0;
  max-width: 60ch;
  color: var(--text-2);
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.55;
  text-wrap: pretty;
}

/* Markdown, by the app's rules (.md in src/styles.css) at reading size. */
.md > :first-child {
  margin-top: 0;
}
.md h1,
.md h2,
.md h3,
.md h4 {
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 1.6em 0 0.5em;
}
.md h1 {
  font-size: 30px;
  letter-spacing: -0.025em;
}
.md h2 {
  font-size: 22px;
  padding-bottom: 0.3em;
  border-bottom: 1px solid var(--line);
}
.md h3 {
  font-size: 17px;
}
.md p,
.md ul,
.md ol,
.md blockquote,
.md .md-table,
.md pre {
  margin: 0 0 1em;
}
.md ul,
.md ol {
  padding-left: 1.3em;
}
.md li {
  margin: 0 0 0.45em;
}
.md li::marker {
  color: var(--muted);
}
.md a {
  color: var(--accent-text);
  text-underline-offset: 3px;
}
.md code {
  padding: 0.1em 0.35em;
  border-radius: 5px;
  background: var(--surface-2);
  font-size: 0.86em;
}
.md pre {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: auto;
}
.md pre code {
  padding: 0;
  background: none;
}
.md blockquote {
  padding: 2px 0 2px 16px;
  border-left: 3px solid var(--accent);
  color: var(--text-2);
}
.md hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2em 0;
}
.md .md-table,
.md .table {
  overflow-x: auto;
}
.md table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
.md th,
.md td {
  padding: 8px 10px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.md th {
  background: var(--surface-2);
}
.md .md-img {
  color: var(--muted);
}

/* What's new: a version rail on the left, each release a block with its version large. */
.changelog {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 64px;
  padding-bottom: 112px;
}
.release-toc {
  position: sticky;
  top: 90px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding-bottom: 8px;
}
.release-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}
.release-toc li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.release-toc a {
  display: inline-block;
  padding: 5px 14px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 13.5px;
}
.release-toc a:hover {
  color: var(--text);
  border-left-color: var(--line-2);
}
.release-toc li:first-child a {
  color: var(--text);
  border-left-color: var(--accent);
}
.release-list {
  max-width: 74ch;
}
.release {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
.release:first-child {
  border-top: 0;
  padding-top: 0;
}
.release-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 20px;
}
.release-head h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 40px);
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.release-head h2 a {
  text-decoration: none;
}
.release-head h2 a:hover {
  color: var(--accent-text);
}
.release-head .pill {
  align-self: center;
}
.release-head time {
  color: var(--muted);
  font-size: 14px;
}
.release-body {
  color: var(--text-2);
}
.release-body h3 {
  color: var(--text);
  font-size: 16px;
  margin: 1.7em 0 0.5em;
}
.release-body > h3:first-child {
  margin-top: 0;
}
.release-body strong {
  color: var(--text);
}
@media (max-width: 820px) {
  .changelog {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .release-toc {
    position: static;
    max-height: none;
    margin-bottom: 32px;
  }
  .release-toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border: 0;
  }
  .release-toc a,
  .release-toc li:first-child a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 12px;
    margin: 0;
  }
  .release-toc li:first-child a {
    border-color: var(--accent-line);
  }
  .release-toc .pill {
    display: none;
  }
}

/* Download page: the visitor's own system first, as a card of its own; the rest as rows. */
.dl-ver {
  margin: 0 0 22px;
  color: var(--text-2);
}
.dl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.dl-row {
  display: grid;
  grid-template-columns: 44px minmax(170px, 1.1fr) minmax(0, 2fr) auto;
  align-items: center;
  gap: 8px 22px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}
.dl-row::before {
  content: "";
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-2) var(--os-icon, none) center / 22px no-repeat;
  box-shadow: inset 0 0 0 1px var(--line);
}
.dl-row[data-os^="mac"] {
  --os-icon: url("/assets/os-mac.svg");
}
.dl-row[data-os="windows"] {
  --os-icon: url("/assets/os-windows.svg");
}
.dl-row[data-os^="linux"] {
  --os-icon: url("/assets/os-linux.svg");
}
.dl-row[data-os="android"],
.dl-row[data-os="ios"] {
  --os-icon: url("/assets/os-phone.svg");
}
.dl-row.mine {
  margin: 0 0 18px;
  padding: 26px 26px;
  border: 1px solid var(--accent-line);
  border-radius: 16px;
  background:
    radial-gradient(120% 140% at 0% 0%, var(--accent-soft), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow);
}
.dl-row.mine .btn {
  background: var(--accent-fill);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 8px 24px -10px rgba(255, 106, 0, 0.55);
  color: #fff;
  min-height: 48px;
  padding: 0 22px;
}
.dl-row.mine .btn:hover {
  background: var(--accent-fill-hover);
}
.dl-what {
  display: grid;
}
.dl-name {
  font-weight: 650;
  font-size: 17px;
}
.dl-row.mine .dl-name {
  font-size: 20px;
  letter-spacing: -0.01em;
}
.dl-row.mine .dl-name::after {
  content: "Your system";
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-text);
  vertical-align: 2px;
}
.dl-detail,
.dl-file {
  color: var(--muted);
  font-size: 14px;
}
.dl-file {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.sha {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: all;
}
.prev {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.prev a {
  color: var(--text-2);
}
@media (max-width: 760px) {
  .dl-row {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 6px 14px;
  }
  .dl-file {
    grid-column: 2 / -1;
    grid-row: 2;
  }
  .dl-row.mine {
    padding: 20px 16px;
  }
  .sha {
    white-space: normal;
    word-break: break-all;
  }
}
@media (max-width: 420px) {
  .dl-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .dl-row::before {
    display: none;
  }
  .dl-file {
    grid-column: 1 / -1;
  }
}
.install-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 48px;
  padding-top: 24px;
}
@media (max-width: 860px) {
  .install-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.install {
  padding: 26px 0 8px;
  border-top: 1px solid var(--line);
}
.install:first-child {
  border-top-color: var(--accent-line);
}
.install h3 {
  margin: 0 0 6px;
  font-size: 20px;
  letter-spacing: -0.015em;
}
.install p,
.install li {
  color: var(--text-2);
}
.install ol {
  padding-left: 1.3em;
  margin: 10px 0;
}
.install li {
  margin-bottom: 6px;
}
.install li::marker {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.note {
  font-size: 14px;
  color: var(--muted);
}
.cmd {
  display: block;
  margin: 8px 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow-x: auto;
  white-space: nowrap;
  font-size: 13px;
  color: var(--text);
}
.section-sm {
  padding: 64px 0;
}
.section-sm > .wrap > h2,
.section-sm h2.h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.reqs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
  margin: 24px 0 0;
}
.reqs > div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.reqs dt {
  font-weight: 650;
  margin-bottom: 4px;
}
.reqs dd {
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
}
@media (max-width: 860px) {
  .reqs {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Legal and other documents. */
.doc {
  max-width: 820px;
  padding-top: 40px;
  padding-bottom: 96px;
}
.doc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 36px;
}
.doc-tabs a {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
}
.doc-tabs a[aria-current="page"] {
  border-color: transparent;
  background: var(--accent-soft);
  color: var(--accent-text);
}
.doc .md h1 {
  font-size: clamp(32px, 4.4vw, 46px);
  letter-spacing: -0.035em;
  margin-bottom: 0.4em;
}
.doc .md blockquote {
  border-left-color: var(--warn);
  background: color-mix(in srgb, var(--warn) 8%, transparent);
  border-radius: 0 10px 10px 0;
  padding: 10px 16px;
}
.doc .md blockquote p:last-child {
  margin-bottom: 0;
}
pre.notices {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-2);
}

/* Workspace packages. */
.pkgs {
  padding-bottom: 96px;
}
.pkgs > * {
  max-width: 860px;
}
.pkg {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.pkg .head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}
.pkg h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.pkg h3 {
  margin: 18px 0 6px;
  font-size: 15px;
}
.pkg p,
.pkg li {
  color: var(--text-2);
}
.tier {
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  padding: 2px 9px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--muted);
}
.tier-official {
  box-shadow: none;
  background: var(--accent-soft);
  color: var(--accent-text);
}
.pkg .by {
  color: var(--muted);
  font-size: 14px;
  margin: 4px 0 12px;
}
.pkg .runs {
  font-size: 15px;
}
.pkg ul.may {
  margin: 0;
  padding-left: 1.2em;
}
.pkg dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px 18px;
  margin: 18px 0 0;
  font-size: 14px;
}
.pkg dt {
  color: var(--muted);
}
.pkg dd {
  margin: 0;
  min-width: 0;
}
.pkg dd code {
  word-break: break-all;
  font-size: 12px;
}
.pkg .acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: 20px 0 0;
}
.pkg .acts .btn {
  min-height: 38px;
  font-size: 14px;
}
.pkg .plain {
  color: var(--accent-text);
  font-size: 14px;
}
.pkg .muted {
  font-size: 14px;
}
.how {
  color: var(--muted);
  font-size: 15px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

/* 404. */
.lost {
  padding-bottom: 160px;
}
.lost .code404 {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 15px;
}
.acts-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

/* Footer. */
.site-foot {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 64px 0 32px;
  font-size: 14px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.foot-brand p {
  color: var(--muted);
  max-width: 34ch;
  margin: 14px 0 0;
}
.foot-brand a:not(.lockup) {
  color: var(--text-2);
}
.site-foot nav {
  display: grid;
  align-content: start;
  gap: 6px;
}
.site-foot h2 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.site-foot nav a {
  color: var(--muted);
  text-decoration: none;
  overflow-wrap: anywhere;
  padding: 3px 0;
}
.site-foot nav a:hover {
  color: var(--text);
}
.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 760px) {
  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
}

/* ---------------------------------------------------------------------------------------- motion
   Things you press answer: a button gives under the finger and springs back, and the download
   arrow drops into its tray on hover. The header carries a playhead: a hairline that runs across as
   the page is read, like the one in the app scene's score. */
.btn {
  transition:
    background-color 0.15s ease,
    transform 0.45s var(--spring),
    box-shadow 0.2s ease;
}
.btn:active {
  transform: scale(0.965);
  transition-duration: 0.15s, 0.08s, 0.2s;
  transition-timing-function: ease, ease-out, ease;
}
@media (prefers-reduced-motion: no-preference) {
  .btn:hover svg {
    animation: drop 0.6s var(--ease-out);
  }
  @keyframes drop {
    40% {
      transform: translateY(3px);
    }
  }
  @supports (animation-timeline: scroll()) {
    .site-head::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -1px;
      height: 2px;
      background: var(--accent);
      transform-origin: 0 50%;
      animation: playhead linear both;
      animation-timeline: scroll(root);
    }
    @keyframes playhead {
      from {
        transform: scaleX(0);
      }
    }
  }
}
