.site-skip-link {
  position: fixed;
  top: 8px;
  left: -999px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #121212;
  font: 700 14px/1.2 "Satoshi", ui-sans-serif, system-ui, sans-serif;
}

.site-skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  border: 0;
  background: transparent;
  transition: background .2s ease, box-shadow .2s ease;
}

/* Transparent at the top (like the homepage); a light frost fades in on
   scroll so the sticky nav never overlaps content. Toggled by a tiny inline
   scroll script on each page. */
.site-header.is-stuck {
  background: rgba(248, 248, 250, .82);
  box-shadow: 0 1px 0 rgba(18, 18, 18, .06);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}

.site-nav {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 24px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  color: #121212;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  text-decoration: none;
}

.site-brand svg { width: 22px; height: 22px; color: #3847fe; }

.site-nav-links {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 0;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 999px;
  background: rgba(18, 18, 18, .035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .58);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-nav-link {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(18, 18, 18, .6);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .16s ease, color .16s ease;
}

.site-nav-link:hover,
.site-nav-link:focus-visible,
.site-nav-link[aria-current="page"] {
  color: #121212;
  background: rgba(255, 255, 255, .5);
}

.site-nav-link:focus-visible {
  outline: 2px solid rgba(56, 71, 254, .4);
  outline-offset: 2px;
}

.site-nav-mobile-link {
  color: #4b4b4b;
  text-decoration: none;
}

.site-nav-mobile-link:hover,
.site-nav-mobile-link:focus-visible,
.site-nav-mobile-link[aria-current="page"] { color: #121212; }

.site-nav-mobile-link[aria-current="page"] { font-weight: 800; }

.site-nav-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 20px;
}

.site-nav-login {
  color: rgba(18, 18, 18, .6);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color .16s ease;
}

.site-nav-login:hover,
.site-nav-login:focus-visible { color: #121212; }

.site-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #121212;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav-cta:hover,
.site-nav-cta:focus-visible { background: #2b2b2b; }

.site-nav-mobile { display: none; position: relative; }
.site-nav-mobile summary {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #dcdce0;
  border-radius: 999px;
  background: #fff;
  color: #121212;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}
.site-nav-mobile summary::-webkit-details-marker { display: none; }
.site-nav-mobile-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  width: min(260px, calc(100vw - 28px));
  padding: 10px;
  border: 1px solid #e5e5e8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px -30px rgba(18, 18, 18, .5);
}
.site-nav-mobile-link { padding: 11px 12px; border-radius: 9px; font-size: 15px; }
.site-nav-mobile-link:hover,
.site-nav-mobile-link:focus-visible,
.site-nav-mobile-link[aria-current="page"] { background: #f1f2f5; outline: none; }

@media (max-width: 980px) {
  .site-nav { grid-template-columns: 1fr auto; }
  .site-nav-links { display: none; }
  .site-nav-mobile { display: block; }
}

@media (max-width: 880px) {
  .site-nav { padding: 13px 0; }
}

@media (max-width: 540px) {
  .site-nav { gap: 12px; padding: 11px 0; width: min(100% - 28px, 1160px); }
  .site-brand span { font-size: 15px; }
  .site-nav-login { display: none; }
  .site-nav-actions { gap: 7px; }
  .site-nav-cta { min-height: 36px; padding: 0 12px; }
  .site-nav-mobile summary { padding: 0 10px; }
}

@media (max-width: 340px) {
  .site-brand span { display: none; }
}

/* ---------------------------------------------------------------------------
   Shared site footer (.seo-footer)
   Loaded on every page via site-nav.css so the footer is identical sitewide
   (SEO/blog, tools, industry, customers). Colors are hardcoded to the
   canonical seo.css values so rendering does not depend on per-page tokens.
   Keep in sync with the .seo-footer block in seo.css.
--------------------------------------------------------------------------- */
.seo-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: #121212; }
.seo-brand svg { display: block; flex: 0 0 26px; width: 26px; height: 26px; color: #3847fe; }
.seo-brand span { display: block; line-height: 1; }

.seo-footer { overflow: hidden; margin-top: 72px; border-top: 1px solid #e5e5e8; background: #fff; }
.seo-footer-inner { width: min(1160px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 30px; padding: 48px 0; }
.seo-footer h3 { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: #121212; }
.seo-footer a, .seo-footer p { display: block; margin: 8px 0; color: #616161; font-size: 14px; line-height: 1.5; text-decoration: none; }
.seo-footer .seo-brand { display: inline-flex; flex-direction: row; align-items: center; color: #121212; }
.seo-footer .seo-brand svg { color: #3847fe; }
.seo-footer .seo-brand:hover { color: #616161; }
.seo-footer a:not(.seo-brand) { transition: color 160ms ease; }
.seo-footer a:not(.seo-brand):hover { color: #121212; }
.seo-footer a:not(.seo-brand):focus-visible { outline: 2px solid #3847fe; outline-offset: 4px; border-radius: 3px; }

@media (max-width: 850px) {
  .seo-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .seo-footer-inner { width: min(100% - 28px, 1160px); grid-template-columns: 1fr; }
}
