/* Informational pages and support. Load after app.css. */
.support-page { width: var(--reading-page); margin: var(--reading-margin); padding: 34px 0 56px; }
.support-card { padding: 28px 30px 32px; }
.support-card h2 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.02em; }
.support-card p { color: var(--muted); }
.support-card form { display: flex; flex-direction: column; }
.support-card label { margin: 16px 0 6px; color: var(--slate-700); font-size: 12px; font-weight: 700; }
.support-card textarea { min-height: 180px; resize: vertical; }
.support-card button { margin-top: 20px; }
/* Public glossary uses native anchors and browser find, including without JavaScript. */
.glossary-page { width: var(--reading-page); margin: var(--reading-margin); padding: 34px 0 56px; }
.glossary-index { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 20px 24px; margin-bottom: 24px; }
.glossary-section { padding: 24px; margin-bottom: 20px; }
.glossary-section h2 { margin: 0 0 16px; font-size: 22px; }
.glossary-section dl { margin: 0; }
.glossary-section dl > div { padding: 18px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.glossary-section dt { font-weight: 750; }
.glossary-section dt a { color: var(--ink); }
.glossary-section dt span { display: block; margin-top: 4px; color: var(--muted); font-weight: 500; }
.glossary-section dd { margin: 8px 0 0; line-height: 1.7; }
.glossary-section dd p { margin: 0; }
.glossary-section dd .glossary-category,
.glossary-section dd .glossary-sources { margin-top: 8px; font-size: 14px; }
.glossary-section p, .glossary-section li { line-height: 1.7; }

.mcp-tool h2 { margin-bottom: 8px; }
.mcp-tool-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; color: var(--muted); }
.mcp-tool summary { cursor: pointer; width: fit-content; }
.mcp-tool pre { max-height: 24rem; overflow: auto; padding: 12px; border: 1px solid var(--line); }

.code-page, .code-results { display: flex; flex-direction: column; gap: 1.25rem; }
.code-page > *, .code-results > * { margin-block: 0; }
.code-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.code-nav [aria-current="page"] { font-weight: 700; text-underline-offset: .3em; }
.code-title { font-size: 1.25rem; }
.code-search { display: flex; flex-direction: column; gap: .75rem; }
.code-search, .code-card, .code-description { padding: 1.25rem 1.5rem; }
.code-search label { font-weight: 600; }
.code-search > div { display: flex; gap: .75rem; }
.code-search input { flex: 1; min-width: 0; }
.code-search button { flex: 0 0 auto; width: auto; }
.code-list { display: flex; flex-direction: column; gap: 1rem; }
.code-card h2 { font-size: 1rem; line-height: 1.5; margin: 0; }
.code-card p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin-bottom: 0; }
.code-number { font-variant-numeric: tabular-nums; font-weight: 700; }
.code-description { overflow-wrap: anywhere; }
.code-description p { white-space: pre-line; }
.code-description h2 { font-size: 1.1rem; }
.code-source { font-size: .875rem; }
.code-activity { padding: 1.25rem 1.5rem; overflow-wrap: anywhere; }
.code-activity h2 { font-size: 1.1rem; margin-top: 0; }
.code-activity ul { display: flex; flex-direction: column; gap: .75rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.code-notices li { display: flex; flex-direction: column; gap: .25rem; }
.code-notices span { color: var(--muted); font-size: .9rem; }
.code-agencies li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .5rem; }
.code-agencies strong { font-variant-numeric: tabular-nums; }
.code-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1rem; }
.code-cta .sam { padding: 10px 14px; font-size: 14px; }
.code-cta p { margin: 0; flex: 1 1 16rem; }
@media (max-width: 540px) {
  .code-search > div { flex-direction: column; }
}

/* Legal text keeps the existing informational-page style at a readable width. */
.legal-page .page-intro > p:last-child { max-width: none; }
.legal-page p { line-height: 1.7; }
.legal-page a { text-decoration: underline; }
/* Pricing keeps both billing intervals visible without a toggle. */
.pricing-page { width: var(--reading-page); margin: var(--reading-margin); padding: 48px 0 56px; }
.pricing-page p, .pricing-page li { line-height: 1.7; }
.pricing-beta { margin-bottom: 24px; padding: 20px 24px; border-left: 4px solid var(--amber-600); background: var(--amber-50); }
.pricing-beta h2 { margin: 0 0 4px; font-size: 18px; }
.pricing-beta p { margin: 0; max-width: 80ch; }
.pricing-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pricing-plan { display: flex; flex-direction: column; padding: 28px; }
.pricing-plan h2 { margin: 0; font-size: 22px; }
.pricing-plan p { margin: 12px 0 0; }
.pricing-plan .pricing-amount { margin-top: 20px; font-size: 44px; line-height: 1.15; font-weight: 750; letter-spacing: -0.03em; }
.pricing-amount span { font-size: 18px; font-weight: 500; letter-spacing: 0; }
.pricing-paid { border-color: var(--amber-600); }
.pricing-yearly { color: var(--amber-700); }
.pricing-plan ul { padding-left: 20px; margin: 20px 0 24px; }
.pricing-plan li + li { margin-top: 8px; }
.pricing-action { display: block; margin-top: auto; padding: 12px 16px; border: 1px solid var(--control-edge); border-radius: var(--radius-sm); color: var(--ink); text-align: center; font-weight: 700; }
.pricing-paid .pricing-action { margin-top: 24px; background: var(--action); border-color: var(--action); color: var(--white); }
.pricing-comparison, .pricing-details { margin-top: 40px; }
.pricing-comparison h2, .pricing-details h2 { margin: 0 0 12px; font-size: 24px; }
.pricing-comparison table { display: table; width: 100%; min-width: 0; table-layout: fixed; border-collapse: collapse; background: var(--surface); }
.pricing-comparison thead { position: static; display: table-header-group; width: auto; height: auto; overflow: visible; clip: auto; }
.pricing-comparison tbody { display: table-row-group; }
.pricing-comparison tr { display: table-row; }
.pricing-comparison th, .pricing-comparison td { display: table-cell; padding: 16px; border-bottom: 1px solid var(--line); vertical-align: top; white-space: normal; overflow-wrap: anywhere; }
.pricing-comparison th { text-transform: none; letter-spacing: 0; }
.pricing-comparison thead th { background: var(--slate-100); font-size: 14px; }
.pricing-comparison th:first-child { width: 56%; text-align: left; }
.pricing-comparison tbody th { background: transparent; color: var(--ink); font-size: 14px; font-weight: 600; }
.pricing-comparison td, .pricing-comparison thead th:not(:first-child) { text-align: center; }
.pricing-details { max-width: 76ch; }
.pricing-details h3 { margin: 24px 0 8px; font-size: 17px; }
.pricing-details p { margin: 0 0 16px; }
@media (max-width: 620px) {
	.pricing-page { padding-top: 28px; }
	.pricing-plans { grid-template-columns: minmax(0, 1fr); }
	.pricing-plan { padding: 24px; }
	.pricing-comparison th, .pricing-comparison td { padding: 12px 8px; font-size: 13px; }
	.pricing-comparison th:first-child { width: 48%; }
	.pricing-comparison tbody th { font-size: 13px; }
}
