/* Notabium sub-page styles. Extends notabium.css. */

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

.nav { position: sticky; top: 0; z-index: 50; background: rgba(15,15,15,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--nb-night-line); }
.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-night-muted); }
.nav-links a:hover { color: var(--nb-paper); }
@media (max-width: 760px) { .nav-links a:not(.nb-btn) { display: none; } }

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-night-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--nb-night-muted); }
.breadcrumb a:hover { color: var(--nb-paper); }
.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-paper); 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-night-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-paper); 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-paper); margin: 32px 0 12px; }
article p { font-family: var(--nb-font-sans); color: var(--nb-night-muted); font-size: 16px; line-height: 1.7; margin: 0 0 16px; max-width: 64ch; }
article p strong, article p b { color: var(--nb-paper); font-weight: 500; }
article ul, article ol { font-family: var(--nb-font-sans); color: var(--nb-night-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-paper); border-bottom: 1px solid var(--nb-night-line); 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-night-surface); border: 1px solid var(--nb-night-line); 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-night-line); color: var(--nb-night-muted); }
article th { font-family: var(--nb-font-mono); font-size: 11px; color: var(--nb-night-muted); background: var(--nb-night-surface-hi); font-weight: 500; letter-spacing: -0.005em; }
article th.us, article td.us { background: rgba(255,92,26,0.06); color: var(--nb-paper); }
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-night-muted); 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-night-surface); border: 1px solid var(--nb-night-line); margin: 24px 0; color: var(--nb-paper); }
article .term .accent { color: var(--nb-accent); }
article .term .muted { color: var(--nb-night-muted); }

article .cta-block { margin: 56px 0 24px; padding: 32px; background: var(--nb-night-surface); border: 1px solid var(--nb-night-line); 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-paper); }

article details { background: var(--nb-night-surface); border: 1px solid var(--nb-night-line); padding: 16px 20px; margin: 8px 0; }
article summary { font-family: var(--nb-font-mono); font-weight: 500; font-size: 15px; color: var(--nb-paper); 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; }

footer { padding: 56px 0 40px; border-top: 1px solid var(--nb-night-line); margin-top: 48px; font-family: var(--nb-font-mono); font-size: 11px; color: var(--nb-night-muted); }
footer .row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer .accent { color: var(--nb-accent); }
footer a { color: var(--nb-night-muted); }
footer a:hover { color: var(--nb-paper); }
