/* Option B: shared server-rendered links, native disclosures, no added font or JS. */
#site-footer { padding: 0; background: #0b0e10; }
.hd-footer { --footer-line: #2e3a36; --footer-muted: #b2bebb; --footer-dim: #9aaea5; --footer-green: #28e6a0; color: #ecf3ef; background: radial-gradient(ellipse at 10% 0, #15332955, transparent 55%); font-family: var(--font-body, sans-serif); font-size: 14px; line-height: 1.5; }
.hd-footer *, .hd-footer *::before, .hd-footer *::after { box-sizing: border-box; }
.hd-footer-wrap { max-width: 1240px; margin: auto; padding: 0 48px; }
.hd-footer a { color: var(--footer-muted); text-decoration: none; overflow-wrap: anywhere; }
.hd-footer a:hover { color: var(--footer-green); }
.hd-footer a:focus-visible, .hd-footer summary:focus-visible { outline: 2px solid var(--footer-green); outline-offset: 3px; border-radius: 3px; }
.hd-footer h2, .hd-footer h3, .hd-footer p { margin: 0; color: inherit; }
.hd-footer h3 { font-size: 14px; font-weight: 600; line-height: 1.5; }
.hd-footer ul { margin: 0; padding: 0; list-style: none; gap: 0; }
.hd-footer-mobile { display: none !important; }
.hd-footer-mast { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding: 40px 0 32px; }
.hd-footer-logo { display: inline-flex; align-items: center; min-height: 44px; }
.hd-footer-logo img { max-width: 100%; height: auto; }
.hd-footer-brand > p { font-size: 20px; margin: 8px 0 20px; letter-spacing: -.35px; }
.hd-footer-actions { display: flex; gap: 12px; align-items: center; }
.hd-footer a.hd-footer-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 44px; padding: 10px 16px; background: var(--footer-green); border: 1px solid var(--footer-green); border-radius: 4px; font-weight: 600; color: #062319; }
.hd-footer a.hd-footer-button:hover { background: #7cf3c5; }
.hd-footer a.hd-footer-ghost { background: transparent; color: #ecf3ef; border-color: var(--footer-line); }
.hd-footer a.hd-footer-ghost:hover { background: #173027; }
.hd-footer-eyebrow { color: var(--footer-dim); font: 10px/1.5 var(--font-mono, monospace); letter-spacing: .1em; text-transform: uppercase; }
.hd-footer-updates h2 { font-size: 25px; font-weight: 500; letter-spacing: -.7px; line-height: 1.2; margin-top: 9px; }
.hd-footer-updates p { color: var(--footer-muted); margin: 8px 0; }
.hd-footer-updates > a { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; color: var(--footer-green); }
.hd-footer-primary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 26px 0; border-top: 1px solid var(--footer-line); }
.hd-footer-group h3 { margin-bottom: 10px; }
.hd-footer-links a { display: block; min-height: 32px; padding: 5px 0; font-size: 14px; }
.hd-footer-namespaces { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; border-top: 1px solid var(--footer-line); padding: 20px 0; }
.hd-footer-namespaces > div { display: flex; flex-wrap: wrap; gap: 8px; }
.hd-footer-namespaces a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 11px; font: 12px/1.5 var(--font-mono, monospace); border: 1px solid var(--footer-line); border-radius: 4px; }
.hd-footer-namespaces a:hover { background: #173027; }
.hd-footer-drawer { margin-bottom: 24px; border: 1px solid #34453f; border-radius: 6px; background: #101a16; }
.hd-footer summary { cursor: pointer; list-style: none; }
.hd-footer summary::-webkit-details-marker { display: none; }
.hd-footer-drawer > summary { display: flex; align-items: center; gap: 18px; min-height: 76px; padding: 16px 22px; }
.hd-footer-plus { font: 26px/1 var(--font-mono, monospace); color: var(--footer-green); }
.hd-footer-drawer[open] > summary .hd-footer-plus { transform: rotate(45deg); }
.hd-footer-drawer strong { font-size: 15px; font-weight: 600; }
.hd-footer-drawer small { display: block; color: var(--footer-muted); font-size: 12px; margin-top: 2px; }
.hd-footer-drawer-hint { margin-left: auto; font: 10px/1.5 var(--font-mono, monospace); color: var(--footer-green); }
.hd-footer-drawer-content { padding: 4px 24px 24px; border-top: 1px solid var(--footer-line); }
.hd-footer-extra { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 20px 0; }
.hd-footer-technical { display: grid; grid-template-columns: .8fr 1.2fr 1.9fr; gap: 28px; border-top: 1px solid var(--footer-line); padding-top: 25px; }
.hd-footer-tech-intro h3 { font-size: 24px; line-height: 1.2; font-weight: 500; letter-spacing: -.7px; margin: 14px 0 12px; }
.hd-footer-tech-intro p { font-size: 13px; color: var(--footer-dim); max-width: 190px; }
.hd-footer-technical .hd-footer-group + .hd-footer-group { margin-top: 20px; }
.hd-footer-technical .hd-footer-links a { font-size: 12px; min-height: 28px; }
.hd-footer ul.hd-footer-agent-files { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 20px; }
.hd-footer-agent-files small { display: block; font: 10px/1.5 var(--font-mono, monospace); color: var(--footer-dim); }
.hd-footer-journal { border-top: 1px solid var(--footer-line); padding: 22px 0; }
.hd-footer-journal > div { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.hd-footer-journal > div a { font-size: 12px; min-height: 32px; display: flex; align-items: center; }
.hd-footer ul.hd-footer-articles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.hd-footer-articles a { display: block; min-height: 44px; font-size: 13px; line-height: 1.5; }
.hd-footer-agent-entry { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; border-top: 1px solid var(--footer-line); padding: 12px 0; color: var(--footer-muted); font-size: 13px; }
.hd-footer-agent-entry a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--footer-green); font-size: 13px; }
.hd-footer-format { font: 10px/1.5 var(--font-mono, monospace); border: 1px solid var(--footer-line); border-radius: 3px; padding: 2px 4px; color: var(--footer-muted); }
.hd-footer-status { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; color: var(--footer-dim); font-size: 12px; }
.hd-footer-status a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font: 11px/1.5 var(--font-mono, monospace); }
.hd-footer-status a span { color: var(--footer-green); font-size: 9px; }
.hd-footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 14px 0; border-top: 1px solid var(--footer-line); }
.hd-footer-legal ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hd-footer-legal a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
.hd-footer .footer-socials { display: flex; gap: 4px; }
.hd-footer .footer-socials a { width: 44px; height: 44px; min-width: 44px; justify-content: center; border: 0; }
.hd-footer-colophon { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; padding-bottom: 24px; color: var(--footer-dim); font-size: 11px; }
.hd-footer-colophon a { font-size: inherit; color: inherit; display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 701px) and (max-width: 1000px) {
  .hd-footer-wrap { padding: 0 32px; }
  .hd-footer-mast { gap: 28px; }
  .hd-footer-primary { gap: 20px; }
  .hd-footer-actions { flex-wrap: wrap; }
  .hd-footer-technical { grid-template-columns: 1fr 1.6fr; }
  .hd-footer-tech-intro { grid-column: 1 / -1; }
  .hd-footer-tech-intro h3 br { display: none; }
  .hd-footer-tech-intro p { max-width: none; }
}
@media (max-width: 700px) {
  .hd-footer-desktop { display: none !important; }
  .hd-footer-mobile { display: block !important; }
  .hd-footer-wrap { padding: 0 24px; }
  .hd-footer-mast { display: block; padding: 24px 0; }
  .hd-footer-logo img { width: 210px; }
  .hd-footer-brand > p { font-size: 17px; margin: 3px 0 8px; }
  .hd-footer-actions { gap: 24px; }
  .hd-footer-actions a, .hd-footer-actions a.hd-footer-button { display: inline-flex !important; min-height: 44px; align-items: center; padding: 0; border: 0; background: none; color: var(--footer-green); gap: 9px; font-size: 14px; font-weight: 500; }
  .hd-footer-actions a.hd-footer-desktop { display: none !important; }
  .hd-footer-updates { padding-top: 20px; }
  .hd-footer-updates h2 { font-size: 22px; }
  .hd-footer-updates p { font-size: 13px; }
  .hd-footer-mobile-nav { border-top: 1px solid var(--footer-line); }
  .hd-footer-mobile-nav > details { border-bottom: 1px solid var(--footer-line); }
  .hd-footer-mobile-nav summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 0; font-size: 15px; font-weight: 500; }
  .hd-footer-mobile-nav summary > span { color: var(--footer-green); font: 22px/1 var(--font-mono, monospace); }
  .hd-footer-mobile-nav details[open] > summary > span { transform: rotate(45deg); }
  .hd-footer-mobile-nav details > div { padding: 0 0 16px; }
  .hd-footer-mobile-nav h3 { margin: 16px 0 6px; color: var(--footer-dim); font-size: 12px; }
  .hd-footer-mobile-nav a { display: block; min-height: 44px; padding: 10px 0; font-size: 14px; }
  .hd-footer-mobile-nav ul.hd-footer-agent-files, .hd-footer-mobile-nav ul.hd-footer-articles { display: block; }
  .hd-footer-agent-entry { border-top: 0; gap: 0 20px; padding: 16px 0 4px; }
  .hd-footer-agent-entry > span { flex-basis: 100%; font-size: 12px; }
  .hd-footer-agent-entry a { font-size: 12px; }
  .hd-footer-legal { display: block; padding: 8px 0; }
  .hd-footer-legal ul { gap: 0 20px; }
  .hd-footer .footer-socials { margin-left: -10px; }
  .hd-footer-colophon { display: block; font-size: 10px; }
  .hd-footer-colophon > span { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .hd-footer a { transition: none; }
}
