/* Legal pages, form privacy notice and cookie banner (scoped additions for /new). */
.legal-body { line-height: 1.7; }
.legal-body > * { max-width: 720px; }
.legal-body h2 { margin-top: 2rem; }
.legal-body ul, .legal-body ol { padding-left: 1.4rem; }
.legal-body li + li { margin-top: .35rem; }
.legal-table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1rem 0; }
.legal-table table { border-collapse: collapse; min-width: 560px; width: 100%; font-size: .95em; }
.legal-table th, .legal-table td { border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 22%, transparent); padding: .6rem .75rem; text-align: left; vertical-align: top; }
.legal-table th { font-weight: 700; }
.form-privacy-note { font-size: .9rem; line-height: 1.5; margin-top: 1rem; opacity: .9; }
.contact-dark .form-privacy-note a,
.contact-dark .form-privacy-note a:hover,
.contact-dark .form-privacy-note a:focus-visible { color: var(--color-on-inverse); text-decoration: underline; }
.footer-cookie-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: inherit; min-height: 24px; }
.footer-cookie-btn:hover, .footer-cookie-btn:focus-visible { text-decoration: underline; }
.cookie-banner { position: fixed; z-index: 1000; left: 1rem; right: 1rem; bottom: 1rem; max-width: 640px; margin-left: auto; background: #fff; color: #17382A; border: 1px solid rgba(23,56,42,.18); border-radius: 16px; box-shadow: 0 18px 50px rgba(23,56,42,.22); padding: 1.25rem; font-size: .95rem; line-height: 1.5; }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.1rem; margin: 0 0 .5rem; }
.cookie-banner a { color: inherit; text-decoration: underline; }
.cookie-banner__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 1rem; }
.cookie-banner__btn { min-height: 44px; border-radius: 999px; border: 2px solid #17382A; background: #17382A; color: #fff; font: inherit; font-weight: 600; cursor: pointer; padding: .5rem .75rem; }
.cookie-banner__opts { margin-top: 1rem; display: grid; gap: .6rem; }
.cookie-banner__opts[hidden] { display: none; }
.cookie-banner__opt { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cookie-banner__opt input { width: 22px; height: 22px; accent-color: #17382A; }
@media (max-width: 540px) { .cookie-banner__actions { grid-template-columns: 1fr; } }

/* Footer brand: larger logo, prominent motto, smaller mission text */
.site-footer .footer-brand img { height: 40px; width: auto; }
.site-footer .footer-brand .footer-motto {
  margin-top: 14px !important;
  font-size: .9rem; white-space: nowrap;
  font-weight: 600;
  letter-spacing: .14em !important;
  text-transform: uppercase;
  color: var(--color-on-inverse);
  display: inline-flex; align-items: center; gap: 12px;
}
.site-footer .footer-brand .footer-motto::before {
  content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6;
}
.site-footer .footer-brand .footer-motto + p { font-size: .875rem; line-height: 1.6; opacity: .8; margin-top: 16px; }

/* Sentence case for titles and interface labels; brand artwork and motto stay intact. */
body[data-page] :is(h1, h2, h3, h4, .eyebrow, .subhead, .footer-title,
  .founders-panel__label, .shelf2__eyebrow, .both-card__eyebrow,
  .marquee__label, .fact__label, .pipeline thead th, .nav-link, .btn, button) {
  text-transform: none;
  letter-spacing: 0;
}
body[data-page] .pipeline tbody td::before {
  text-transform: none;
  letter-spacing: 0;
}

/* Natural text wrapping throughout the static new site. */
body[data-page] :is(main, .site-footer) :is(h1, h2, h3, h4, p, .btn) {
  overflow-wrap: anywhere;
}
body[data-page] :is(.vx-w-title, .way-card .card-title, #where-h, .work3--home .nowrap) {
  white-space: normal;
}
@media (max-width: 640px) {
  body[data-page] .site-footer .footer-brand .footer-motto {
    white-space: normal;
    max-width: 100%;
  }
  body[data-page] .site-footer .footer-brand .footer-motto::before {
    flex-shrink: 0;
  }
}
