/* Shared styles for provenance-lab /blog/ articles. Dark, readable, self-hosted
   system fonts (no external font fetch), consistent with /why-watermarks-break/. */
:root { color-scheme: dark; }
* { box-sizing: border-box; }
body {
  margin: 0; background: #05070c; color: #e6e9ef;
  font: 17px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(120% 90% at 50% -10%, rgba(0, 229, 255, 0.06), transparent 55%),
    radial-gradient(90% 78% at 50% 118%, rgba(16, 44, 64, 0.5), transparent 60%),
    radial-gradient(130% 115% at 50% 40%, transparent 52%, rgba(1, 2, 6, 0.8));
  background-attachment: fixed;
}
a { color: #38d6f0; text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

header.site { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px);
  background: rgba(8, 12, 20, .55); border-bottom: 1px solid rgba(255,255,255,.08); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; max-width: 980px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14px; color: #eef1f6; }
.brand .dot { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #22d3ee, #0e7490); display: inline-block; }
.nav a { color: #aeb6c4; font-size: 13px; margin-left: 18px; }

.hero { padding: 60px 0 24px; }
.eyebrow { display: inline-block; font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; text-transform: uppercase; color: #38d6f0; background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.3); padding: 7px 11px; border-radius: 8px; }
h1 { font-size: clamp(29px, 5vw, 44px); line-height: 1.12; letter-spacing: -.02em; margin: 20px 0 14px; color: #fff; }
.lede { font-size: 20px; color: #b9c1cf; margin: 0 0 18px; }
.byline { font-size: 13px; color: #8a93a3; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); padding: 14px 0; }

article { padding: 26px 0 10px; }
article h2 { font-size: 25px; letter-spacing: -.01em; margin: 44px 0 12px; color: #fff; }
article h3 { font-size: 18px; margin: 28px 0 8px; color: #eef1f6; }
article p { color: #d2d8e2; }
article strong { color: #fff; }
article ul, article ol { color: #d2d8e2; }
article li { margin: 7px 0; }

.tldr { background: rgba(34,211,238,.06); border: 1px solid rgba(34,211,238,.22); border-radius: 14px; padding: 16px 20px; margin: 24px 0; }
.tldr .t { font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; color: #7fdbef; margin-bottom: 10px; }
.tldr ul { margin: 0; padding-left: 18px; }
.tldr li { color: #cfe9f2; font-size: 15px; }

.callout { background: rgba(34,211,238,.06); border: 1px solid rgba(34,211,238,.22); border-radius: 14px; padding: 16px 18px; margin: 22px 0; font-size: 15px; color: #cfe9f2; }
.scope { background: rgba(245,158,11,.06); border: 1px solid rgba(245,158,11,.25); color: #f3dcb0; }

table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid rgba(255,255,255,.08); vertical-align: top; }
th { color: #9aa3b2; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 11px; font-weight: 600; font-size: 15px; }
.btn.primary { background: linear-gradient(135deg, #22d3ee, #0e7490); color: #04121a; }
.btn.ghost { border: 1px solid rgba(255,255,255,.16); color: #e6e9ef; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }

.faq h3 { margin-top: 22px; }

.related { margin: 40px 0 0; border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; }
.related h2 { font-size: 16px; margin: 0 0 14px; }
.related-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.related-grid a { display: block; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 14px 16px; }
.related-grid a:hover { border-color: rgba(56,214,240,.4); text-decoration: none; }
.related-grid .rk { font: 700 10px/1 ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: #7fdbef; }
.related-grid .rt { color: #eef1f6; font-weight: 600; font-size: 15px; margin-top: 5px; }
.related-grid .rd { color: #8a93a3; font-size: 13px; margin-top: 4px; }

footer.site { border-top: 1px solid rgba(255,255,255,.07); margin-top: 48px; padding: 26px 0 44px; color: #8a93a3; font-size: 13px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; max-width: 980px; }
footer .links a { color: #aeb6c4; margin-right: 18px; }
@media (max-width: 640px) { h1 { font-size: 26px; } .hero { padding: 40px 0 18px; } }
