/* Shared public-site navigation and footer polish for TimeProofs AgentReady. */

.site-menu-toggle {
  display: none;
}

.site-menu-toggle summary {
  list-style: none;
}

.site-menu-toggle summary::-webkit-details-marker {
  display: none;
}

.site-menu-button {
  align-items: center;
  border: 1px solid #20304d;
  border-radius: 12px;
  background: #101b31;
  color: #dff7ff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
}

.site-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}

.site-menu-panel {
  background: rgba(15, 23, 42, .98);
  border: 1px solid #1e293b;
  border-radius: 16px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .42);
  display: grid;
  gap: 6px;
  margin-top: 10px;
  min-width: min(320px, calc(100vw - 32px));
  padding: 10px;
  position: absolute;
  right: 16px;
  top: 58px;
  z-index: 50;
}

.site-menu-panel a {
  border-radius: 12px;
  color: #dff7ff;
  display: block;
  font-weight: 850;
  padding: 10px 12px;
  text-decoration: none;
}

.site-menu-panel a:hover {
  background: #0d2330;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: center;
  margin-top: 10px;
}

.footer-links a {
  color: #94a3b8;
}

@media (max-width: 760px) {
  .nav {
    min-height: 64px;
  }

  .brand {
    max-width: calc(100% - 86px);
  }

  .brand span {
    display: block;
    font-size: 1rem;
    line-height: 1.18;
  }

  .nav-links {
    display: none !important;
  }

  .site-menu-toggle {
    display: block;
    margin-left: auto;
    position: relative;
  }

  .wrap {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    padding-top: 52px;
  }

  h1 {
    letter-spacing: -.045em;
  }

  .cta-row {
    align-items: stretch;
    flex-direction: column;
  }

  .cta-row .cta,
  .cta-row .button,
  .cta-row button {
    width: 100%;
  }
}
