/* Gigplay's site: the app's "Studio" look. Neutral greys, hairlines, the logo's green the only accent. */

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/space-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/space-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/space-grotesk-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0,
    U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(fonts/jetbrains-mono-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(fonts/jetbrains-mono-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(fonts/jetbrains-mono-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(fonts/jetbrains-mono-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0,
    U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --card: #141417;
  --tile: #1c1c21;
  --line: #24242a;
  --text: #f3f3f5;
  --soft: #9a9aa4;
  --green: #4ce89c;
  --green-soft: rgb(76 232 156 / 0.13);
  --on-green: #0b0b0d;
  --section-a: #7fb0ff;
  --section-b: #4fd6b8;
  --font: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --wrap: 1120px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  /* A long word (Datenschutzerklärung) breaks before it overflows a phone. */
  overflow-wrap: break-word;
  hyphens: auto;
}
p {
  margin: 0;
  text-wrap: pretty;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* The top bar */

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.top .brand {
  margin-inline-end: auto;
  display: flex;
}
.top .brand img {
  height: 26px;
  width: auto;
}
.top nav {
  display: flex;
  gap: 28px;
}
.top a {
  color: var(--soft);
  text-decoration: none;
  font-size: 15px;
}
.top a:hover {
  color: var(--text);
}
/* The language picker: a list that opens, no script */

.picker {
  position: relative;
}
.picker summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  font-size: 14px;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}
.picker summary::-webkit-details-marker {
  display: none;
}
.picker summary::before {
  content: '';
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: var(--globe) center / contain no-repeat;
  mask: var(--globe) center / contain no-repeat;
  --globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9.2'/%3E%3Cpath d='M2.8 12h18.4M12 2.8c2.6 2.8 3.9 5.9 3.9 9.2s-1.3 6.4-3.9 9.2c-2.6-2.8-3.9-5.9-3.9-9.2s1.3-6.4 3.9-9.2z'/%3E%3C/svg%3E");
}
.picker summary:hover,
.picker[open] summary {
  color: var(--text);
  border-color: #3a3a42;
}
.picker summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.picker-list {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 10px);
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  width: min(680px, calc(100vw - 32px));
  max-height: min(70vh, 560px);
  overflow-y: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 24px 60px -12px rgb(0 0 0 / 0.8);
}
.picker-list a {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14.5px;
  line-height: 1.3;
  text-align: start;
}
.picker-list a:hover {
  background: var(--tile);
}
.picker-list a[aria-current] {
  color: var(--green);
  background: var(--green-soft);
}

/* Small labels, as the app's section labels */

.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
}

/* A chart's section mark, heading each part of the page */

.mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  color: var(--section-a);
  background: color-mix(in srgb, var(--section-a) 22%, transparent);
}
.mark.b {
  color: var(--section-b);
  background: color-mix(in srgb, var(--section-b) 20%, transparent);
}
.heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

/* The hero */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: '';
  position: absolute;
  inset-inline-end: -10%;
  top: 8%;
  width: 760px;
  height: 760px;
  background: radial-gradient(closest-side, rgb(76 232 156 / 0.16), transparent 70%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 0;
}
.hero-text {
  padding-bottom: 88px;
}
.hero h1 {
  margin-top: 22px;
  font-size: clamp(44px, 6.4vw, 78px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}
.hero h1 em {
  /* The headline's second half: kept whole on its line when it fits. */
  display: inline-block;
  font-style: normal;
  color: var(--green);
}
.hero .lede {
  margin-top: 26px;
  max-width: 34em;
  font-size: 20px;
  color: var(--soft);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 36px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  background: var(--green);
  color: var(--on-green);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}
.button:hover {
  background: #6ff0b1;
}
.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  font-size: 15px;
  color: var(--text);
}
.soon::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}
.hero-phone {
  justify-self: center;
  padding: 0 0 72px;
}
.hero-phone .phone {
  width: min(320px, 100%);
}

/* The mascot (assets/mascot.js): one note, drawn above the page, that stands at its perches:
   the hero's place (.mascot, beside the phone's top corner), each section's mark, the app's icon
   at the end. Perches take room only once its script runs. */

.hero-phone {
  position: relative;
}
.mascot {
  position: absolute;
  inset-inline-start: -112px;
  top: 34px;
  width: 150px;
  height: 172px;
  pointer-events: none;
}
.perch {
  display: none;
}
.mascot-on .perch {
  display: inline-block;
  flex: none;
  width: 92px;
  height: 30px;
}
.mascot-on .close .perch {
  display: block;
  height: 0;
  margin: 0 auto;
}
.mascot-live {
  position: fixed;
  z-index: 5;
  left: 0;
  top: 0;
  will-change: transform;
}
.mascot-live canvas {
  display: block;
  transform-origin: 0 0;
  touch-action: manipulation;
}
.mascot-say {
  position: absolute;
  bottom: calc(100% - 12px);
  width: max-content;
  max-width: 230px;
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--text);
  color: var(--on-green);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 14px 30px -10px rgb(0 0 0 / 0.7);
  opacity: 0;
  transform: translateY(6px) scale(0.96);
  transition:
    opacity 0.2s ease,
    transform 0.25s ease;
  pointer-events: none;
}
/* Opening toward the page's start (the hero: away from the phone)… */
.mascot-live[data-side='start'] .mascot-say {
  inset-inline-end: 52%;
  border-end-end-radius: 4px;
  transform-origin: bottom right;
}
/* …or toward its end (a section's mark: into the free room after it). */
.mascot-live[data-side='end'] .mascot-say {
  inset-inline-start: 62%;
  border-end-start-radius: 4px;
  transform-origin: bottom left;
}
[dir='rtl'] .mascot-live[data-side='start'] .mascot-say {
  transform-origin: bottom left;
}
[dir='rtl'] .mascot-live[data-side='end'] .mascot-say {
  transform-origin: bottom right;
}
.mascot-say.on {
  opacity: 1;
  transform: none;
}
.mascot-say span:empty::before {
  content: '\200b';
}

/* A phone, around a screenshot */

.phone {
  width: min(340px, 100%);
  padding: 9px;
  border-radius: 44px;
  background: #050506;
  border: 1px solid #2c2c33;
  box-shadow:
    0 0 0 1px #000,
    0 40px 80px -20px rgb(0 0 0 / 0.8);
}
.phone img {
  width: 100%;
  border-radius: 35px;
}

/* Sections */

section {
  padding: 104px 0;
  border-bottom: 1px solid var(--line);
}
section h2 {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 600;
}
section .intro {
  margin-top: 18px;
  max-width: 38em;
  font-size: 19px;
  color: var(--soft);
}

/* The views: three screens, cut to what matters */

.views {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 52px;
}
.view {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  overflow: hidden;
}
.view .shot {
  aspect-ratio: 412 / 372;
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid var(--line);
}
.view .shot img {
  width: 100%;
}
.view .shot.paper {
  background: #fffef9;
}
.view figcaption {
  padding: 18px 20px 22px;
}
.view h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.view p {
  margin-top: 6px;
  font-size: 15.5px;
  color: var(--soft);
  line-height: 1.5;
}

/* A screen beside its text */

.split .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.split.flip .wrap {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
}
.split.flip .screen {
  order: 2;
}
.split .screen {
  display: flex;
  justify-content: center;
}
.points {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.points li {
  display: grid;
  grid-template-columns: 9.5em 1fr;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--soft);
}
.points b {
  font-weight: 500;
  color: var(--text);
}

/* The rest, as tiles */

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 52px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--line);
}
.tile {
  padding: 28px 26px 30px;
  background: var(--card);
}
.tile .label {
  color: var(--green);
}
.tile h3 {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.tile p {
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--soft);
}

/* The privacy band */

.quiet .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}
.nothing {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
}
.nothing li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
}
.nothing li:last-child {
  border-bottom: 0;
}
.nothing span {
  color: var(--green);
}

/* The close */

.close {
  text-align: center;
  border-bottom: 0;
}
.close img.icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
  border-radius: 22px;
  border: 1px solid var(--line);
}
.close .intro {
  margin-left: auto;
  margin-right: auto;
}
.close .actions {
  justify-content: center;
}

/* The foot */

footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 56px;
  font-size: 14px;
  color: var(--soft);
}
footer .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}
footer .row .brand {
  margin-inline-end: auto;
}
footer .row img {
  height: 20px;
  width: auto;
}
footer a {
  color: var(--soft);
  text-decoration: none;
}
footer a:hover {
  color: var(--text);
}
footer .fine {
  margin-top: 26px;
  max-width: 60em;
  font-size: 13px;
  line-height: 1.6;
  color: #7a7a84;
}

/* A page of text: the privacy policy, the page not found */

.doc {
  padding: 80px 0 96px;
}
.doc .wrap {
  max-width: 760px;
}
.doc h1 {
  margin-top: 16px;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 600;
}
.doc .lede {
  margin-top: 22px;
  font-size: 20px;
  color: var(--soft);
}
.doc .note {
  margin-top: 26px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  font-size: 15px;
  color: var(--soft);
}
.doc h2 {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.doc p,
.doc ul {
  margin-top: 14px;
  color: #c9c9d0;
}
.doc ul {
  padding-inline-start: 1.2em;
}
.doc li {
  margin-top: 6px;
}
.doc strong {
  color: var(--text);
  font-weight: 600;
}

/* Scripts with no capitals, or whose letters join: nothing spaced, taller lines */

.plain .label,
.plain h1,
.plain h2,
.plain h3,
.plain .hero h1 {
  letter-spacing: normal;
}
.plain h1,
.plain h2,
.plain h3,
.plain .hero h1 {
  line-height: 1.3;
}
.plain .hero h1 {
  font-size: clamp(34px, 4.6vw, 58px);
}
.plain h1,
.plain h2,
.plain h3 {
  word-break: auto-phrase;
  line-break: strict;
}
.plain .label {
  font-family: var(--font);
  font-size: 13.5px;
}
.plain .nothing {
  font-family: var(--font);
}

/* Right to left: the screenshots stay as they are */

[dir='rtl'] .points li {
  text-align: start;
}

/* Narrow screens */

@media (max-width: 900px) {
  /* Of the header's links, only the guide's stays. */
  .top nav a:not([data-section]) {
    display: none;
  }
  .top .wrap {
    gap: 16px;
  }
  .hero .wrap,
  .split .wrap,
  .split.flip .wrap,
  .quiet .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .hero .wrap {
    padding-top: 56px;
  }
  .hero-text {
    padding-bottom: 0;
  }
  /* As wide as its phone and centred, so that the mascot stands on the phone's corner. */
  .hero-phone {
    width: min(320px, 100%);
    padding-bottom: 56px;
  }
  .hero .wrap {
    gap: 24px;
  }
  /* The mascot stands on the phone's top edge, its bubble beside it: room kept for them from the
     start, so that nothing moves when its script comes (a layout shift). */
  .hero-phone {
    padding-top: 100px;
  }
  .mascot {
    inset-inline-start: auto;
    inset-inline-end: 4px;
    top: 0;
    width: 124px;
    height: 142px;
  }
  .mascot-on .perch {
    width: 76px;
  }
  .mascot-say {
    max-width: min(230px, 58vw);
  }
  .mascot-live[data-side='start'] .mascot-say {
    bottom: calc(100% - 64px);
    inset-inline-end: 64%;
  }
  /* The text first, then its screen, smaller than beside it. */
  .split .screen,
  .split.flip .screen {
    order: 2;
  }
  .split .screen .phone {
    width: min(260px, 100%);
  }
  section {
    padding: 72px 0;
  }
  /* The logo on its own line, the links together under it. */
  footer .row .brand {
    flex-basis: 100%;
  }
  .views,
  .tiles {
    grid-template-columns: minmax(0, 1fr);
  }
  .views {
    max-width: 440px;
  }
  .picker-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }
  /* The language's name gives its place to the globe alone. */
  .picker summary span {
    display: none;
  }
  .picker summary {
    padding: 8px;
  }
  .wrap {
    padding: 0 16px;
  }
  .hero .lede,
  section .intro {
    font-size: 17px;
  }
  .points li {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  section {
    padding: 60px 0;
  }
  .picker-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Skip to the content: seen when reached with the keyboard */

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -80px;
  z-index: 30;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--green);
  color: var(--on-green);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

/* The header's link to where one is */

[data-section='guide'] .top nav a[data-section='guide'] {
  color: var(--text);
}

/* The guide and the questions, on the app's page */

.learn .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}
.quiet-button {
  background: var(--tile);
  color: var(--text);
  border: 1px solid var(--line);
}
.quiet-button:hover {
  background: #26262c;
}
.faq h3 {
  margin-bottom: 14px;
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  flex: none;
  font-family: var(--mono);
  font-size: 20px;
  line-height: 1;
  color: var(--green);
}
.faq details[open] summary::after {
  content: '−';
}
.faq summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}
.faq details p {
  padding: 0 0 20px;
  max-width: 34em;
  color: var(--soft);
}

/* A page of the guide: its pages on one side, the text on the other */

.guide-body {
  display: grid;
  grid-template-columns: 250px minmax(0, 720px);
  gap: 72px;
  align-items: start;
  padding-top: 56px;
  padding-bottom: 104px;
}
.contents {
  position: sticky;
  top: 96px;
  font-size: 15px;
}
.contents .label {
  display: block;
  margin-bottom: 14px;
  text-decoration: none;
}
.contents ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-inline-start: 1px solid var(--line);
}
.contents li a {
  display: block;
  margin-inline-start: -1px;
  padding: 7px 16px;
  border-inline-start: 1px solid transparent;
  color: var(--soft);
  text-decoration: none;
  line-height: 1.35;
}
.contents li a:hover {
  color: var(--text);
}
.contents li a[aria-current] {
  color: var(--topic-text);
  border-color: var(--topic);
}
.doc-text h1 {
  margin-top: 16px;
  font-size: clamp(34px, 4.4vw, 46px);
  font-weight: 600;
}
.doc-text .lede {
  margin-top: 18px;
  font-size: 20px;
  color: var(--soft);
}
.doc-text h2 {
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.01em;
  scroll-margin-top: 80px;
}
.doc-text h3 {
  margin-top: 30px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.doc-text > p,
.doc-text > ul,
.doc-text > ol {
  margin-top: 16px;
  color: #c9c9d0;
}
.doc-text ul,
.doc-text ol {
  padding-inline-start: 1.3em;
}
.doc-text li {
  margin-top: 8px;
}
.doc-text li::marker {
  color: var(--soft);
}
.doc-text strong {
  color: var(--text);
  font-weight: 600;
}
/* A control's name, as the app shows it */
.ui {
  padding: 1px 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--tile);
  color: var(--text);
  font-weight: 500;
  font-size: 0.92em;
  /* A short name stays whole; a long one (a sentence the app shows) wraps like text. */
  white-space: nowrap;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.ui.long {
  white-space: normal;
}
.doc-text code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--text);
}
.doc-text pre {
  margin-top: 22px;
  padding: 16px 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  font-size: 14.5px;
  line-height: 1.6;
}
.doc-text pre code {
  color: #d8d8de;
}
.doc-text .note {
  margin-top: 22px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-inline-start: 2px solid var(--green);
  border-radius: 10px;
  background: var(--card);
  font-size: 16px;
  color: #c9c9d0;
}
.doc-text .screen {
  display: flex;
  justify-content: center;
  margin: 34px 0 10px;
  padding: 34px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: radial-gradient(closest-side, rgb(76 232 156 / 0.07), transparent), var(--card);
}
.doc-text .screen.example {
  padding: 18px;
}
.doc-text .screen.example img {
  width: min(560px, 100%);
  height: auto;
  border-radius: 14px;
}
.doc-text .screen .phone {
  width: min(280px, 100%);
  padding: 7px;
  border-radius: 36px;
}
.doc-text .screen .phone img {
  border-radius: 29px;
}
.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 64px;
}
.steps a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
}
.steps a:hover {
  border-color: #3a3a42;
}
.steps .label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
}
.steps b {
  font-weight: 500;
}
.steps .next {
  text-align: end;
}

/* The press kit */

.press .facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 28px;
  margin-top: 18px;
}
.press .facts dt {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--soft);
  padding-top: 3px;
}
.press .facts dd {
  margin: 0;
}
.press .downloads {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0;
  margin-top: 18px;
}
.press .downloads a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
}
.press .downloads a:hover {
  border-color: #3a3a42;
}
.press .downloads img {
  height: 26px;
  width: auto;
  border-radius: 6px;
}
.press-shots {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
  padding: 0;
  margin-top: 18px;
}
.press-shots img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
}

/* The blog: its articles' lists, an article's date, tables, the app's box, related articles */

[data-section='blog'] .top nav a[data-section='blog'] {
  color: var(--text);
}
.blog .doc-text > h2 a {
  color: inherit;
  text-decoration: none;
}
.blog .doc-text > h2 a:hover {
  color: var(--green);
}
.doc-text .label a {
  color: inherit;
  text-decoration: none;
}
.doc-text .label a:hover {
  color: var(--text);
}
.doc-text .meta {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--soft);
}
.doc-text .table {
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.doc-text table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.doc-text th,
.doc-text td {
  padding: 10px 14px;
  text-align: start;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.doc-text th {
  font-weight: 600;
  color: var(--text);
  background: var(--card);
}
.doc-text td {
  color: #c9c9d0;
}
.doc-text tbody tr:last-child td {
  border-bottom: 0;
}
.cta {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 56px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: radial-gradient(closest-side at 10% 0%, rgb(76 232 156 / 0.09), transparent), var(--card);
}
.cta img {
  flex: none;
  border-radius: 11px;
}
.cta b {
  font-size: 17px;
  color: var(--text);
}
.cta p {
  margin-top: 6px;
  font-size: 16px;
  color: var(--soft);
}
.related {
  margin-top: 56px;
}
.related h2 {
  margin-top: 0;
}
.from-blog .post-grid {
  margin-top: 36px;
}
.from-blog .more {
  margin-top: 22px;
}

/* The blog's look. Each topic has a colour (blog/topics.json, and here: the build checks they
   agree), which tints its covers, chips, headings and marks. */

.blog,
.guide,
.guide-index {
  --topic: var(--green);
}
.blog,
.guide,
.guide-index,
[class*='topic-'],
[class*='chapter-'] {
  --topic-soft: color-mix(in srgb, var(--topic) 14%, transparent);
  --topic-line: color-mix(in srgb, var(--topic) 38%, transparent);
  --topic-text: color-mix(in srgb, var(--topic) 70%, white);
}
.topic-reading-charts {
  --topic: #7fb0ff;
}
.topic-writing-charts {
  --topic: #4fd6b8;
}
.topic-chords {
  --topic: #b48cff;
}
.topic-progressions {
  --topic: #ffb35c;
}
.topic-keys {
  --topic: #ff8f80;
}
.topic-form {
  --topic: #c3ee5c;
}
.topic-styles {
  --topic: #ff7fc0;
}
.topic-practice {
  --topic: #4ce89c;
}
.topic-gigs {
  --topic: #ffd166;
}
.topic-files {
  --topic: #62d9f0;
}
.topic-apps {
  --topic: #9fa8ff;
}

/* A topic's chip */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px 6px 11px;
  border: 1px solid var(--topic-line);
  border-radius: 999px;
  background: var(--topic-soft);
  color: var(--topic-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}
.chip::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--topic);
  box-shadow: 0 0 10px var(--topic);
}
a.chip:hover {
  background: color-mix(in srgb, var(--topic) 24%, transparent);
  color: var(--text);
}
a.chip[aria-current] {
  background: var(--topic);
  border-color: var(--topic);
  color: var(--on-green);
}
a.chip[aria-current]::before {
  background: var(--on-green);
  box-shadow: none;
}

/* The blog's front and a topic's page: a lit header, then the articles */

.blog-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 64px;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.blog-hero .banner,
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.blog-hero .banner {
  opacity: 0.7;
  object-position: right center;
}
/* A scrim on the text's side, over a topic's banner. */
.blog-hero:has(.banner)::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(11 11 13 / 0.85) 15%, rgb(11 11 13 / 0.35) 60%, transparent);
}
/* The blog's front and the guide's: every topic's colour, as stage lights over a staff. */
.hero-art {
  background:
    radial-gradient(36% 60% at 86% 22%, rgb(127 176 255 / 0.38), transparent 70%),
    radial-gradient(30% 50% at 70% 88%, rgb(255 127 192 / 0.30), transparent 70%),
    radial-gradient(32% 55% at 100% 70%, rgb(255 179 92 / 0.30), transparent 70%),
    radial-gradient(28% 50% at 56% 6%, rgb(180 140 255 / 0.28), transparent 70%),
    radial-gradient(40% 70% at 10% 0%, rgb(76 232 156 / 0.20), transparent 70%),
    repeating-linear-gradient(to bottom, transparent 0 21px, rgb(255 255 255 / 0.045) 21px 22px);
}
.blog-hero .wrap {
  position: relative;
}
.blog-hero .crumbs,
.guide-hero .crumbs {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--topic-text);
}
.crumbs a {
  color: inherit;
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--text);
}
.crumbs span[aria-hidden] {
  margin: 0 10px;
  color: var(--soft);
}
.blog-hero h1 {
  margin-top: 18px;
  max-width: 820px;
  font-size: clamp(42px, 6.4vw, 76px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.blog-hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #7fb0ff, #b48cff 35%, #ff7fc0 65%, #ffb35c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.blog-hero .lede {
  margin-top: 20px;
  max-width: 640px;
  font-size: 20px;
  color: #c9c9d0;
}
.listing > .wrap {
  padding-bottom: 104px;
}
/* The blog's sections are rows of cards, not the home page's tall bands. */
.blog section {
  padding: 0;
  border-bottom: 0;
}

/* A heading over a row of articles: the topic's colour as a mark before it */

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.section-title::before {
  content: '';
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--topic);
  box-shadow: 0 0 16px var(--topic);
}
.section-title a {
  color: inherit;
  text-decoration: none;
}
.section-title a:hover {
  color: var(--topic-text);
}
.featured {
  margin-top: 64px;
}
.topic-row {
  margin-top: 80px;
}
.row-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px 24px;
}
.row-head p {
  grid-column: 1;
  max-width: 640px;
  font-size: 16px;
  color: var(--soft);
}
.row-head .all {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  color: var(--topic-text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.row-head .all::after {
  content: ' →';
}
.row-head .all:hover {
  color: var(--text);
}

/* Articles as cards: the cover, its glyph, the topic, the title */

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.listing > .wrap > .post-grid {
  margin-top: 56px;
}
.post-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.post-card a:hover {
  transform: translateY(-4px);
  border-color: var(--topic-line);
  box-shadow: 0 22px 48px -24px color-mix(in srgb, var(--topic) 55%, transparent);
}
.cover {
  position: relative;
  display: block;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  container-type: inline-size;
  background: #0d0e11;
}
.cover img,
.post-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover img {
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.post-card a:hover .cover img {
  transform: scale(1.05);
}
/* The glyph: a chord, a sign, a number, set over the cover's dark side. */
.glyph {
  position: absolute;
  inset-inline-start: 7%;
  bottom: 13%;
  max-width: 88%;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: color-mix(in srgb, var(--topic) 28%, white);
  text-shadow: 0 0 0.35em color-mix(in srgb, var(--topic) 60%, transparent), 0 2px 12px rgb(0 0 0 / 0.5);
}
.glyph.short {
  font-size: 19cqw;
}
.glyph.medium {
  font-size: 13cqw;
}
.glyph.long {
  font-size: 8.6cqw;
}
.post-card .body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 20px 20px;
}
.post-card .chip {
  max-width: 100%;
  padding: 3px 10px 3px 9px;
  font-size: 12.5px;
  white-space: normal;
}
.post-card .chip::before {
  width: 6px;
  height: 6px;
}
.post-card b {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.post-card .text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.5;
  color: var(--soft);
}
.post-card .meta {
  margin-top: auto;
  padding-top: 4px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--soft);
}
.post-card a:hover b {
  color: var(--topic-text);
}

/* "Start here": one article large, four beside it */

.featured .post-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.featured .post-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.featured .post-card:first-child .cover {
  flex: 1;
  aspect-ratio: auto;
  min-height: 300px;
}
.featured .post-card:first-child b {
  font-size: 28px;
  letter-spacing: -0.02em;
}
.featured .post-card:first-child .body {
  padding: 24px 26px 26px;
}
.featured .post-card:not(:first-child) .text {
  display: none;
}
.featured .post-card:not(:first-child) b {
  font-size: 17px;
}

/* An article: its header and cover, its sections beside it, the text */

.post {
  padding: 56px 0 104px;
}
.post-head {
  max-width: 860px;
}
.post-head .crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--soft);
}
.post-head .crumbs .chip {
  font-family: var(--font);
}
.post-head h1 {
  margin-top: 22px;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.post-head .lede {
  margin-top: 20px;
  max-width: 720px;
  font-size: 20px;
  color: #c9c9d0;
}
.post-head .meta {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--soft);
}
.post-cover {
  position: relative;
  margin: 40px 0 0;
  aspect-ratio: 1200 / 440;
  overflow: hidden;
  container-type: inline-size;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #0d0e11;
  box-shadow: 0 40px 90px -50px color-mix(in srgb, var(--topic) 60%, transparent);
}
.post-cover .glyph {
  bottom: 16%;
}
.post-cover .glyph.short {
  font-size: 15cqw;
}
.post-cover .glyph.medium {
  font-size: 10.5cqw;
}
.post-cover .glyph.long {
  font-size: 7cqw;
}
.post-body {
  display: grid;
  grid-template-columns: 240px minmax(0, 720px);
  gap: 72px;
  align-items: start;
  margin-top: 56px;
}
.post-side {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
  font-size: 14.5px;
}
.post-side .label {
  margin-bottom: 12px;
}
.post-side ol,
.post-side ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.toc ol {
  border-inline-start: 1px solid var(--line);
  counter-reset: section;
}
.toc li a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  margin-inline-start: -1px;
  padding: 6px 12px;
  border-inline-start: 1px solid transparent;
  color: var(--soft);
  line-height: 1.35;
  text-decoration: none;
  counter-increment: section;
}
.toc li a::before {
  content: counter(section, decimal-leading-zero);
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 11px;
  color: color-mix(in srgb, var(--topic) 60%, var(--soft));
}
.toc li a:hover,
.toc li a[aria-current] {
  color: var(--text);
  border-color: var(--topic);
}
.post-side .topics {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.post-side .topics a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  color: var(--soft);
  text-decoration: none;
  line-height: 1.35;
}
.post-side .topics a::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--topic);
  opacity: 0.55;
}
.post-side .topics a:hover,
.post-side .topics a[aria-current] {
  color: var(--text);
}
.post-side .topics a:hover::before,
.post-side .topics a[aria-current]::before {
  opacity: 1;
  box-shadow: 0 0 10px var(--topic);
}

/* The text, tinted with the topic */

:is(.post, .guide) .doc-text > p:first-child {
  margin-top: 0;
  font-size: 19px;
  color: #dcdce2;
}
:is(.post, .guide) .doc-text h2 {
  position: relative;
  border-top-color: var(--line);
}
:is(.post, .guide) .doc-text h2::before {
  content: '';
  position: absolute;
  top: -1px;
  inset-inline-start: 0;
  width: 56px;
  height: 2px;
  border-radius: 2px;
  background: var(--topic);
}
:is(.post, .guide) .doc-text li::marker {
  color: var(--topic);
}
:is(.post, .guide) .doc-text .note {
  border-inline-start-color: var(--topic);
  background: linear-gradient(90deg, var(--topic-soft), transparent 70%), var(--card);
}
:is(.post, .guide) .doc-text th {
  background: color-mix(in srgb, var(--topic) 9%, var(--card));
  color: var(--topic-text);
}
:is(.post, .guide) .doc-text .table {
  border-color: color-mix(in srgb, var(--topic) 22%, var(--line));
}
:is(.post, .guide) .doc-text tbody tr:hover td {
  background: rgb(255 255 255 / 0.02);
}
:is(.post, .guide) .doc-text .screen {
  background: radial-gradient(closest-side, var(--topic-soft), transparent), var(--card);
}
.post .cta {
  border-color: var(--topic-line);
  background:
    radial-gradient(60% 120% at 0% 0%, var(--topic-soft), transparent),
    radial-gradient(40% 100% at 100% 100%, rgb(76 232 156 / 0.10), transparent),
    var(--card);
}
.cta .links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 16px;
}
.cta .button {
  padding: 11px 18px;
  font-size: 15px;
}
.post .related {
  margin-top: 104px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1000px) {
  .post-grid,
  .featured .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .featured .post-card:first-child {
    grid-row: auto;
  }
  .topic-row .post-card:nth-child(3) {
    display: none;
  }
  .post-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  /* On a narrower screen, the article first, then its topics; its sections were its headings. */
  .post-side {
    position: static;
    order: 2;
    max-height: none;
    margin-top: 72px;
  }
  .post-side .toc {
    display: none;
  }
  .post-side .topics {
    margin-top: 0;
  }
}
@media (max-width: 640px) {
  .blog-hero {
    padding: 56px 0 44px;
  }
  .blog-hero .lede,
  .post-head .lede {
    font-size: 18px;
  }
  .chips {
    gap: 8px;
  }
  .chip {
    font-size: 13px;
  }
  .post-grid,
  .featured .post-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .featured .post-card:first-child {
    grid-column: auto;
  }
  .featured .post-card:first-child .cover {
  flex: 1;
  aspect-ratio: auto;
  min-height: 300px;
}
.featured .post-card:first-child b {
    font-size: 22px;
  }
  .featured .post-card:not(:first-child) .text,
  .topic-row .post-card:nth-child(3) {
    display: block;
  }
  .featured .post-card:not(:first-child) .text {
    display: -webkit-box;
  }
  .row-head {
    grid-template-columns: minmax(0, 1fr);
  }
  .row-head .all {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
  .post {
    padding-top: 36px;
  }
  .post-cover {
    margin-top: 28px;
    aspect-ratio: 1200 / 630;
    border-radius: 18px;
  }
  .post-cover .glyph.short {
    font-size: 19cqw;
  }
  .post-cover .glyph.medium {
    font-size: 13cqw;
  }
  .post-cover .glyph.long {
    font-size: 8.6cqw;
  }
  .post-body {
    margin-top: 36px;
  }
  .cta {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  .post-card a,
  .cover img {
    transition: none;
  }
  .post-card a:hover,
  .post-card a:hover .cover img {
    transform: none;
  }
}

/* The guide's look: each page has a colour (the build checks every page has one), which tints its
   header, its number, its text's marks and the cards that lead to it. */

.chapter-getting-started {
  --topic: #4ce89c;
}
.chapter-importing {
  --topic: #62d9f0;
}
.chapter-reading-a-song {
  --topic: #7fb0ff;
}
.chapter-transposing {
  --topic: #ff8f80;
}
.chapter-editing-charts {
  --topic: #4fd6b8;
}
.chapter-melody-and-lyrics {
  --topic: #b48cff;
}
.chapter-the-band {
  --topic: #ff7fc0;
}
.chapter-playlists-and-library {
  --topic: #ffd166;
}
.chapter-files {
  --topic: #c3ee5c;
}
.chapter-sharing-and-backups {
  --topic: #ffb35c;
}
.chapter-settings {
  --topic: #9fa8ff;
}

/* A header lit in the page's colour, over a staff, its number large beside it */

.guide-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 60px;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  background:
    radial-gradient(46% 130% at 88% 0%, color-mix(in srgb, var(--topic) 24%, transparent), transparent 70%),
    radial-gradient(30% 90% at 62% 110%, color-mix(in srgb, var(--topic) 10%, transparent), transparent 70%);
}
.guide-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(to bottom, transparent 0 21px, rgb(255 255 255 / 0.04) 21px 22px);
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000);
  mask-image: linear-gradient(100deg, transparent 30%, #000);
}
.guide-hero.index::before {
  display: none;
}
.guide-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
}
.guide-head {
  max-width: 760px;
}
.guide-hero h1 {
  margin-top: 18px;
  font-size: clamp(40px, 5.6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
}
.guide-hero .lede {
  margin-top: 20px;
  max-width: 640px;
  font-size: 20px;
  color: #c9c9d0;
}
.big-number {
  margin-bottom: -0.12em;
  font-size: clamp(120px, 17vw, 220px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  background: linear-gradient(180deg, color-mix(in srgb, var(--topic) 55%, transparent), transparent 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--topic) 75%, transparent);
  filter: drop-shadow(0 0 28px color-mix(in srgb, var(--topic) 35%, transparent));
  user-select: none;
}

/* The guide's front: the app's screens fanned out, then a card for each page */

.guide-index .guide-hero {
  padding: 64px 0 0;
}
.guide-index .guide-hero .wrap {
  align-items: center;
}
.guide-index .guide-head {
  padding-bottom: 64px;
}
.guide-index .guide-hero h1 {
  font-size: clamp(44px, 6.4vw, 76px);
  letter-spacing: -0.035em;
}
.fan {
  position: relative;
  width: 440px;
  height: 400px;
  align-self: end;
}
.fan img {
  position: absolute;
  bottom: -150px;
  width: 190px;
  height: auto;
  padding: 6px;
  border: 1px solid #2c2c33;
  border-radius: 30px;
  background: #050506;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.9);
}
.fan img:nth-child(1) {
  left: 0;
  transform: rotate(-9deg);
  transform-origin: bottom right;
}
.fan img:nth-child(2) {
  left: 125px;
  bottom: -110px;
  z-index: 1;
  box-shadow: 0 30px 70px -10px rgb(0 0 0 / 0.95), 0 0 60px -10px rgb(76 232 156 / 0.35);
}
.fan img:nth-child(3) {
  right: 0;
  transform: rotate(9deg);
  transform-origin: bottom left;
}
.guide-index > .wrap {
  padding-top: 64px;
  padding-bottom: 104px;
}
.chapters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chapter:first-child {
  grid-column: span 2;
}
.chapter a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.chapter a:hover {
  transform: translateY(-4px);
  border-color: var(--topic-line);
  box-shadow: 0 22px 48px -24px color-mix(in srgb, var(--topic) 55%, transparent);
}
.chapter .art {
  position: relative;
  display: block;
  height: 210px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(70% 120% at 85% 10%, color-mix(in srgb, var(--topic) 30%, transparent), transparent 70%),
    repeating-linear-gradient(to bottom, transparent 0 17px, rgb(255 255 255 / 0.035) 17px 18px),
    #0d0e11;
}
.chapter .number {
  position: absolute;
  inset-inline-start: 22px;
  bottom: 14px;
  font-size: 84px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  background: linear-gradient(180deg, color-mix(in srgb, var(--topic) 60%, transparent), transparent 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--topic) 80%, transparent);
}
.chapter .phone {
  position: absolute;
  inset-inline-end: 26px;
  top: 30px;
  width: 150px;
  padding: 5px;
  border-radius: 24px;
  transform: rotate(-5deg);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  box-shadow: 0 0 0 1px #000, 0 24px 50px -16px rgb(0 0 0 / 0.9), 0 0 50px -12px color-mix(in srgb, var(--topic) 45%, transparent);
}
.chapter .phone img {
  border-radius: 19px;
}
.chapter a:hover .phone {
  transform: rotate(-2deg) translateY(-10px);
}
.chapter:first-child .phone {
  width: 170px;
  inset-inline-end: 60px;
}
.chapter .body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 22px;
}
.chapter b {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.chapter .body span {
  font-size: 15px;
  line-height: 1.5;
  color: var(--soft);
}
.chapter a:hover b {
  color: var(--topic-text);
}

/* A page's contents: the guide's pages numbered in their colours, the current one's sections */

.contents > ol > li > a {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
}
.contents li a .n {
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 11px;
  color: color-mix(in srgb, var(--topic) 70%, var(--soft));
}
.contents li a[aria-current='page'] {
  color: var(--text);
  border-color: var(--topic);
  background: linear-gradient(90deg, var(--topic-soft), transparent);
}
.contents .sections {
  margin: 4px 0 10px;
  border: 0;
}
.contents .sections a {
  padding: 4px 12px 4px 42px;
  font-size: 13.5px;
  border-inline-start-color: transparent;
}
.contents .sections a[aria-current] {
  color: var(--topic-text);
}

/* Previous and next: cards in the colours of the pages they lead to */

.guide .steps a {
  padding: 18px 20px;
  border-radius: 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.guide .steps a:hover {
  border-color: var(--topic-line);
  background: linear-gradient(120deg, var(--topic-soft), transparent 70%), var(--card);
}
.guide .steps b {
  font-size: 17px;
}
.guide .steps .n {
  margin-inline-end: 10px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--topic-text);
}
.guide .related {
  padding: 0 24px 104px;
  border-bottom: 0;
}
.guide .related .post-grid {
  margin-top: 26px;
}

@media (max-width: 1000px) {
  .chapters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .guide .related .post-card:nth-child(3) {
    display: none;
  }
}
@media (max-width: 900px) {
  .guide-hero .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .big-number {
    position: absolute;
    top: 20px;
    inset-inline-end: 20px;
    margin: 0;
    font-size: 120px;
    opacity: 0.55;
  }
  .guide-index .guide-head {
    padding-bottom: 28px;
  }
  .fan {
    width: 340px;
    height: 250px;
    justify-self: center;
  }
  .fan img {
    width: 140px;
    bottom: -140px;
    border-radius: 24px;
  }
  .fan img:nth-child(2) {
    left: 100px;
    bottom: -100px;
  }
  /* On a phone, the guide's pages come after the text: its sections were its headings. */
  .contents .sections {
    display: none;
  }
}
@media (max-width: 640px) {
  .guide-hero {
    padding: 48px 0 44px;
  }
  .guide-hero .lede {
    font-size: 18px;
  }
  .big-number {
    top: 16px;
    font-size: 88px;
  }
  .fan {
    width: 290px;
    height: 210px;
  }
  .fan img {
    width: 118px;
    bottom: -120px;
    padding: 4px;
    border-radius: 20px;
  }
  .fan img:nth-child(2) {
    left: 86px;
    bottom: -84px;
  }
  .chapters {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .chapter:first-child {
    grid-column: auto;
  }
  .chapter:first-child .phone {
    width: 150px;
    inset-inline-end: 26px;
  }
  .guide .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .guide .related .post-card:nth-child(3) {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  .chapter a,
  .chapter .phone {
    transition: none;
  }
  .chapter a:hover,
  .chapter a:hover .phone {
    transform: none;
  }
}

@media (max-width: 900px) {
  .learn .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .guide-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
    padding-top: 36px;
  }
  /* The guide's pages: after the text on a phone. */
  .contents {
    position: static;
    order: 2;
    padding-top: 28px;
    border-top: 1px solid var(--line);
  }
}
