/* Glossary term pages (/glossary/<slug>/). Built by tools/glossary/build.py. */
.pc-gterm {
  --brand: #0943B0; --brand-fg: #2E6BE0; --brand-deep: #062E7A; --brand-bg: #E8EFFC; --brand-pale: #F4F8FE;
  --line: #000000; --ink: #0B0D12; --n700: #232A38; --ink-2: #2B3242; --g600: #4A5363; --g500: #7C8697;
  --border: #D9DEE6; --border-faint: #EDF0F4; --on-dark: #FFFFFF; --on-dark-2: #C9CFDA;
  --white: #FFFFFF; --paper: #F8F8FF; --bg-ink: #0B0D12; --bg-ink-2: #171B23;
  --ease: cubic-bezier(.2,.7,.2,1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  display: block; font-family: var(--font); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
}
.pc-gterm *, .pc-gterm *::before, .pc-gterm *::after { box-sizing: border-box; margin: 0; padding: 0; font-family: var(--font); }
.pc-gterm a { color: var(--brand); font-weight: 500; text-decoration: none; }
.pc-gterm .wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.pc-gterm .wrap.narrow { max-width: 840px; }
.pc-gterm svg { flex: 0 0 auto; width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Top */
.pc-gterm .top { padding: 48px 0 8px; }
.pc-gterm .crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; list-style: none; font-size: 14px; line-height: 1.5; color: var(--g600); }
.pc-gterm .crumbs li { display: inline-flex; align-items: center; min-width: 0; overflow-wrap: anywhere; }
.pc-gterm .crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--g500); }
.pc-gterm .crumbs a { color: var(--g600); }
.pc-gterm .crumbs a:hover { color: var(--brand); }
.pc-gterm .crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.pc-gterm .eyebrows { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.pc-gterm .eyebrow, .pc-gterm .own { display: inline-block; padding: 6px 12px; font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--brand); background: var(--brand-bg); border-radius: 4px; }
.pc-gterm .own { background: var(--white); border: 1px solid var(--brand); padding: 5px 11px; }
.pc-gterm h1 { font-size: 46px; font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); margin: 20px 0 16px; overflow-wrap: break-word; }
.pc-gterm .byline { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; line-height: 1.5; color: var(--g600); }
.pc-gterm .byline a { color: var(--ink); }
.pc-gterm .byline a:hover { color: var(--brand); }
.pc-gterm .definition { margin-top: 32px; padding: 22px 28px; background: var(--brand-pale); border-left: 4px solid var(--brand); border-radius: 0 6px 6px 0; }
.pc-gterm .definition p { font-size: 19px; line-height: 1.6; color: var(--ink); overflow-wrap: break-word; }

/* Article body */
.pc-gterm .prose { padding: 16px 0 8px; font-size: 17px; line-height: 1.75; color: var(--ink-2); overflow-wrap: break-word; }
.pc-gterm .prose h2 { font-size: 30px; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); margin: 52px 0 16px; scroll-margin-top: 100px; }
.pc-gterm .prose h3 { font-size: 21px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); margin: 32px 0 10px; scroll-margin-top: 100px; }
.pc-gterm .prose h4 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 24px 0 8px; }
.pc-gterm .prose p { margin: 0 0 18px; }
.pc-gterm .prose strong { color: var(--ink); font-weight: 600; }
.pc-gterm .prose a { border-bottom: 1px solid rgba(9, 67, 176, .3); transition: border-color .15s; }
.pc-gterm .prose a:hover { border-bottom-color: var(--brand); }
.pc-gterm .prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; padding: 2px 6px; background: var(--border-faint); border-radius: 4px; overflow-wrap: anywhere; }
.pc-gterm .prose ul, .pc-gterm .prose ol { margin: 0 0 22px; padding-left: 0; list-style: none; }
.pc-gterm .prose li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.pc-gterm .prose ul > li::before { content: ""; position: absolute; left: 6px; top: .72em; width: 7px; height: 7px; background: var(--brand); border-radius: 2px; }
.pc-gterm .prose ol { counter-reset: n; }
.pc-gterm .prose ol > li { counter-increment: n; padding-left: 36px; }
.pc-gterm .prose ol > li::before { content: counter(n); position: absolute; left: 0; top: .2em; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; font-size: 13px; font-weight: 600; line-height: 1; color: var(--brand); background: var(--brand-bg); border-radius: 4px; }
.pc-gterm .table { margin: 8px 0 26px; overflow-x: auto; border: 1px solid var(--border); border-radius: 6px; }
.pc-gterm table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.pc-gterm th, .pc-gterm td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.pc-gterm th { font-weight: 600; color: var(--ink); background: var(--brand-pale); }
.pc-gterm tr:last-child td { border-bottom: 0; }
.pc-gterm td:first-child { font-weight: 600; color: var(--ink); min-width: 92px; }

/* Related terms, read more, FAQ */
.pc-gterm .related, .pc-gterm .reads, .pc-gterm .faq { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); }
.pc-gterm .related h2, .pc-gterm .reads h2, .pc-gterm .faq h2 { font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 20px; }
.pc-gterm .chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.pc-gterm .chip { display: inline-flex; align-items: center; padding: 9px 14px; font-size: 15px; line-height: 1.3; color: var(--ink); background: var(--white); border: 1px solid var(--border); border-radius: 999px; overflow-wrap: anywhere; transition: border-color .15s, color .15s, background .15s; }
.pc-gterm .chip:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-pale); }
.pc-gterm .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; list-style: none; }
.pc-gterm .card { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.pc-gterm .card:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--brand); }
.pc-gterm .card-media { display: block; aspect-ratio: 768 / 403; background: var(--brand-bg); border-bottom: 1px solid var(--line); }
.pc-gterm .card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }

.pc-gterm .card-media.logo { display: flex; align-items: center; justify-content: center; background: var(--brand-pale); }
.pc-gterm .card-media.logo img { width: 64px; height: 64px; object-fit: contain; }
.pc-gterm .card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.pc-gterm .card-cat { font-size: 12px; font-weight: 600; color: var(--brand); }
.pc-gterm .card-title { font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--ink); overflow-wrap: break-word; }
.pc-gterm .qa + .qa { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border-faint); }
.pc-gterm .qa h3 { font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--ink); margin-bottom: 8px; }
.pc-gterm .qa p { font-size: 16px; line-height: 1.7; color: var(--ink-2); overflow-wrap: break-word; }

/* CTA (same as the glossary index) */
.pc-gterm .cta { padding: 80px 0 0; }
.pc-gterm .cta-panel { background: var(--bg-ink); border: 2px solid var(--line); border-radius: 6px; box-shadow: 8px 8px 0 var(--brand); display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 56px; }
.pc-gterm .cta-panel h2 { font-size: 34px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; color: var(--on-dark); margin-bottom: 12px; }
.pc-gterm .cta-panel p { font-size: 17px; line-height: 1.55; color: var(--on-dark-2); max-width: 520px; }
.pc-gterm .btn-row { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 0 auto; }
.pc-gterm .btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; font-size: 16px; font-weight: 500; padding: 15px 24px; border-radius: 4px; border: 2px solid var(--line); transition: background .15s, transform .15s var(--ease), box-shadow .15s var(--ease), border-color .15s; }
.pc-gterm .btn-primary { background: var(--white); color: var(--ink); border-color: var(--white); }
.pc-gterm .btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--brand-fg); }
.pc-gterm .btn-secondary { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.4); }
.pc-gterm .btn-secondary:hover { background: var(--bg-ink-2); border-color: var(--white); }
.pc-gterm .btn:focus-visible, .pc-gterm a:focus-visible { outline: 2px solid var(--brand-fg); outline-offset: 3px; }

/* Previous / next */
.pc-gterm .pager { padding-top: 56px; padding-bottom: 104px; }
.pc-gterm .pn-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pc-gterm .pn { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 6px; min-width: 0; transition: border-color .15s, background .15s; }
.pc-gterm a.pn:hover { border-color: var(--brand); background: var(--brand-pale); }
.pc-gterm .pn.empty { border-color: transparent; }
.pc-gterm .pn.next { text-align: right; align-items: flex-end; }
.pc-gterm .pn-label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--g600); }
.pc-gterm .pn-name { font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--ink); overflow-wrap: break-word; }
.pc-gterm .back { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 15px; }
.pc-gterm .back:hover { color: var(--brand-deep); }

@media (max-width: 1024px) {
  .pc-gterm .cta-panel { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .pc-gterm .wrap { padding: 0 16px; }
  .pc-gterm .top { padding-top: 28px; }
  .pc-gterm .eyebrows { margin-top: 26px; }
  .pc-gterm h1 { font-size: 34px; }
  .pc-gterm .definition { margin-top: 24px; padding: 18px 18px 18px 20px; }
  .pc-gterm .definition p { font-size: 17px; }
  .pc-gterm .prose { font-size: 16px; }
  .pc-gterm .prose h2 { font-size: 25px; margin-top: 40px; }
  .pc-gterm .prose h3 { font-size: 19px; }
  .pc-gterm th, .pc-gterm td { padding: 10px 12px; }
  .pc-gterm .cards { grid-template-columns: minmax(0, 1fr); }
  .pc-gterm .cta { padding-top: 64px; }
  .pc-gterm .cta-panel { padding: 34px 22px; box-shadow: 5px 5px 0 var(--brand); }
  .pc-gterm .cta-panel h2 { font-size: 26px; }
  .pc-gterm .btn-row, .pc-gterm .btn { width: 100%; }
  .pc-gterm .pn-row { grid-template-columns: minmax(0, 1fr); }
  .pc-gterm .pn.empty { display: none; }
  .pc-gterm .pn.next { text-align: left; align-items: flex-start; }
  .pc-gterm .pager { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .pc-gterm *, .pc-gterm *::before, .pc-gterm *::after { transition: none !important; }
}
