/*
  Option D of the visual redesign (David, 2026-10-26), alpha only: the one
  header and the one footer of every demandcompass.ai page. Each static page
  in public/redesign/dc links this file instead of carrying its own copy, so
  the chrome cannot drift from page to page.
*/
.dk-head,
.dk-foot {
  font-family: Fustat, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.dk-in {
  max-width: 1360px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}
.dk-head {
  position: relative;
  z-index: 40;
  background: #c8e942;
  color: #15120f;
}
.dk-head--line {
  border-bottom: 2px solid #15120f;
}
.dk-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  color: #15120f !important;
  text-decoration: none !important;
}
.dk-brand img,
.dk-fbrand img {
  display: block;
  height: 36px;
  width: auto;
  margin-bottom: 4px;
}
.dk-brand small {
  font-size: 12px;
  font-weight: 600;
}
.dk-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 16px;
  font-weight: 600;
}
.dk-nav a {
  color: #15120f !important;
  text-decoration: none !important;
}
.dk-nav a:hover,
.dk-nav a[aria-current='page'] {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 6px;
}
.dk-side {
  display: flex;
  gap: 10px;
  align-items: center;
}
.dk-btn {
  background: #15120f;
  color: #c8e942 !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 15px;
  padding: 0 22px;
  min-height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  box-shadow: 0 5px 0 #e87b35;
  transition: transform 0.2s, box-shadow 0.2s;
}
.dk-btn:hover {
  transform: translateY(3px);
  box-shadow: 0 3px 0 #e87b35;
}
.dk-btn--ghost {
  background: #ffffff;
  color: #15120f !important;
  box-shadow: 0 5px 0 #15120f;
  border: 2px solid #15120f;
}
.dk-btn--ghost:hover {
  box-shadow: 0 3px 0 #15120f;
}
.dk-menu {
  display: none;
  position: relative;
}
.dk-menu summary {
  list-style: none;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border: 2px solid #15120f;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: #fbf8f2;
  color: #15120f;
}
.dk-menu summary::-webkit-details-marker {
  display: none;
}
.dk-menu__panel {
  position: absolute;
  right: 0;
  top: 58px;
  width: min(300px, calc(100vw - 32px));
  background: #fbf8f2;
  border: 2px solid #15120f;
  border-radius: 22px;
  box-shadow: 6px 6px 0 #15120f;
  padding: 10px;
  display: flex;
  flex-direction: column;
}
.dk-menu__panel a {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 800;
  color: #15120f !important;
  text-decoration: none !important;
}
.dk-menu__panel a:hover {
  background: #c8e942;
}
.dk-foot {
  margin: 0;
  border: 0;
  padding: 0;
  background: #15120f;
  color: #cfc8bc;
  font-size: 14px;
  line-height: 1.5;
}
.dk-foot .dk-in {
  padding: 40px 40px 36px;
  align-items: flex-start;
}
.dk-fbrand {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  color: #fbf8f2 !important;
  text-decoration: none !important;
}
.dk-fbrand b {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.03em;
}
.dk-fbrand small {
  font-size: 12px;
  font-weight: 600;
  color: #9c9488;
}
.dk-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
}
.dk-foot nav a {
  color: #cfc8bc !important;
  text-decoration: none !important;
}
.dk-foot nav a:hover {
  color: #c8e942 !important;
}
.dk-foot p {
  flex-basis: 100%;
  margin: 0;
  font-size: 13px;
  color: #a39b8f;
}
@media (max-width: 900px) {
  .dk-nav {
    display: none;
  }
  .dk-menu {
    display: block;
  }
  .dk-in {
    padding: 14px 18px;
    flex-wrap: nowrap;
  }
  .dk-foot .dk-in {
    padding: 32px 18px;
    flex-wrap: wrap;
  }
  .dk-head .dk-btn {
    font-size: 14px;
    padding: 0 16px;
    min-height: 44px;
  }
  .dk-menu summary {
    width: 44px;
    height: 44px;
  }
  .dk-menu__panel {
    top: 54px;
  }
}
@media (max-width: 480px) {
  .dk-head .dk-in {
    gap: 10px;
    padding: 12px 16px;
  }
  .dk-brand {
    min-width: 0;
  }
  .dk-brand img {
    height: 28px;
  }
  .dk-brand small {
    font-size: 11px;
  }
  .dk-side {
    gap: 8px !important;
    flex-shrink: 0;
  }
  .dk-head .dk-btn {
    font-size: 13px;
    padding: 0 12px;
    white-space: nowrap;
  }
  .dk-menu,
  .dk-menu summary {
    flex-shrink: 0;
  }
}
@media (max-width: 340px) {
  .dk-head .dk-btn {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dk-btn {
    transition: none;
  }
}
/* The signal families' list, opened from the pills (dc-interact.js). */
.dk-fam-panel {
  width: 100%;
  max-width: 760px;
  background: #fbf8f2;
  color: #15120f;
  border: 2px solid #15120f;
  border-radius: 24px;
  padding: 22px 26px;
  text-align: left;
  font-family: Fustat, 'Helvetica Neue', Arial, sans-serif;
  box-shadow: 6px 6px 0 #15120f;
}
.dk-fam-panel b { font-size: 20px; font-weight: 800; }
.dk-fam-panel ul { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.dk-fam-panel li { border-radius: 3px; padding: 5px 9px; font-size: 15px; font-weight: 600; background: rgba(21,18,15,.07); } /* a tag, never a pill: BRAND.md §5 */
.dk-fam:focus-visible, .dk-tab:focus-visible { outline: 3px solid #e87b35; outline-offset: 3px; }
.dk-mapbox { color: #15120f !important; transition: transform 0.2s, box-shadow 0.2s; }
.dk-mapbox:hover { transform: translateY(-3px); box-shadow: 0 12px 0 #c8e942; }
@media (max-width: 600px) {
  .dk-tabs { flex-wrap: nowrap !important; gap: 8px !important; }
  .dk-tab { font-size: 15px !important; padding: 10px 14px !important; white-space: nowrap; }
}
