/* Existing portal public pages use the imported marketing components and palette.
   These additions are scoped so the imported website and signed-in app retain
   their own layouts. */
.contact-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-card h2 {
  font-family: var(--display);
  font-size: 1.75em;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin-bottom: 0.6em;
}

.contact-card .button {
  max-width: 100%;
  margin-top: auto;
  overflow-wrap: anywhere;
}

.contact-questions {
  align-items: start;
}

.contact-partner-card {
  gap: 1.5em;
}

.contact-partner-card .eyebrow {
  margin-bottom: 0;
}

.contact-email {
  max-width: 100%;
  font-size: 1.25em;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

.legal-prose {
  max-width: 76ch;
  color: var(--muted);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.legal-prose h2 {
  color: var(--ink);
  font-size: 1.25em;
  font-weight: 500;
  margin-block: 2em 0.75em;
}

.legal-prose > :first-child {
  margin-top: 0;
}

.legal-prose p + p {
  margin-top: 1em;
}

.legal-prose ul,
.legal-prose ol {
  padding-left: 1.5em;
}

.legal-prose li + li {
  margin-top: 0.5em;
}

.legal-prose a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* The extra editorial navigation needs the menu at tablet widths too. */
.site-header .brand {
  flex-shrink: 0;
}
@media (min-width: 761px) and (max-width: 900px) {
  .header-inner { height: 72px; gap: 16px; }
  .site-header .brand { font-size: 20px; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-navigation {
    display: none;
    position: absolute;
    inset: 71px 0 auto;
    padding: 15px 32px 24px;
    background: var(--canvas);
    border-bottom: 1px solid var(--border);
    align-items: stretch;
  }
  .main-navigation.is-open { display: flex; flex-direction: column; gap: 4px; }
  .main-navigation > .nav-link, .products-toggle {
    min-height: 48px;
    font-size: 15px;
    padding: 0;
  }
  .nav-actions { margin: 14px 0 0; justify-content: space-between; gap: 20px; }
  .nav-actions .button { font-size: 14px; width: 100%; min-height: 46px; }
  .nav-actions .nav-link { font-size: 14px; }
  .products-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0 0 9px;
  }
  .products-menu a { padding: 12px 4px; }
  .products-menu strong { font-size: 14px; }
  .products-menu small { font-size: 12px; }
}

@media (max-width: 900px) {
  .main-navigation.is-open {
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    justify-content: flex-start;
  }
}
