.content-page{padding:5rem 0 7rem;background:var(--bg);color:var(--ink)}
.content-layout{max-width:860px}
.breadcrumbs{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap;font-size:.9rem;color:var(--muted)}
.breadcrumbs a{color:var(--ink);text-decoration:underline;text-underline-offset:.2em}
.content-heading{margin:4rem 0 3rem;border-bottom:1px solid var(--rule);padding-bottom:2.5rem}
.content-heading h1{font-size:clamp(2.6rem,6vw,5rem);line-height:1.08;margin:.7rem 0 1.5rem;max-width:17ch;text-wrap:balance}
.content-summary{font-size:clamp(1.15rem,2vw,1.5rem);line-height:1.5;max-width:42rem;color:var(--muted);text-wrap:pretty}
.content-byline{font-size:.9rem;color:var(--muted);line-height:1.6;margin-top:2rem}
.content-body{max-width:720px;font-size:1.08rem;line-height:1.7}
.content-body h2{font-size:clamp(1.5rem,3vw,2rem);line-height:1.25;margin:3rem 0 1rem;text-wrap:balance}
.content-body h3{font-size:1.25rem;line-height:1.35;margin:2rem 0 .75rem;text-wrap:balance}
.content-body p,.content-body ul,.content-body ol{margin:0 0 1.25rem;text-wrap:pretty}
.content-body a{color:var(--accent);text-decoration:underline;text-underline-offset:.2em}
.content-body a:hover{color:var(--accent-hover)}
.content-body blockquote{border:1px solid var(--rule);padding:1rem 1.25rem;margin:2rem 0;color:var(--muted);border-radius:4px}
.content-body table{border-collapse:collapse;display:block;overflow-x:auto;margin:2rem 0}
.content-body th,.content-body td{border:1px solid var(--rule);padding:.6rem .9rem;text-align:left}
.content-body code{font-family:var(--mono);font-size:.9em}
.content-body pre{overflow-x:auto;padding:1rem;background:var(--bg-2)}
.prompt-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin:1.5rem 0 .5rem}
.prompt-copy{min-height:44px;border:0;border-radius:4px;padding:.65rem 1rem;background:var(--accent);color:var(--accent-ink);font-family:inherit;font-size:.9rem;font-weight:600;line-height:1.2;cursor:pointer}
.prompt-copy:hover{background:var(--accent-hover)}
.prompt-copy-status{font-size:.9rem;color:var(--muted);font-variant-numeric:tabular-nums}
#agentPrompt{white-space:pre-wrap;overflow-wrap:anywhere}
.not-found{min-height:70vh;display:grid;place-items:center;padding:7rem 1.5rem}
.not-found-inner{width:min(100%,48rem)}
.not-found h1{margin:1rem 0;font-size:clamp(2.5rem,7vw,5rem);line-height:1.05}
.not-found p{max-width:35rem;line-height:1.6}
.not-found .btn{margin-top:1.5rem}

/* Keep the primary demo action inside narrow mobile headers. */
@media (max-width: 520px) {
  .nav-cta-secondary { display: none; }
}
