/* Public shell contract. Role-specific signup hooks and operational nav remain. */
body.wknd-brand :is(.home-nav, .pricing-nav) {
  box-sizing: border-box;
  width: min(1160px, 100%);
  min-height: 72px;
  margin-inline: auto;
  padding: 12px 20px;
  gap: 16px;
}
body.wknd-brand :is(.wknd-nav-wrap, .pricing-nav-wrap) {
  background: #fff9f4 !important;
  border-bottom: 1px solid #e9dfe8 !important;
}
body.wknd-brand :is(.home-nav .brand, .pricing-nav .pricing-brand) {
  display: flex;
  align-items: center;
  flex: 0 0 122px;
  width: 122px;
}
body.wknd-brand :is(.home-nav .brand, .pricing-nav .pricing-brand) img {
  display: block;
  width: 122px;
  height: 38px;
  object-fit: contain;
  max-width: 100%;
  filter: none !important;
}
body.wknd-brand :is(.role-nav, .pricing-nav-links) a {
  box-sizing: border-box;
  min-height: 44px;
  align-items: center;
  color: #252344 !important;
  font-family: var(--wknd-brand-font);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
body.wknd-brand :is(.role-nav, .pricing-nav-links) a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: #945540;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
body.wknd-brand .account-actions { align-items: center; gap: 8px; }
/* Never derive the action's meaning or color from first/last-child position. */
body.wknd-brand .account-actions details > summary,
body.wknd-brand .account-actions .account-signup {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #cfc6dc !important;
  border-radius: 10px !important;
  background: #fffdfb !important;
  background-image: none !important;
  color: #252344 !important;
  font-family: var(--wknd-brand-font) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.25;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: none !important;
  cursor: pointer;
}
body.wknd-brand .account-actions .account-signup {
  background: #7050f4 !important;
  border-color: #7050f4 !important;
  color: #fff !important;
}
body.wknd-brand .account-actions details > summary:hover {
  border-color: #945540 !important;
  background: #f3edff !important;
}
body.wknd-brand .account-actions .account-signup:hover {
  background: #5940c9 !important;
  border-color: #5940c9 !important;
}
body.wknd-brand :is(.account-actions summary, .account-actions .account-signup, .menu-button, .pricing-menu-button):focus-visible {
  outline: 3px solid #945540 !important;
  outline-offset: 3px !important;
}
body.wknd-brand .account-actions .account-signup[hidden] { display: none !important; }
body.wknd-brand :is(.menu-button, .pricing-menu-button) {
  flex: 0 0 44px;
  width: 44px;
  height: 48px;
  min-height: 48px;
}
body.wknd-brand :is(.mobile-menu, .pricing-mobile-menu) a {
  min-height: 44px;
  color: #252344;
  font-family: var(--wknd-brand-font);
  font-size: 16px;
  font-weight: 700;
}
/* Marketing actions use the same primary identity as native app actions;
   retain the approved offset shadow, rather than a separate pricing purple. */
body.wknd-brand:is(.wknd-home, .pricing-page) :is(.action-button, .ink-button, .interest-trigger, .example-create):not(:disabled):not([aria-disabled="true"]) {
  min-height: 48px;
  border-color: #7050f4 !important;
  border-radius: 10px !important;
  background: #7050f4 !important;
  color: #fff !important;
  font-family: var(--wknd-brand-font) !important;
  font-size: 16px;
  font-weight: 750;
}
body.wknd-brand:is(.wknd-home, .pricing-page) :is(.action-button, .ink-button, .interest-trigger, .example-create):not(:disabled):not([aria-disabled="true"]):hover {
  border-color: #5940d2 !important;
  background: #5940d2 !important;
}
body.wknd-brand.pricing-page .pricing-hero h1 em { color: #7050f4; }

/* A single semantic footer, with the same copy/order at every public entry. */
body.wknd-brand footer.wknd-shared-footer {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 40px 20px;
  border-top: 1px solid #e9dfe8 !important;
  border-radius: 0 !important;
  background: #f3edff !important;
  color: #625f78 !important;
  text-align: left !important;
  font-family: var(--wknd-brand-font) !important;
  font-size: 14px;
  line-height: 1.5;
}
body.wknd-brand footer.wknd-shared-footer .footer-inner {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  align-items: start;
  width: min(1120px, 100%);
  max-width: 1120px;
  margin-inline: auto;
  gap: 28px;
}
body.wknd-brand .wknd-shared-footer .wknd-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
body.wknd-brand .wknd-shared-footer .wknd-footer-logo {
  display: flex;
  align-items: center;
  min-height: 44px;
}
body.wknd-brand .wknd-shared-footer .wknd-footer-logo img {
  width: 122px;
  height: 38px;
  object-fit: contain;
}
body.wknd-brand .wknd-shared-footer .wknd-footer-brand strong {
  margin: 0;
  color: #252344 !important;
  font-family: var(--wknd-brand-font) !important;
  font-size: 20px;
  font-weight: 800;
  font-style: normal !important;
  letter-spacing: -.03em;
  line-height: 1.3;
}
body.wknd-brand .wknd-shared-footer .wknd-footer-brand p {
  max-width: 28ch;
  margin: 0;
  color: #625f78 !important;
  font-size: 14px;
  line-height: 1.6;
}
body.wknd-brand .wknd-shared-footer .footer-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  gap: 0;
  padding: 0;
  margin: 0;
}
body.wknd-brand .wknd-shared-footer .footer-links b {
  margin: 0 0 10px;
  color: #252344 !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.5;
  text-transform: uppercase;
}
body.wknd-brand .wknd-shared-footer .footer-links a {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 44px;
  margin: 0;
  padding: 7px 0;
  color: #625f78 !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-decoration: none;
}
body.wknd-brand .wknd-shared-footer .footer-links a:hover {
  color: #252344 !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}
body.wknd-brand .wknd-shared-footer a:focus-visible {
  outline: 3px solid #945540 !important;
  outline-offset: 3px !important;
  border-radius: 4px;
}
@media (max-width: 960px) {
  body.wknd-brand :is(.home-nav, .pricing-nav) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
  }
  body.wknd-brand :is(.home-nav .brand, .pricing-nav .pricing-brand) {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }
  body.wknd-brand :is(.home-nav, .pricing-nav) .account-actions {
    grid-column: 2;
    grid-row: 1;
    flex-shrink: 0;
  }
  body.wknd-brand :is(.role-nav, .pricing-nav-links) {
    display: grid !important;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100%;
    gap: 0 12px;
    padding-top: 6px;
    border-top: 1px solid #e9dfe8;
  }
  body.wknd-brand :is(.role-nav, .pricing-nav-links) a {
    display: flex;
    grid-column: auto !important;
    justify-content: flex-start;
    padding: 8px 0;
    white-space: normal;
  }
  body.wknd-brand :is(.menu-button, .pricing-menu-button) {
    grid-column: 3;
    grid-row: 1;
    display: none;
    align-items: center;
    justify-content: center;
  }
  .wknd-js body.wknd-brand :is(.role-nav, .pricing-nav-links) { display: none !important; }
  .wknd-js body.wknd-brand :is(.menu-button, .pricing-menu-button) { display: flex; }
  .wknd-js body.wknd-brand :is(.mobile-menu, .pricing-mobile-menu).is-open:not([hidden]) {
    display: grid;
    width: min(1160px, 100%);
    box-sizing: border-box;
    margin-inline: auto;
    padding: 8px 20px 16px;
    gap: 0;
    border-top: 1px solid #e9dfe8;
    background: #fff9f4;
  }
  body.wknd-brand footer.wknd-shared-footer .footer-inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
  body.wknd-brand .wknd-shared-footer .wknd-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  body.wknd-brand :is(.home-nav, .pricing-nav) {
    min-height: 68px;
    padding: 10px 14px;
    gap: 10px;
  }
  body.wknd-brand :is(.home-nav .brand, .pricing-nav .pricing-brand) {
    flex-basis: 110px;
    width: 110px;
  }
  body.wknd-brand :is(.home-nav .brand, .pricing-nav .pricing-brand) img { width: 110px; }
  body.wknd-brand footer.wknd-shared-footer {
    padding: 32px 20px;
  }
  body.wknd-brand footer.wknd-shared-footer .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
}
@media (max-width: 380px) {
  body.wknd-brand :is(.home-nav, .pricing-nav) { padding-inline: 10px; gap: 6px; }
  body.wknd-brand :is(.home-nav .brand, .pricing-nav .pricing-brand) { flex-basis: 100px; width: 100px; }
  body.wknd-brand :is(.home-nav .brand, .pricing-nav .pricing-brand) img { width: 100px; }
  body.wknd-brand .account-actions { gap: 5px; }
  body.wknd-brand .account-actions details > summary,
  body.wknd-brand .account-actions .account-signup { padding-inline: 8px; }
}