/* Shared header and footer for public pages */
.zk-header,
.zk-footer,
.zk-header *,
.zk-footer * {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
}

.zk-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 251, 247, 0.96);
  border-bottom: 1px solid rgba(213, 224, 209, 0.9);
  backdrop-filter: blur(14px);
  color: #142312;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.zk-header-inner {
  width: min(100% - 48px, 1280px);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.zk-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.zk-logo img {
  width: 146px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
  display: block;
}

.zk-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.zk-header .zk-nav a,
.zk-header .zk-nav-trigger {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #142312;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.zk-header .zk-nav a:hover,
.zk-header .zk-nav-trigger:hover,
.zk-header .zk-nav-dropdown:focus-within .zk-nav-trigger {
  background: #edf4eb;
  color: #2e5c2a;
}

.zk-nav-dropdown {
  position: relative;
}

.zk-header .zk-nav-trigger {
  gap: 7px;
}

.zk-header .zk-nav-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.zk-nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 20;
  min-width: 286px;
  padding: 8px;
  border: 1px solid #d7e2d3;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 54px rgba(30, 61, 27, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.zk-nav-dropdown:hover .zk-nav-menu,
.zk-nav-dropdown:focus-within .zk-nav-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.zk-header .zk-nav-menu a {
  width: 100%;
  justify-content: flex-start;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.25;
}

.zk-phone {
  color: #121d12;
  font-size: 17px;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}

.zk-mobile {
  display: none;
  margin-left: auto;
  position: relative;
}

.zk-mobile summary {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #d7e2d3;
  border-radius: 12px;
  background: white;
  color: #142312;
  list-style: none;
  cursor: pointer;
}

.zk-mobile summary::-webkit-details-marker {
  display: none;
}

.zk-mobile svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.zk-mobile-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(86vw, 360px);
  max-height: calc(100vh - 92px);
  overflow: auto;
  padding: 16px;
  border: 1px solid #d7e2d3;
  border-radius: 18px;
  background: #f8fbf7;
  box-shadow: 0 24px 70px rgba(20, 31, 19, 0.18);
}

.zk-mobile-panel a,
.zk-mobile-title {
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #d7e2d3;
  color: #142312;
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
}

.zk-mobile-title {
  min-height: 34px;
  margin-top: 10px;
  color: #5f6c5e;
  font-size: 12px;
  text-transform: uppercase;
}

.zk-mobile-contact {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.zk-mobile-contact a {
  border: 0;
  min-height: auto;
}

.zk-footer {
  padding: 52px 24px 28px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    #071208;
  background-size: 52px 52px;
  color: rgba(255, 255, 255, 0.76);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.zk-footer-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) 0.75fr 0.9fr 1fr 0.95fr;
  gap: 34px;
  align-items: start;
}

.zk-footer-inner > * {
  min-width: 0;
}

.zk-footer-logo {
  width: 196px;
  max-width: 100%;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.zk-footer-desc {
  max-width: 430px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.7;
}

.zk-footer-title {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.zk-footer-links {
  display: grid;
  gap: 10px;
}

.zk-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.zk-footer a:hover {
  color: white;
}

.zk-lead-open {
  overflow: hidden;
}

.zk-lead-modal,
.zk-lead-modal * {
  box-sizing: border-box;
}

.zk-lead-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  color: #142312;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.zk-lead-modal[aria-hidden="false"] {
  display: flex;
}

.zk-lead-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 8, 0.68);
  backdrop-filter: blur(10px);
}

.zk-lead-dialog {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100vh - 44px);
  overflow: auto;
  padding: 30px;
  border: 1px solid #d7e2d3;
  border-radius: 8px;
  background: #fbfdf9;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.25);
}

.zk-lead-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid #d7e2d3;
  border-radius: 999px;
  background: white;
  color: #142312;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.zk-lead-kicker {
  margin: 0 0 8px;
  color: #2e5c2a;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.zk-lead-dialog h2 {
  margin: 0;
  color: #142312;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: 0;
}

.zk-lead-copy {
  margin: 12px 0 20px;
  color: #5b6759;
  font-size: 15px;
  line-height: 1.55;
}

.zk-lead-form {
  display: grid;
  gap: 14px;
}

.zk-lead-form label {
  display: grid;
  gap: 7px;
  color: #2b3629;
  font-size: 13px;
  font-weight: 850;
}

.zk-lead-form input,
.zk-lead-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #cfdccd;
  border-radius: 8px;
  background: white;
  color: #142312;
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  outline: none;
}

.zk-lead-form textarea {
  min-height: 96px;
  resize: vertical;
}

.zk-lead-form input:focus,
.zk-lead-form textarea:focus {
  border-color: #2e5c2a;
  box-shadow: 0 0 0 3px rgba(46, 92, 42, 0.14);
}

#zkLeadCompanyWebsite {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.zk-lead-submit {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: #2e5c2a;
  color: white;
  font: inherit;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
}

.zk-lead-submit:hover {
  background: #244b21;
}

.zk-lead-submit:disabled {
  cursor: wait;
  opacity: 0.74;
}

.zk-lead-note {
  margin: -4px 0 0;
  color: #7a8578;
  font-size: 12px;
  line-height: 1.45;
}

.zk-lead-status {
  min-height: 20px;
  margin: 0;
  color: #5b6759;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.zk-lead-status[data-kind="success"] {
  color: #2e5c2a;
}

.zk-lead-status[data-kind="error"] {
  color: #b42318;
}

.zk-footer-phone {
  display: inline-block;
  margin-bottom: 12px;
  color: white !important;
  font-size: 18px !important;
  font-weight: 950 !important;
}

.zk-footer .zk-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 2px 0 16px;
}

.zk-footer .zk-footer-social {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px;
  min-height: 38px;
  max-width: 38px;
  max-height: 38px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: white !important;
  background: rgba(255, 255, 255, 0.045);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.zk-footer .zk-footer-social:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.zk-footer .zk-footer-social svg {
  width: 19px !important;
  height: 19px !important;
  max-width: 19px;
  max-height: 19px;
  display: block;
  flex: 0 0 auto;
}

.zk-footer .zk-footer-wordmark {
  display: block;
  color: currentColor;
  font-size: 10px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.zk-footer .zk-footer-wordmark[data-brand="vc"] {
  font-size: 9px;
  text-transform: none;
}

.zk-footer-bottom {
  width: min(100%, 1280px);
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .zk-header-inner {
    width: min(100% - 32px, 1180px);
    gap: 14px;
  }

  .zk-header .zk-nav a,
  .zk-header .zk-nav-trigger {
    padding: 8px 9px;
    font-size: 13px;
  }

  .zk-footer-inner {
    grid-template-columns: 1.2fr 0.8fr 0.9fr;
  }
}

@media (max-width: 920px) {
  .zk-header-inner {
    min-height: 64px;
    width: min(100% - 28px, 920px);
  }

  .zk-logo img {
    width: 132px;
  }

  .zk-nav,
  .zk-phone {
    display: none;
  }

  .zk-mobile {
    display: block;
  }

  .zk-footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 520px) {
  html,
  body {
    overflow-x: hidden;
    overflow-x: clip;
  }

  .zk-header-inner {
    width: min(100% - 24px, 520px);
  }

  .zk-mobile-panel {
    right: -2px;
    width: min(calc(100vw - 24px), 360px);
  }

  .zk-lead-modal {
    padding: 14px;
    align-items: flex-end;
  }

  .zk-lead-dialog {
    max-height: calc(100vh - 28px);
    padding: 26px 18px 20px;
  }

  .zk-lead-dialog h2 {
    font-size: 24px;
  }

  .zk-footer {
    padding: 42px 18px 24px;
  }
}

@media (max-width: 640px) {
  body,
  main,
  section,
  header,
  footer,
  .zk-header,
  .zk-footer {
    max-width: 100%;
  }

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

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

  .wrap,
  .wide,
  .section-inner,
  .about-wrap,
  .blog-wrap,
  .article-wrap,
  .hero-inner,
  .zk-header-inner,
  .zk-footer-inner,
  .zk-footer-bottom {
    max-width: 100%;
    min-width: 0;
  }

  .hero-inner > *,
  .section-inner > *,
  .about-wrap > *,
  .blog-wrap > *,
  .article-shell > *,
  .pricing-layout > *,
  .pricing-card > *,
  .quiz-cta-wrap > *,
  .final-cta-card > *,
  .zk-footer-inner > *,
  .zk-footer-bottom > * {
    min-width: 0;
  }

  .section-title,
  .trust-title,
  .pricing-title-line,
  .pricing-right-title,
  .hero-h1,
  h1,
  h2,
  h3 {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .pricing-title-line {
    white-space: normal !important;
  }

  .btn-primary,
  .quiz-cta-btn,
  .cases-cta-btn,
  .pricing-btn,
  .work-plan-btn,
  .work-consult-link,
  .about-btn,
  .cta-actions a {
    width: 100%;
    min-width: 0 !important;
    white-space: normal !important;
    text-align: center;
  }

  .pricing-card {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    min-height: 0 !important;
  }

  .pricing-card-label,
  .pricing-card-price,
  .pricing-features,
  .pricing-btn {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .pricing-card-price {
    text-align: left !important;
    white-space: normal !important;
    font-size: clamp(32px, 10vw, 39px) !important;
  }

  .pricing-badge,
  .ribbon,
  .work-plan-ribbon {
    max-width: calc(100% - 28px);
    white-space: normal !important;
    text-align: center;
  }

  .mobile-compare-choice,
  .pricing-cards,
  .work-guide-card,
  .work-plan-grid,
  .lead-form-row,
  .form-row,
  .contact-links,
  .cta-actions {
    grid-template-columns: 1fr !important;
  }

  .mobile-compare-option,
  .compare-table,
  .table-wrap {
    max-width: 100%;
    min-width: 0;
  }

  .source-logo,
  .zk-footer-social {
    flex: 0 0 auto;
  }

  .zk-footer-logo,
  .footer-logo-img {
    width: min(190px, 70vw);
  }

  .zk-footer .zk-footer-socials {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .zk-lead-dialog {
    width: 100%;
  }

  .zk-header {
    position: sticky;
    box-shadow: 0 10px 26px rgba(12, 31, 12, 0.08);
  }

  .zk-header-inner {
    min-height: 62px;
    width: min(100% - 22px, 520px);
    gap: 10px;
  }

  .zk-logo img {
    width: min(46vw, 154px);
    max-height: 46px;
  }

  .zk-mobile summary {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .zk-mobile-panel {
    top: calc(100% + 9px);
    width: min(calc(100vw - 22px), 360px);
    max-height: calc(100svh - 82px);
    padding: 12px;
    border-radius: 16px;
  }

  .zk-mobile-panel a,
  .zk-mobile-title {
    min-height: 42px;
    font-size: 15px;
  }

  .zk-mobile-title {
    min-height: 30px;
    margin-top: 8px;
  }

  .hero:has(.hero-bg) {
    min-height: auto !important;
    display: block !important;
    background: #071208 !important;
  }

  .hero-bg {
    border-radius: 0 !important;
  }

  .hero-bg-img {
    object-position: 56% center !important;
  }

  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(5, 14, 6, 0.38) 0%, rgba(5, 14, 6, 0.74) 46%, rgba(5, 14, 6, 0.96) 100%),
      linear-gradient(90deg, rgba(5, 14, 6, 0.86) 0%, rgba(5, 14, 6, 0.58) 54%, rgba(5, 14, 6, 0.26) 100%) !important;
  }

  .hero:has(.hero-bg) .hero-inner {
    min-height: auto !important;
    width: 100%;
    padding: 42px 18px 34px !important;
    display: block !important;
  }

  .hero:has(.hero-bg) .hero-content {
    width: 100% !important;
    min-height: 0 !important;
    display: block !important;
    padding: 0 !important;
  }

  .hero-badge {
    width: fit-content !important;
    min-height: 32px !important;
    padding: 8px 13px !important;
    margin: 0 0 18px !important;
    border-radius: 999px !important;
    background: rgba(236, 250, 235, 0.94) !important;
    color: #225f29 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    box-shadow: 0 10px 28px rgba(7, 18, 8, 0.16);
  }

  .hero-h1 {
    max-width: 10.8em !important;
    margin: 0 0 16px !important;
    color: #fff !important;
    font-size: clamp(35px, 10.4vw, 43px) !important;
    line-height: 1.04 !important;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.58);
  }

  .hero-desc {
    max-width: 34ch !important;
    margin: 0 0 22px !important;
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.42);
  }

  .hero-content > .btn-primary,
  .btn-primary {
    min-height: 56px !important;
    padding: 14px 16px !important;
    border-radius: 14px !important;
    justify-content: space-between !important;
    gap: 14px !important;
    font-size: 17px !important;
    line-height: 1.18 !important;
    box-shadow: 0 18px 34px rgba(26, 93, 39, 0.32);
  }

  .btn-primary svg {
    width: 36px !important;
    height: 36px !important;
    padding: 9px !important;
  }

  .hero-cta-note {
    margin-top: 14px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 15px !important;
  }

  .hero-cta-note::before {
    width: 22px !important;
    height: 22px !important;
    border-color: #56d068 !important;
    color: #56d068 !important;
  }

  .hero-stats,
  .hero-card,
  .hero-sources {
    display: none !important;
  }

  .section,
  .trust,
  .plot-intel,
  .how,
  .regions,
  .use-cases,
  .cases,
  .reviews,
  .pricing,
  .faq,
  .final-cta {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .section,
  .plot-intel,
  .how,
  .regions,
  .use-cases,
  .cases,
  .reviews,
  .pricing,
  .faq {
    padding-top: 58px !important;
    padding-bottom: 58px !important;
  }

  .trust {
    padding-top: 54px !important;
    padding-bottom: 56px !important;
  }

  .section-title,
  .trust-title,
  .plot-intel .section-title,
  .how .section-title,
  .regions .section-title,
  .use-cases .section-title,
  .cases .section-title,
  .reviews .section-title,
  .pricing .section-title,
  .faq .section-title,
  .final-cta h2 {
    max-width: 12.5em !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: clamp(28px, 8.8vw, 34px) !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
  }

  .section-sub,
  .trust-subtitle,
  .plot-intel .section-sub,
  .how .section-sub,
  .regions .section-sub,
  .use-cases .section-sub,
  .cases-head .section-sub,
  .reviews-head .section-sub,
  .faq .section-sub,
  .final-cta p {
    max-width: 34ch !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 15.5px !important;
    line-height: 1.58 !important;
    text-align: center !important;
  }

  .trust-panel,
  .quiz-cta-wrap,
  .plot-intel-card,
  .plot-bank-card,
  .plot-check-card,
  .how-card,
  .region-card,
  .use-case-card,
  .case-card,
  .review-card,
  .pricing-card,
  .final-cta-card,
  .work-guide-card,
  .work-plan-card,
  .work-consult-strip {
    border-radius: 18px !important;
    box-shadow: 0 14px 36px rgba(30, 61, 27, 0.09) !important;
  }

  .trust-panel,
  .quiz-cta-wrap,
  .final-cta-card {
    padding: 24px 18px !important;
  }

  .quiz-section {
    padding: 0 18px 58px !important;
  }

  .quiz-cta-wrap {
    gap: 22px !important;
  }

  .quiz-cta-title {
    max-width: 11em !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: clamp(28px, 8.8vw, 34px) !important;
  }

  .quiz-cta-stats {
    padding: 6px 16px !important;
  }

  .quiz-cta-stat {
    min-height: 82px !important;
    grid-template-columns: 48px minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  .quiz-cta-stat-icon {
    width: 46px !important;
    height: 46px !important;
  }

  .quiz-cta-stat-num {
    font-size: 25px !important;
  }

  .regions-head,
  .use-cases-head,
  .cases-head,
  .reviews-head,
  .plot-intel-head {
    margin-bottom: 24px !important;
  }

  .regions-grid,
  .use-cases-grid,
  .cases-grid,
  .reviews-grid,
  .plot-intel-grid,
  .plot-bank-row,
  .how-grid {
    gap: 16px !important;
  }

  .region-card-body,
  .use-case-body,
  .case-body,
  .review-content {
    padding: 18px !important;
  }

  .regions-note,
  .how-law,
  .cases-cta,
  .work-consult-strip {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  .regions-note-icon,
  .regions-note-shield,
  .how-law-icon,
  .cases-cta-icon,
  .work-consult-icon {
    margin: 0 auto !important;
  }

  .pricing-layout,
  .pricing-compare-panel,
  .pricing-options-panel {
    gap: 18px !important;
  }

  .pricing-card {
    padding: 22px 18px !important;
  }

  .pricing-right-title {
    margin-top: 18px !important;
    font-size: clamp(25px, 7.8vw, 30px) !important;
  }

  .final-cta {
    padding-top: 54px !important;
    padding-bottom: 58px !important;
  }
}

@media (max-width: 380px) {
  .pricing-card-price {
    font-size: 32px !important;
  }

  .pricing-features li,
  .work-plan-list li {
    font-size: 15px !important;
  }
}
