header.nav .logo, .footer-brand { display: inline-flex; align-items: center; gap: .43rem; }
header.nav .logo img, .footer-brand img { flex: none; object-fit: contain; }
header.nav .logo span { margin-left: -.43rem; }
.footer-brand { color: inherit; font: 650 1.18rem/1.2 Inter, sans-serif; letter-spacing: -.045em; text-decoration: none; }
footer .wrap { display: grid; gap: 1.35rem; }
footer .dir-label { display: none; }
footer .dir-badges { margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; }
footer .dir-badges img { filter: grayscale(1); max-width: 84px; max-height: 24px; width: auto; height: auto; }
@media (min-width: 850px) {
  footer .wrap { grid-template-columns: minmax(9rem,1fr) minmax(0,3.3fr); align-items: start; }
  footer .foot-nav { grid-column: 2; grid-row: 1 / 3; margin: 0; }
  footer .foot-groups { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1rem,3vw,3rem); }
  footer .dir-badges { grid-column: 1; grid-row: 2; }
  footer .wrap > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .plans, .plans.plans-4, .pricing-grid, .pricing:has(> .plan), main .grid-4:has(> .plan) { grid-template-columns: minmax(0,1fr) !important; }
}
header.nav button.menu-btn {
  position: relative;
  min-width: 44px; min-height: 44px;
  padding: 0; font-size: 0; color: #0e1524;
}
header.nav .menu-btn::before, header.nav .menu-btn::after {
  content: ""; position: absolute; width: 18px; height: 2px; left: calc(50% - 9px);
  top: calc(50% - 1px); border-radius: 2px; background: currentColor;
}
header.nav .menu-btn::before { box-shadow: 0 -6px currentColor, 0 6px currentColor; }
header.nav .menu-btn[aria-expanded="true"]::before { box-shadow:none; transform: rotate(45deg); }
header.nav .menu-btn[aria-expanded="true"]::after { transform: rotate(-45deg); }
header.nav { background:#fbfaf7; color:#0e1524; border-bottom:1px solid #e7e4dd; box-shadow:none; }
header.nav .logo,header.nav .logo span { color:#0e1524; }
header.nav nav a:not(.btn),header.nav nav a.btn.sm { color:#263147; }
header.nav nav .btn.sm { color:#263147; border:0; background:transparent; box-shadow:none; text-decoration:underline; text-underline-offset:4px; }
footer { background:#101827; color:#d7dce4; border:0; padding:48px 0 32px; }
footer a, footer .foot-groups a, footer .dir-all { color:#d7dce4; }
footer .foot-groups b,footer .footer-brand { color:#fbfaf7; }
@media (max-width: 540px) {
  header.nav .wrap { display:flex; justify-content:space-between; gap:8px; }
  header.nav nav { display:flex; justify-content:flex-end; gap:4px; align-items:center; min-width:0; }
  header.nav nav .btn.sm { padding:3px 2px; margin:0; font-size:13px; line-height:1.25; white-space:normal; }
  header.nav .menu-btn { margin-left:0; flex:0 0 44px; }
}
header.nav .logo::before { content:none; }
footer .wrap::before { content: none; }
/* Keyboard focus on the light header: a dark ring that is visible on cream (overrides the cream outline in shopfront.css). */
body header.nav a:focus-visible, body header.nav button:focus-visible { outline: 3px solid #0e1524 !important; outline-offset: 3px !important; box-shadow: none !important; border-radius: 4px; }
/* /app used to force a dark header (styles.css); with the cream nav the wordmark and links were invisible there. Keep every page on the same cream header. */
body header.nav, body:has(.app-main) header.nav, .app-main ~ * header.nav { background:#fbfaf7 !important; border-bottom:1px solid #e7e4dd !important; }
