/* Snip · secondary pages (privacy, 404). Loads after style.css. */
.page{padding:72px 0 96px}
.page-head{max-width:640px;margin-bottom:56px}
.page-head h1{font-size:clamp(40px,5vw,56px);letter-spacing:-.035em;line-height:1.02;margin-bottom:18px}
.page-lede{font-size:18px;line-height:1.6;color:var(--muted)}
.page-meta{margin-top:18px;font-size:13px;color:var(--faint)}
.page-grid{display:grid;grid-template-columns:200px minmax(0,680px);gap:72px;align-items:start}
.page-toc{position:sticky;top:96px;display:flex;flex-direction:column;gap:2px;font-size:13.5px}
.page-toc a{padding:7px 10px;border-radius:7px;color:var(--muted);font-weight:500;transition:color .18s var(--ease),background-color .18s var(--ease)}
.page-toc a:hover{color:var(--ink);background:var(--surface)}
.prose{font-size:15.5px;line-height:1.7;color:var(--ink-2)}
.prose section{padding:4px 0 36px;scroll-margin-top:96px}
.prose section+section{border-top:1px solid var(--line);padding-top:36px}
.prose h2{font-size:22px;letter-spacing:-.02em;color:var(--ink);margin-bottom:14px}
.prose p{margin-bottom:14px;max-width:66ch}
.prose p:last-child{margin-bottom:0}
.prose ul,.prose ol{margin:0 0 16px;padding-left:22px;max-width:66ch}
.prose li{margin:5px 0}
.prose li::marker{color:var(--faint)}
.prose a{color:var(--accent-ink);font-weight:500;text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--accent) 35%,transparent);text-underline-offset:3px;transition:text-decoration-color .18s var(--ease)}
.prose a:hover{text-decoration-color:var(--accent)}
.prose code{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-size:.9em;background:var(--surface);border:1px solid var(--line);padding:1px 6px;border-radius:5px;color:var(--ink)}
.prose table{width:100%;border-collapse:separate;border-spacing:0;font-size:14px;margin:4px 0 18px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}
.prose th,.prose td{text-align:left;padding:11px 14px;vertical-align:top;border-bottom:1px solid var(--line)}
.prose th{font-weight:600;font-size:12.5px;color:var(--muted);background:var(--surface)}
.prose tr:last-child td{border-bottom:0}
.prose td:first-child{color:var(--ink);font-weight:500}
.footer a[aria-current]{color:var(--ink)}

/* 404 */
.is-404{min-height:100vh;display:flex;flex-direction:column}
.is-404 main{flex:1;display:grid;place-items:center;padding:64px 0}
.notfound{position:relative}
.notfound::before{content:"";position:absolute;inset:-10% -20vw;z-index:-1;pointer-events:none;background:radial-gradient(50% 50% at 50% 40%,rgba(98,81,232,.10),transparent 70%),radial-gradient(circle at 1px 1px,rgba(23,23,28,.07) 1px,transparent 1.5px) 0 0/22px 22px;-webkit-mask-image:radial-gradient(60% 60% at 50% 50%,#000 30%,transparent 100%);mask-image:radial-gradient(60% 60% at 50% 50%,#000 30%,transparent 100%)}
.notfound-card{max-width:520px;text-align:center}
.notfound-row{display:flex;align-items:center;gap:12px;text-align:left;background:#fff;border-radius:11px;padding:13px 14px;margin:0 auto 36px;max-width:380px;box-shadow:0 0 0 1px var(--line),0 1px 2px rgba(23,23,28,.06),0 18px 40px -20px rgba(23,23,28,.3);font-size:13px;color:var(--ink-2)}
.notfound-row .file-icon{font-size:17px}
.notfound-name{flex:1;font-weight:500;color:var(--ink);min-width:0}
.notfound-name small{display:block;font-weight:400;color:var(--faint);font-size:11.5px;margin-top:2px;font-family:ui-monospace,"SF Mono",Menlo,monospace;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.notfound-row strong{font-weight:600;color:var(--ink);font-size:12.5px}
.notfound-row i{font-style:normal;color:#C83A33;font-weight:700;width:14px;text-align:center}
.notfound h1{font-size:clamp(40px,5.5vw,60px);letter-spacing:-.035em;line-height:1.02;margin-bottom:16px}
.notfound p{font-size:17px;line-height:1.6;color:var(--muted);max-width:44ch;margin-inline:auto}
.notfound-actions{display:flex;gap:22px;align-items:center;justify-content:center;margin-top:30px;flex-wrap:wrap}

@media(max-width:900px){.page-grid{grid-template-columns:1fr;gap:28px}.page-toc{position:static;flex-direction:row;flex-wrap:wrap;gap:4px;padding-bottom:20px;border-bottom:1px solid var(--line)}}
@media(max-width:700px){.page{padding:44px 0 64px}.page-head{margin-bottom:36px}.prose{font-size:15px}.prose table{display:block;overflow-x:auto}.notfound-row{max-width:none}}
