/* Public navigation is identical across landing, comparisons, guides, and docs. */
.marketing-header {
  position: sticky; top: 0; z-index: 50;
  margin: 0; padding: 0;
  background: #ffffffed; backdrop-filter: blur(15px);
  border: 0; border-bottom: 1px solid #e8e7e3;
  color: #18181b; font: 400 17px/1.4 'DM Sans', sans-serif;
}
.marketing-header *, .discovery-footer * { box-sizing: border-box; }
.marketing-header>nav, .discovery-footer.wrap {
  width: min(1200px, calc(100% - 64px)); margin: auto;
}
.marketing-header>nav {
  display: flex; align-items: center; justify-content: space-between; height: 78px;
}
.marketing-header a { color: inherit; text-decoration: none; }
.marketing-header .logo {
  display: flex; align-items: center; flex-shrink: 0; gap: 11px;
  font: 700 21px/1 'Space Grotesk', sans-serif; letter-spacing: .16em; color: #0f1f1f;
}
.marketing-header .logo svg { width: 42px; height: 30px; }
.marketing-header .navlinks { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.marketing-header .navlinks>.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 15px; padding: 16px 22px; border: 1px solid #18181b; border-radius: 6px;
  color: #fff; background: #18181b; box-shadow: none; transform: none;
  font-size: 16px; font-weight: 600; line-height: 1.4; white-space: nowrap;
}
.marketing-header .navlinks>.btn:hover { background: #333336; }
.marketing-header a:focus-visible { outline: 3px solid #2b9e8f; outline-offset: 5px; }
.marketing-header .mobile-nav-links a { font-weight: 400; }
@media(max-width:900px) {
  .marketing-header>nav, .discovery-footer.wrap { width: calc(100% - 40px); }
}

.marketing-header>nav {
  position: relative
}
.marketing-header .mobile-nav {
  display: none;
  border: 0;
  margin: 0;
  padding: 0;
  flex-shrink: 0
}
.marketing-header .mobile-nav>summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 6px;
  color: #172b2a;
  list-style: none;
  cursor: pointer
}
.marketing-header .mobile-nav>summary svg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0
}
.marketing-header .mobile-nav>summary .close-icon,
.marketing-header .mobile-nav[open]>summary .menu-icon {
  display: none
}
.marketing-header .mobile-nav[open]>summary .close-icon {
  display: block
}
.marketing-header .mobile-nav>summary:focus-visible {
  outline: 2px solid #2e8b7a;
  outline-offset: 2px
}
.marketing-header .mobile-nav>summary::after {
  content: none
}
.marketing-header .mobile-nav>summary::-webkit-details-marker {
  display: none
}
.marketing-header .mobile-nav>summary:hover {
  background: #e9eee8
}
.marketing-header .mobile-nav-links {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: grid;
  gap: 2px;
  padding: 12px;
  max-height: calc(100vh - 88px);
  overflow-y: auto;
  background: #fafaf8;
  border: 1px solid #cdd3c9;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 12px 24px #172b2a18
}
.marketing-header .mobile-nav:not([open]) .mobile-nav-links {
  display: none
}
.marketing-header .mobile-nav-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.4
}
.marketing-header .mobile-nav-links a:hover {
  background: #e9eee8
}
@media(max-width:1100px) {
.marketing-header>nav {
  gap: 12px
}
.marketing-header .logo {
  margin-right: auto
}
.marketing-header .navlinks>a:not(.btn) {
  display: none
}
.marketing-header .navlinks {
  gap: 8px
}
.marketing-header .mobile-nav {
  display: block
}
}
@media(max-width:650px) {
.marketing-header>nav {
  height: 64px;
  gap: 12px
}
.marketing-header .logo {
  font-size: 16px;
  letter-spacing: .12em;
  gap: 8px
}
.marketing-header .logo svg {
  width: 26px;
  height: 24px
}
.marketing-header .navlinks>.btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap
}
}
.discovery-footer {
  box-sizing: border-box;
  font-family: 'DM Sans', sans-serif;
  line-height: 1.4;

  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 14px;
  border-top: 1px solid #e4e4e7;
  font-size: 14px
}
.discovery-footer h3 {
  font-size: 15px;
  margin: 0 0 17px;
  color: #18181b
}
.discovery-footer>div>a {
  display: block;
  margin: 0 0 12px;
  line-height: 1.4;
  color: #52525b
}
.discovery-legal {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  border-top: 1px solid #e4e4e7;
  padding-top: 12px;
  margin-top: 0;
  font-size: 12px
}
.discovery-legal span {
  margin-right: auto
}
.discovery-footer .discovery-legal>a {
  display: inline;
  margin: 0;
  font-size: 12px
}

@media(max-width:720px) {
  .discovery-footer { grid-template-columns: 1fr 1fr; gap: 24px; }
  .discovery-legal { align-items: start; }
}
.skip-link {
  position: fixed; top: -80px; left: 12px; z-index: 100;
  background: #172b2a; color: #fff; padding: 12px;
}
.skip-link:focus { top: 12px; }

/* Article pages use the homepage's teal and ink without the old beige paper treatment. */
body[data-marketing-page="article"] {
  background: #fff;
  background-image: none;
  color: #18181b;
}
body[data-marketing-page="article"] .article-shell h1,
body[data-marketing-page="article"] .article-shell h2 {
  color: #18181b;
}
body[data-marketing-page="article"] .article-shell p,
body[data-marketing-page="article"] .article-deck,
body[data-marketing-page="article"] .text-graphite {
  color: #52525b;
}
body[data-marketing-page="article"] .article-shell p a,
body[data-marketing-page="article"] .directory-list a {
  color: #247565;
}
body[data-marketing-page="article"] .article-cta {
  background: #edf8f5;
  border: 1px solid #d5e8e1;
}
body[data-marketing-page="article"] .bg-sand {
  background: #f4f4f5;
}
body[data-marketing-page="article"] .directory-list li,
body[data-marketing-page="article"] .article-links {
  border-color: #e4e4e7;
}
.discovery-footer a { text-decoration: none; }
.discovery-footer a:hover { color: #247565; text-decoration: underline; }
