/* One navigation layout for static marketing pages and the React app. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 0;
  color: #182838;
  background: #fff;
  border-bottom: 1px solid #dce4e7;
  overflow: visible;
}
.site-header .topbar-inner {
  box-sizing: border-box;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1280px, 100%);
  max-width: none;
  min-height: 76px;
  margin: 0 auto;
  padding: 12px 32px;
  gap: 32px;
}
.site-header .brand-section {
  display: block;
  min-width: 0;
  text-decoration: none;
}
.site-header .brand {
  display: block;
  color: #17435d;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.25;
  white-space: nowrap;
  letter-spacing: -0.4px;
}
.site-header .brand-tagline {
  display: none;
}
.site-header .topbar-inner .site-nav {
  display: flex;
  position: static;
  order: initial;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: auto;
  margin: 0;
  min-width: 0;
  overflow: visible;
  flex-wrap: nowrap;
}
.site-header .topbar-inner .site-nav a,
.site-header .site-guides > summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #526574;
  font:
    600 14px / 1.4 "Avenir Next",
    "Segoe UI",
    sans-serif;
  white-space: nowrap;
  text-decoration: none;
}
.site-header .topbar-inner .site-nav a::after {
  display: none;
}
.site-header .topbar-inner .site-nav a:hover,
.site-header .topbar-inner .site-nav a[aria-current="page"],
.site-header .site-guides[open] > summary {
  color: #17435d;
  box-shadow: none;
}
.site-header .topbar-inner .site-nav > a[data-tool-link] {
  color: #17435d;
}
.site-header .site-guides {
  position: relative;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
}
.site-header .site-guides > summary {
  cursor: pointer;
  list-style: none;
  gap: 7px;
}
.site-header summary::-webkit-details-marker {
  display: none;
}
.site-header .site-guides > summary span {
  transition: transform 0.15s;
}
.site-header .site-guides[open] > summary span {
  transform: rotate(180deg);
}
.site-header .site-guide-panel {
  position: absolute;
  inset-block-start: calc(100% + 10px);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: 280px;
  max-width: calc(100vw - 32px);
  padding: 20px;
  border: 1px solid #dce4e7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px #1828381a;
  text-align: start;
}
.site-guide-group {
  min-width: 0;
}
.site-header .site-guide-group p {
  margin: 0 0 8px;
  color: #627583;
  font-size: 12px;
  font-weight: 500;
}
.site-header .topbar-inner .site-guide-panel a {
  justify-content: flex-start;
  text-align: start;
  min-height: 44px;
  padding: 8px 10px;
  margin-inline: -10px;
  border-radius: 6px;
  white-space: normal;
  font-size: 14px;
  font-weight: 500;
}
.site-header .topbar-inner .site-guide-panel a:hover,
.site-header .topbar-inner .site-guide-panel a[aria-current="page"] {
  background: #f0f5f6;
}
.site-header .top-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin: 0;
}
.site-header .top-actions .account-widget {
  display: flex;
  min-width: 0;
  margin: 0;
}
.site-header .top-actions .account-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  height: auto;
  padding: 0 14px;
  border: 1px solid #cbd8da;
  border-radius: 8px;
  color: #17435d;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.site-header .locale-menu {
  display: block;
  color: #182838;
}
.site-header .locale-menu summary {
  border: 0;
  border-radius: 6px;
  background: transparent;
  min-height: 40px;
}
.site-header .locale-menu ul {
  color: #182838;
  background: #fff;
  border-color: #cbd8da;
}
.site-header :is(a, summary):focus-visible {
  outline: 3px solid #d87916;
  outline-offset: 3px;
  border-radius: 4px;
}
.site-header .account-name {
  max-width: 80px;
}
.site-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0 0 24px;
  text-align: start;
  overflow-wrap: anywhere;
  color: #526574;
  font-size: 13px;
  line-height: 1.5;
}
.site-breadcrumb > * {
  min-width: 0;
  max-width: 100%;
}
/* Reading pages keep their breadcrumb inside their actual text column. */
.seo-content:has(> .site-breadcrumb) {
  /* The preserved source sets its padding in a style attribute. */
  padding-top: 24px !important;
}
.about-page:has(> .site-breadcrumb),
.legal-page:has(> .site-breadcrumb),
.search-main:has(> .site-breadcrumb),
.pro-main:has(> .site-breadcrumb) {
  padding-top: 24px;
}
.site-breadcrumb + .content-section,
.site-breadcrumb + .search-hero {
  padding-top: 0;
  border-top: 0;
}
main:not(.legal-page, .search-main, .pro-main) > .site-breadcrumb,
main > .site-breadcrumb + .hero {
  box-sizing: border-box;
  width: min(1320px, calc(100% - 32px));
}
main:not(.legal-page, .search-main, .pro-main) > .site-breadcrumb {
  margin: 24px auto;
}
.iphone-page main > .site-breadcrumb,
.iphone-page main > .site-breadcrumb + .hero {
  width: min(1176px, calc(100% - 48px));
}
main > .site-breadcrumb + .hero {
  margin-top: 0;
}
.site-header .site-bookmark-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-header .site-bookmark-actions,
.site-header .site-bookmark {
  position: relative;
}
.site-header .site-bookmark,
.site-header .site-mobile-actions {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.site-header .site-bookmark > summary,
.site-header .site-mobile-actions > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  box-sizing: border-box;
  padding: 0 12px;
  border: 1px solid #e8ce94;
  border-radius: 8px;
  background: #fff4db;
  color: #704b12;
  font:
    650 13px / 1.4 "Avenir Next",
    "Segoe UI",
    sans-serif;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}
.site-header .site-bookmark > summary:hover {
  background: #ffe9b6;
}
.site-header .site-bookmark-hint,
.site-header .site-mobile-panel {
  position: absolute;
  inset-block-start: calc(100% + 12px);
  inset-inline-end: 0;
  box-sizing: border-box;
  width: 300px;
  max-width: calc(100vw - 32px);
  padding: 16px;
  border: 1px solid #dce4e7;
  border-radius: 12px;
  color: #182838;
  background: #fff;
  box-shadow: 0 16px 40px #1828381a;
  text-align: start;
  font:
    500 14px / 1.6 "Avenir Next",
    "Segoe UI",
    sans-serif;
  overflow-wrap: anywhere;
}
.site-header .site-bookmark-hint p {
  margin: 0;
}
.site-header .site-bookmark-phone,
.site-header .site-mobile-actions {
  display: none;
}
.site-breadcrumb a {
  color: #245b78;
}
.site-related {
  margin: 48px auto;
  padding: 28px 0;
  max-width: 1080px;
  border-top: 1px solid #cbd8da;
  text-align: start;
}
.site-related h2 {
  margin: 0 0 20px;
  font-size: 22px;
  line-height: 1.4;
}
.site-related ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.site-related li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  margin: 0;
  border: 1px solid #cbd8da;
  border-radius: 10px;
  background: #fff;
}
.site-related a {
  color: #17435d;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.site-related a:hover {
  text-decoration: underline;
}
.footer-link-groups {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
}
.footer-link-group h2,
.pro-app .footer-link-group h2 {
  margin: 0 0 12px;
  font:
    700 14px / 1.5 "Avenir Next",
    "Segoe UI",
    sans-serif;
  color: #182838;
}
.legacy-footer .footer-link-group nav,
.pro-footer .footer-link-group nav {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}
.footer-link-group a {
  color: #526574;
  font-size: 13px;
  line-height: 1.6;
  text-decoration: none;
}
.footer-link-group a:hover {
  color: #17435d;
  text-decoration: underline;
}
.pro-footer .footer-brand {
  align-self: flex-start;
  font-size: 17px;
}
.pro-footer.site-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}
@media (max-width: 1100px) {
  .site-header .site-bookmark-desktop {
    display: none;
  }
  .site-header .site-mobile-actions {
    display: block;
  }
  .site-header .site-mobile-actions > summary {
    min-width: 40px;
    min-height: 44px;
    padding: 0 10px;
    font-size: 18px;
  }
  .site-header .site-mobile-panel {
    inset-inline: 16px;
    inset-block-start: 100%;
    width: auto;
    max-width: none;
  }
  .site-header .site-bookmark-actions {
    position: static;
  }
  .site-header .site-mobile-panel .site-bookmark > summary {
    justify-content: flex-start;
    min-height: 44px;
  }
  .site-header .site-mobile-panel .site-bookmark-hint {
    position: static;
    width: auto;
    max-width: none;
    border: 0;
    box-shadow: none;
    padding: 12px 0 0;
  }
  .site-header .site-bookmark-hint .site-bookmark-phone {
    display: block;
    margin-top: 8px;
  }
  .site-header .topbar-inner {
    grid-template-columns: 1fr auto;
    min-height: 0;
    padding: 10px 20px 0;
    gap: 0 16px;
  }
  .site-header .brand {
    font-size: 18px;
  }
  .site-header .topbar-inner .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 28px;
  }
  .site-header .top-actions {
    grid-column: 2;
    grid-row: 1;
  }
  .site-header .site-guides {
    position: static;
  }
  .site-header .site-guide-panel {
    inset: 100% 16px auto;
    transform: none;
    width: auto;
    max-width: none;
    box-sizing: border-box;
  }
  .site-header .top-actions .account-name {
    max-width: 64px;
  }
}
@media (max-width: 600px) {
  .iphone-page main > .site-breadcrumb,
  .iphone-page main > .site-breadcrumb + .hero {
    width: calc(100% - 32px);
  }
  .site-header .topbar-inner {
    padding-inline: 16px;
    gap: 0 8px;
  }
  .site-header .brand {
    font-size: 17px;
  }
  .site-header .top-actions {
    gap: 4px;
  }
  .site-header .locale-menu summary {
    padding: 0 8px;
  }
  .site-header .locale-menu summary > span:nth-child(2) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .site-header .top-actions .account-signup {
    min-height: 40px;
    padding-inline: 10px;
  }
  .site-header .topbar-inner .site-nav {
    justify-content: space-between;
    gap: 10px;
  }
  .site-header .topbar-inner .site-nav > a,
  .site-header .site-guides > summary {
    font-size: 13px;
  }
  .site-header .site-guide-panel {
    grid-template-columns: 1fr;
    gap: 0;
    max-height: calc(100dvh - 116px);
    overflow-y: auto;
  }
  .site-header .topbar-inner .site-guide-panel a {
    justify-content: flex-start;
    text-align: start;
    min-height: 44px;
  }
  .site-header .account-name {
    display: none;
  }
  .site-related ul {
    grid-template-columns: 1fr;
  }
  .footer-link-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .site-related {
    margin-block: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .site-guides > summary span {
    transition: none;
  }
}
@media (max-width: 380px) {
  .site-header .brand {
    white-space: normal;
    font-size: 16px;
  }
}

/* Five intent groups remain readable on narrow localized headers. */
@media (max-width: 600px) {
  .site-header .topbar-inner .site-nav {
    flex-wrap: wrap;
    column-gap: 6px;
    row-gap: 0;
  }
  .site-header .topbar-inner .site-nav > a,
  .site-header .site-guides > summary {
    font-size: 12px;
  }
}

/* Share uses the same disclosure surface and dismissal behavior as Save. */
.site-header .site-share-panel {
  width: 360px;
  max-height: calc(100dvh - 120px);
  overflow-y: auto;
}
.site-header .site-share-panel img {
  display: block;
  width: min(100%, 168px);
  height: auto;
  margin: 12px auto;
  border-radius: 6px;
}
.site-header .site-share-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.site-header .site-share-platforms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.site-header .site-share-platforms button,
.site-header .site-share-controls button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  box-sizing: border-box;
  min-width: 0;
  padding: 8px 4px;
  border: 1px solid #cbd8da;
  border-radius: 8px;
  color: #17435d;
  background: #fff;
  font: inherit;
  font-size: 13px;
  white-space: normal;
  overflow-wrap: anywhere;
  text-decoration: none;
  cursor: pointer;
}
.site-header .site-share-platforms button {
  flex-direction: column;
  gap: 4px;
  border-color: #b8d5df;
  background: #edf6fa;
  font-weight: 600;
}
.site-header .site-share-platforms svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.site-header .site-share-controls button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.site-header .site-share-platforms button:hover,
.site-header .site-share-controls button:hover {
  background: #f0f5f6;
}
.site-header .site-share-panel .site-share-download {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  color: #526574;
  background: transparent;
  font-size: 12px;
  text-decoration: underline;
}
.site-header .site-share :is(button, input, textarea):focus-visible {
  outline: 3px solid #d87916;
  outline-offset: 3px;
}
.site-header .site-share .site-share-status:not(:empty) {
  margin-top: 8px;
}
.site-header .site-share-manual {
  box-sizing: border-box;
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}
@media (max-width: 1100px) {
  .site-header .site-mobile-panel {
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
  }
  .site-header .site-mobile-panel > :not(:first-child) {
    margin-top: 8px;
  }
  .site-header .site-mobile-panel .site-share-panel {
    max-height: none;
    overflow: visible;
  }
  .site-header .site-share-panel img {
    width: min(100%, 144px);
    margin-inline: auto;
  }
}
