/* ============================================================
   Callstand — shared nav dropdown + site footer.
   Linked by every public page so both stay in one place.
   ============================================================ */

/* ---------- nav: Featured Tools dropdown ---------- */
.navdrop { position: relative; display: inline-flex; align-items: center; }
.navdrop > .navdrop-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: inherit; font-size: 15px; font-weight: 600; color: #1a1f36;
  text-decoration: none; transition: color .15s;
}
.navdrop > .navdrop-trigger:hover { color: #4f5b76; }
.navdrop > .navdrop-trigger svg { width: 10px; height: 10px; transition: transform .15s; }
.navdrop:hover > .navdrop-trigger svg,
.navdrop:focus-within > .navdrop-trigger svg { transform: rotate(180deg); }

.navdrop .dropmenu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 244px; background: #fff; border: 1px solid #e3e8ee; border-radius: 10px;
  box-shadow: 0 14px 40px rgba(26,31,54,.14); padding: 8px;
  opacity: 0; visibility: hidden;
  transition: opacity .15s, transform .15s, visibility .15s; z-index: 80;
}
.navdrop:hover .dropmenu,
.navdrop:focus-within .dropmenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* Invisible bridge so the cursor can cross the gap into the menu. */
.navdrop::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 16px; }

.navdrop .dropmenu a {
  display: block; padding: 9px 12px; border-radius: 7px;
  font-size: 14px; font-weight: 500; color: #1a1f36; white-space: nowrap; text-decoration: none;
}
.navdrop .dropmenu a:hover { background: #f6f8fa; }
.navdrop .dropmenu a span { display: block; font-size: 12px; color: #687385; font-weight: 400; margin-top: 1px; }
.navdrop .dropmenu a.dropmenu-all { margin-top: 4px; padding-top: 11px; border-top: 1px solid #e3e8ee; border-radius: 0 0 7px 7px; }

/* ---------- site footer ---------- */
.sitefoot { background: #211f1c; color: #b8b5ae; font-size: 14px; line-height: 1.6; }
.sitefoot-inner {
  max-width: 1180px; margin: 0 auto; padding: 62px 26px 54px;
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px;
}
.sitefoot .brandcol img { width: 34px; height: auto; display: block; }
.sitefoot .brandcol p { font-size: 13px; color: #7c786f; margin-top: 16px; max-width: 22ch; }
.sitefoot h4 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 16px; }
.sitefoot ul { list-style: none; margin: 0; padding: 0; }
.sitefoot li { margin-bottom: 11px; }
.sitefoot a { color: #b8b5ae; text-decoration: none; transition: color .15s; }
.sitefoot a:hover { color: #fff; }

.sitefoot-bottom { border-top: 1px solid #35322d; }
.sitefoot-bottom .inner {
  max-width: 1180px; margin: 0 auto; padding: 20px 26px;
  display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: #7c786f;
}
.sitefoot-bottom a { color: #7c786f; }
.sitefoot-bottom a:hover { color: #fff; }

@media (max-width: 820px) {
  .sitefoot-inner { grid-template-columns: 1fr 1fr; gap: 32px; padding: 44px 22px 38px; }
  .sitefoot .brandcol { grid-column: 1 / -1; }
}

/* ---------- shared site nav (public/partials/nav.html) ---------- */
.sitenav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid #e3e8ee;
}
.sitenav-inner { position: relative; max-width: 1216px; margin: 0 auto; padding: 14px 26px; display: flex; align-items: center; gap: 12px; }
.sitenav-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.sitenav-logo img { width: 156px; height: auto; display: block; }
.sitenav-right { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.sitenav-toggle {
  display: none; margin-left: auto; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0; background: none; border: none; cursor: pointer; color: #1a1f36;
}
.sitenav-toggle svg { width: 20px; height: 16px; }
.sitenav-link { font-size: 15px; font-weight: 600; color: #1a1f36; text-decoration: none; }
.sitenav-link:hover { color: #4f5b76; }
.sitenav-top { font-size: 12.5px; color: #687385; text-decoration: none; border-bottom: 1px solid #e3e8ee; white-space: nowrap; }
.sitenav-top:hover { color: #1a1f36; }
.sitenav .creditchip {
  display: none; align-items: center; gap: 6px; background: #e4f4ec; color: #1ea672;
  font-weight: 700; border-radius: 20px; padding: 5px 12px; font-size: 12.5px;
}
.sitenav-btn {
  font-size: 14px; font-weight: 600; border-radius: 8px; padding: 10px 18px;
  white-space: nowrap; text-decoration: none; transition: background .15s, border-color .15s, color .15s;
}
.sitenav-btn.line { border: 1px solid #d5dbe1; color: #1a1f36; }
.sitenav-btn.line:hover { border-color: #1a1f36; }
.sitenav-btn.solid { background: #333333; color: #fff; }
.sitenav-btn.solid:hover { background: #444; }
/* the two buttons sit tighter than the nav's other items */
.sitenav-right .sitenav-btn + .sitenav-btn { margin-left: -16px; }

@media (max-width: 900px) {
  .sitenav-inner { padding: 12px 16px; }
  .sitenav-logo img { width: 124px; }
  .sitenav-right { gap: 16px; }
  .sitenav-link, .navdrop > .navdrop-trigger { font-size: 13.5px; }
  .sitenav-btn { padding: 8px 12px; font-size: 12.5px; }
  .sitenav-right .sitenav-btn + .sitenav-btn { margin-left: -8px; }
}
@media (max-width: 620px) {
  .sitenav-toggle { display: inline-flex; }
  .sitenav-right {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid #e3e8ee;
    box-shadow: 0 14px 40px rgba(26,31,54,.14);
    padding: 4px 16px 16px;
    max-width: 100vw; overflow-x: hidden; box-sizing: border-box;
  }
  .sitenav-right.is-open { display: flex; }
  .sitenav-link, .navdrop > .navdrop-trigger, .sitenav-btn, .sitenav-top { width: 100%; }
  .sitenav-link, .navdrop > .navdrop-trigger {
    justify-content: space-between; padding: 12px 0; font-size: 15px;
    border-bottom: 1px solid #f0f2f5;
  }
  .navdrop { width: 100%; flex-direction: column; align-items: stretch; }
  .navdrop::after { display: none; }
  /* the :hover/:focus-within desktop rules outrank a plain .navdrop .dropmenu
     here, so they have to be neutralised by name or the menu slides off-screen */
  .navdrop .dropmenu,
  .navdrop:hover .dropmenu,
  .navdrop:focus-within .dropmenu {
    position: static; transform: none; opacity: 1; visibility: visible;
    display: none; min-width: 0; padding: 0 0 6px 12px; margin: 0; border: none; box-shadow: none;
  }
  .navdrop.is-open .dropmenu,
  .navdrop.is-open:hover .dropmenu,
  .navdrop.is-open:focus-within .dropmenu { display: block; }
  .navdrop:hover > .navdrop-trigger svg,
  .navdrop:focus-within > .navdrop-trigger svg { transform: none; }
  .navdrop.is-open > .navdrop-trigger svg { transform: rotate(180deg); }
  .navdrop .dropmenu a { white-space: normal; padding: 8px 0; }
  .sitenav-top { border-bottom: 1px solid #f0f2f5; padding: 12px 0; }
  .sitenav-btn { text-align: center; margin-top: 8px; }
  .sitenav-right .sitenav-btn + .sitenav-btn { margin-left: 0; }
}