:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --ink: #292820;
  --muted: #68665c;
  --line: #dedbd0;
  --accent: #e3cfaa;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 35px; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #87692e; outline-offset: 5px; }
button[hidden], a[hidden] { display: none; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: -60px; left: 20px; padding: 10px 15px; background: white; }
.skip-link:focus { top: 12px; }
.site-header { display: flex; justify-content: space-between; align-items: center; height: 88px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 650; text-decoration: none; letter-spacing: -.5px; }
.brand svg { stroke: #776246; stroke-width: 1.6; stroke-linecap: round; }
nav { display: flex; gap: 30px; font-size: 14px; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--ink); }
.intro { padding: 77px 0 49px; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; }
.eyebrow { margin: 0 0 20px; color: var(--muted); font-size: 12px; font-weight: 550; letter-spacing: 1.1px; text-transform: uppercase; }
.eyebrow span { padding-inline: 9px; color: #a09b8c; }
h1 { margin: 0 0 18px; font-size: clamp(60px, 6vw, 86px); line-height: 1; font-weight: 600; letter-spacing: -4px; }
.lead { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; letter-spacing: -.65px; margin: 0 0 13px; }
.intro-copy { font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 500px; margin: 0; }
.download-area { width: 272px; padding-bottom: 1px; }
.download-button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 16px; border: 1px solid var(--ink); border-radius: 8px; background: var(--ink); color: #fffdf6; text-decoration: none; font-size: 15px; font-weight: 550; transition: background .15s, transform .15s; }
.download-button:hover { background: #484537; transform: translateY(-1px); }
.download-button svg { stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.compatibility { margin: 13px 0 6px; color: var(--muted); font-size: 12px; }
.download-status { margin: 0; min-height: 32px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.readme-link { display: inline-block; margin-top: 5px; font-size: 12px; }
.demo { margin: 0; }
.video-frame { position: relative; background: #181e21; border: 1px solid #d2cfc5; border-radius: 13px; overflow: hidden; box-shadow: 0 18px 48px #29282010; }
video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #181e21; object-fit: contain; }
.sound-button, .play-button { position: absolute; border: 1px solid #ffffff50; background: #181e21ed; color: #fff; border-radius: 7px; font-size: 13px; padding: 10px 14px; }
.sound-button { top: 16px; right: 16px; }
.play-button { inset: 0; width: 130px; height: 45px; margin: auto; }
.sound-button:hover, .play-button:hover { background: #383b3d; }
figcaption { margin: 13px 1px 0; font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 15px; line-height: 1.5; }
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; padding: 42px 0 47px; border-bottom: 1px solid var(--line); }
.examples h2 { font-size: 14px; font-weight: 600; margin: 0 0 16px; }
.examples p { margin: 0 0 9px; }
code { font: 13px/1.65 "Consolas", "SFMono-Regular", monospace; color: #514530; background: #eeeadf; padding: 5px 8px; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.examples span { font-size: 12px; color: var(--muted); line-height: 1.6; }
.setup { padding: 57px 0 48px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 92px; }
.setup-heading .eyebrow { margin-bottom: 16px; }
.setup-heading h2 { font-size: 29px; line-height: 1.25; letter-spacing: -.8px; font-weight: 550; margin: 0 0 16px; max-width: 320px; }
.setup-heading p:not(.eyebrow) { font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 290px; }
.steps { counter-reset: steps; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: steps; position: relative; padding-left: 44px; margin-bottom: 26px; }
.steps li:last-child { margin-bottom: 0; }
.steps li::before { content: counter(steps, decimal-leading-zero); position: absolute; left: 0; top: 1px; font-size: 12px; color: #756548; font-weight: 600; }
.steps h3 { font-size: 15px; margin: 0 0 8px; font-weight: 600; }
.steps p { margin: 0; font-size: 13px; line-height: 1.8; color: var(--muted); }
kbd { font: 11px/1.5 "Segoe UI", sans-serif; padding: 2px 5px; background: #fdfbf6; border: 1px solid #ccc6b8; border-bottom-width: 2px; border-radius: 4px; color: #443f33; white-space: nowrap; }
.notes { padding: 22px 0 28px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); line-height: 1.7; }
.notes p { margin: 0 0 7px; }
.site-footer { padding: 24px 0 35px; border-top: 1px solid var(--line); display: flex; align-items: start; gap: 30px; font-size: 12px; color: var(--muted); }
.footer-brand { margin-right: auto; font-weight: 600; text-decoration: none; color: var(--ink); }
.site-footer > a:last-child { white-space: nowrap; text-decoration: none; }
.credits { max-width: 430px; }
.credits summary { cursor: pointer; }
.credits p { font-size: 11px; line-height: 1.7; }
@media (max-width: 820px) {
  .intro { gap: 25px; }
  .download-area { width: 240px; }
  .lead { font-size: 23px; }
  .examples { gap: 22px; }
  .setup { gap: 40px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { height: 72px; }
  nav { gap: 21px; font-size: 13px; }
  .intro { display: block; padding-top: 42px; padding-bottom: 30px; }
  .eyebrow { font-size: 10px; margin-bottom: 17px; }
  h1 { font-size: 66px; margin-bottom: 17px; }
  .lead { font-size: 24px; }
  .intro-copy { font-size: 14px; }
  .download-area { width: 100%; margin-top: 27px; }
  .download-status { min-height: auto; }
  .readme-link { margin-top: 10px; }
  .video-frame { border-radius: 8px; }
  .sound-button { top: 8px; right: 8px; padding: 7px 9px; font-size: 11px; }
  figcaption { font-size: 11px; }
  .examples { grid-template-columns: 1fr; gap: 26px; padding: 31px 0; }
  .examples h2 { margin-bottom: 11px; }
  .setup { grid-template-columns: 1fr; gap: 20px; padding: 38px 0; }
  .setup-heading h2 { font-size: 28px; max-width: none; }
  .setup-heading p:not(.eyebrow) { max-width: none; }
  .site-footer { flex-wrap: wrap; gap: 22px; }
  .credits { order: 3; width: 100%; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
