@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/npm/@fontsource-variable/work-sans@5.3.0/files/work-sans-latin-wght-normal.woff2")
    format("woff2");
}

@font-face {
  font-family: "Fira Code";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/npm/@fontsource-variable/fira-code@5.3.0/files/fira-code-latin-wght-normal.woff2")
    format("woff2");
}

:root {
  --mu-font-family-sans-serif: "Work Sans", system-ui, sans-serif;
  --mu-font-family: var(--mu-font-family-sans-serif);
  --mu-font-family-monospace: "Fira Code", ui-monospace, monospace;
  --mu-font-size: 100%;
  --mu-line-height: 1.65;
  --mu-border-radius: 0.375rem;
}

/* Linux Matters brand: amber on near-black. The doubled :root outranks the µCSS theme selectors.
   Amber text fails contrast on white, so the light theme takes a darker amber for text and rules. */
:root:root {
  --lm-amber: #feb81e;
  --lm-ink: #141414;
  --mu-primary: light-dark(#855600, #feb81e);
  --mu-primary-hover: light-dark(#5c3b00, #ffd166);
  --mu-primary-underline: color-mix(in srgb, var(--mu-primary) 50%, transparent);
  --mu-primary-hover-underline: var(--mu-primary-hover);
  --mu-primary-focus: color-mix(in srgb, var(--mu-primary) 40%, transparent);
  --mu-primary-background: var(--lm-amber);
  --mu-primary-hover-background: light-dark(#f0a800, #ffd166);
  --mu-primary-inverse: var(--lm-ink);
}

body {
  margin: 0;
}
.container {
  width: min(100% - 3rem, 1160px);
  max-width: none;
  padding-inline: 0;
}
[hidden] {
  display: none !important;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
a {
  text-underline-offset: 0.2em;
}
a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 3px solid var(--mu-primary);
  outline-offset: 5px;
  box-shadow: none;
}
code,
kbd,
pre,
samp {
  font-family: var(--mu-font-family-monospace);
}
:not(pre) > code {
  display: inline;
  padding: 0.12rem 0.32rem;
  border-radius: 0.25rem;
  font-size: 0.85em;
}
.skip-link {
  position: absolute;
  z-index: 10;
  top: 0.6rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--mu-background-color);
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: translateY(0);
}
body > main:focus-visible {
  outline: none;
}
body > main:focus-visible h1:first-of-type {
  position: relative;
}
body > main:focus-visible h1:first-of-type::before {
  position: absolute;
  top: 0.12em;
  left: -0.75rem;
  width: 4px;
  height: 0.9em;
  border-radius: 2px;
  background: var(--mu-primary);
  content: "";
}
.site-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--mu-muted-border-color);
}
.brand {
  --mu-color: var(--mu-h1-color);
  display: inline-flex;
  flex-shrink: 1;
  align-items: center;
  min-width: 0;
  gap: 0.65rem;
  color: var(--mu-h1-color);
  font-size: 1.5rem;
  font-weight: 750;
  text-decoration: none;
}
.brand-name {
  min-width: 0;
  overflow-wrap: anywhere;
}
.brand-mark {
  flex: 0 0 33px;
  width: 33px;
  height: 33px;
  border-radius: 0.375rem;
  /* The logo is near-black, so a hairline keeps its edge on the dark theme. */
  box-shadow: 0 0 0 1px var(--mu-muted-border-color);
}
.site-header nav {
  margin-left: auto;
}
.site-header nav ul {
  flex-wrap: wrap;
  column-gap: 0.5rem;
}
nav a {
  color: var(--mu-muted-color);
  font-size: 0.92rem;
}
.site-header nav a[aria-current="page"] {
  color: var(--mu-h1-color);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--lm-amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.45em;
}
.header-tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.4rem;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin: 0;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: var(--mu-color);
  box-shadow: none;
}
.icon-button:hover {
  background: var(--mu-secondary-background);
  color: var(--mu-primary);
}
/* Octicons 19.36.0, loaded from the CDN as colourable masks. */
.octicon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.octicon[hidden] {
  display: none;
}
.github-icon {
  --icon: url("https://cdn.jsdelivr.net/npm/@primer/octicons@19.36.0/build/svg/mark-github-24.svg");
}
.inline-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}
.arrow-down {
  --icon: url("https://cdn.jsdelivr.net/npm/@primer/octicons@19.36.0/build/svg/arrow-down-16.svg");
}
.link-external {
  --icon: url("https://cdn.jsdelivr.net/npm/@primer/octicons@19.36.0/build/svg/link-external-16.svg");
}
.theme-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
}
.theme-picker .octicon {
  position: absolute;
  z-index: 1;
  left: 0.65rem;
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.theme-picker select {
  width: auto;
  min-width: 7.5rem;
  height: 44px;
  padding: 0.45rem 2rem 0.45rem 2.2rem;
  margin: 0;
  border-color: var(--mu-muted-border-color);
  font-size: 0.85rem;
}
#theme-sun {
  --icon: url("https://cdn.jsdelivr.net/npm/@primer/octicons@19.36.0/build/svg/sun-24.svg");
  color: var(--mu-warning);
}
#theme-moon {
  --icon: url("https://cdn.jsdelivr.net/npm/@primer/octicons@19.36.0/build/svg/moon-24.svg");
  color: var(--mu-contrast);
}
body > main {
  padding-block: 0;
}
.site-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding-block: 4.5rem 4rem;
  margin-bottom: 0;
}
.eyebrow {
  color: var(--mu-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 0;
}
.eyebrow + :is(h1, h2) {
  margin-top: 0.25rem;
}
h1 {
  font-size: clamp(2.25rem, 3.8vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 1.15rem;
  overflow-wrap: anywhere;
}
h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  overflow-wrap: anywhere;
}
h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.lead {
  max-width: 34rem;
  font-size: 1.125rem;
  color: var(--mu-muted-color);
  margin-bottom: 0;
}
.lead > p {
  color: inherit;
}
.lead > p:last-child {
  margin-bottom: 0;
}
.site-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.primary-action {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.15rem;
  border: var(--mu-border-width) solid var(--mu-primary-background);
  border-radius: var(--mu-border-radius);
  background-color: var(--mu-primary-background);
  color: var(--mu-primary-inverse);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}
.primary-action:is(:hover, :focus) {
  border-color: var(--mu-primary-hover-background);
  background-color: var(--mu-primary-hover-background);
  color: var(--mu-primary-inverse);
}
.primary-action:focus-visible {
  outline: 3px solid var(--mu-primary);
  outline-offset: 5px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
}
.hero-note {
  color: var(--mu-muted-color);
  font-size: 0.875rem;
  margin: 1.25rem 0 0;
}
.hero-note a {
  color: inherit;
  text-decoration-color: currentColor;
}
.hero-note a:hover {
  color: var(--mu-primary);
}
.terminal {
  /* The µCSS dark muted colour reaches only 4.39:1 on the code background. */
  --mu-muted-color: light-dark(#646b79, #8d96a6);
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--mu-muted-border-color);
  border-radius: 0.75rem;
  background: var(--mu-code-background-color);
  color: var(--mu-color);
  box-shadow: var(--mu-card-box-shadow);
}
:root[data-theme="dark"] .terminal {
  box-shadow: var(--mu-card-box-shadow), 0 14px 28px -8px rgba(0, 0, 0, 0.45);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .terminal {
    box-shadow: var(--mu-card-box-shadow), 0 14px 28px -8px rgba(0, 0, 0, 0.45);
  }
}
.terminal figcaption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-bottom: 1px solid var(--mu-muted-border-color);
  padding: 0.75rem 1.25rem;
  color: var(--mu-muted-color);
  font-size: 0.78rem;
  font-weight: 500;
}
.terminal-dots {
  display: flex;
  gap: 0.35rem;
}
.terminal-dots i {
  height: 0.55rem;
  width: 0.55rem;
  border-radius: 50%;
  background: var(--mu-secondary);
}
.terminal-dots i:nth-child(1) {
  background: var(--mu-error);
}
.terminal-dots i:nth-child(2) {
  background: var(--mu-warning);
}
.terminal-dots i:nth-child(3) {
  background: var(--mu-success);
}
.terminal pre {
  background: transparent;
  padding: 1.35rem 1.5rem;
  margin: 0;
  border: 0;
  border-radius: 0;
  font-size: 0.85rem;
  line-height: 1.75;
}
.terminal code {
  color: var(--mu-color);
  padding: 0;
  background: transparent;
}
.terminal-comment {
  color: var(--mu-muted-color);
}
.prompt {
  color: var(--mu-muted-color);
  user-select: none;
}
.terminal-command {
  color: var(--mu-primary);
  font-weight: 600;
}
.terminal-argument {
  color: var(--mu-color);
}
.section-rule {
  border-top: 1px solid var(--mu-muted-border-color);
  padding-block: 4rem;
  margin-bottom: 0;
}
.features {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.features > div > p:not(.eyebrow) {
  color: var(--mu-muted-color);
  max-width: 26rem;
}
.feature-list {
  margin: 0;
}
.feature-list > div + div {
  border-top: 1px solid var(--mu-muted-border-color);
  padding-top: 1.35rem;
  margin-top: 1.35rem;
}
.feature-list dt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.08rem;
  font-weight: 650;
  color: var(--mu-h2-color);
}
.feature-list > div {
  --feature-accent: var(--lm-amber);
}
.feature-number {
  display: inline-block;
  min-width: 1.85rem;
  color: var(--mu-muted-color);
  font-family: var(--mu-font-family-monospace);
  font-size: 0.78rem;
  font-weight: 600;
  border-left: 3px solid var(--feature-accent);
  padding-left: 0.45rem;
}
.feature-list dd {
  margin: 0.45rem 0 0 2.35rem;
  color: var(--mu-muted-color);
  font-size: 0.96rem;
  line-height: 1.6;
}
.section-heading {
  max-width: 44rem;
}
.section-heading > p:last-child {
  color: var(--mu-muted-color);
  margin-bottom: 0;
}
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 0;
  margin: 2rem 0 1.5rem;
  list-style: none;
  counter-reset: steps;
}
@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .steps.steps-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.steps.unnumbered li::before {
  content: "";
  padding-top: 0;
  margin-bottom: 1rem;
}
.steps li > h3:first-child {
  margin-top: 0;
}
.steps li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: 1.25rem;
  border: 1px solid var(--mu-muted-border-color);
  border-radius: 0.75rem;
  background: var(--mu-card-background-color);
  box-shadow: var(--mu-card-box-shadow);
  list-style: none;
  counter-increment: steps;
}
.steps li {
  --step-accent: var(--lm-amber);
}
.steps li::before {
  content: "0" counter(steps);
  display: block;
  width: 100%;
  color: var(--mu-muted-color);
  font-family: var(--mu-font-family-monospace);
  font-size: 0.78rem;
  font-weight: 600;
  border-top: 3px solid var(--step-accent);
  padding-top: 0.75rem;
  margin-bottom: 0.85rem;
}
.steps li > code,
.steps .step-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 0.25rem;
  background: var(--mu-code-background-color);
  color: var(--mu-code-color);
  font-family: var(--mu-font-family-monospace);
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}
.steps h3 {
  margin-top: 0.75rem;
  margin-bottom: 0.45rem;
}
.steps p,
.workflow-note {
  font-size: 0.92rem;
  color: var(--mu-muted-color);
}
.steps p {
  margin-bottom: 0;
}
.workflow-note {
  margin-bottom: 0;
}
.install-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0;
  margin: 2rem 0 1.5rem;
  list-style: none;
}
/* Three Linux tiles to a row, then the macOS and Nix pair, then the command tile. */
@media (min-width: 744px) {
  .install-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .install-grid > li {
    grid-column: span 2;
  }
  .install-grid > .install-pair {
    grid-column: span 3;
  }
  .install-grid > .install-any {
    grid-column: span 6;
  }
}
@media (min-width: 744px) and (max-width: 999.98px) {
  .install-grid > li:not(.install-pair) > .install-tile > .arrow-up-right {
    display: none;
  }
}
.install-grid > li {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Each tile takes its tint from the brand colour of its repository logo. */
.install-tile {
  --tile-brand: var(--mu-primary);
  display: flex;
  flex: 1;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  min-height: 5.75rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--mu-muted-border-color);
  border-radius: 0.75rem;
  background: var(--mu-card-background-color);
  box-shadow: var(--mu-card-box-shadow);
  color: var(--mu-color);
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}
a.install-tile:is(:hover, :focus-visible) {
  border-color: color-mix(in srgb, var(--tile-brand) 55%, var(--mu-muted-border-color));
  background: color-mix(in srgb, var(--tile-brand) 8%, var(--mu-card-background-color));
  color: var(--mu-color);
  text-decoration: none;
}
a.install-tile:focus-visible {
  outline-offset: 2px;
}
/* The muted lines take the heading colour on the tint, to keep their contrast. */
a.install-tile:is(:hover, :focus-visible) :is(.install-platform, .install-host) {
  color: var(--mu-h2-color);
}
.install-tile[data-repo="apt"] {
  --tile-brand: #e95420;
}
.install-tile[data-repo="rpm"] {
  --tile-brand: #ee0000;
}
.install-tile[data-repo="pkg"] {
  --tile-brand: #1793d1;
}
.install-tile[data-repo="brew"] {
  --tile-brand: light-dark(#a8700f, #e2a843);
}
.install-tile[data-repo="nix"] {
  --tile-brand: light-dark(#5277c3, #7ebae4);
}
.install-logo,
.install-glyph {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
}
.install-glyph {
  --icon: url("https://cdn.jsdelivr.net/npm/@primer/octicons@19.36.0/build/svg/terminal-24.svg");
  color: var(--mu-muted-color);
}
.install-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}
.install-platform {
  color: var(--mu-muted-color);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.install-name {
  color: var(--mu-h2-color);
  font-size: 1.02rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.install-host {
  margin-top: 0.1rem;
  color: var(--mu-muted-color);
  font-family: var(--mu-font-family-monospace);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}
.arrow-up-right {
  --icon: url("https://cdn.jsdelivr.net/npm/@primer/octicons@19.36.0/build/svg/arrow-up-right-16.svg");
}
.install-tile > .arrow-up-right {
  flex: 0 0 auto;
  color: var(--mu-muted-color);
  transition:
    color 0.15s ease,
    transform 0.15s ease;
}
a.install-tile:is(:hover, :focus-visible) > .arrow-up-right {
  color: var(--tile-brand);
  transform: translate(2px, -2px);
}
/* The command tile holds a command to copy, so only its name is a link. */
.install-command-tile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "glyph text copy"
    "command command command";
  row-gap: 0.75rem;
}
.install-command-tile > .install-glyph {
  grid-area: glyph;
}
.install-command-tile > .install-text {
  grid-area: text;
}
.install-command-tile a.install-name {
  align-self: flex-start;
  text-decoration: underline;
  text-decoration-color: var(--mu-muted-border-color);
}
.install-command-tile a.install-name:hover {
  text-decoration-color: currentColor;
}
.install-command {
  grid-area: command;
  display: block;
  min-width: 0;
  padding: 0.6rem;
  border: 1px solid var(--mu-muted-border-color);
  border-radius: var(--mu-border-radius);
  background: var(--mu-code-background-color);
  color: var(--mu-code-color);
  font-size: 0.7rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.copy-button {
  grid-area: copy;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--mu-muted-border-color);
  border-radius: var(--mu-border-radius);
  background: transparent;
  color: var(--mu-muted-color);
  box-shadow: none;
}
.copy-button:hover {
  border-color: var(--mu-primary);
  background: transparent;
  color: var(--mu-primary);
}
.copy-button:focus-visible {
  outline-offset: 2px;
}
.copy-button .octicon {
  width: 16px;
  height: 16px;
}
.copy-icon {
  --icon: url("https://cdn.jsdelivr.net/npm/@primer/octicons@19.36.0/build/svg/copy-16.svg");
}
.copy-button[data-copied] {
  border-color: var(--mu-success);
  color: var(--mu-success);
}
.copy-button[data-copied] .copy-icon {
  --icon: url("https://cdn.jsdelivr.net/npm/@primer/octicons@19.36.0/build/svg/check-16.svg");
}
@media (min-width: 744px) {
  .install-command-tile {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    grid-template-areas: "glyph text command copy";
    column-gap: 0.9rem;
  }
  .install-command {
    margin-left: 0.6rem;
    padding-inline: 0.85rem;
    font-size: 0.84rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .install-tile,
  .install-tile > .arrow-up-right {
    transition: none;
  }
  a.install-tile:is(:hover, :focus-visible) > .arrow-up-right {
    transform: none;
  }
}
.install-note {
  color: var(--mu-muted-color);
  font-size: 0.92rem;
  margin-bottom: 0;
}
.install-note + .install-note {
  margin-top: 0.35rem;
}
.install-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.site-hero > *,
.steps > li {
  min-width: 0;
}
/* Overview page: one card per tool. The whole card is the link. */
.tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}
@media (min-width: 900px) {
  .tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.tool-grid > li {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tool-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--mu-muted-border-color);
  border-radius: 0.75rem;
  background: var(--mu-card-background-color);
  box-shadow: var(--mu-card-box-shadow);
  color: var(--mu-color);
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}
.tool-card:is(:hover, :focus-visible) {
  border-color: color-mix(in srgb, var(--lm-amber) 60%, var(--mu-muted-border-color));
  background: color-mix(in srgb, var(--lm-amber) 7%, var(--mu-card-background-color));
  color: var(--mu-color);
  text-decoration: none;
}
.tool-card:focus-visible {
  outline-offset: 2px;
}
.tool-job {
  display: block;
  width: 100%;
  border-top: 3px solid var(--lm-amber);
  padding-top: 0.75rem;
  margin-bottom: 0.85rem;
  color: var(--mu-muted-color);
  font-family: var(--mu-font-family-monospace);
  font-size: 0.78rem;
  font-weight: 600;
}
.tool-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
}
.tool-card p {
  flex: 1;
  margin-bottom: 1.1rem;
  color: var(--mu-muted-color);
  font-size: 0.96rem;
  line-height: 1.6;
}
.tool-card code {
  padding: 0.15rem 0.45rem;
  font-size: 0.8rem;
}
.tool-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--mu-primary);
  font-size: 0.92rem;
  font-weight: 600;
}
.arrow-right {
  --icon: url("https://cdn.jsdelivr.net/npm/@primer/octicons@19.36.0/build/svg/arrow-right-16.svg");
}
.tool-more .arrow-right {
  transition: transform 0.15s ease;
}
.tool-card:is(:hover, :focus-visible) .arrow-right {
  transform: translateX(3px);
}
@media (prefers-reduced-motion: reduce) {
  .tool-card,
  .tool-more .arrow-right {
    transition: none;
  }
  .tool-card:is(:hover, :focus-visible) .arrow-right {
    transform: none;
  }
}
.site-footer {
  border-top: 1px solid var(--mu-muted-border-color);
  padding-block: 3.5rem 2rem;
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}
.site-footer .footer-brand > p {
  max-width: 17rem;
  color: var(--mu-muted-color);
  font-size: 0.9rem;
  margin-top: 0.8rem;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-links ul {
  display: block;
  margin: 0;
  padding: 0;
}
.footer-links ul:first-of-type,
.footer-links ul:last-of-type {
  margin-inline: 0;
}
.footer-links li {
  display: block;
  padding: 0;
  margin: 0 0 0.55rem;
  list-style: none;
}
.footer-links h3 {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}
.footer-links a {
  display: inline;
  padding: 0;
  margin: 0;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid var(--mu-muted-border-color);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
}
.footer-bottom > p {
  flex: 1 1 16rem;
  min-width: 0;
}
.footer-bottom .connection-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
  margin-left: auto;
}
.footer-bottom .connection-links .icon-button {
  color: var(--mu-muted-color);
}
.footer-bottom .connection-links .icon-button:hover {
  color: var(--mu-primary);
}
.footer-bottom small a {
  color: inherit;
}
.icon-globe {
  --icon: url("https://cdn.jsdelivr.net/npm/@primer/octicons@19.36.0/build/svg/broadcast-24.svg");
}
.icon-rss {
  --icon: url("https://cdn.jsdelivr.net/npm/@primer/octicons@19.36.0/build/svg/rss-24.svg");
}
.icon-mastodon {
  --icon: url("https://cdn.jsdelivr.net/npm/simple-icons@16.30.0/icons/mastodon.svg");
}
.icon-bluesky {
  --icon: url("https://cdn.jsdelivr.net/npm/simple-icons@16.30.0/icons/bluesky.svg");
}
.icon-youtube {
  --icon: url("https://cdn.jsdelivr.net/npm/simple-icons@16.30.0/icons/youtube.svg");
}
.site-footer p {
  margin: 0;
}
.site-footer small {
  color: var(--mu-muted-color);
  font-size: 0.8rem;
}

@media (max-width: 1000px) {
  .site-header {
    gap: 1rem;
  }
  .site-hero {
    gap: 2rem;
    padding-block: 3.5rem;
  }
  .features {
    gap: 2.5rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    margin: 0;
  }
  .site-header nav ul {
    width: 100%;
    justify-content: flex-start;
    column-gap: 0;
    row-gap: 0.25rem;
  }
  /* Four links fit on one row at 375 px. */
  .site-header nav li {
    padding-inline: 0.45rem;
  }
  .site-hero,
  .features {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .site-hero {
    padding-block: 2.75rem;
  }
  .hero-copy,
  .lead {
    max-width: 36rem;
  }
  .terminal {
    width: 100%;
  }
  .section-rule {
    padding-block: 2.75rem;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 2rem);
  }
  .site-hero-actions {
    align-items: flex-start;
    gap: 1rem;
  }
  .terminal pre {
    padding: 1rem;
    font-size: 0.75rem;
  }
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
