body {
  margin: 0;
  /* clips the full-bleed hero's viewport-vs-scrollbar overshoot without a scroll
     container, so no horizontal scrollbar appears (see hero.css .hero) */
  overflow-x: clip;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-mono);
}

/* the getting-started textarea paints its text with a transparent fill and shows
   the highlighted pre beneath, so an opaque selection would hide the code; a
   translucent tint keeps tokens and body text readable */
::selection {
  background: color-mix(in srgb, var(--accent) 42%, transparent);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.page {
  max-width: 900px;
  margin: 0 auto;
}

.section-label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--accent2);
}

.yace-tok--com {
  color: var(--tok-com);
  font-style: italic;
}

.yace-tok--str {
  color: var(--tok-str);
}

.yace-tok--kw {
  color: var(--tok-kw);
}

.yace-tok--num {
  color: var(--tok-num);
}

.yace-tok--punc {
  color: var(--tok-punc);
}

@media (max-width: 640px) {
  .section-label {
    margin-bottom: 10px;
    font-size: 11px;
  }
}
