@font-face {
  font-family: "Anybody";
  src: url("fonts/anybody.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --fg: #edece6;
  --dim: #aeada5;
  --rule: #2c2c2f;
  --fluidic: #58d6ff;
  --gravsuite: #ff7a45;
  --soundclone: #4fd1c5;
  --hexagong: #ffc92e;
  --c: var(--fg);
  --head: "Space Grotesk", "Anybody", "Helvetica Neue", Arial, sans-serif;
  --gut: max(16px, 3.5vw);
  --menu-h: 3.75rem;
  --text: clamp(1.1875rem, 0.95rem + 0.75vw, 1.75rem);
  --lede: clamp(2rem, 1.1rem + 3.4vw, 5rem);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  background: var(--bg);
  scroll-padding-top: calc(var(--menu-h) + var(--sub-h, 0px));
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Anybody", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--text);
  font-weight: 400;
  line-height: 1.32;
  overflow-x: clip;
}

a { color: inherit; }
h1, h2, h3, h4, .fill-word, .stave-word, .stats dd, .post-title { font-family: var(--head); }
p { margin: 0; }
img, video { display: block; width: 100%; height: auto; }
canvas { display: block; }

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

.skip {
  position: absolute;
  left: var(--gut);
  top: -6rem;
  z-index: 20;
  padding: .5rem 1rem;
  background: var(--fg);
  color: var(--bg);
}
.skip:focus { top: .5rem; }

/* menu */

.menu {
  position: sticky;
  top: 0;
  z-index: 10;
  /* the links sit on the logo's baseline (the bottom of its letters is the bottom of the svg),
     and the logo is centered by the top padding */
  --logo-w: clamp(4.9rem, 24vw, 12.5rem);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  height: var(--menu-h);
  padding: calc((var(--menu-h) - var(--logo-w) * 184 / 1273.5) / 2) var(--gut) 0;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  font-size: clamp(1.25rem, 1.05rem + .6vw, 1.65rem);
  letter-spacing: -.025em;
}
.menu a,
.menu-connect {
  text-decoration: none;
  padding: .625rem 0;
}
.menu .menu-home { display: block; flex: none; padding: 0; }
.logo { display: block; width: 100%; height: auto; }
.menu-home .logo { width: var(--logo-w); }
.logo-grow path {
  --dur: 2s;
  stroke-dasharray: 1 2;
  animation:
    logo-grow calc((var(--t1) - var(--t0)) * var(--dur)) linear calc(var(--t0) * var(--dur)) both,
    logo-thicken calc((var(--t1) - var(--t0) + .1) * var(--dur)) ease-out calc(var(--t0) * var(--dur)) both;
}
.logo-grow.again path { animation-name: logo-grow-2, logo-thicken-2; }
@keyframes logo-grow { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes logo-grow-2 { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes logo-thicken { from { stroke-width: 11; } to { stroke-width: 34; } }
@keyframes logo-thicken-2 { from { stroke-width: 11; } to { stroke-width: 34; } }
@media (prefers-reduced-motion: reduce) {
  .logo-grow path { stroke-dasharray: none; animation: none; }
}
.menu nav { display: flex; gap: clamp(1rem, 3vw, 3rem); margin-top: -.625rem; }  /* the links' top padding doesn't push the baseline down */
.menu nav a,
.menu-connect {
  text-decoration: underline transparent 2px;
  text-underline-offset: .28em;
  transition: text-decoration-color .15s;
}
.menu-connect {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.menu nav a:hover,
.menu-connect:hover,
.menu nav a[aria-current="true"] { text-decoration-color: var(--fg); }

/* hero: four staves of a score */

.score {
  margin: 0;
  font: inherit;
  --stave-h: max(6.75rem, calc((100vh - var(--menu-h) - 7rem) / 4));
  --stave-h: max(6.75rem, calc((100svh - var(--menu-h) - 7rem) / 4));
}
.stave {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--stave-h);
  padding: 0 var(--gut);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  text-decoration: none;
}
.stave canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.stave-word, .stave-name { position: relative; }
.stave-word {
  font-size: min(calc(var(--stave-h) * .84), 19.5vw);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1;
  white-space: nowrap;
  transition: color .15s;
}
.stave-name {
  align-self: flex-end;
  margin-bottom: .8em;
  padding: 0 .35em;
  background: var(--bg);
  color: var(--dim);
  transition: color .15s;
}
.stave:hover .stave-word,
.stave:hover .stave-name { color: var(--c); }
.stave:focus-visible { outline-offset: -3px; }

.intro {
  padding: 1.25rem var(--gut) 0;
  max-width: 44em;
  min-height: 7rem;
  font-size: clamp(1.1875rem, 1rem + .9vw, 2rem);
}

/* a word stretched along its width axis to fill the measure */

.fill {
  position: relative;
  container-type: inline-size;
  padding: 0 var(--gut);
  overflow: clip;
}
.fill canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.fill-word {
  position: relative;
  display: block;
  margin: 0;
  font-size: calc(100cqw / 4.655);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.12;
  padding-bottom: .1em;
  white-space: nowrap;
}
/* each word sized to fill the column exactly (its width in Space Grotesk, in ems) */
.w-fluidic { font-size: calc(100cqw / 2.886); }
.w-gravsuite { font-size: calc(100cqw / 4.332); }
.w-soundclone { font-size: calc(100cqw / 5.471); }
.w-hexagong { font-size: calc(100cqw / 4.664); }
.w-blog {
  /* the blog's heading: an outline a little larger than the post titles, not a column-filling word */
  font-size: clamp(3rem, 2rem + 4vw, 4.5rem);
  color: transparent;
  -webkit-text-stroke: 2px #fff;
  paint-order: stroke fill;
  letter-spacing: 0;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}
@media (min-width: 861px) { .w-blog { text-align: left; } }

.hollow {
  color: var(--bg);
  -webkit-text-stroke: max(3px, .6cqw) var(--dim);
  paint-order: stroke fill;
}

/* plugins */

.plugins { padding-top: clamp(4rem, 9vw, 10rem); }

/* the plugin menu sticks under the main menu while you're among the plugins,
   and grows down out of the main menu's "plugins" link */
.plugins-head {
  position: sticky;
  top: calc(var(--menu-h) - 1px);
  z-index: 9;
  background: var(--bg);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.plugins-head::before {
  content: "";
  position: absolute;
  left: var(--from, 50%);
  top: -1px;
  width: 14px;
  height: 7px;
  translate: -50% 0;
  background: var(--fg);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  opacity: 0;
  transition: opacity .2s;
}
.plugins-head.stuck::before { opacity: 1; }
.plugins-head.stuck { animation: sub-grow .28s ease-out; }
@keyframes sub-grow { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@media (prefers-reduced-motion: reduce) {
  .plugins-head.stuck { animation: none; }
}

.jump {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.jump a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 2.75rem;
  padding: .35em .25em;
  color: var(--c);
  font-size: clamp(.875rem, .55rem + 1.6vw, 1.5rem);
  font-stretch: 82%;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.jump a:hover { background: color-mix(in oklab, var(--c) 18%, transparent); }
.jump a[aria-current="true"] {
  background: var(--c);
  color: var(--bg);
}
@media (min-width: 861px) {
  .jump a { min-height: 3rem; font-stretch: 100%; }
}

/* the download page's chooser: solid blocks */
.jump-choose { gap: .5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jump-choose a { min-height: 3.75rem; background: var(--c); color: var(--bg); font-size: 1.5rem; }
.jump-choose a:hover { background: var(--c); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.product { padding-bottom: clamp(2.5rem, 5vw, 5rem); }

.product .fill {
  /* the plugin's name and its one-line description side by side, over the full-width animation */
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  column-gap: clamp(1rem, 2vw, 2.5rem);
  padding-top: clamp(3rem, 8vw, 8rem);
  border-top: 1px solid var(--rule);
}
.fill-col { position: relative; container-type: inline-size; }
.product .fill > .lede {
  position: relative;
  padding-bottom: .55em;
  font-size: clamp(1.375rem, .8rem + 1.9vw, 2.75rem);
}

.detail {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2vw, 2.5rem);
  row-gap: clamp(2rem, 4vw, 4.5rem);
  padding: clamp(.75rem, 1.5vw, 1.75rem) var(--gut) 0;
}

.lede {
  font-size: var(--lede);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.012em;
}
.nb { white-space: nowrap; }
.detail > .lede { grid-column: 1 / span 10; }
.detail > .media { grid-column: 5 / span 8; grid-row: 1; }
.detail > .side { grid-column: 1 / span 4; grid-row: 1; }
/* the numbers: a full-width row under the video and its text */
.detail > .stats { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flip .detail > .media { grid-column: 1 / span 8; }
.flip .detail > .side { grid-column: 9 / span 4; }
.flip .detail > .lede { grid-column: 3 / span 10; }

.side {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1rem;
  margin: 0;
}
.stats div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
}
.stats dd {
  margin: 0;
  color: var(--c);
  font-size: clamp(2.25rem, 1.5rem + 2vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.stats dt {
  color: var(--dim);
  font-size: max(1.0625rem, .8em);
  line-height: 1.2;
}

.formats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* every format logo at the same height, flat white */
.formats img { display: block; width: auto; height: 2.25rem; }
/* the LV2 wordmark is wide and heavy, so it sits a little smaller than the others */
.formats .fmt-lv2 { height: 1.6rem; }

/* media */

.media {
  margin: 0;
  min-width: 0;
}
.media video,
.media img {
  background: #000;
  outline: 1px solid var(--rule);
}
.media figcaption {
  position: relative;
  display: flex;
  align-items: center;
  gap: .25rem 1rem;
  flex-wrap: wrap;
  padding-top: .75rem;
}
.listen {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  min-height: 2.75rem;
  padding: .35em .9em .35em .8em;
  border: 1px solid var(--c);
  border-radius: 0;
  background: transparent;
  color: var(--c);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .12s, color .12s;
}
.listen:hover,
.listen[aria-pressed="true"] {
  background: var(--c);
  color: var(--bg);
}
.listen svg {
  width: .8em;
  height: .8em;
  fill: currentColor;
  flex: none;
}
.listen .i-pause { display: none; }
.listen[aria-pressed="true"] .i-play { display: none; }
.listen[aria-pressed="true"] .i-pause { display: inline; }
.media-name { color: var(--dim); }
.progress {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--c);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

/* hexagong has two faces */

.detail-pair > .lede { grid-column: 1 / span 10; }
.face {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}
.face { grid-column: span 6; }
.face h4 {
  margin: 0;
  font-size: clamp(2.75rem, 1.5rem + 4vw, 6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.02em;
}
.status {
  margin-top: -.5rem;
  color: var(--dim);
}
.status-live { color: var(--c); }
.cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 2.75rem;
  margin-top: auto;
  padding: .4em 1.1em;
  background: var(--c);
  color: var(--bg);
  font-weight: 500;
  text-decoration: none;
  transition: background-color .12s;
}
.cta:hover { background: var(--fg); }

.hl {
  background: none;
  color: var(--c);
  font-weight: 600;
}
.file {
  padding: 0 .16em;
  background: var(--c);
  color: var(--bg);
  white-space: nowrap;
}

/* two columns of three on a phone, one row on a desktop */
.pills {
  grid-column: 1 / -1;
  display: grid;
  grid-auto-flow: column;
  grid-template: repeat(3, 1fr) / repeat(2, minmax(0, 1fr));
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.0625rem;
  line-height: 1.2;
}
.pills li {
  display: flex;
  align-items: center;
  gap: .35em;
  padding: .55em .75em;
  border: 1px solid var(--rule);
  border-radius: 999px;
}
.pills b {
  color: var(--c);
  font-weight: 600;
}
@media (min-width: 861px) {
  .pills {
    grid-auto-flow: row;
    grid-template: auto / repeat(6, auto);
  }
  .pills li {
    justify-content: center;
    white-space: nowrap;
  }
}
@media (min-width: 861px) and (max-width: 1200px) {
  .pills { font-size: .875rem; gap: .35rem; }
  .pills li { padding: .5em .6em; }
}

.more {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.5rem;
}
.detail-pair > .more { grid-column: 1 / -1; }

/* connect */

.connect {
  width: min(100% - 2rem, 26rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 1rem;
  border: 1px solid var(--rule);
  background: var(--bg);
  color: var(--fg);
  font-size: 1rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.connect::backdrop { background: rgb(0 0 0 / .7); }
.connect-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .75rem;
}
.connect-head h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 500;
}
.connect-close {
  min-height: 2.75rem;
  padding: 0 .25rem;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .25em;
  cursor: pointer;
}
.connect-close:focus-visible {
  outline-width: 2px;
  outline-offset: 0;
}
.connect-email { margin: .25rem 0 .5rem; font-size: 1.25rem; }
.connect-email a { text-underline-offset: .25em; transition: color .15s; }
.connect-email a:hover { color: var(--dim); }
.connect-note { margin: 0; color: var(--dim); font-size: .875rem; }
.connect-press { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--rule); color: var(--dim); font-size: .9375rem; }
.connect-press .cta { --c: var(--fg); margin: 0; }

/* foot */

.foot {
  position: relative;
  border-top: 1px solid var(--rule);
  padding-top: clamp(1.5rem, 3vw, 3rem);
}
.foot-logo { padding: 0 var(--gut); }
.foot-logo.waiting .logo { visibility: hidden; }
/* the vines reach a little past the footer, above and below the logo */
.foot-logo canvas {
  position: absolute;
  left: 0;
  top: -6rem;
  width: 100%;
  height: calc(100% + 6rem);
  pointer-events: none;
}
.foot-links {
  padding: 1rem var(--gut) 2.5rem;
  color: var(--dim);
  text-align: center;
}
.foot-links a { padding: .35em 0; color: var(--fg); text-underline-offset: .25em; }

/* above the logo: the sign-up form, with the links to its right (stacked under it on phones) */
.foot-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin: 0 var(--gut) clamp(2rem, 4vw, 3.5rem);
}
.foot-nav { display: flex; flex: none; align-items: center; gap: .25rem clamp(1.25rem, 2.5vw, 2rem); min-height: 2.75rem; }
.foot-nav a, .foot-nav .linkish {
  padding: .35em 0;
  color: var(--fg);
  text-decoration: underline transparent 2px;
  text-underline-offset: .28em;
  transition: color .15s, text-decoration-color .15s;
}
.foot-nav a:hover, .foot-nav .linkish:hover { color: var(--dim); text-decoration-color: currentColor; }
.foot-nav .foot-kofi:hover { color: inherit; }
.foot-kofi { display: inline-flex; align-items: center; }
.foot-kofi svg { display: block; transition: transform .15s; }
.foot-kofi:hover svg { transform: scale(1.15); }

/* newsletter: a Gumroad follow form, in the connect dialog's style */
.news {
  display: grid;
  gap: .5rem;
  flex: 0 1 34rem;
  min-width: 0;
  font-size: 1rem;
}
.news label { color: var(--dim); font-size: .9375rem; }
.news-row { display: flex; gap: .5rem; }
.news input {
  flex: 1;
  min-width: 0;
  min-height: 2.75rem;
  padding: .5rem .625rem;
  border: 1px solid var(--dim);
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 1rem;
}
.news input::placeholder { color: var(--dim); opacity: .7; }
.news-send {
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid var(--dim);
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.news-send:hover { border-color: var(--fg); }

/* phones and small tablets */

@media (max-width: 860px) {
  .score { --stave-h: max(6.25rem, calc((100vh - var(--menu-h) - 9rem) / 4)); }
  .stave { align-items: flex-end; padding-bottom: .3rem; }
  .stave-name {
    position: absolute;
    right: var(--gut);
    top: .35rem;
    margin: 0;
    font-size: 1.0625rem;
  }
  .stave-word { font-size: min(calc(var(--stave-h) * .72), 18.5vw); }

  .product .fill { grid-template-columns: minmax(0, 1fr); padding-bottom: .75rem; }
  .product .fill > .lede { padding-bottom: 0; margin-top: -.15em; }
  .detail > .lede,
  .flip .detail > .lede,
  .detail > .media,
  .flip .detail > .media,
  .detail > .side,
  .flip .detail > .side,
  .detail > .stats,
  .face {
    grid-column: 1 / -1;
    grid-row: auto;
    padding-top: 0;
  }
  .face + .face { margin-top: 2rem; }

}

/* four menu items on a phone */

@media (max-width: 440px) {
  .menu {
    gap: .5rem;
    font-size: 1rem;
    font-stretch: 80%;
  }
  .menu nav { gap: .55rem; margin-top: -.8rem; }
  .menu a,
  .menu-connect { padding: .8rem 0; }
}
@media (max-width: 640px) {
  .foot-top { flex-direction: column; align-items: stretch; }
  .news { flex-basis: auto; }
  .foot-nav { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--rule); }
  .foot-nav > * { display: flex; align-items: center; min-height: 3rem; padding: 0; border-bottom: 1px solid var(--rule); text-align: left; }
}

/* blog */

.blog { padding: clamp(1.5rem, 4vw, 4rem) 0 clamp(3rem, 8vw, 8rem); }
.post-list {
  margin: clamp(1.5rem, 4vw, 4rem) var(--gut) 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}
.post-list a {
  display: grid;
  gap: .4rem;
  padding: clamp(1.25rem, 2.5vw, 2.5rem) 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}
.post-list a:hover .post-title { color: var(--c); }
.post-title {
  font-size: clamp(1.5rem, 1rem + 2vw, 3rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.012em;
}
.post-meta, .post-blurb { color: var(--dim); font-size: 1rem; }

/* categories: small tags beside a post's date, and pills that filter the blog index */
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; }
.post-cats { display: contents; }
.cat {
  --c: var(--fg);
  color: var(--c);
  font-size: .8125rem;
  letter-spacing: .02em;
  text-decoration: none;
}
.cat::before { content: "#"; opacity: .6; }
a.cat:hover { text-decoration: underline; text-underline-offset: .15em; }
.scheduled {
  padding: .05rem .45rem;
  border: 1px dashed var(--dim);
  border-radius: 1rem;
  font-size: .8125rem;
}
.cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: clamp(1.25rem, 3vw, 2.5rem) var(--gut) 0;
}
.pill {
  --c: var(--fg);
  display: inline-flex;
  align-items: baseline;
  gap: .4rem;
  min-height: 2.5rem;
  padding: .45rem .95rem;
  border: 1px solid var(--rule);
  border-radius: 2rem;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.pill .n { color: var(--dim); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.pill:hover { border-color: var(--c); }
.pill[aria-pressed="true"], .pill[aria-current="page"] { border-color: var(--c); background: var(--c); color: var(--bg); }
.pill[aria-pressed="true"] .n, .pill[aria-current="page"] .n { color: inherit; opacity: .7; }
.pill:focus-visible, .linkish:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.cat-filter + .sr-only + .post-list { margin-top: 1.25rem; }
.cat-heading { margin: clamp(1rem, 2vw, 2rem) var(--gut) 0; color: var(--dim); font-size: 1.125rem; }
.cat-heading strong { color: var(--c); font-weight: 500; }
.cat-heading a { color: var(--fg); }

/* read next: other posts at the end of a post */
.related { max-width: 46rem; margin: clamp(3rem, 6vw, 5rem) auto 0; }
.related h2 { margin: 0 0 .5rem; font-size: 1.25rem; font-weight: 500; color: var(--dim); }
.related .post-list { margin: 0; }
.related .post-title { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.yt-frame { aspect-ratio: 16 / 9; }
.yt-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* the latest posts about a plugin, at the end of its landing page */
.plugin-posts { max-width: 46rem; margin: 0 auto clamp(2rem, 4vw, 3rem); padding: 0 var(--gut); text-align: left; }
.plugin-posts h2 { margin: 0 0 .5rem; font-size: 1.25rem; font-weight: 500; color: var(--dim); }
.plugin-posts .post-list { margin: 0; }
.plugin-posts .post-title { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.plugin-posts h2#plugin-posts-title { font-size: 1.25rem; line-height: 1.3; letter-spacing: 0; text-align: left; }
.plugin-posts .post-list, .plugin-posts .post-list li { margin: 0; padding: 0; list-style: none; }
.plugin-posts .post-list li::before { content: none; }
.plugin-posts-more { margin: 1rem 0 0; font-size: 1rem; }
.plugin-posts .plugin-posts-more a { color: var(--c); }
.cat-empty { margin: 2rem var(--gut); color: var(--dim); }
/* newer and older pages of the blog index */
.pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin: clamp(1.5rem, 3vw, 2.5rem) var(--gut) 0;
  font-size: 1rem;
}
.pager a { color: var(--fg); text-underline-offset: .2em; }
.pager a:hover { color: var(--c, var(--fg)); }
.pager a[rel="next"] { justify-self: end; }
.pager-n { color: var(--dim); font-size: .875rem; font-variant-numeric: tabular-nums; }
.linkish { padding: 0; border: 0; background: none; color: var(--fg); font: inherit; text-decoration: underline; cursor: pointer; }

.post { padding: clamp(2rem, 5vw, 5rem) var(--gut) clamp(3rem, 8vw, 8rem); }
.post-head, .prose { max-width: 46rem; margin-inline: auto; }
.post-head h1 {
  margin: .5rem 0 clamp(1.5rem, 3vw, 3rem);
  font-size: clamp(2rem, 1.2rem + 3vw, 4rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.012em;
}
.prose { font-size: 1.1875rem; line-height: 1.5; }
/* blog posts and tutorials: Open Sans where it is installed, else the closest system sans (no extra download) */
.post .prose, .post-blurb {
  font-family: "Open Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}
.post .prose :is(h2, h3, h4) { font-family: var(--head); }
/* tutorials: a control named in the text, called out as a pill */
.post-tutorial .prose strong {
  padding: .05em .45em .1em;
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  border-radius: .4em;
  background: color-mix(in srgb, var(--c) 12%, transparent);
  font-size: .9em;
  font-weight: 600;
  white-space: nowrap;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.post-tutorial .prose td:not(:first-child) strong { white-space: normal; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 1rem; }
.prose :is(th, td) { padding: .55rem 1rem .55rem 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.prose th { color: var(--dim); font-weight: 500; }
.post-credits { margin-top: 3rem; padding-top: .75rem; border-top: 1px solid var(--rule); color: var(--dim); font-size: .875rem; }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 {
  margin-top: 3rem;
  padding-top: .75rem;
  border-top: 3px solid var(--c);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.12;
}
.prose h3 { margin-top: 2rem; font-size: 1.375rem; font-weight: 500; }
.prose ul { padding-left: 1.25em; }
.prose li + li { margin-top: .6rem; }
.prose a { color: var(--c); text-underline-offset: .15em; }
.prose figure { margin-inline: 0; margin-bottom: 0; }
.prose audio { display: block; width: 100%; }
.prose figcaption { padding-top: .5rem; color: var(--dim); font-size: 1rem; }
.prose blockquote {
  margin-inline: 0;
  padding-left: 1rem;
  border-left: 3px solid var(--c);
  font-size: 1.5rem;
  line-height: 1.25;
}
.prose hr { border: 0; border-top: 1px solid var(--rule); }
.prose details { padding: .75rem 0; border-top: 1px solid var(--rule); }
.prose summary { cursor: pointer; font-weight: 500; }
.prose details p { margin-top: .5rem; color: var(--dim); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.gallery figure { margin: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.prose .cta { color: var(--bg); margin: 0; }

/* download */

.dl {
  width: min(100% - 2 * var(--gut), 44rem);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 5rem) 0 clamp(3rem, 8vw, 8rem);
}
.dl [hidden] { display: none; }
.dl h1 {
  margin: 0 0 1.5rem;
  color: var(--dim);
  font-size: var(--text);
  font-weight: 400;
}
.dl-choose { display: grid; gap: 1.25rem; }
.dl-plugin { display: grid; gap: 1rem; }
.dl-plugin h2 {
  margin: 0;
  color: var(--c);
  font-size: clamp(3rem, 2rem + 6vw, 6.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.02em;
}
.dl-version { color: var(--dim); font-size: 1rem; }
.dl-plugin .cta { margin-top: 0; }

.dl-os {
  display: grid;
  gap: .5rem;
  margin-top: 1rem;
}
.dl-os button {
  display: grid;
  gap: .2rem;
  min-height: 2.75rem;
  padding: .75rem 1rem;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--fg);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .12s, background-color .12s, color .12s;
}
.dl-os button:hover { border-color: var(--c); }
.dl-os button[aria-pressed="true"] {
  border-color: var(--c);
  background: var(--c);
  color: var(--bg);
}
.dl-os b { font-weight: 500; }
.dl-os span { color: var(--dim); font-size: .875rem; }
.dl-os [aria-pressed="true"] span { color: inherit; }
@media (min-width: 600px) {
  .dl-os { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.dl-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .25rem .5rem;
  align-items: end;
  margin-top: .5rem;
}
.dl-form label {
  display: grid;
  gap: .25rem;
  color: var(--dim);
  font-size: .9375rem;
}
.dl-form input {
  width: 100%;
  min-height: 2.75rem;
  padding: .5rem .625rem;
  border: 1px solid var(--dim);
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 1rem;
}
.dl-form button {
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border: 0;
  background: var(--c);
  color: var(--bg);
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}
.dl-status {
  grid-column: 1 / -1;
  color: var(--dim);
  font-size: .9375rem;
}
.dl-status:not(:empty) { padding-top: .5rem; }

.ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.5rem;
  margin-top: auto;
}
.ctas .cta { margin-top: 0; }
.go {
  color: var(--c);
  text-underline-offset: .25em;
}
.dl-get { display: grid; gap: .75rem; justify-items: start; margin-top: .5rem; }
.dl-note { color: var(--dim); font-size: .9375rem; }
.post-feature { max-width: 60rem; margin: 0 auto clamp(1.5rem, 3vw, 3rem); }
.post-feature img { outline: 1px solid var(--rule); }

/* audio players (built by site.js from <audio controls>) */
.ap {
  --p: 0;
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  min-height: 2.75rem;
  color: var(--c, var(--fg));
  font-size: .875rem;
}
.ap-play {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color .12s, color .12s;
}
.ap-play svg { width: .85rem; height: .85rem; fill: currentColor; }
.ap-play:hover, .ap.on .ap-play { background: var(--c, var(--fg)); color: var(--bg); }
.ap .i-pause, .ap.on .i-play { display: none; }
.ap.on .i-pause { display: inline; }
.ap-seek {
  flex: 1;
  min-width: 0;
  height: 2.75rem;
  margin: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.ap-seek::-webkit-slider-runnable-track {
  height: 2px;
  background: linear-gradient(90deg, currentColor calc(var(--p) * 100%), var(--rule) 0);
}
.ap-seek::-moz-range-track { height: 2px; background: var(--rule); }
.ap-seek::-moz-range-progress { height: 2px; background: currentColor; }
.ap-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -5px;
  border-radius: 50%;
  background: currentColor;
}
.ap-seek::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: currentColor; }
.ap-seek:focus-visible { outline: none; }
.ap-seek:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px currentColor; }
.ap-seek:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px currentColor; }
.ap-time {
  flex: none;
  min-width: 5.5em;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* an original recording and SoundClone's rebuild of it, side by side; the link between them
   draws one complex sound splitting into pure tones, and flows while either plays */
.clone-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7.5rem minmax(0, 1fr);
  align-items: center;
  gap: .5rem;
}
.clone-pair figcaption { grid-column: 1 / -1; }
.cp-card {
  display: grid;
  gap: .25rem;
  padding: .75rem .9rem .5rem;
  border: 1px solid var(--rule);
  border-radius: 12px;
}
.cp-clone { border-color: var(--c); }
.cp-tag {
  margin: 0;
  color: var(--dim);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cp-clone .cp-tag { color: var(--c); }
.clone-pair .ap { font-size: .8125rem; gap: .5rem; }
.clone-pair .ap-time { min-width: 0; }

.cp-link { display: grid; place-items: center; min-width: 0; }
.cp-svg { display: block; width: 100%; height: auto; max-width: 10rem; overflow: visible; }
.cp-svg .cp-tip { stroke: var(--c, var(--soundclone)); stroke-width: 2; stroke-linejoin: round; }
.cp-svg path { fill: none; stroke-width: 1.6; stroke-linecap: round; }
.cp-in { stroke: var(--dim); stroke-dasharray: 14 6; animation: cp-flow 3.2s linear infinite; }
.cp-out { stroke: var(--c, var(--soundclone)); stroke-dasharray: 9 5; opacity: .85; animation: cp-flow 3.2s linear infinite; animation-delay: calc(var(--i) * -.35s); }
.cp-node { fill: var(--c, var(--soundclone)); stroke: none; transform-origin: 70px 40px; transform-box: view-box; }
[data-pair].on .cp-in, [data-pair].on .cp-out { animation-duration: .9s; }
[data-pair].on .cp-out { opacity: 1; stroke-width: 2.2; }
[data-pair].on .cp-node { animation: cp-pulse .9s ease-in-out infinite; }
@keyframes cp-flow { to { stroke-dashoffset: -100; } }
@keyframes cp-pulse { 50% { transform: scale(1.45); } }
@media (prefers-reduced-motion: reduce) {
  .cp-in, .cp-out, [data-pair].on .cp-node { animation: none; }
}

/* the same example with a feature off and on ({% abpair %}) */
.ab-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.ab-pair figcaption { grid-column: 1 / -1; }
.ab-pair .ap { font-size: .8125rem; gap: .5rem; }
.ab-pair .ap-time { min-width: 0; }
@media (max-width: 640px) { .ab-pair { grid-template-columns: minmax(0, 1fr); } }

/* stacked on a phone, the link turns to run downward */
@media (max-width: 640px) {
  .clone-pair { grid-template-columns: minmax(0, 1fr); }
  .cp-link { height: 4.5rem; }
  .cp-svg { width: 4.5rem; transform: rotate(90deg); }
}
@media (max-width: 781px) {
  .cols[data-pair] .cp-link { height: 4.5rem; }
  .cols[data-pair] .cp-svg { width: 4.5rem; transform: rotate(90deg); }
}

/* a call to action that fills its column: the prism's colors drift across it, and a tone runs
   through it, faster on hover */
.cta-wave {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 3.5rem;
  padding: .5em 1.1em;
  overflow: hidden;
  background: linear-gradient(100deg, #8fe3c5, #4fd1c5 30%, #9db4f2 55%, #a594ff 75%, #4fd1c5) 0 0 / 220% 100%;
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  animation: cta-drift 9s linear infinite alternate;
  transition: transform .15s;
}
.cta-wave span { position: relative; }
.cta-wave svg {
  flex: none;
  width: 4.5rem;
  height: 1.25rem;
  overflow: visible;
}
.cta-wave path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 22 8;
  animation: cta-run 2.4s linear infinite;
}
.cta-wave:hover { transform: translateY(-2px); }
.cta-wave:hover path { animation-duration: .8s; }
.cta-wave:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; }
@keyframes cta-drift { to { background-position: 100% 0; } }
/* the Fluidic and GravSuite versions: their own colors, a falling drop and a bouncing ball */
.cta-fluidic { background-image: linear-gradient(100deg, #a8ecff, #58d6ff 30%, #6aa9ff 55%, #8fe0ff 75%, #58d6ff); }
.cta-gravsuite { background-image: linear-gradient(100deg, #ffc08f, #ff7a45 30%, #ffa04a 55%, #ff6f61 75%, #ff7a45); }
.cta-fluidic path, .cta-gravsuite path { animation: none; stroke-dasharray: none; }
.cta-fluidic .cta-drop { fill: currentColor; stroke: none; animation: cta-fall 1.8s cubic-bezier(.5, 0, 1, 1) infinite; }
.cta-fluidic .cta-ripple {
  fill: none; stroke: currentColor; stroke-width: 1.6;
  transform-box: fill-box; transform-origin: center;
  opacity: 0; animation: cta-ripple 1.8s ease-out infinite;
}
.cta-fluidic .cta-ripple-2 { animation-delay: .25s; }
.cta-gravsuite .cta-floor { stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; opacity: .55; }
.cta-gravsuite .cta-ball { fill: currentColor; animation: cta-bounce 2.2s linear infinite; }
.cta-fluidic:hover .cta-drop, .cta-fluidic:hover .cta-ripple { animation-duration: 1.1s; }
.cta-gravsuite:hover .cta-ball { animation-duration: 1.4s; }
@keyframes cta-fall {
  0% { transform: translateY(-4px); opacity: 0; }
  15% { opacity: 1; }
  55% { transform: translateY(9px); opacity: 1; }
  60%, 100% { transform: translateY(9px); opacity: 0; }
}
@keyframes cta-ripple {
  0%, 55% { transform: scale(.2); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}
/* a ball dropped at the left, each bounce lower and shorter, rolling to the right */
@keyframes cta-bounce {
  0% { transform: translate(0, -16px); animation-timing-function: cubic-bezier(.5, 0, 1, 1); }
  22% { transform: translate(14px, 0); animation-timing-function: cubic-bezier(0, 0, .5, 1); }
  37% { transform: translate(25px, -10px); animation-timing-function: cubic-bezier(.5, 0, 1, 1); }
  52% { transform: translate(36px, 0); animation-timing-function: cubic-bezier(0, 0, .5, 1); }
  62% { transform: translate(43px, -5px); animation-timing-function: cubic-bezier(.5, 0, 1, 1); }
  72% { transform: translate(50px, 0); animation-timing-function: cubic-bezier(0, 0, .5, 1); }
  78% { transform: translate(54px, -2px); animation-timing-function: cubic-bezier(.5, 0, 1, 1); }
  84% { transform: translate(58px, 0); }
  92% { transform: translate(60px, 0); opacity: 1; }
  100% { transform: translate(60px, 0); opacity: 0; }
}
@keyframes cta-run { to { stroke-dashoffset: -60; } }
@media (prefers-reduced-motion: reduce) {
  .cta-wave, .cta-wave path, .cta-wave .cta-drop, .cta-wave .cta-ripple, .cta-wave .cta-ball { animation: none; }
  .cta-wave .cta-ripple { opacity: 1; }
}


/* the four numbers in two rows on phones */
@media (max-width: 600px) {
  .detail > .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* press */
.press .facts th { width: 9.5rem; color: var(--dim); font-weight: 500; }
.press .facts { margin-top: .75rem; }
.press h3 { color: var(--c); }
.press-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.press-grid figure { margin: 0; }
.press-grid img { aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--rule); }
.press-grid a:hover img { border-color: var(--fg); }
.press-audio { padding: 0; list-style: none; }
.press-audio li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; align-items: center; gap: .5rem 1rem; padding: .5rem 0; border-bottom: 1px solid var(--rule); }
.press-audio audio { width: 100%; height: 2.25rem; }
.press-audio a, .press-logos a { color: var(--fg); }
.press-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.press-logos figure { margin: 0; }
.press-logos img { height: 6rem; padding: 1.5rem; object-fit: contain; border: 1px solid var(--rule); }
.press-logos .on-light img { background: #edece6; color: #0a0a0b; }
.press-logos .press-mark img { padding: .75rem; }
.press-note { color: var(--dim); font-size: .875rem; }
@media (max-width: 600px) {
  .press-audio li { grid-template-columns: minmax(0, 1fr) auto; }
  .press-audio audio { grid-column: 1 / -1; grid-row: 2; }
}
.press-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; }
.press-row > p { margin: 0; }
.press-head { margin-top: 3rem; padding-top: .75rem; border-top: 3px solid var(--c); }
.press-head h2 { margin: 0; padding: 0; border: 0; }
.prose .press-zip { display: inline-flex; align-items: center; gap: .4rem; margin-left: auto; color: var(--fg); font-size: 1rem; white-space: nowrap; }
.press-zip .dl-icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.press-videos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.press-videos figure { margin: 0; }
.press-videos img { aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--rule); }
.press-videos a:hover img { border-color: var(--fg); }
.press-videos figcaption { font-size: .875rem; }
.press-videos figcaption a { color: var(--fg); }
@media (max-width: 700px) { .press-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* docs */
.docs { padding: clamp(1.25rem, 3vw, 2.5rem) var(--gut) clamp(3rem, 8vw, 6rem); }
.docs-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; max-width: 76rem; margin: 0 auto; }
.docs-search { position: relative; flex: 1 1 18rem; max-width: 30rem; }
.docs-search input {
  width: 100%; min-height: 2.75rem; padding: .5rem .75rem; border: 1px solid var(--dim); border-radius: 0;
  background: transparent; color: var(--fg); font: inherit; font-size: 1rem;
}
.docs-search input:focus { outline: none; border-color: var(--fg); }
.docs-results {
  position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; right: 0; max-height: min(70vh, 30rem); overflow: auto;
  margin: 0; padding: .25rem 0; list-style: none; border: 1px solid var(--rule); background: var(--bg); box-shadow: 0 12px 30px rgb(0 0 0 / .5);
}
.docs-results a { display: grid; gap: .15rem; padding: .55rem .75rem; color: var(--fg); text-decoration: none; }
.docs-results li.active a, .docs-results a:hover { background: #18181b; }
.docs-results { font-size: 1rem; }
.docs-r-title { font-weight: 600; font-size: 1rem; line-height: 1.25; }
.docs-r-text, .docs-r-none { color: var(--dim); font-size: .875rem; line-height: 1.35; }
.docs-r-none { padding: .6rem .75rem; }
.docs-chip { justify-self: start; color: var(--c); font-size: .75rem; letter-spacing: .03em; }
.docs-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.docs-tags .pill { min-height: 2.25rem; padding: .3rem .85rem; }
.docs-layout { display: grid; gap: 1.5rem; max-width: 76rem; margin: 1.5rem auto 0; }
/* the sticky "on this page" contents (_includes/toc.njk); each layout gives it a column when wide */
.toc { border: 1px solid var(--rule); }
.toc summary { min-height: 2.75rem; padding: .6rem .9rem; color: var(--dim); font-size: 1rem; cursor: pointer; }
.toc nav { padding: 0 .9rem .9rem; font-size: .9375rem; }
.toc-title { margin: 0 0 .5rem; color: var(--c); font-family: var(--head); font-weight: 500; }
.toc ol { margin: 0; padding: 0; list-style: none; }
.toc ol ol { padding-left: .85rem; font-size: .875rem; }
.toc a { display: block; padding: .3rem 0 .3rem .6rem; border-left: 2px solid transparent; color: var(--dim); text-decoration: none; line-height: 1.3; }
.toc a:hover { color: var(--fg); }
.toc a[aria-current="true"] { border-left-color: var(--c, var(--fg)); color: var(--fg); }
@media (min-width: 1000px) {
  .docs-layout { grid-template-columns: 15rem minmax(0, 1fr); gap: 3rem; align-items: start; }
  .docs-layout > .toc {
    position: sticky; top: calc(var(--menu-h) + 1rem);
    max-height: calc(100vh - var(--menu-h) - 2rem); overflow: auto; overscroll-behavior: contain; border: 0;
  }
  .docs-layout > .toc summary { display: none; }
  .docs-layout > .toc nav { padding: 0; }
}
/* a post with `toc: true`: the contents fold above the text, and sit beside it on wide screens */
.post-body > .toc { max-width: 46rem; margin: 0 auto 2rem; }
@media (min-width: 1100px) {
  .post-body.has-toc { display: grid; grid-template-columns: 14rem minmax(0, 46rem); justify-content: center; gap: 3rem; align-items: start; }
  .post-body.has-toc > .prose { margin: 0; }
  .post-body > .toc {
    position: sticky; top: calc(var(--menu-h) + 1.5rem); margin: 0;
    max-height: calc(100vh - var(--menu-h) - 3rem); overflow: auto; overscroll-behavior: contain; border: 0;
  }
  .post-body > .toc summary { display: none; }
  .post-body > .toc nav { padding: 0; }
  .post-head:has(+ .post-body.has-toc), .post-head:has(+ .post-feature + .post-body.has-toc) { max-width: calc(14rem + 3rem + 46rem); }
  .post-head:has(+ .post-body.has-toc) h1, .post-head:has(+ .post-feature + .post-body.has-toc) h1 { margin-left: calc(14rem + 3rem); }
  .post-head:has(+ .post-body.has-toc) .post-meta, .post-head:has(+ .post-feature + .post-body.has-toc) .post-meta { margin-left: calc(14rem + 3rem); }
}
.docs-body { min-width: 0; max-width: 48rem; margin: 0; }
.docs-head h1 { margin: 0; color: var(--c); font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem); font-weight: 500; line-height: 1; }
.docs-meta { margin-top: .5rem; color: var(--dim); font-size: 1rem; }
.docs-body code { padding: .05em .3em; background: #18181b; font-size: .9em; overflow-wrap: anywhere; }
.docs-body figure img { border: 1px solid var(--rule); }
.docs-body td strong, .docs-body li strong, .docs-body p strong { font-weight: 600; }
/* the docs home */
.docs-home-head { max-width: 76rem; margin: clamp(1.5rem, 4vw, 3rem) auto 0; }
.docs-home-head h1 { margin: 0; font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); font-weight: 500; line-height: 1; }
.docs-home-head p { margin-top: .5rem; color: var(--dim); }
.docs-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; max-width: 76rem; margin: 2rem auto 0; padding: 0; list-style: none; }
.docs-cards a { display: grid; gap: .5rem; height: 100%; padding: 1.25rem; border: 1px solid var(--rule); border-top: 3px solid var(--c); color: var(--fg); text-decoration: none; transition: border-color .15s; }
.docs-cards a:hover { border-color: var(--c); }
.docs-card-name { color: var(--c); font-family: var(--head); font-size: 1.75rem; font-weight: 500; line-height: 1; }
.docs-card-text { color: var(--dim); font-size: 1rem; line-height: 1.4; }
.docs-faq { max-width: 48rem; margin: clamp(2.5rem, 6vw, 4.5rem) auto 0; }
.docs-faq details { padding: 0; border-top: 1px solid var(--rule); }
.docs-faq details:last-child { border-bottom: 1px solid var(--rule); }
.docs-faq summary { padding: .85rem 0; font-weight: 500; }
.docs-faq details > div { padding-bottom: 1rem; color: var(--dim); }
.docs-faq details > div p, .docs-faq details > div li { color: var(--dim); }
.eula li + li { margin-top: .9rem; }
