/* Paper sketch · a few hand-drawn accents on top of the plain layout.
 * Only three things are drawn by hand, all on the front page: the hero highlighter and the
 * fact-strip circles (rough.js), and the two fork cards (wired-elements). Everything else stays plain.
 * Without sketch.js (CDN blocked, no JS) the CSS fallbacks below keep the same idea.
 */

/* Hero highlighter: CSS until rough.js draws it. */
.hero h1 .mark {
  color: var(--color-ink);
  background: linear-gradient(transparent 58%, var(--color-marker) 58%, var(--color-marker) 90%, transparent 90%);
}

/* ---------- Hooks for sketch.js ---------- */
/* Once a fork card holds a wired-card, the card draws the border; the box only lays out. */
.fork-card.is-wired { padding: 0; box-shadow: none; border-radius: 2px; }
.fork-card.is-wired > wired-card { display: block; height: 100%; padding: var(--space-lg); }
.fork-card.is-wired .pill-row { margin-top: auto; }

/* rough.js drawings sit behind the text they decorate. */
.rough-host { position: relative; isolation: isolate; }
.rough-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: -1; }
.has-rough .hero h1 .mark { background: none; }
