/* Static pages, contact, search and 404. Sizes follow the old Tailwind classes. */

/* ── Static page (privacy, terms, disclosures, editorial standards) ─ */
/* The old pages start right under the fixed header (py-16), with no hero. */
.pb-static { max-width: 768px; margin: 0 auto; padding: 64px 16px; }
.pb-static--narrow { max-width: 672px; }
.pb-static__title { font-size: 30px; line-height: 36px; font-weight: 700; margin-bottom: 8px; }
.pb-static__updated { margin: 0 0 40px; font-size: 14px; line-height: 20px; color: var(--text2); }
.pb-static__lede { margin: 0 0 24px; font-size: 14px; line-height: 20px; color: var(--text2); }

.pb-static__body > * { margin-top: 0; margin-bottom: 0; }
.pb-static__body h2 { font-size: 20px; line-height: 28px; font-weight: 600; margin: 32px 0 12px; }
.pb-static__body > h2:first-child { margin-top: 0; }
.pb-static__body h3 { font-size: 17px; line-height: 26px; font-weight: 600; margin: 24px 0 8px; }
.pb-static__body p { color: var(--text2); line-height: 1.625; }
.pb-static__body p + p { margin-top: 16px; }
.pb-static__body ul:not([class*="pb-"]), .pb-static__body ol:not([class*="pb-"]) { margin: 12px 0; padding-left: 24px; color: var(--text2); line-height: 1.625; }
.pb-static__body li + li { margin-top: 6px; }
.pb-static__body [class*="pb-"] > li + li { margin-top: 0; }
.pb-static__body a { color: var(--accent); text-decoration: none; }
.pb-static__body a:hover { text-decoration: underline; }
.pb-static__body strong { color: var(--text); }
.pb-static--editorial-standards .pb-static__body h2 { margin-top: 40px; }
.pb-static--editorial-standards .pb-static__body > h2:first-child { margin-top: 0; }

/* Scoring rubric: an ordered list in the editor, numbered cards on the page. */
.pb-static__body .pb-rubric { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: pb-rubric; }
.pb-rubric li { counter-increment: pb-rubric; position: relative; margin: 0; padding: 16px 16px 16px 56px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg2); font-size: 12px; line-height: 16px; color: var(--text2); }
.pb-rubric li::before { content: counter(pb-rubric, decimal-leading-zero); position: absolute; left: 16px; top: 18px; width: 24px; font: 12px/16px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--accent); }
.pb-rubric strong { display: block; margin-bottom: 2px; font-size: 14px; line-height: 20px; font-weight: 500; }
.pb-rubric br, .pb-link-cards br { display: none; }

/* ── Contact ────────────────────────────────────────────────────── */
.pb-static--contact .pb-static__title { margin-bottom: 8px; }
.pb-static__body .pb-lede { margin-bottom: 40px; line-height: 24px; }
.pb-static__body .pb-link-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.pb-link-cards li { margin: 0; }
.pb-static__body .pb-link-cards a { display: block; padding: 20px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg2); font-size: 14px; line-height: 20px; color: var(--text2); text-decoration: none; transition: border-color 0.15s; }
.pb-static__body .pb-link-cards a:hover { border-color: var(--accent); text-decoration: none; }
.pb-link-cards strong { display: block; margin-bottom: 4px; font-size: 16px; line-height: 24px; font-weight: 600; }
.pb-static__body .pb-note { margin-top: 40px; font-size: 12px; line-height: 16px; }

/* ── Search ─────────────────────────────────────────────────────── */
.pb-search__form { display: flex; gap: 8px; margin-bottom: 32px; }
.pb-search__input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--border2); color: var(--text); font: 14px var(--font-inter); }
.pb-search__input:focus { outline: none; border-color: var(--accent); }
.pb-search__button { padding: 11px 18px; border: 0; border-radius: 10px; background: var(--accent); color: #000; font: 600 14px var(--font-inter); cursor: pointer; }
.pb-search__button:hover { opacity: 0.88; }
.pb-search__results { display: grid; gap: 12px; }
.pb-search__item { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg2); text-decoration: none; transition: border-color 0.15s; }
.pb-search__item:hover { border-color: var(--accent); }
.pb-search__type { align-self: flex-start; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.pb-search__title { font-family: var(--font-space); font-size: 17px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.pb-search__summary { font-size: 14px; line-height: 1.6; color: var(--text2); }
.pb-search__empty { color: var(--text2); line-height: 1.625; }
.pb-search__empty a { color: var(--accent); }
.pb-search__pages { margin-top: 32px; }
.pb-search__pages .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pb-search__pages .page-numbers { padding: 6px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; color: var(--text2); text-decoration: none; }
.pb-search__pages .page-numbers.current { border-color: var(--accent); color: var(--accent); }

/* ── 404 ────────────────────────────────────────────────────────── */
.pb-404 { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 96px 16px; text-align: center; }
.pb-404__code {
	font-size: 160px; line-height: 1; font-weight: 900; user-select: none;
	background: linear-gradient(135deg, var(--accent) 0%, #ffffff18 100%);
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pb-404__title { margin: 16px 0 8px; font-size: 24px; line-height: 32px; font-weight: 700; }
.pb-404__text { max-width: 448px; margin: 0 0 48px; color: var(--text2); }
.pb-404__links { display: grid; grid-template-columns: 1fr; gap: 12px; width: 100%; max-width: 576px; margin-bottom: 48px; }
.pb-404__link { display: flex; flex-direction: column; align-items: flex-start; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg2); text-align: left; text-decoration: none; transition: border-color 0.15s; }
.pb-404__link:hover { border-color: var(--accent); }
.pb-404__label { margin-bottom: 2px; font-size: 14px; line-height: 20px; font-weight: 600; }
.pb-404__desc { font-size: 12px; line-height: 16px; color: var(--text2); }
.pb-404__home { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 8px; background: var(--accent); color: #000; font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none; transition: opacity 0.15s; }
.pb-404__home:hover { opacity: 0.88; }
@media (min-width: 640px) {
	.pb-404__links { grid-template-columns: 1fr 1fr; }
}
