/* Shared navigation follows the supplier's paper, ink, Medium LL and pill system.
   Business engines keep their established, separately namespaced page styles. */
@font-face {
  font-family: 'Medium LL';
  src: url('/fonts/MediumLLWeb-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
html {
  font-size: 16px;
  color-scheme: light;
}
body {
  margin: 0;
}
.integrated-header {
  position: relative;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 100px;
  padding: 20px clamp(20px, 4.2vw, 80px);
  box-sizing: border-box;
  background: #f2efea;
  color: #152b2d;
  font:
    400 15px/1.3 'Medium LL',
    sans-serif;
}
.integrated-header a {
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}
.integrated-brand {
  display: block;
  margin-right: auto;
  flex-shrink: 0;
}
.integrated-brand img {
  display: block;
  width: 80px;
  height: 32px;
  object-fit: contain;
}
.integrated-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.integrated-nav a:hover,
.integrated-nav a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 5px;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .integrated-nav a:not([aria-current]):hover { text-decoration: none; }
}
.integrated-header .integrated-join {
  border-radius: 999px;
  background: #152b2d;
  color: #fff;
  padding: 14px 22px;
}
.integrated-menu {
  display: none;
  border: 1px solid currentColor;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  place-content: center;
  gap: 5px;
}
.integrated-menu span {
  display: block;
  height: 1px;
  width: 14px;
  background: currentColor;
}
.integrated-header--water {
  position: absolute;
  inset: 0 0 auto;
  background: transparent;
  color: white;
}
.integrated-header--water .integrated-brand img {
  filter: brightness(0) invert(1);
}
.integrated-header--water .integrated-join {
  background: white;
  color: #152b2d;
}
.wl-page[data-surface='cream'] .integrated-header--water { color: #152b2d; }
.wl-page[data-surface='cream'] .integrated-brand img { filter: none; }
.wl-page[data-surface='cream'] .integrated-header .nav-avatar {
  color: #152b2d;
  border-color: #152b2d40;
  background: #ffffff8c;
}
.integrated-footer {
  padding: 64px clamp(20px, 4.2vw, 80px) 32px;
  background: #f2efea;
  color: #152b2d;
  font:
    400 14px/1.5 'Medium LL',
    sans-serif;
}
.integrated-footer > a {
  font-size: 40px;
}
.integrated-footer a {
  color: inherit;
  text-decoration: none;
}
.integrated-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 32px 0;
}
.integrated-footer p {
  padding-top: 20px;
  border-top: 1px solid #d5d4c9;
}
.integrated-footer button {
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  cursor: pointer;
}
.integrated-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 620px;
  padding: 22px;
  border-radius: 16px;
  background: #f2efea;
  color: #152b2d;
  box-shadow: 0 4px 30px #152b2d30;
  z-index: 10000;
  font:
    400 14px/1.5 'Medium LL',
    sans-serif;
}
.integrated-consent p {
  margin: 0 0 16px;
}
.integrated-consent button {
  font: inherit;
  border: 1px solid #152b2d;
  background: none;
  border-radius: 999px;
  padding: 10px 22px;
  margin-right: 8px;
  cursor: pointer;
}
.integrated-consent a {
  color: inherit;
  text-decoration: underline;
}
.integrated-header [hidden],
.integrated-consent[hidden] {
  display: none !important;
}
.integrated-header a:focus-visible,
.integrated-header button:focus-visible,
.integrated-footer a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
@media (max-width: 1100px) {
  .integrated-header {
    min-height: 80px;
    gap: 14px;
    padding: 18px 20px;
  }
  .integrated-menu {
    display: grid;
    order: 4;
  }
  .integrated-nav {
    display: none;
    position: fixed;
    inset: 5px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 17px;
    background: rgb(255 255 255 / 48%);
    backdrop-filter: blur(16.8px);
    color: #152b2d;
    padding: 92px 25px 24px;
    font-size: 22px;
    line-height: 30px;
    letter-spacing: -.03em;
  }
  .integrated-header[data-open] { background: transparent; color: #152b2d; }
  .integrated-header[data-open] .integrated-brand,
  .integrated-header[data-open] .integrated-menu { position: relative; z-index: 1; }
  .integrated-header[data-open] .integrated-brand img { filter: none; }
  .integrated-header[data-open] .integrated-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .integrated-header[data-open] .integrated-nav a { padding-block: 8px; }
  .integrated-header[data-open] .integrated-join,
  .integrated-header[data-open] .nav-account { visibility: hidden; }
  .integrated-header[data-open] .integrated-menu span:first-child { transform: translateY(3px) rotate(45deg); }
  .integrated-header[data-open] .integrated-menu span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .integrated-header .integrated-join {
    font-size: 13px;
    padding: 12px 16px;
  }
  .integrated-brand img {
    width: 64px;
  }
}
@media (max-width: 380px) {
  .integrated-header {
    gap: 10px;
    padding-inline: 12px;
  }
  .integrated-brand img {
    width: 55px;
  }
  .integrated-header .integrated-join {
    padding: 11px 12px;
    font-size: 12px;
  }
  .integrated-menu {
    width: 32px;
    height: 32px;
  }
  .integrated-header .nav-avatar {
    width: 30px;
    height: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
/* Embedded login/questionnaire documents must leave navigation to their parent. */
html.ea-embedded .integrated-header,
html.ea-embedded .integrated-footer,
body.ea-authing > .integrated-header,
body.ea-authing > .integrated-footer {
  display: none !important;
}

/* Supplier button palette; status/disabled and unfilled controls keep their roles. */
body .pricing-page {
  --p-accent: #152b2d;
  --p-accent-fg: #f2efea;
}
/* Match Features' text-ui scale without changing the business document's root rem.
   Supplier tokens and root scaling live in app/assets/css/main.css. */
body .pricing-page .plan-cta {
  font-size: clamp(13px, calc(12.4px + 0.1875vw), 16px);
}
@media (min-width: 1001px) {
  body .pricing-page .plan-cta {
    font-size: max(14px, calc(100vw / 120));
  }
}
@media (max-width: 700px) {
  body .pricing-page .plan-cta {
    font-size: min(3.75vw, 18px);
  }
}
body .ea-primary,
body .ea-primary:hover,
body .ea-auth-dialog .ea-primary,
body .ea-auth-dialog .ea-primary:hover,
body .download-primary,
body .download-primary:hover,
body .apply,
body .checkout-confirm__keep,
body .integrated-header:not(.integrated-header--water) .integrated-join,
body .commerce-actions a:first-child {
  background: #152b2d;
  color: #f2efea;
  border-color: #152b2d;
}
body .plan-cta--glass,
body .plan-cta--glass:hover,
body .wl-cta,
body .wl-cta:hover,
body .sv-next,
body .integrated-header--water .integrated-join {
  background: #fff;
  color: #152b2d;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body .pricing-page:not([data-prices='error']) .plan-cta:not(.plan-cta--glass):not([data-action]):hover {
    background: #152b2d;
  }
  body .download-primary:hover {
    transform: none;
  }
  body .apply:hover {
    opacity: 1;
  }
}
body [data-button-wave] {
  transition-property: background-color, color, border-color, opacity, box-shadow;
  isolation: isolate;
  overflow: hidden;
}
.business-button-sheen {
  position: absolute;
  top: -50%;
  bottom: -50%;
  left: 0;
  width: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

/* Supplier bottom-row layout, with no panel, image, water or marketing copy. */
[data-footer-strip] {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(20px, 2.1vw, 40px) 24px;
  background: transparent;
  color: #152b2d;
  font: 400 clamp(12px, .94vw, 18px)/1.4 'Medium LL', sans-serif;
}
[data-footer-strip] .business-footer-notice {
  margin: 0;
  padding: 0;
  border: 0;
}
[data-footer-strip] .business-footer-social,
[data-footer-strip] .business-footer-nav {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: clamp(16px, 1.5vw, 32px);
}
[data-footer-strip] .business-footer-social {
  flex-wrap: nowrap;
  justify-content: center;
  gap: 18px;
  font-size: 16px;
}
[data-footer-strip] .business-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  min-height: 32px;
}
[data-footer-strip] .business-footer-social img {
  display: block;
  height: auto;
  filter: brightness(0) saturate(100%);
}
[data-footer-strip] .business-footer-nav { flex-wrap: wrap; }
[data-footer-strip] a,
.wl-page [data-footer-strip].wl-foot a { color: inherit; text-decoration: none; }
[data-footer-strip] button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}
[data-footer-strip] [data-consent-edit]:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
[data-footer-strip] a:focus-visible,
[data-footer-strip] button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
/* Full-screen business flows retain their compact footer and existing water. */
.wl-page [data-footer-strip] {
  height: auto;
  padding-top: 12px;
  padding-bottom: 12px;
  color: #fff;
  font-family: 'Medium LL', sans-serif;
  letter-spacing: normal;
  text-shadow: none;
}
.wl-page [data-footer-strip].wl-foot a,
.wl-page [data-footer-strip].wl-foot a:hover { opacity: 1; transition: none; }
.wl-page [data-footer-strip] .business-footer-social img { filter: none; }
.wl-page[data-surface='cream'] [data-footer-strip] { color: #667069; }
.wl-page[data-surface='cream'] [data-footer-strip] .business-footer-social img { filter: brightness(0); opacity: .65; }
.wl-page .wl-stage { padding-bottom: calc(var(--business-footer-height, 64px) + 16px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 1199px) {
  [data-footer-strip] { grid-template-columns: 1fr auto; }
  [data-footer-strip] .business-footer-social { grid-column: 1 / -1; grid-row: 1; }
}
@media (max-width: 767px) {
  [data-footer-strip] {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
    font-size: 13px;
  }
  [data-footer-strip] .business-footer-nav { order: 0; justify-content: center; gap: 14px 24px; }
  [data-footer-strip] .business-footer-social { order: 1; }
  [data-footer-strip] .business-footer-notice { order: 2; }
  .wl-page [data-footer-strip] { gap: 8px; font-size: 11px; }
  .wl-page [data-footer-strip] .business-footer-nav { gap: 8px 16px; }
  .wl-page [data-footer-strip] .business-footer-social { font-size: 12px; }
  .wl-page [data-footer-strip] .business-footer-social a { min-height: 24px; }
}
