/* The guide pages (music overlay, Mac, Windows, comparisons, how-tos): the
   home page's toy box as plain reading. Same paper, ink and fonts, light
   and dark; one column of text with wide pictures and tables. */
:root {
  --paper: #f4efe4;
  --paper-2: #e9e2d2;
  --card: #fffdf8;
  --ink: #17131f;
  --ink-2: #5a5367;
  --line: rgba(23, 19, 31, .14);
  --on-color: #17131f;
  --sun: #ffd84a;
  --mint: #93efc9;
  --pink: #ff5fc8;
  --screen: #0d0b14;
  --display: "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --body: "Manrope", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --nav: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #13111a; --paper-2: #1c1926; --card: #201c2b; --ink: #f4efe4; --ink-2: #b2aac2; --line: rgba(244, 239, 228, .14);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #13111a; --paper-2: #1c1926; --card: #201c2b; --ink: #f4efe4; --ink-2: #b2aac2; --line: rgba(244, 239, 228, .14);
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font: 500 17px/1.7 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--pink); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 600px) { .wrap { padding-inline: 16px; } }

/* Nav: the home page's, with links to the guides. */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav); background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 24px var(--display); letter-spacing: -0.04em; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; margin-right: auto; }
.nav-links a { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.menu-btn { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; background: none; cursor: pointer; padding: 10px; }
.menu-btn i { display: block; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; }
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: var(--nav); left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 8px; font-size: 18px; }
  .menu-btn { display: block; }
  .nav .btn { display: none; }
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 14px; font: 800 16px var(--body); text-decoration: none; cursor: pointer;
  background: var(--ink); color: var(--paper); border: 2px solid var(--ink); box-shadow: 0 4px 0 var(--pink); transition: transform .1s ease, box-shadow .1s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--pink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--pink); }
.btn-small { padding: 9px 14px; font-size: 14px; border-radius: 11px; box-shadow: 0 3px 0 var(--pink); }

/* The article: a reading column, with pictures and tables allowed wider. */
.crumbs { margin: 28px 0 0; font: 700 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.crumbs a { text-decoration: none; }
article { max-width: 760px; margin: 0 auto; padding: 18px 0 72px; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; letter-spacing: -0.03em; font-weight: 800; scroll-margin-top: calc(var(--nav) + 16px); }
#join { scroll-margin-top: calc(var(--nav) + 16px); }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1; margin: 14px 0 22px; }
h2 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.08; margin: 56px 0 16px; }
h3 { font-size: 22px; line-height: 1.2; margin: 32px 0 8px; letter-spacing: -0.015em; }
p, ul, ol { margin: 0 0 18px; }
li { margin-bottom: 6px; }
.answer { font-size: clamp(19px, 2vw, 22px); line-height: 1.55; padding: 20px 22px; border-radius: 18px; background: var(--card); border: 2px solid var(--ink); box-shadow: 0 5px 0 var(--ink); }
.updated { font: 600 13px var(--mono); color: var(--ink-2); }
.mark { background: linear-gradient(transparent 62%, var(--pink) 62%, var(--pink) 90%, transparent 90%); padding-inline: .04em; }
.kbd { display: inline-block; font: 700 .82em/1 var(--mono); padding: .28em .45em; border-radius: 6px; border: 1.5px solid currentColor; box-shadow: 0 2px 0 currentColor; white-space: nowrap; }

figure { margin: 30px 0; }
figure.wide { margin-inline: calc(min(0px, (760px - min(100vw - 48px, 1100px)) / 2)); }
figure img { border-radius: 18px; background: var(--screen); border: 2px solid var(--ink); }
figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-2); }

/* Comparison tables: scroll sideways inside their box on phones, never the page. */
.table { overflow-x: auto; margin: 26px 0; border: 2px solid var(--ink); border-radius: 18px; background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; min-width: 560px; }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { font: 700 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); background: var(--paper-2); }
tbody th { font-weight: 800; }
tr:last-child td, tr:last-child th { border-bottom: 0; }
td.yes::before { content: "✓ "; font-weight: 800; color: #1fa463; }
td.no::before { content: "✕ "; font-weight: 800; color: #d0264f; }
.aux-row { background: color-mix(in srgb, var(--pink) 10%, transparent); }

/* A list of other pages. */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; padding: 0; list-style: none; }
.cards li { margin: 0; }
.cards a { display: block; height: 100%; padding: 16px 18px; border-radius: 16px; border: 2px solid var(--ink); background: var(--card); text-decoration: none; box-shadow: 0 4px 0 var(--ink); }
.cards a:hover { box-shadow: 0 4px 0 var(--pink); }
.cards b { display: block; font: 800 18px/1.2 var(--display); letter-spacing: -0.01em; margin-bottom: 4px; }
.cards span { font-size: 14px; color: var(--ink-2); }

/* FAQ, as on the home page. */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font: 800 19px/1.3 var(--display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 22px/1 var(--mono); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; margin: 0; color: var(--ink-2); }

/* The waitlist box that ends each page. */
.join { margin: 60px 0 0; padding: clamp(28px, 5vw, 44px); border-radius: 28px; background: var(--pink); color: var(--on-color); text-align: center; }
.join h2 { margin: 0 0 10px; }
.join p { margin: 0 auto; max-width: 30em; }
.waitlist { display: grid; gap: 10px; max-width: 480px; margin: 22px auto 0; }
.waitlist .field-row { display: flex; gap: 6px; padding: 6px; border-radius: 18px; background: #fff; border: 2px solid var(--on-color); box-shadow: 0 6px 0 var(--on-color); }
.waitlist input[type=email] { flex: 1; min-width: 0; padding: 0 14px; border: 0; background: transparent; color: #17131f; font: 600 16px var(--body); outline: none; }
.waitlist .btn { flex: none; box-shadow: none; padding: 12px 18px; background: #17131f; color: #fff; border-color: #17131f; }
.waitlist .btn:disabled { opacity: .6; cursor: progress; }
.waitlist-status { font-size: 14px; font-weight: 700; }
.waitlist-status:empty { display: none; }
.waitlist-status.error { color: #7a0026; }
.waitlist.done .field-row { display: none; }
.waitlist.done .waitlist-status { padding: 14px 18px; border-radius: 16px; border: 2px solid var(--on-color); background: var(--mint); }
@media (max-width: 460px) { .waitlist .field-row { flex-direction: column; } .waitlist input[type=email] { padding: 12px; } }

footer { padding: 28px 0 48px; font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-links a { text-decoration: none; font-weight: 700; }

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