/* Canonical sitewide header/footer, sourced from the home page. */
.sitewide-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(248, 249, 250, 0.94);
  border-bottom: 1px solid rgba(195, 200, 193, 0.5);
  box-shadow: 0 2px 12px rgba(27, 48, 34, 0.04);
  backdrop-filter: blur(14px);
}
.sitewide-container {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}
.sitewide-nav-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.sitewide-brand {
  color: #061b0e;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.sitewide-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.sitewide-links a,
.sitewide-link-button {
  color: #434843;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease;
}
.sitewide-link-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  cursor: default;
  padding: 0;
}
.sitewide-link-button .material-symbols-outlined {
  font-size: 18px;
}
.sitewide-links a:hover,
.sitewide-link-button:hover {
  color: #061b0e;
}
.sitewide-menu {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 80px;
}
.sitewide-menu-panel {
  position: absolute;
  top: calc(100% - 8px);
  left: -18px;
  display: grid;
  width: 260px;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(195, 200, 193, 0.65);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 48px -28px rgba(27, 48, 34, 0.42);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}
.sitewide-menu:hover .sitewide-menu-panel,
.sitewide-menu:focus-within .sitewide-menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.sitewide-menu-panel a {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  white-space: normal;
}
.sitewide-menu-panel a:hover {
  background: #f3f4f5;
}
.sitewide-menu-panel strong {
  color: #061b0e;
  font-size: 14px;
  line-height: 1.2;
}
.sitewide-menu-panel span {
  color: #737973;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}
.sitewide-order {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #061b0e;
  box-shadow: 0 14px 30px -18px rgba(6, 27, 14, 0.8);
  color: #ffffff;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  padding: 0 24px;
  text-decoration: none;
  white-space: nowrap;
}
.sitewide-footer {
  background: #f3f4f5;
  border-top: 1px solid rgba(195, 200, 193, 0.5);
  color: #191c1d;
  font-family: Inter, system-ui, sans-serif;
  padding: 72px 0 32px;
}
.sitewide-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.75fr 0.75fr 1.2fr;
  gap: 52px;
}
.sitewide-footer-logo {
  color: #061b0e;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}
.sitewide-footer p,
.sitewide-footer a {
  color: #434843;
  font-size: 14px;
  line-height: 1.7;
  text-decoration: none;
}
.sitewide-socials {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.sitewide-socials a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #c3c8c1;
  border-radius: 999px;
  color: #061b0e;
  transition: background 180ms ease, color 180ms ease;
}
.sitewide-socials a:hover {
  background: #061b0e;
  color: #ffffff;
}
.sitewide-trustpilot-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  margin-top: 18px;
  border: 1px solid rgba(0, 182, 122, 0.28);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px 14px;
  box-shadow: 0 12px 26px -24px rgba(27, 48, 34, 0.35);
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.sitewide-trustpilot-card:hover {
  border-color: rgba(0, 182, 122, 0.62);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px -26px rgba(27, 48, 34, 0.45);
}
.sitewide-trustpilot-stars {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  border-radius: 6px;
  background: #00b67a;
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 1px;
  padding: 8px 9px;
}
.sitewide-trustpilot-copy strong {
  display: block;
  color: #061b0e;
  font-size: 13px;
  line-height: 1.25;
}
.sitewide-trustpilot-copy span {
  display: block;
  color: #434843;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 2px;
}
.sitewide-footer-col h3 {
  color: #061b0e;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.sitewide-footer-col nav {
  position: static;
  display: grid;
  height: auto;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.sitewide-signup {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.sitewide-signup input {
  min-width: 0;
  flex: 1;
  border: 1px solid #c3c8c1;
  border-radius: 999px;
  background: #ffffff;
  color: #191c1d;
  font: inherit;
  padding: 12px 14px;
}
.sitewide-signup button {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #061b0e;
  color: #ffffff;
  cursor: pointer;
}
.sitewide-tree-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  border: 1px solid rgba(195, 200, 193, 0.42);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}
.sitewide-tree-card .material-symbols-outlined {
  color: #4a6549;
  font-size: 32px;
}
.sitewide-tree-card strong {
  display: block;
  color: #191c1d;
  font-size: 14px;
  line-height: 1.25;
}
.sitewide-tree-card p {
  margin: 0;
}
.sitewide-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(195, 200, 193, 0.45);
  color: #737973;
  font-size: 12px;
}
.sitewide-footer-bottom a {
  color: #191c1d;
  font-size: 12px;
}
@media (max-width: 980px) {
  .sitewide-container {
    width: min(100% - 32px, 1200px);
  }
  .sitewide-links {
    display: none;
  }
  .sitewide-footer-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .sitewide-container {
    width: calc(100% - 28px);
  }
  .sitewide-nav-inner {
    height: 72px;
    justify-content: space-between;
    gap: 12px;
  }
  .sitewide-brand {
    font-size: clamp(17px, 5vw, 20px);
  }
  .sitewide-order {
    min-height: 40px;
    padding: 0 14px;
    font-size: 12px;
  }
  .sitewide-footer {
    padding: 54px 0 28px;
  }
  .sitewide-signup {
    max-width: none;
  }
}

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  img,
  video,
  canvas {
    max-width: 100%;
    height: auto;
  }

  input,
  select,
  textarea,
  button {
    max-width: 100%;
  }

  .container,
  .sitewide-container {
    width: calc(100% - 28px) !important;
    max-width: 1200px;
  }

  .hero-grid,
  .layout,
  .featured,
  .grid,
  .case-grid,
  .wide-inner,
  .footer-grid,
  .sitewide-footer-grid,
  .field-grid,
  .form-grid,
  .order-layout,
  .selector-grid,
  .tier-grid,
  .payment-grid,
  .method-row,
  .choice-grid,
  .process-grid,
  .result-grid,
  .bento,
  .tiers {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .bento,
  .grid,
  .case-grid {
    grid-auto-rows: auto !important;
  }

  .box,
  .case-card,
  .enterprise {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .tabs,
  .filters,
  .filter-row,
  .category-filter,
  .blog-categories {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
  }

  .tabs > *,
  .filters > *,
  .filter-row > *,
  .category-filter > *,
  .blog-categories > * {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .panel,
  .summary-card,
  .form-card,
  .post-body,
  .case-body,
  .doc,
  .box,
  .tier,
  .price-card {
    padding: clamp(20px, 6vw, 28px) !important;
  }

  h1 {
    font-size: clamp(34px, 10vw, 44px) !important;
    line-height: 1.08 !important;
  }

  h2 {
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.12;
  }
}
