/* Notabium sub-page styles. Extends notabium.css. LIGHT theme.
 * Drives the vs/*, for/*, blog, about, credits, security, privacy, and
 * keyword landing pages (they link this file + notabium.css, no inline styles).
 * Paper background, white cards, ink text, single ember accent, sharp corners. */

body { background: var(--nb-paper); color: var(--nb-ink); font-size: 17px; line-height: 1.55; }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(251,250,248,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--nb-divider); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-links { display: flex; gap: 32px; align-items: center; font-family: var(--nb-font-mono); font-size: 12px; color: var(--nb-ink-muted); }
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--nb-ink); }
@media (max-width: 760px) { .nav-links a:not(.nb-btn) { display: none; } .nav-links .nav-lang, .nav-links .nav-lang a { display: inline-flex !important; } }

article { padding: 80px 0 96px; max-width: 880px; margin: 0 auto; }
@media (max-width: 980px) { article { padding: 56px 0 80px; } }
.kicker { font-family: var(--nb-font-mono); font-size: 11px; color: var(--nb-accent); margin-bottom: 14px; letter-spacing: -0.005em; }
.breadcrumb { font-family: var(--nb-font-mono); font-size: 11px; color: var(--nb-ink-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--nb-ink-muted); }
.breadcrumb a:hover { color: var(--nb-ink); }
.breadcrumb .accent { color: var(--nb-accent); }

article h1 { font-family: var(--nb-font-mono); font-size: clamp(36px, 6vw, 64px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.06; color: var(--nb-ink); margin: 0 0 22px; max-width: 22ch; }
article .lede { font-family: var(--nb-font-sans); font-size: clamp(17px, 1.4vw, 19px); color: var(--nb-ink-muted); line-height: 1.6; max-width: 60ch; margin: 0 0 40px; letter-spacing: -0.01em; }

article h2 { font-family: var(--nb-font-mono); font-size: 30px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.15; color: var(--nb-ink); margin: 56px 0 16px; }
article h3 { font-family: var(--nb-font-mono); font-size: 20px; font-weight: 700; letter-spacing: -0.03em; color: var(--nb-ink); margin: 32px 0 12px; }
article p { font-family: var(--nb-font-sans); color: var(--nb-ink-muted); font-size: 16px; line-height: 1.7; margin: 0 0 16px; max-width: 64ch; }
article p strong, article p b { color: var(--nb-ink); font-weight: 600; }
article ul, article ol { font-family: var(--nb-font-sans); color: var(--nb-ink-muted); font-size: 16px; line-height: 1.7; padding-left: 22px; max-width: 64ch; }
article li { margin: 8px 0; }
article li::marker { color: var(--nb-accent); }
article a { color: var(--nb-ink); border-bottom: 1px solid var(--nb-divider); transition: border-color .15s; }
article a:hover { border-color: var(--nb-accent); }

article table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--nb-card); border: 1px solid var(--nb-divider); border-radius: var(--nb-radius-md); overflow: hidden; margin: 24px 0; font-family: var(--nb-font-sans); font-size: 14px; }
article th, article td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--nb-divider); color: var(--nb-ink-muted); }
article th { font-family: var(--nb-font-mono); font-size: 11px; color: var(--nb-ink-muted); background: var(--nb-surface); font-weight: 500; letter-spacing: -0.005em; }
article th.us, article td.us { background: var(--nb-accent-wash); color: var(--nb-ink); }
article tr:last-child td { border-bottom: 0; }
article .tick { color: var(--nb-accent); font-family: var(--nb-font-mono); }
article .cross { color: var(--nb-ink-dim); font-family: var(--nb-font-mono); }

article .term { font-family: var(--nb-font-mono); font-size: 13px; line-height: 1.85; padding: 20px 24px; background: var(--nb-card); border: 1px solid var(--nb-divider); border-radius: var(--nb-radius-md); margin: 24px 0; color: var(--nb-ink); }
article .term .accent { color: var(--nb-accent); }
article .term .muted { color: var(--nb-ink-muted); }

article .cta-block { margin: 56px 0 24px; padding: 32px; background: var(--nb-card); border: 1px solid var(--nb-divider); border-radius: var(--nb-radius-lg); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
article .cta-block .text { flex: 1; min-width: 220px; font-family: var(--nb-font-mono); font-size: 17px; font-weight: 500; letter-spacing: -0.02em; color: var(--nb-ink); }

article details { background: var(--nb-card); border: 1px solid var(--nb-divider); border-radius: var(--nb-radius-md); padding: 16px 20px; margin: 8px 0; }
article summary { font-family: var(--nb-font-mono); font-weight: 500; font-size: 15px; color: var(--nb-ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
article summary::-webkit-details-marker { display: none; }
article summary::after { content: "+"; color: var(--nb-accent); font-size: 18px; }
article details[open] summary::after { content: "-"; }
article details p { margin-top: 14px; }

/* Legacy simple footer (kept for any page still using .row) */
footer .row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer .accent { color: var(--nb-accent); }
footer a { color: var(--nb-ink-muted); }
footer a:hover { color: var(--nb-ink); }

/* ===== Showpiece footer (matches index.html) ===== */
footer.site-foot { position: relative; border-top: 1px solid var(--nb-divider); margin-top: 64px; padding: 80px 0 0; font-family: var(--nb-font-mono); font-size: 13px; color: var(--nb-ink-muted); overflow: hidden; background: var(--nb-paper); }
footer.site-foot .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 88px; }
@media (max-width: 880px) { footer.site-foot .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; } }
footer.site-foot .foot-brand .nb-wordmark { font-size: 22px; color: var(--nb-ink); margin-bottom: 16px; }
footer.site-foot .foot-brand p { font-family: var(--nb-font-sans); font-size: 13px; color: var(--nb-ink-muted); line-height: 1.6; max-width: 30ch; margin: 0 0 18px; }
footer.site-foot .foot-social { display: flex; gap: 10px; }
footer.site-foot .foot-social a { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--nb-divider); border-radius: var(--nb-radius-md); color: var(--nb-ink-muted); transition: color .15s, border-color .15s; }
footer.site-foot .foot-social a:hover { color: var(--nb-ink); border-color: var(--nb-accent-line); }
footer.site-foot .foot-social svg { width: 16px; height: 16px; }
footer.site-foot .foot-col h5 { color: var(--nb-ink); font-family: var(--nb-font-mono); font-size: 12px; font-weight: 500; letter-spacing: -0.005em; margin: 0 0 18px; }
footer.site-foot .foot-col a { display: block; padding: 6px 0; font-size: 13px; color: var(--nb-ink-muted); transition: color .15s; border-bottom: 0; }
footer.site-foot .foot-col a:hover { color: var(--nb-ink); }
footer.site-foot .foot-legal { border-top: 1px solid var(--nb-divider); padding: 22px 0 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; position: relative; z-index: 2; }
footer.site-foot .foot-legal .accent { color: var(--nb-accent); }
footer.site-foot .foot-legal a { color: var(--nb-ink-muted); border-bottom: 0; }
footer.site-foot .foot-legal a:hover { color: var(--nb-ink); }
/* The signature move: GIANT ghosted wordmark as a watermark behind the whole
 * footer. Full word reads, centered + contained, content layered above (light). */
footer.site-foot { isolation: isolate; }
footer.site-foot .foot-watermark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 0; pointer-events: none; user-select: none; overflow: hidden; }
footer.site-foot .foot-watermark span { font-family: var(--nb-font-mono); font-weight: 700; letter-spacing: -0.07em; font-size: min(15.5vw, 248px); line-height: 1; color: var(--nb-ghost); white-space: nowrap; opacity: 0.9; }
footer.site-foot .foot-grid, footer.site-foot .foot-legal { position: relative; z-index: 1; }
@media (max-width: 720px) { footer.site-foot .foot-watermark span { font-size: 22vw; } }
