@font-face{font-family:'Geist Mono';font-style:normal;font-weight:500;font-display:optional;src:url('assets/fonts/geist-mono-500.woff2') format('woff2')}
/* Shared homepage footer. Keep typography independent of page body styles. */
@font-face {
  font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: optional;
  src: url('assets/fonts/manrope-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: optional;
  src: url('assets/fonts/manrope-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist Mono'; font-style: normal; font-weight: 400; font-display: optional;
  src: url('assets/fonts/geist-mono-400.woff2') format('woff2');
}

body footer.site-footer.djl-site-footer {
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 32px 32px 0 0;
  background: #1a1410;
  color: #fbf8f1;
  padding: 64px 48px 28px;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
}

body footer.djl-site-footer,
body footer.djl-site-footer * {
  box-sizing: border-box;
}

body footer.djl-site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: 40px;
  align-items: flex-start;
  margin: 0;
}

body footer.djl-site-footer .footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  line-height: 0;
  text-decoration: none;
}

body footer.djl-site-footer .footer-logo picture { display: block; line-height: 0; }
body footer.djl-site-footer .footer-logo img {
  display: block;
  width: 66px;
  height: 66px;
  max-width: 66px;
  object-fit: contain;
}

body footer.djl-site-footer .footer-brand p {
  max-width: 260px;
  margin: 20px 0 0;
  color: rgba(251, 248, 241, .65);
  font: 400 14px/1.55 Manrope, system-ui, sans-serif;
  letter-spacing: normal;
}

body footer.djl-site-footer .footer-col-title {
  margin: 0 0 16px;
  color: rgba(251, 248, 241, .65);
  font: 400 11px/normal 'Geist Mono', ui-monospace, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body footer.djl-site-footer .footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body footer.djl-site-footer .footer-col li { margin: 0; padding: 0; line-height: normal; }

body footer.djl-site-footer .footer-col a {
  color: #fbf8f1;
  font: 500 14px/normal Manrope, system-ui, sans-serif;
  letter-spacing: normal;
  text-decoration: none;
  text-transform: none;
}

body footer.djl-site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin: 56px 0 0;
  border-top: 1px solid rgba(251, 248, 241, .1);
  padding: 24px 0 0;
  color: rgba(251, 248, 241, .65);
  font: 400 11px/normal 'Geist Mono', ui-monospace, monospace;
  letter-spacing: .08em;
}

body footer.djl-site-footer .footer-bottom div { display: flex; gap: 18px; }
body footer.djl-site-footer .footer-bottom a {
  color: rgba(251, 248, 241, .65);
  font: 500 11px/normal 'Geist Mono', ui-monospace, monospace;
  letter-spacing: .08em;
  text-decoration: none;
}

body footer.djl-site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
body footer.djl-site-footer a:focus-visible { outline: 2px solid #ffe69a; outline-offset: 4px; }

@media (min-width: 701px) and (max-width: 1000px) {
  body footer.djl-site-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  body footer.djl-site-footer .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  body footer.site-footer.djl-site-footer { padding: 48px 14px 28px; }
  body footer.djl-site-footer .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  body footer.djl-site-footer .footer-bottom,
  body footer.djl-site-footer .footer-bottom div {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
  }
}


/* Explicit fonts keep consent controls consistent across page templates. */
#djl-cookie-banner, #djl-cookie-dialog, #djl-cookie-banner *, #djl-cookie-dialog * { box-sizing: border-box; }
#djl-cookie-banner[hidden], #djl-cookie-dialog:not([open]) { display: none; }
#djl-cookie-banner, #djl-cookie-dialog {
  color: #1a1410; background: #fbf8f1;
  font: 400 14px/1.55 "Manrope", system-ui, sans-serif;
  letter-spacing: normal; text-align: left;
}
#djl-cookie-banner {
  position: fixed; inset: auto 16px max(16px, env(safe-area-inset-bottom)); z-index: 10000;
  display: flex; align-items: center; gap: 24px; max-width: 1360px; margin: 0 auto;
  padding: 20px 24px; border: 1px solid rgba(26,20,16,.2); border-radius: 18px;
  box-shadow: 0 8px 36px rgba(26,20,16,.14);
}
#djl-cookie-banner .djl-cookie-copy { flex: 1; min-width: 0; }
#djl-cookie-banner h2, #djl-cookie-dialog h2 {
  margin: 0 0 6px; color: #1a1410;
  font: 700 21px/1.2 "Space Grotesk", system-ui, sans-serif; letter-spacing: -.025em;
}
#djl-cookie-banner p, #djl-cookie-dialog p { margin: 0; font: inherit; color: inherit; }
#djl-cookie-banner a, #djl-cookie-dialog a { color: #1a1410; text-decoration: underline; text-underline-offset: 3px; }
#djl-cookie-banner .djl-cookie-actions, #djl-cookie-dialog .djl-cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#djl-cookie-banner button, #djl-cookie-dialog button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px;
  margin: 0; padding: 10px 16px; border: 1.5px solid #1a1410; border-radius: 999px;
  background: #fbf8f1; color: #1a1410; cursor: pointer; white-space: nowrap;
  font: 700 13px/1.3 "Manrope", system-ui, sans-serif; letter-spacing: normal;
  box-shadow: none; text-transform: none;
}
#djl-cookie-banner button:hover, #djl-cookie-dialog button:hover { background: #d4ebc8; color: #1a1410; }
#djl-cookie-banner :focus-visible, #djl-cookie-dialog :focus-visible, .djl-cookie-settings:focus-visible { outline: 2px solid #1a1410; outline-offset: 3px; }
#djl-cookie-dialog {
  position: fixed; inset: 0; width: min(540px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  overflow-y: auto; margin: auto; padding: 28px; border: 1px solid rgba(26,20,16,.2); border-radius: 22px;
}
#djl-cookie-dialog::backdrop { background: rgba(26,20,16,.4); }
#djl-cookie-dialog .djl-cookie-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
#djl-cookie-dialog .djl-cookie-close { width: 36px; min-height: 36px; padding: 0; font-size: 24px; }
#djl-cookie-dialog .djl-cookie-category {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin: 0; padding: 18px 0; border-bottom: 1px solid rgba(26,20,16,.15); cursor: pointer;
}
#djl-cookie-dialog .djl-cookie-category strong { display: block; margin-bottom: 4px; font-weight: 700; }
#djl-cookie-dialog .djl-cookie-category span span { display: block; color: rgba(26,20,16,.7); font-size: 13px; }
#djl-cookie-dialog input[type="checkbox"] { flex: 0 0 auto; appearance: auto; width: 20px; height: 20px; margin: 0; accent-color: #1a1410; }
#djl-cookie-dialog .djl-cookie-actions { margin-top: 22px; }
#djl-cookie-dialog .djl-cookie-more { margin-top: 16px; font-size: 13px; }
footer.djl-site-footer .djl-cookie-settings, .legal-body .djl-cookie-settings {
  display: inline; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0;
  background: transparent; color: inherit; font: inherit; letter-spacing: inherit;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; box-shadow: none; text-transform: none;
}
footer.djl-site-footer .djl-cookie-settings:focus-visible { outline-color: #fbf8f1; }
.djl-cookie-noscript { margin: 0; padding: 16px; background: #fbf8f1; color: #1a1410; font: 400 14px/1.55 "Manrope", system-ui, sans-serif; }
@media (max-width: 900px) {
  #djl-cookie-banner { align-items: stretch; flex-direction: column; gap: 14px; padding: 18px 20px; }
}
@media (max-width: 480px) {
  #djl-cookie-banner { inset-inline: 10px; bottom: max(10px, env(safe-area-inset-bottom)); padding: 16px; }
  #djl-cookie-banner h2 { font-size: 19px; }
  #djl-cookie-banner p { font-size: 13px; }
  #djl-cookie-banner .djl-cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  #djl-cookie-banner [data-djl-cookie-settings] { grid-column: 1 / -1; }
  #djl-cookie-banner button { padding-inline: 10px; }
  #djl-cookie-dialog { padding: 22px; }
}

/* Preserve the live site's line boxes in the standalone documentation shell. */
body footer.site-footer.djl-site-footer { line-height: 17.5px; }
body footer.djl-site-footer .footer-col-title { line-height: 12.5px; }
body footer.djl-site-footer .footer-col li,
body footer.djl-site-footer .footer-col a { line-height: 17.5px; }
body footer.djl-site-footer .footer-bottom,
body footer.djl-site-footer .footer-bottom a { line-height: 12.5px; }
