/* Standards Body shared styles. Locked visual system. Do not change tokens without a recorded decision. */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/JetBrainsMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/JetBrainsMono-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

body { font-family: 'Inter', system-ui, sans-serif; background: #09090b; }

.card { background: #0f0f11; border: 1px solid #1c1c1f; }

.section-line { height: 1px; background: linear-gradient(90deg, transparent, #1c1c1f 20%, #1c1c1f 80%, transparent); }

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #22d3ee; outline-offset: 2px; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  position: fixed; left: 1rem; top: 1rem; z-index: 100;
  background: #22d3ee; color: #09090b; padding: 0.5rem 1rem; border-radius: 0.5rem;
}

/* Long-form article typography (dark canonical publication page) */
.article-body h2 { font-size: 1.35rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.025em; color: #f4f4f5; margin: 2.4rem 0 0.9rem; }
.article-body h3 { font-size: 1.05rem; font-weight: 600; color: #f4f4f5; margin: 1.9rem 0 0.6rem; }
.article-body p { color: #a1a1aa; font-size: 15px; line-height: 1.75; margin: 0 0 1.1rem; }
.article-body ul, .article-body ol { color: #a1a1aa; font-size: 15px; line-height: 1.75; margin: 0 0 1.1rem; padding-left: 1.4rem; }
.article-body li { margin-bottom: 0.35rem; }
.article-body strong { color: #e4e4e7; font-weight: 600; }
.article-body a { color: #22d3ee; text-decoration: none; }
.article-body a:hover { color: #67e8f9; }
.article-body hr { border: none; border-top: 1px solid #1c1c1f; margin: 2.5rem 0; }

/* Expandable status notice */
details.status-notice { background: #0f0f11; border: 1px solid #1c1c1f; border-radius: 0.75rem; }
details.status-notice summary {
  cursor: pointer; list-style: none; padding: 0.85rem 1.25rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; color: #a1a1aa;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
details.status-notice summary::-webkit-details-marker { display: none; }
details.status-notice summary::after { content: '+'; color: #71717a; font-size: 14px; }
details.status-notice[open] summary::after { content: '\2212'; }
details.status-notice .notice-body { padding: 0 1.25rem 1.1rem; }
details.status-notice .notice-body p { font-size: 13px; line-height: 1.7; color: #a1a1aa; margin: 0 0 0.7rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Long-form additions for foundational sources and foundation papers */
.article-body h4 { font-size: 0.95rem; font-weight: 600; color: #f4f4f5; margin: 1.6rem 0 0.5rem; }
.article-body h5, .article-body h6 { font-size: 0.9rem; font-weight: 600; color: #e4e4e7; margin: 1.4rem 0 0.4rem; }
.article-body em { color: #d4d4d8; }
.article-body table { width: 100%; border-collapse: collapse; margin: 0 0 1.4rem; font-size: 13px; line-height: 1.55; display: block; overflow-x: auto; }
.article-body th, .article-body td { border: 1px solid #1c1c1f; padding: 0.45rem 0.65rem; text-align: left; vertical-align: top; color: #a1a1aa; }
.article-body th { color: #e4e4e7; background: #0f0f11; font-weight: 600; }
.article-body blockquote { border-left: 2px solid #1c1c1f; padding-left: 1rem; margin: 0 0 1.1rem; color: #a1a1aa; }
.article-body code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.85em; color: #d4d4d8; background: #0f0f11; padding: 0.1rem 0.3rem; border-radius: 4px; }
.status-notice .notice-body table { font-size: 12px; }
