/* Founder Phase 1 / Section B: public trust and conversion page journey. */

body.page-public:is(
  .route-about,
  .route-how-it-works,
  .route-for-customers,
  .route-for-artists,
  .route-for-tutors,
  .route-for-students,
  .route-for-vendors,
  .route-pricing,
  .route-trust-safety,
  .route-contact
) {
  --founder-b-accent: #a50912;
  --founder-b-accent-soft: #f8ded7;
  --founder-b-panel: #fffaf3;
  --founder-b-ink: #271a15;
}

/* Founder Phase 1 / Section B final follow-up (v6)
   The approved Artist conversion panel remains the master gutter contract:
   16px per side on laptop/tablet and 8px per side on mobile. */
html body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) main.app-main > :is(
  .discovery-v1-directory-heading,
  .artist-directory-workspace-section,
  .product-directory-section,
  .gallery-directory-section,
  .discovery-v1-directory-followup,
  .founder-b-marketplace-cta
) {
  box-sizing: border-box !important;
  width: calc(100% - 32px) !important;
  max-width: none !important;
  margin-right: 16px !important;
  margin-left: 16px !important;
}

html body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) .discovery-v1-directory-heading {
  display: grid !important;
  justify-items: center !important;
  gap: 10px !important;
  padding: clamp(24px,3vw,44px) clamp(18px,3vw,48px) !important;
  text-align: center !important;
}

html body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) .discovery-v1-directory-heading h1 {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  font-size: clamp(2.05rem,4.2vw,4.35rem) !important;
  line-height: 1.04 !important;
}

html body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) :is(
  .artist-directory-workspace,
  .marketplace-directory-workspace,
  .artist-results-panel,
  .marketplace-results-panel,
  .artist-card-grid,
  .marketplace-card-grid
) {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

html body.page-public:is(.route-products,.route-gallery) .founder-b-marketplace-cta {
  display: grid !important;
  grid-template-columns: minmax(0,.88fr) minmax(480px,1.12fr) !important;
  align-items: stretch !important;
  gap: 0 !important;
  min-height: clamp(390px,31vw,520px) !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(126,56,40,.16) !important;
  border-radius: 28px !important;
  box-shadow: 0 20px 48px rgba(72,38,28,.12) !important;
}

html body.page-public.route-products .founder-b-marketplace-cta {
  background: linear-gradient(135deg,#fff8e8,#ead4a8) !important;
}

html body.page-public.route-gallery .founder-b-marketplace-cta {
  background: linear-gradient(135deg,#fff4f5,#ead2dd) !important;
}

html body.page-public:is(.route-products,.route-gallery) :is(.founder-b-supplier-copy,.founder-b-gallery-copy) {
  display: grid !important;
  align-content: center !important;
  justify-items: start !important;
  gap: 15px !important;
  min-width: 0 !important;
  padding: clamp(28px,4vw,62px) !important;
}

html body.page-public:is(.route-products,.route-gallery) :is(.founder-b-supplier-copy,.founder-b-gallery-copy) :is(h2,p) {
  max-width: none !important;
  margin: 0 !important;
}

html body.page-public:is(.route-products,.route-gallery) :is(.founder-b-supplier-copy,.founder-b-gallery-copy) h2 {
  font-size: clamp(2rem,3.25vw,3.35rem) !important;
  line-height: 1.05 !important;
}

html body.page-public:is(.route-products,.route-gallery) :is(.founder-b-supplier-visual,.founder-b-gallery-visual) {
  display: grid !important;
  place-items: center !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: clamp(14px,1.8vw,26px) !important;
}

html body.page-public:is(.route-products,.route-gallery) :is(.founder-b-supplier-visual,.founder-b-gallery-visual) img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  aspect-ratio: 1672 / 941 !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 22px !important;
  box-shadow: 0 18px 44px rgba(49,31,24,.14) !important;
}

html body.page-public.route-gallery .design-gallery-card {
  display: grid !important;
  grid-template-rows: auto auto !important;
  align-content: start !important;
  min-width: 0 !important;
  padding: 12px !important;
  overflow: hidden !important;
}

html body.page-public.route-gallery .design-gallery-card .gallery-item {
  display: grid !important;
  gap: 10px !important;
  min-width: 0 !important;
}

html body.page-public.route-gallery .design-gallery-card .gallery-item img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: contain !important;
  background: #fbf4f0 !important;
  border-radius: 16px !important;
}

html body.page-public.route-gallery .design-gallery-card .card-actions {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
  margin-top: 12px !important;
}

html body.page-public.route-gallery .design-gallery-card .card-actions > * {
  min-width: 0 !important;
  width: 100% !important;
  padding-inline: 8px !important;
  overflow-wrap: anywhere !important;
}

/* Registration journey changes with Customer, Student, Artist, Tutor and
   product-business roles, while remaining deliberately compact. */
html body.route-register.page-auth .u4-register-journey {
  gap: 9px !important;
  padding: 13px !important;
}

html body.route-register.page-auth .u4-register-journey > div {
  display: grid !important;
  gap: 3px !important;
}

html body.route-register.page-auth .u4-register-journey .auth-section-title {
  margin: 0 !important;
  line-height: 1.15 !important;
}

html body.route-register.page-auth .u4-register-journey > div > strong {
  color: #6d5148 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
}

html body.route-register.page-auth .u4-register-journey ol {
  gap: 7px !important;
}

html body.route-register.page-auth .u4-register-journey li {
  grid-template-columns: 27px minmax(0,1fr) !important;
  min-height: 58px !important;
  padding: 8px !important;
  border-radius: 12px !important;
}

html body.route-register.page-auth .u4-register-journey li > span {
  width: 24px !important;
  height: 24px !important;
  font-size: 11px !important;
}

html body.route-register.page-auth .u4-register-journey li > b {
  font-size: 12px !important;
  line-height: 1.15 !important;
}

html body.route-register.page-auth .u4-register-journey li > small {
  font-size: 10px !important;
  line-height: 1.2 !important;
}

html body.route-register.page-auth .register-plan-tabs {
  grid-template-columns: repeat(var(--visible-plan-count,3),minmax(0,1fr)) !important;
}

/* Mobile header follows an app-like split: Search, Updates and Saved are
   quick actions; the menu control remains icon-only. */
html body .mobile-header-actions {
  display: none;
}

/* Community and Saved must never create horizontal scroll or an unusable
   blurred overlay state. */
html body.page-public.route-requests :is(
  .community-directory-heading,.community-login-gate,.community-login-card,
  .community-shell,.community-side,.community-feed,.community-feed-head,
  .community-post-stack,.community-post-card,.community-post-top,
  .community-post-title-row,.community-post-text,.community-post-meta,
  .community-reaction-row,.community-reply-panel,.community-report-panel
) {
  box-sizing: border-box !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

html body.page-public.route-requests :is(.community-post-text,.community-post-card p,.community-post-card span,.community-post-card strong,.community-post-card a,.community-post-card button) {
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

html body.page-public.route-requests :is(.community-login-card,.community-feed-head,.community-post-card) :is(h1,h2,h3,p) {
  width: 100% !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

html body.page-public.route-requests .community-login-card .hero-actions {
  min-width: 0 !important;
  max-width: 100% !important;
}

html body .shortlist-backdrop { z-index: 12030 !important; }
html body .shortlist-drawer { z-index: 12040 !important; }
html body .shortlist-drawer.is-empty [data-shortlist-clear] { display: none !important; }
html body .shortlist-empty {
  display: grid !important;
  place-items: center !important;
  align-content: center !important;
  gap: 10px !important;
  min-height: 220px !important;
  padding: 24px !important;
  text-align: center !important;
}
html body .shortlist-empty-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 8px !important;
}
html body .shortlist-empty-actions a {
  padding: 9px 12px !important;
  border: 1px solid rgba(157,13,17,.2) !important;
  border-radius: 999px !important;
  color: #8f111b !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

@media (max-width: 980px) {
  html body.phase1-foundation .site-header {
    position: sticky !important;
    z-index: 12050 !important;
  }

  html body.phase1-foundation .mobile-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    min-width: 0 !important;
    margin-left: auto !important;
  }

  html body.phase1-foundation .mobile-header-action {
    position: relative !important;
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 38px !important;
    width: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    height: 38px !important;
    padding: 8px !important;
    border: 1px solid rgba(124,48,35,.16) !important;
    border-radius: 12px !important;
    color: #6f181d !important;
    background: rgba(255,250,245,.92) !important;
  }

  html body.phase1-foundation .mobile-header-action svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
  }

  html body.phase1-foundation .mobile-header-action.nav-toggle {
    margin-left: 0 !important;
  }

  html body.phase1-foundation .mobile-header-count {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    display: grid !important;
    place-items: center !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 4px !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: #a90d18 !important;
    font-size: 10px !important;
  }

  html body.phase1-foundation .site-nav.open {
    z-index: 12060 !important;
  }

  html body.page-public:is(.route-products,.route-gallery) .founder-b-marketplace-cta {
    grid-template-columns: minmax(0,1fr) !important;
    min-height: 0 !important;
  }

  html body.page-public:is(.route-products,.route-gallery) :is(.founder-b-supplier-copy,.founder-b-gallery-copy) {
    padding: clamp(24px,5vw,38px) !important;
  }

  html body.page-public:is(.route-products,.route-gallery) :is(.founder-b-supplier-copy,.founder-b-gallery-copy) .hero-actions {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  html body.page-public:is(.route-products,.route-gallery) :is(.founder-b-supplier-copy,.founder-b-gallery-copy) .hero-actions > * {
    width: 100% !important;
    min-width: 0 !important;
  }

  html body.page-public:is(.route-products,.route-gallery) :is(.founder-b-supplier-visual,.founder-b-gallery-visual) {
    padding-top: 0 !important;
  }
}

@media (max-width: 760px) {
  html body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) main.app-main > :is(
    .discovery-v1-directory-heading,
    .artist-directory-workspace-section,
    .product-directory-section,
    .gallery-directory-section,
    .discovery-v1-directory-followup,
    .founder-b-marketplace-cta
  ) {
    width: calc(100% - 16px) !important;
    margin-right: 8px !important;
    margin-left: 8px !important;
  }

  html body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) .discovery-v1-directory-heading {
    padding: 20px 14px !important;
  }

  html body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) .discovery-v1-directory-heading h1 {
    font-size: clamp(1.72rem,9.4vw,2.55rem) !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    text-wrap: balance;
  }

  html body.page-public.route-gallery .design-gallery-card .card-actions {
    grid-template-columns: minmax(0,1fr) !important;
  }

  html body.route-register.page-auth .u4-register-journey {
    gap: 7px !important;
    padding: 9px !important;
  }

  html body.route-register.page-auth .u4-register-journey .auth-section-title {
    font-size: clamp(11px,3.2vw,13px) !important;
    white-space: nowrap !important;
  }

  html body.route-register.page-auth .u4-register-journey > div > strong {
    font-size: 10px !important;
  }

  html body.route-register.page-auth .u4-register-journey ol {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 5px !important;
  }

  html body.route-register.page-auth .u4-register-journey li {
    grid-template-columns: 24px minmax(0,1fr) minmax(92px,.75fr) !important;
    grid-template-rows: auto !important;
    min-height: 0 !important;
    padding: 6px 8px !important;
  }

  html body.route-register.page-auth .u4-register-journey li > span {
    grid-row: auto !important;
    width: 22px !important;
    height: 22px !important;
  }

  html body.route-register.page-auth .u4-register-journey li > :is(b,small) {
    align-self: center !important;
  }

  html body.route-register.page-auth .register-plan-tabs {
    grid-template-columns: repeat(var(--visible-plan-count,3),minmax(0,1fr)) !important;
    gap: 4px !important;
  }

  html body.route-register.page-auth .register-plan-tabs button {
    min-height: 38px !important;
    padding: 5px 3px !important;
    font-size: clamp(8px,2.55vw,10px) !important;
    line-height: 1.12 !important;
  }

  html body .consent-dialog {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100dvh - 16px) !important;
    overflow: hidden !important;
    border-radius: 16px !important;
  }

  html body .consent-dialog form {
    gap: 7px !important;
    max-height: calc(100dvh - 18px) !important;
    padding: 10px !important;
    overflow-y: auto !important;
  }

  html body .consent-dialog h2 {
    margin: 0 !important;
    font-size: 1.05rem !important;
    line-height: 1.15 !important;
  }

  html body .consent-dialog p {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }

  html body .consent-dialog-close {
    flex-basis: 34px !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 1.25rem !important;
  }

  html body .consent-choice {
    gap: 8px !important;
    padding: 8px !important;
    border-radius: 12px !important;
  }

  html body .consent-choice strong { font-size: 12px !important; }
  html body .consent-choice.is-required span { padding: 4px 7px !important; font-size: 9px !important; }
  html body .consent-choice input { flex-basis: 20px !important; width: 20px !important; height: 20px !important; }
  html body .consent-dialog-note { font-size: 10px !important; }

  html body .consent-dialog-actions {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 5px !important;
  }

  html body .consent-dialog-actions .button.small {
    min-width: 0 !important;
    min-height: 36px !important;
    padding: 5px !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
  }

  html body.phase1-foundation .site-header {
    gap: 6px !important;
    padding-right: 8px !important;
    padding-left: 8px !important;
  }

  html body.phase1-foundation .brand img {
    width: min(128px,34vw) !important;
  }

  html body.phase1-foundation .mobile-header-actions { gap: 3px !important; }
  html body.phase1-foundation .mobile-header-action {
    flex-basis: 34px !important;
    width: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    height: 34px !important;
    padding: 7px !important;
  }

  html body.phase1-foundation .mobile-app-nav {
    grid-template-columns: repeat(6,minmax(0,1fr)) !important;
    gap: 1px !important;
    padding-right: 3px !important;
    padding-left: 3px !important;
  }

  html body.phase1-foundation .mobile-app-nav-item {
    min-width: 0 !important;
    padding-right: 1px !important;
    padding-left: 1px !important;
    font-size: clamp(.52rem,2.3vw,.64rem) !important;
  }

  html body.page-public.route-requests .community-shell {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 12px !important;
    padding: 12px !important;
    overflow: hidden !important;
  }

  html body.page-public.route-requests :is(.community-post-card,.community-login-card) {
    width: 100% !important;
    padding: 14px !important;
    overflow: hidden !important;
  }

  html body.page-public.route-requests :is(.community-post-top,.community-post-title-row,.community-post-meta,.community-reaction-row) {
    flex-wrap: wrap !important;
  }

  html body .shortlist-drawer {
    top: calc(var(--app-mobile-header-height,70px) + 8px) !important;
    right: 8px !important;
    bottom: calc(var(--app-bottom-nav-height,68px) + 8px + env(safe-area-inset-bottom)) !important;
    left: 8px !important;
    display: grid !important;
    grid-template-rows: auto auto auto minmax(0,1fr) auto !important;
    width: auto !important;
    max-width: none !important;
    max-height: none !important;
    padding: 14px !important;
    overflow: hidden !important;
    border-radius: 18px !important;
  }

  html body .shortlist-items {
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  html body .shortlist-item {
    grid-template-columns: 64px minmax(0,1fr) !important;
    gap: 10px !important;
    min-width: 0 !important;
    padding: 10px !important;
  }

  html body .shortlist-item :is(div,strong,small,span,a,button) {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  html body .shortlist-actions { margin-top: 8px !important; }
}

/* Founder Section B recording follow-up v4: distortion-free media and static cards */
body.page-public:is(
  .route-for-customers,
  .route-for-artists,
  .route-for-tutors,
  .route-for-students,
  .route-for-vendors,
  .route-pricing,
  .route-contact,
  .route-trust-safety,
  .route-quality-guidelines,
  .route-whatsapp,
  .route-cities,
  .route-legal
) main.app-main > :is(.page-hero, .section, .founder-section-b-journey, .u9-detail-journey) {
  width: calc(100% - 32px) !important;
  max-width: none !important;
  margin-right: 16px !important;
  margin-left: 16px !important;
}

body.page-public .role-story-media,
body.page-public .support-story-media,
body.page-public .pricing-access-media {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(126, 44, 49, .18);
  border-radius: 24px;
  background: #f8eee8;
  box-shadow: 0 18px 44px rgba(66, 35, 25, .12);
}

body.page-public :is(.role-story-media, .support-story-media, .pricing-access-media) img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center;
}

body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .role-experience-section,
body.page-public:is(.route-contact, .route-trust-safety, .route-quality-guidelines) :is(.support-role-section, .support-action-section),
body.page-public.route-pricing .pricing-payment-section {
  display: grid !important;
  grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr) !important;
  align-items: stretch;
  gap: 24px !important;
}

body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .role-experience-section > .section-head,
body.page-public:is(.route-contact, .route-trust-safety, .route-quality-guidelines) :is(.support-role-section, .support-action-section) > .section-head,
body.page-public.route-pricing .pricing-payment-section > .section-head,
body.page-public.route-pricing .pricing-payment-section > .pricing-billing-points {
  grid-column: 1 / -1;
}

body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .role-experience-section > .role-story-media,
body.page-public:is(.route-contact, .route-trust-safety, .route-quality-guidelines) :is(.support-role-section, .support-action-section) > .support-story-media,
body.page-public.route-pricing .pricing-payment-section > .pricing-access-media {
  grid-column: 1;
}

body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .role-experience-section > .role-flip-grid,
body.page-public:is(.route-contact, .route-trust-safety, .route-quality-guidelines) :is(.support-role-section, .support-action-section) > .support-flip-grid,
body.page-public.route-pricing .pricing-payment-section > .pricing-step-grid {
  grid-column: 2;
}

html body.page-public .role-path-card-static {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  min-height: 0 !important;
  padding: 22px !important;
  transform: none !important;
  overflow: visible !important;
  color: #2d1c17 !important;
  text-align: left !important;
  border: 1px solid rgba(143, 47, 53, .17) !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(252,239,232,.96)) !important;
  box-shadow: 0 14px 34px rgba(61, 33, 24, .08) !important;
}

html body.page-public .role-path-card-static .role-feature-icon {
  grid-row: 1 / span 2;
}

html body.page-public .role-path-card-static strong {
  align-self: end;
  font-size: 18px;
}

html body.page-public .role-path-card-static small {
  display: block;
  align-self: start;
  margin-top: 5px;
  color: #684b3f;
  font-size: 14px;
  line-height: 1.45;
}

html body.page-public :is(.role-step-card-static, .role-proof-card-static) {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 230px !important;
  height: auto !important;
  padding: 24px !important;
  overflow: visible !important;
  transform: none !important;
  perspective: none !important;
  color: #2d1c17 !important;
  text-align: left !important;
  border: 1px solid rgba(143, 47, 53, .16) !important;
  border-radius: 20px !important;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(248,238,230,.96)) !important;
  box-shadow: 0 15px 36px rgba(61, 33, 24, .08) !important;
}

html body.page-public :is(.role-step-card-static, .role-proof-card-static) :is(h3, p) {
  position: static !important;
  margin-right: 0 !important;
  transform: none !important;
}

html body.page-public .support-action-card-static {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
  min-height: 245px !important;
  height: auto !important;
  padding: 24px !important;
  overflow: visible !important;
  transform: none !important;
  perspective: none !important;
  color: #2d1c17 !important;
  text-align: left !important;
  border: 1px solid rgba(143, 47, 53, .16) !important;
  border-radius: 20px !important;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(249,241,234,.96)) !important;
  box-shadow: 0 15px 36px rgba(61, 33, 24, .08) !important;
}

html body.page-public .support-action-card-static small {
  display: block !important;
  margin-top: auto !important;
  padding-top: 14px !important;
  color: #664c40 !important;
  line-height: 1.45 !important;
  border-top: 1px solid rgba(95, 63, 47, .14) !important;
}

html body.page-public.route-pricing .pricing-step-card-static {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 230px !important;
  height: auto !important;
  padding: 24px 20px !important;
  overflow: visible !important;
  transform: none !important;
  perspective: none !important;
  color: #2d1c17 !important;
  text-align: center !important;
  border: 1px solid rgba(143, 47, 53, .16) !important;
  border-radius: 20px !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 14px 34px rgba(61, 33, 24, .08) !important;
}

html body.page-public.route-pricing .pricing-step-card-static .pricing-step-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  color: #fff;
  border-radius: 50%;
  background: #b40012;
  box-shadow: 0 12px 24px rgba(180,0,18,.18);
}

html body.page-public.route-pricing .pricing-step-card-static .pricing-step-icon svg {
  width: 28px;
  height: 28px;
}

html body.page-public.route-pricing .pricing-step-card-static .pricing-step-icon b {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #b40012;
  border-radius: 50%;
  background: #fff;
  font-size: 12px;
}

html body.page-public.route-pricing .pricing-step-card-static > strong {
  margin-bottom: 8px;
  font-size: 18px;
}

html body.page-public.route-pricing .pricing-step-card-static > small {
  color: #62493d;
  font-size: 14px;
  line-height: 1.45;
}

body.page-public.route-pricing .pricing-step-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

body.page-public :is(.faq-list, .pricing-faq-panel) details > p {
  margin: 0 !important;
  padding: 18px 22px !important;
  color: #324f45 !important;
  background: linear-gradient(135deg, #edf7f2, #f8fcfa) !important;
  border-top: 1px solid rgba(25,112,88,.16) !important;
}

body.page-auth.route-login .auth-login-single {
  width: min(1180px, calc(100% - 32px)) !important;
  max-width: none !important;
  min-height: calc(100vh - 126px) !important;
  margin: 16px auto !important;
  padding: 18px !important;
  display: grid !important;
  grid-template-columns: minmax(420px, .95fr) minmax(0, 1.05fr) !important;
  align-items: center !important;
  gap: 24px !important;
}

body.page-auth.route-login .auth-login-single .auth-card {
  width: 100% !important;
  max-width: 560px !important;
  margin: 0 auto !important;
}

body.page-auth.route-login .auth-login-visual {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(143,47,53,.16) !important;
  border-radius: 24px !important;
  background: #f7ede6 !important;
  box-shadow: 0 18px 44px rgba(61,33,24,.1) !important;
}

body.page-auth.route-login .auth-login-visual img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 2 !important;
  object-fit: contain !important;
  object-position: center !important;
}

@media (max-width: 860px) {
  body.page-public:is(
    .route-for-customers,
    .route-for-artists,
    .route-for-tutors,
    .route-for-students,
    .route-for-vendors,
    .route-pricing,
    .route-contact,
    .route-trust-safety,
    .route-quality-guidelines,
    .route-whatsapp,
    .route-cities,
    .route-legal
  ) main.app-main > :is(.page-hero, .section, .founder-section-b-journey, .u9-detail-journey) {
    width: calc(100% - 20px) !important;
    margin-right: 10px !important;
    margin-left: 10px !important;
  }

  body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .role-experience-section,
  body.page-public:is(.route-contact, .route-trust-safety, .route-quality-guidelines) :is(.support-role-section, .support-action-section),
  body.page-public.route-pricing .pricing-payment-section {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .role-experience-section > *,
  body.page-public:is(.route-contact, .route-trust-safety, .route-quality-guidelines) :is(.support-role-section, .support-action-section) > *,
  body.page-public.route-pricing .pricing-payment-section > * {
    grid-column: 1 !important;
  }

  body.page-public.route-pricing .pricing-step-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.page-public :is(.role-path-card-static, .role-step-card-static, .role-proof-card-static, .support-action-card-static, .pricing-step-card-static) {
    min-height: 0 !important;
  }

  body.page-auth.route-login .auth-login-single {
    width: calc(100% - 20px) !important;
    min-height: 0 !important;
    margin: 10px !important;
    padding: 10px !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.page-auth.route-login .auth-login-single .auth-card {
    order: 1;
  }

  body.page-auth.route-login .auth-login-visual {
    order: 2;
  }
}

body.page-public.route-for-customers { --founder-b-accent: #8d3b72; --founder-b-accent-soft: #f2dce9; }
body.page-public.route-for-artists { --founder-b-accent: #a50912; --founder-b-accent-soft: #f5d8d2; }
body.page-public.route-for-tutors { --founder-b-accent: #176c56; --founder-b-accent-soft: #d9eee5; }
body.page-public.route-for-students { --founder-b-accent: #3767a6; --founder-b-accent-soft: #dce8f7; }
body.page-public.route-for-vendors { --founder-b-accent: #9b680b; --founder-b-accent-soft: #f4e4bb; }
body.page-public.route-pricing { --founder-b-accent: #8d2e43; --founder-b-accent-soft: #f3dce1; }
body.page-public.route-trust-safety { --founder-b-accent: #176c56; --founder-b-accent-soft: #d9eee5; }
body.page-public.route-contact { --founder-b-accent: #315f8b; --founder-b-accent-soft: #dce8f2; }

.founder-section-b-journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 6px;
  padding: 8px;
  border: 1px solid color-mix(in srgb, var(--founder-b-accent, #a50912) 20%, #ead8c9);
  border-radius: 18px;
  background: rgba(255, 251, 245, .96);
  box-shadow: 0 14px 34px rgba(61, 38, 26, .08);
}

.founder-section-b-journey a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: var(--founder-b-ink, #271a15);
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.founder-section-b-journey a:hover,
.founder-section-b-journey a:focus-visible {
  border-color: color-mix(in srgb, var(--founder-b-accent, #a50912) 24%, transparent);
  background: var(--founder-b-accent-soft, #f8ded7);
  transform: translateY(-1px);
}

.founder-section-b-journey strong {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--founder-b-accent, #a50912);
  color: #fff;
  font-size: .72rem;
  line-height: 1;
}

.founder-section-b-journey span {
  overflow: hidden;
  font-size: .86rem;
  font-weight: 850;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.page-public:is(
  .route-about,
  .route-how-it-works,
  .route-for-customers,
  .route-for-artists,
  .route-for-tutors,
  .route-for-students,
  .route-for-vendors,
  .route-trust-safety
) .role-page-hero,
body.page-public.route-pricing .pricing-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid color-mix(in srgb, var(--founder-b-accent, #a50912) 18%, transparent);
  background:
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--founder-b-accent-soft, #f8ded7) 82%, transparent) 0 12%, transparent 37%),
    linear-gradient(135deg, #fffaf3 0%, color-mix(in srgb, var(--founder-b-accent-soft, #f8ded7) 62%, #fffaf3) 100%);
}

body.page-public:is(
  .route-about,
  .route-how-it-works,
  .route-for-customers,
  .route-for-artists,
  .route-for-tutors,
  .route-for-students,
  .route-for-vendors,
  .route-trust-safety
) .role-page-hero::after,
body.page-public.route-pricing .pricing-page-hero::after {
  position: absolute;
  right: clamp(-70px, -4vw, -24px);
  bottom: clamp(-85px, -5vw, -36px);
  z-index: -1;
  width: clamp(180px, 24vw, 360px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--founder-b-accent, #a50912) 18%, transparent);
  border-radius: 50%;
  content: "";
  box-shadow: inset 0 0 0 34px color-mix(in srgb, var(--founder-b-accent-soft, #f8ded7) 38%, transparent);
}

body.page-public:is(
  .route-about,
  .route-how-it-works,
  .route-for-customers,
  .route-for-artists,
  .route-for-tutors,
  .route-for-students,
  .route-for-vendors,
  .route-trust-safety
) .role-page-hero > .eyebrow,
body.page-public.route-pricing .pricing-page-hero > .eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--founder-b-accent, #a50912);
  color: #fff !important;
}

body.page-public:is(
  .route-for-customers,
  .route-for-artists,
  .route-for-tutors,
  .route-for-students,
  .route-for-vendors
) :is(.role-experience-section, .role-workflow-section, .role-dashboard-preview-section, .role-proof-section, .role-practice-section, .role-capability-section, .role-faq-section) {
  scroll-margin-top: 112px;
}

body.page-public:is(
  .route-for-customers,
  .route-for-artists,
  .route-for-tutors,
  .route-for-students,
  .route-for-vendors
) :is(.role-workflow-section, .role-proof-section, .role-faq-section) {
  border: 1px solid color-mix(in srgb, var(--founder-b-accent, #a50912) 13%, #ead8c9);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(255, 250, 243, .94)),
    var(--founder-b-panel, #fffaf3);
  box-shadow: 0 18px 42px rgba(58, 35, 23, .07);
}

body.page-public:is(
  .route-for-customers,
  .route-for-artists,
  .route-for-tutors,
  .route-for-students,
  .route-for-vendors
) :is(.role-step-card, .role-dashboard-card, .role-proof-card) {
  border-color: color-mix(in srgb, var(--founder-b-accent, #a50912) 18%, #e9d8ca) !important;
  background: linear-gradient(145deg, #fff 0%, color-mix(in srgb, var(--founder-b-accent-soft, #f8ded7) 42%, #fff) 100%) !important;
  box-shadow: 0 13px 30px rgba(50, 31, 21, .07);
}

body.page-public:is(
  .route-for-customers,
  .route-for-artists,
  .route-for-tutors,
  .route-for-students,
  .route-for-vendors
) .role-step-number {
  background: var(--founder-b-accent, #a50912) !important;
  color: #fff !important;
}

body.page-public:is(
  .route-about,
  .route-how-it-works,
  .route-for-customers,
  .route-for-artists,
  .route-for-tutors,
  .route-for-students,
  .route-for-vendors,
  .route-pricing,
  .route-trust-safety
) :is(#section-b-details, #section-b-workflow, #section-b-capabilities, #section-b-experience, #section-b-trust, #section-b-plans, #section-b-compare, #section-b-faq) {
  scroll-margin-top: 112px;
}

body.page-public.route-pricing :is(.pricing-plans-section, .pricing-compare-section, .pricing-payment-section, .pricing-faq-section-final) {
  border-radius: 24px;
}

body.page-public.route-pricing .pricing-plans-section {
  background: linear-gradient(155deg, #fffaf3 0%, #f7e4e5 100%);
}

body.page-public.route-pricing .pricing-compare-section {
  border: 1px solid rgba(141, 46, 67, .15);
  background: #fffdf9;
  box-shadow: 0 18px 42px rgba(64, 31, 38, .07);
}

body.page-public:is(.route-about, .route-how-it-works, .route-trust-safety) .role-final-cta,
body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .role-final-cta {
  border: 1px solid color-mix(in srgb, var(--founder-b-accent, #a50912) 18%, transparent);
  background: linear-gradient(135deg, var(--founder-b-accent-soft, #f8ded7), #fff8ee);
}

@media (max-width: 760px) {
  .founder-section-b-journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 6px;
    border-radius: 15px;
  }

  .founder-section-b-journey a {
    min-height: 46px;
    padding: 7px 8px;
  }

  .founder-section-b-journey strong {
    width: 27px;
    height: 27px;
    font-size: .66rem;
  }

  .founder-section-b-journey span {
    font-size: .76rem;
  }

  body.page-public:is(
    .route-about,
    .route-how-it-works,
    .route-for-customers,
    .route-for-artists,
    .route-for-tutors,
    .route-for-students,
    .route-for-vendors,
    .route-trust-safety
  ) .role-page-hero,
  body.page-public.route-pricing .pricing-page-hero {
    padding-block: 24px 28px !important;
  }

  body.page-public:is(
    .route-for-customers,
    .route-for-artists,
    .route-for-tutors,
    .route-for-students,
    .route-for-vendors
  ) :is(.role-workflow-section, .role-proof-section, .role-faq-section),
  body.page-public.route-pricing :is(.pricing-plans-section, .pricing-compare-section, .pricing-payment-section, .pricing-faq-section-final) {
    border-radius: 18px;
  }
}

/* Founder Section B recording follow-up: full-width composition, real visual flips, and compact auth. */
html body.page-public:is(
  .route-artists,
  .route-tutors,
  .route-products,
  .route-gallery,
  .route-requests
) main.app-main > :is(.page-hero, .section, .discovery-v1-directory-heading, .discovery-v1-directory-followup, .discovery-v1-directory-faq) {
  width: var(--founder-b-page-width) !important;
  max-width: none !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

html body.page-public:is(.route-artists, .route-tutors, .route-products, .route-gallery, .route-requests) main.app-main :is(.directory-shell, .marketplace-shell, .profile-directory, .marketplace-results, .discovery-v1-directory-heading, .discovery-v1-directory-followup) {
  max-width: none !important;
}

body.page-public.route-for-customers { --role-card-atlas: url("../img/founder-section-b/customer-card-atlas-v3.webp"); }
body.page-public.route-for-artists { --role-card-atlas: url("../img/founder-section-b/artist-card-atlas-v3.webp"); }
body.page-public.route-for-tutors { --role-card-atlas: url("../img/founder-section-b/tutor-card-atlas-v3.webp"); }
body.page-public.route-for-students { --role-card-atlas: url("../img/founder-section-b/student-card-atlas-v3.webp"); }
body.page-public.route-for-vendors { --role-card-atlas: url("../img/founder-section-b/vendor-card-atlas-v3.webp"); }

body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) :is(.role-step-card, .role-proof-card).role-visual-flip-card {
  min-height: clamp(248px, 18vw, 310px) !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
  perspective: 1200px;
}

.role-visual-flip-inner,
.role-visual-flip-face {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.role-visual-flip-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform .68s cubic-bezier(.2, .72, .22, 1);
}

.role-visual-flip-face {
  position: absolute;
  inset: 0;
  align-content: center;
  justify-items: center;
  padding: clamp(22px, 2.2vw, 34px);
  border: 1px solid rgba(112, 70, 48, .16);
  border-radius: 22px;
  backface-visibility: hidden;
  overflow: hidden;
  text-align: center;
}

.role-visual-flip-front {
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 16px 36px rgba(58, 35, 23, .09);
}

.role-visual-flip-back {
  transform: rotateY(180deg);
  background-image: linear-gradient(rgba(33, 20, 15, .08), rgba(33, 20, 15, .42)), var(--role-card-atlas);
  background-repeat: no-repeat;
  background-position: var(--visual-x, 50%) var(--visual-y, 0%);
  background-size: 300% 200%;
}

.role-visual-flip-back strong,
.support-flip-back strong,
.pricing-step-flip-back strong {
  align-self: end;
  width: fit-content;
  max-width: calc(100% - 30px);
  margin: 0 auto 16px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(75, 22, 25, .84);
  box-shadow: 0 8px 20px rgba(35, 16, 14, .25);
  text-align: center;
}

.role-visual-flip-card:is(:hover, :focus-visible, .is-flipped) .role-visual-flip-inner,
.support-flip-card:is(:hover, :focus-visible, .is-flipped) .support-flip-inner,
.pricing-step-flip:is(:hover, :focus-visible, .is-flipped) .pricing-step-flip-inner {
  transform: rotateY(180deg) !important;
}

body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .role-dashboard-shell {
  grid-template-columns: minmax(280px, .62fr) minmax(0, 1.38fr) !important;
}

body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .role-dashboard-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .role-dashboard-copy h2 {
  white-space: nowrap;
}

.role-dashboard-card.role-dashboard-tone-1 { background: linear-gradient(145deg, #fff1ed, #f7d8d1) !important; }
.role-dashboard-card.role-dashboard-tone-2 { background: linear-gradient(145deg, #eff9f3, #d0e8da) !important; }
.role-dashboard-card.role-dashboard-tone-3 { background: linear-gradient(145deg, #fff8e6, #f0ddb1) !important; }

/* Image backs use purpose-built 3x3 visual atlases and never mirror live text. */
body.page-public .support-flip-card {
  min-height: clamp(270px, 20vw, 330px) !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
  perspective: 1200px;
}

body.page-public .support-flip-inner {
  position: relative !important;
  display: block !important;
  width: 100%;
  height: 100% !important;
  min-height: inherit !important;
  transform-style: preserve-3d !important;
  transition: transform .68s cubic-bezier(.2, .72, .22, 1);
}

body.page-public .support-flip-face {
  position: absolute !important;
  inset: 0;
  display: grid !important;
  align-content: center;
  justify-items: center;
  min-height: inherit !important;
  padding: clamp(22px, 2.2vw, 34px);
  border: 1px solid rgba(112, 70, 48, .16);
  border-radius: 22px;
  backface-visibility: hidden !important;
  overflow: hidden;
  text-align: center;
}

body.page-public .support-flip-front {
  transform: rotateY(0deg) !important;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 36px rgba(58, 35, 23, .09);
}

body.page-public .support-flip-back {
  display: grid !important;
  transform: rotateY(180deg) !important;
  background-image: linear-gradient(rgba(25, 17, 14, .04), rgba(25, 17, 14, .4)), url("../img/founder-section-b/support-card-atlas-v3.webp");
  background-repeat: no-repeat;
  background-position: var(--visual-x, 50%) var(--visual-y, 0%);
  background-size: 300% 300%;
}

body.page-public .legal-visual-flip-card .support-flip-back {
  background-image: linear-gradient(rgba(25, 17, 14, .04), rgba(25, 17, 14, .4)), url("../img/founder-section-b/legal-card-atlas-v3.webp");
}

body.page-public .support-flip-front small {
  margin-top: 14px;
  padding-top: 14px;
}

body.page-public.route-pricing .pricing-step-grid > .pricing-step-flip {
  min-height: clamp(250px, 18vw, 310px);
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
  perspective: 1200px;
}

.pricing-step-flip-inner,
.pricing-step-flip-face {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.pricing-step-flip-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform .68s cubic-bezier(.2, .72, .22, 1);
}

.pricing-step-flip-face {
  position: absolute;
  inset: 0;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: clamp(20px, 2vw, 30px);
  border: 1px solid rgba(141, 46, 67, .18);
  border-radius: 20px;
  backface-visibility: hidden;
  overflow: hidden;
  text-align: center;
}

.pricing-step-flip-front { background: rgba(255, 255, 255, .92); box-shadow: 0 16px 36px rgba(58, 35, 23, .08); }
.pricing-step-flip-back {
  transform: rotateY(180deg);
  background-image: linear-gradient(rgba(35, 18, 14, .03), rgba(35, 18, 14, .42)), url("../img/founder-section-b/pricing-billing-atlas-v3.webp");
  background-repeat: no-repeat;
  background-position: var(--visual-x, 50%) center;
  background-size: 400% 100%;
}

body.page-public.route-pricing .pricing-billing-points {
  width: 100% !important;
  max-width: none !important;
}

body.page-public.route-pricing .pricing-page-hero {
  background-image: linear-gradient(90deg, rgba(255,250,243,.24), rgba(255,250,243,.9) 35%, rgba(255,250,243,.96) 50%, rgba(255,250,243,.9) 65%, rgba(255,250,243,.2)), url("../img/founder-section-b/pricing-hero-left-v2.webp"), url("../img/founder-section-b/pricing-hero-v1.webp") !important;
  background-color: #f7e8dd !important;
}

body.page-public.route-contact .support-page-hero {
  align-items: center;
  text-align: center;
  background-image: linear-gradient(90deg, rgba(247,251,255,.22), rgba(247,251,255,.9) 35%, rgba(247,251,255,.96) 50%, rgba(247,251,255,.88) 65%, rgba(247,251,255,.18)), url("../img/founder-section-b/contact-hero-left-v3.webp"), url("../img/founder-section-b/contact-hero-v1.webp") !important;
  background-position: center, left center, right center !important;
  background-size: cover, auto 100%, auto 100% !important;
}

body.page-public:is(.route-trust-safety, .route-quality-guidelines) .role-page-hero {
  min-height: clamp(390px, 38vw, 560px);
  align-items: center;
  text-align: center;
  background-image: linear-gradient(90deg, rgba(255,250,243,.32), rgba(255,250,243,.9) 33%, rgba(255,250,243,.95) 50%, rgba(255,250,243,.88) 67%, rgba(255,250,243,.28)), url("../img/founder-section-b/support-hero-atlas-v3.webp") !important;
  background-repeat: no-repeat !important;
  background-size: cover, 200% 100% !important;
}

body.page-public.route-trust-safety .role-page-hero { background-position: center, left center !important; }
body.page-public.route-quality-guidelines .role-page-hero { background-position: center, right center !important; }
body.page-public:is(.route-trust-safety, .route-quality-guidelines) .role-page-hero::after { display: none !important; }
body.page-public:is(.route-trust-safety, .route-quality-guidelines) .role-page-hero > :not(.page-breadcrumb) { position: relative; z-index: 1; }

body.page-public.route-legal .legal-page-hero {
  background-color: #fffaf3 !important;
  background-blend-mode: normal !important;
}
body.page-public.route-legal .legal-page-hero--terms { background-image: linear-gradient(rgba(255,250,243,.38), rgba(255,250,243,.54)), url("../img/founder-section-b/legal-terms-hero-v2.webp") !important; }
body.page-public.route-legal .legal-page-hero--privacy { background-image: linear-gradient(rgba(250,252,247,.38), rgba(250,252,247,.54)), url("../img/founder-section-b/legal-privacy-hero-v2.webp") !important; }
body.page-public.route-legal .legal-page-hero--cookies { background-image: linear-gradient(rgba(255,250,243,.36), rgba(255,250,243,.52)), url("../img/founder-section-b/legal-cookies-hero-v2.webp") !important; }
body.page-public.route-legal .legal-page-hero--refunds { background-image: linear-gradient(rgba(255,248,244,.38), rgba(255,248,244,.54)), url("../img/founder-section-b/legal-refunds-hero-v2.webp") !important; }
body.page-public.route-legal .legal-page-hero--shipping { background-image: linear-gradient(rgba(255,251,244,.36), rgba(255,251,244,.52)), url("../img/founder-section-b/legal-shipping-hero-v2.webp") !important; }
body.page-public.route-legal .legal-page-hero--returns { background-image: linear-gradient(rgba(255,251,244,.36), rgba(255,251,244,.52)), url("../img/founder-section-b/legal-returns-hero-v2.webp") !important; }
body.page-public.route-legal .legal-page-hero--content { background-image: linear-gradient(rgba(255,250,243,.38), rgba(255,250,243,.54)), url("../img/founder-section-b/legal-content-hero-v2.webp") !important; }
body.page-public.route-legal .legal-page-hero--community { background-image: linear-gradient(rgba(255,250,243,.38), rgba(255,250,243,.54)), url("../img/founder-section-b/legal-community-hero-v2.webp") !important; }
body.page-public.route-legal .legal-page-hero--copyright { background-image: linear-gradient(rgba(255,250,243,.38), rgba(255,250,243,.54)), url("../img/founder-section-b/legal-copyright-hero-v2.webp") !important; }
body.page-public.route-legal .legal-page-hero--data-deletion { background-image: linear-gradient(rgba(248,251,250,.38), rgba(248,251,250,.54)), url("../img/founder-section-b/legal-data-deletion-hero-v2.webp") !important; }

body.page-public.route-contact .support-contact-shell {
  grid-template-columns: minmax(0, .82fr) minmax(360px, 1.18fr) !important;
}
body.page-public.route-contact .support-form-card { padding: clamp(20px, 2.2vw, 30px) !important; }
body.page-public.route-contact .support-direct-panel { padding: clamp(28px, 3.2vw, 48px) !important; }

body.page-auth.route-login .auth-login-single {
  display: grid !important;
  grid-template-columns: minmax(390px, .8fr) minmax(0, 1.2fr) !important;
  align-items: stretch !important;
  width: min(1180px, calc(100vw - 32px)) !important;
  max-width: min(1180px, calc(100vw - 32px)) !important;
  overflow: hidden;
  border: 1px solid rgba(138, 85, 56, .2);
  border-radius: 26px;
  background: #fffaf3;
  box-shadow: 0 20px 50px rgba(54, 31, 20, .1);
}

body.route-login.page-auth .auth-login-single .auth-card {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.auth-login-visual { min-height: 100%; margin: 0; overflow: hidden; }
.auth-login-visual img { display: block; width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: center; }
body.route-login.page-auth .auth-page-copy { white-space: nowrap; font-size: .98rem; }

body.route-register.page-auth .auth-single .auth-card {
  width: min(1040px, 100%) !important;
  max-width: none !important;
}
body.route-register.page-auth .auth-form-brand { display: block !important; margin-bottom: -4px; }
body.route-register.page-auth .auth-form-brand img { width: auto; height: 38px; }
body.route-register.page-auth :is(.register-identity-grid, .register-password-grid, .phone-form-grid, .compact-form-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
body.route-register.page-auth .register-plan-grid { grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)) !important; }
body.route-register.page-auth [hidden] { display: none !important; }
body.route-register.page-auth .u4-register-journey { position: relative; clear: both; margin-top: 8px !important; }
body.route-register.page-auth .u4-register-journey > div { max-width: none !important; }
body.route-register.page-auth .u4-register-journey ol { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }

body.page-public.route-cities .city-india-map-preview {
  position: relative;
  min-height: 0 !important;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-image: linear-gradient(rgba(255,255,255,.08), rgba(255,255,255,.08)), url("../img/founder-section-b/india-city-map-v3.webp") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
}
body.page-public.route-cities .city-india-map-preview .city-map-marker {
  position: absolute !important;
  left: var(--city-pin-x) !important;
  top: var(--city-pin-y) !important;
  transform: translate(-50%, -100%) !important;
  z-index: 2;
}
body.page-public.route-cities .city-map-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 24px rgba(37, 24, 18, .12);
}

@media (min-width: 1200px) {
  body.page-public.route-pricing .pricing-billing-points li { font-size: clamp(.78rem, .82vw, .92rem); }
}

@media (max-width: 900px) {
  body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .role-dashboard-shell,
  body.page-public.route-contact .support-contact-shell,
  body.page-auth.route-login .auth-login-single {
    grid-template-columns: 1fr !important;
  }
  body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .role-dashboard-copy h2,
  body.route-login.page-auth .auth-page-copy { white-space: normal; }
  .auth-login-visual { order: 2; }
  .auth-login-visual img { min-height: 300px; max-height: 420px; }
}

@media (max-width: 760px) {
  body.page-public:is(.route-artists, .route-tutors, .route-products, .route-gallery, .route-requests) main.app-main > :is(.page-hero, .section, .discovery-v1-directory-heading, .discovery-v1-directory-followup, .discovery-v1-directory-faq) {
    width: calc(100% - 16px) !important;
  }
  body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .role-dashboard-grid,
  body.route-register.page-auth :is(.register-identity-grid, .register-password-grid, .phone-form-grid, .compact-form-grid),
  body.route-register.page-auth .u4-register-journey ol {
    grid-template-columns: 1fr !important;
  }
  body.route-register.page-auth .register-plan-grid { grid-template-columns: 1fr !important; }
  body.page-public .support-flip-card,
  body.page-public.route-pricing .pricing-step-grid > .pricing-step-flip,
  body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) :is(.role-step-card, .role-proof-card).role-visual-flip-card {
    min-height: 270px !important;
  }
  body.page-public.route-pricing .pricing-page-hero,
  body.page-public.route-contact .support-page-hero,
  body.page-public:is(.route-trust-safety, .route-quality-guidelines) .role-page-hero {
    background-image: linear-gradient(rgba(255,250,243,.72), rgba(255,250,243,.84)), var(--founder-b-mobile-image, none) !important;
    background-position: center !important;
    background-size: cover !important;
  }
  body.page-auth.route-login .auth-login-single {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
  }
  .auth-login-visual img { min-height: 240px; max-height: 320px; }
  body.page-public.route-cities .city-map-section { grid-template-columns: 1fr !important; }
  body.page-public.route-cities .city-india-map-preview { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  .role-visual-flip-inner,
  body.page-public .support-flip-inner,
  .pricing-step-flip-inner { transition-duration: .01ms !important; }
}

@media (prefers-reduced-motion: reduce) {
  .founder-section-b-journey a {
    transition: none;
  }
}

/* Founder Phase 1 / Section B follow-up: one full-width, image-led public system. */
body.page-public:is(
  .route-about,
  .route-how-it-works,
  .route-for-customers,
  .route-for-artists,
  .route-for-tutors,
  .route-for-students,
  .route-for-vendors,
  .route-pricing,
  .route-trust-safety,
  .route-quality-guidelines,
  .route-whatsapp,
  .route-contact,
  .route-legal,
  .route-cities
) {
  --founder-b-page-width: calc(100% - clamp(20px, 3.2vw, 58px));
  --founder-b-card-radius: clamp(18px, 1.8vw, 28px);
  --founder-b-shadow: 0 20px 52px rgba(58, 35, 23, .09);
}

body.page-public:is(
  .route-about,
  .route-how-it-works,
  .route-for-customers,
  .route-for-artists,
  .route-for-tutors,
  .route-for-students,
  .route-for-vendors,
  .route-pricing,
  .route-trust-safety,
  .route-quality-guidelines,
  .route-whatsapp,
  .route-contact,
  .route-legal,
  .route-cities
) :is(.page-hero, .section, .founder-section-b-journey, .u9-detail-journey) {
  width: var(--founder-b-page-width) !important;
  max-width: none !important;
  margin-inline: auto !important;
}

body.page-public:is(
  .route-about,
  .route-how-it-works,
  .route-for-customers,
  .route-for-artists,
  .route-for-tutors,
  .route-for-students,
  .route-for-vendors,
  .route-pricing,
  .route-trust-safety,
  .route-quality-guidelines,
  .route-whatsapp,
  .route-contact,
  .route-legal,
  .route-cities
) :is(.section, .page-hero) {
  border-radius: var(--founder-b-card-radius);
}

body.page-public:is(
  .route-about,
  .route-how-it-works,
  .route-for-customers,
  .route-for-artists,
  .route-for-tutors,
  .route-for-students,
  .route-for-vendors,
  .route-pricing,
  .route-trust-safety,
  .route-quality-guidelines,
  .route-whatsapp,
  .route-contact,
  .route-legal,
  .route-cities
) :is(.page-hero h1, .section-head h2, .section > h2, .centered-head h2, .role-dashboard-copy h2) {
  max-width: none !important;
  text-wrap: balance;
}

body.page-public:is(
  .route-for-customers,
  .route-for-artists,
  .route-for-tutors,
  .route-for-students,
  .route-for-vendors,
  .route-pricing,
  .route-contact,
  .route-cities
) :is(.page-hero h1, .pricing-page-hero h1, .cities-hero h1, .city-page-hero h1) {
  max-width: 15ch !important;
  font-size: clamp(2.15rem, 4vw, 4.8rem) !important;
  line-height: .98 !important;
}

/* Image-led, non-cropped page heroes. */
body.page-public:is(
  .route-for-customers,
  .route-for-artists,
  .route-for-tutors,
  .route-for-students,
  .route-for-vendors
) .role-page-hero,
body.page-public.route-pricing .pricing-page-hero,
body.page-public.route-contact .support-page-hero,
body.page-public.route-cities :is(.cities-hero, .city-page-hero) {
  min-height: clamp(390px, 41vw, 590px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(34px, 5vw, 76px) clamp(24px, 5.5vw, 92px) !important;
  background-repeat: no-repeat !important;
  box-shadow: var(--founder-b-shadow);
}

body.page-public:is(
  .route-for-customers,
  .route-for-artists,
  .route-for-tutors,
  .route-for-students,
  .route-for-vendors
) .role-page-hero,
body.page-public.route-pricing .pricing-page-hero {
  align-items: center;
  text-align: center;
  background-position: center, left center, right center !important;
  background-size: cover, auto 100%, auto 100% !important;
}

body.page-public.route-contact .support-page-hero,
body.page-public.route-cities :is(.cities-hero, .city-page-hero) {
  background-position: center, right center !important;
  background-size: cover, auto 100% !important;
}

body.page-public:is(
  .route-for-customers,
  .route-for-artists,
  .route-for-tutors,
  .route-for-students,
  .route-for-vendors
) .role-page-hero::after,
body.page-public.route-pricing .pricing-page-hero::after {
  display: none !important;
}

body.page-public.route-for-customers .role-page-hero {
  background-image: linear-gradient(90deg, rgba(255, 250, 243, .12) 0%, rgba(255, 250, 243, .72) 32%, rgba(255, 250, 243, .94) 50%, rgba(255, 250, 243, .74) 68%, rgba(255, 250, 243, .1) 100%), url("../img/founder-section-b/customer-hero-left-v2.webp"), url("../img/founder-section-b/customer-hero-v1.webp") !important;
}
body.page-public.route-for-artists .role-page-hero {
  background-image: linear-gradient(90deg, rgba(255, 250, 243, .12) 0%, rgba(255, 250, 243, .72) 32%, rgba(255, 250, 243, .94) 50%, rgba(255, 250, 243, .74) 68%, rgba(255, 250, 243, .1) 100%), url("../img/founder-section-b/artist-hero-left-v2.webp"), url("../img/founder-section-b/artist-hero-v1.webp") !important;
}
body.page-public.route-for-tutors .role-page-hero {
  background-image: linear-gradient(90deg, rgba(248, 255, 251, .12) 0%, rgba(248, 255, 251, .72) 32%, rgba(248, 255, 251, .94) 50%, rgba(248, 255, 251, .74) 68%, rgba(248, 255, 251, .1) 100%), url("../img/founder-section-b/tutor-hero-left-v2.webp"), url("../img/founder-section-b/tutor-hero-v1.webp") !important;
}
body.page-public.route-for-students .role-page-hero {
  background-image: linear-gradient(90deg, rgba(248, 251, 255, .12) 0%, rgba(248, 251, 255, .72) 32%, rgba(248, 251, 255, .94) 50%, rgba(248, 251, 255, .74) 68%, rgba(248, 251, 255, .1) 100%), url("../img/founder-section-b/student-hero-left-v2.webp"), url("../img/founder-section-b/student-hero-v1.webp") !important;
}
body.page-public.route-for-vendors .role-page-hero {
  background-image: linear-gradient(90deg, rgba(255, 252, 243, .12) 0%, rgba(255, 252, 243, .72) 32%, rgba(255, 252, 243, .94) 50%, rgba(255, 252, 243, .74) 68%, rgba(255, 252, 243, .1) 100%), url("../img/founder-section-b/vendor-hero-left-v2.webp"), url("../img/founder-section-b/vendor-hero-v1.webp") !important;
}
body.page-public.route-pricing .pricing-page-hero {
  background-image: linear-gradient(90deg, rgba(255, 250, 243, .1) 0%, rgba(255, 250, 243, .72) 32%, rgba(255, 250, 243, .95) 50%, rgba(255, 250, 243, .73) 68%, rgba(255, 250, 243, .08) 100%), url("../img/founder-section-b/pricing-hero-left-v2.webp"), url("../img/founder-section-b/pricing-hero-v1.webp") !important;
}
body.page-public.route-contact .support-page-hero {
  background-image: linear-gradient(90deg, rgba(247, 251, 255, .99) 0 42%, rgba(247, 251, 255, .82) 58%, rgba(247, 251, 255, .06) 100%), url("../img/founder-section-b/contact-hero-v1.webp") !important;
}
body.page-public.route-cities .cities-hero {
  background-image: linear-gradient(90deg, rgba(255, 250, 243, .99) 0 42%, rgba(255, 250, 243, .82) 58%, rgba(255, 250, 243, .06) 100%), url("../img/founder-section-b/city-hero-v1.webp") !important;
}

body.page-public.route-cities .city-page-hero {
  background-image:
    radial-gradient(circle at 84% 26%, rgba(191, 108, 73, .18) 0 8%, transparent 8.5%),
    radial-gradient(circle at 77% 68%, rgba(34, 112, 82, .15) 0 6%, transparent 6.5%),
    linear-gradient(135deg, #fffaf3 0%, #f2e3d4 52%, #ead0c3 100%) !important;
  background-size: auto, auto, cover !important;
}

body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .role-page-hero > :not(.page-breadcrumb),
body.page-public.route-contact .support-page-hero > :not(.page-breadcrumb),
body.page-public.route-cities :is(.cities-hero, .city-page-hero) > * {
  position: relative;
  z-index: 1;
}

body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .role-page-hero :is(.role-hero-overview, .hero-actions),
body.page-public.route-contact .support-page-hero > p:not(.eyebrow),
body.page-public.route-cities :is(.cities-hero, .city-page-hero) :is(.city-hero-search, .hero-search, .hero-actions, .city-nearby-suggestions),
body.page-public.route-cities :is(.cities-hero, .city-page-hero) > p:not(.eyebrow) {
  width: min(760px, 58%) !important;
  max-width: none !important;
}

body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .role-page-hero :is(.role-hero-overview, .hero-actions) {
  margin-inline: auto !important;
  justify-content: center;
}

body.page-public.route-pricing .pricing-page-hero h1 {
  max-width: 24ch !important;
  white-space: nowrap;
}

body.page-public.route-pricing .page-hero.pricing-page-hero.pricing-hero-final h1 {
  width: auto !important;
  max-width: none !important;
  font-size: clamp(2.1rem, 3.2vw, 3.35rem) !important;
  white-space: nowrap !important;
}

body.page-public.route-pricing .pricing-hero-chips-single {
  width: fit-content !important;
  min-width: min(310px, 100%);
  align-self: center;
  margin-inline: auto !important;
  text-align: center;
}

/* Legal policy heroes use one clear, full-section visual per policy. */
body.page-public.route-legal .legal-page-hero {
  min-height: clamp(410px, 36vw, 560px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(34px, 5vw, 72px) clamp(22px, 6vw, 104px) !important;
  text-align: center;
  background-color: #fffaf3 !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
  box-shadow: var(--founder-b-shadow);
}

body.page-public.route-legal .legal-page-hero--terms { background-image: linear-gradient(rgba(255, 250, 243, .56), rgba(255, 250, 243, .7)), url("../img/founder-section-b/legal-terms-hero-v2.webp") !important; }
body.page-public.route-legal .legal-page-hero--privacy { background-image: linear-gradient(rgba(250, 252, 247, .56), rgba(250, 252, 247, .7)), url("../img/founder-section-b/legal-privacy-hero-v2.webp") !important; }
body.page-public.route-legal .legal-page-hero--cookies { background-image: linear-gradient(rgba(255, 250, 243, .54), rgba(255, 250, 243, .68)), url("../img/founder-section-b/legal-cookies-hero-v2.webp") !important; }
body.page-public.route-legal .legal-page-hero--refunds { background-image: linear-gradient(rgba(255, 248, 244, .56), rgba(255, 248, 244, .7)), url("../img/founder-section-b/legal-refunds-hero-v2.webp") !important; }
body.page-public.route-legal .legal-page-hero--shipping { background-image: linear-gradient(rgba(255, 251, 244, .54), rgba(255, 251, 244, .68)), url("../img/founder-section-b/legal-shipping-hero-v2.webp") !important; }
body.page-public.route-legal .legal-page-hero--returns { background-image: linear-gradient(rgba(255, 251, 244, .54), rgba(255, 251, 244, .68)), url("../img/founder-section-b/legal-returns-hero-v2.webp") !important; }
body.page-public.route-legal .legal-page-hero--content { background-image: linear-gradient(rgba(255, 250, 243, .56), rgba(255, 250, 243, .7)), url("../img/founder-section-b/legal-content-hero-v2.webp") !important; }
body.page-public.route-legal .legal-page-hero--community { background-image: linear-gradient(rgba(255, 250, 243, .56), rgba(255, 250, 243, .7)), url("../img/founder-section-b/legal-community-hero-v2.webp") !important; }
body.page-public.route-legal .legal-page-hero--copyright { background-image: linear-gradient(rgba(255, 250, 243, .56), rgba(255, 250, 243, .7)), url("../img/founder-section-b/legal-copyright-hero-v2.webp") !important; }
body.page-public.route-legal .legal-page-hero--data-deletion { background-image: linear-gradient(rgba(248, 251, 250, .56), rgba(248, 251, 250, .7)), url("../img/founder-section-b/legal-data-deletion-hero-v2.webp") !important; }

body.page-public.route-legal .legal-page-hero > :not(.page-breadcrumb) {
  position: relative;
  z-index: 1;
}

body.page-public.route-legal .legal-page-hero > p:not(.eyebrow) {
  width: min(920px, 100%);
  max-width: none !important;
}

body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .static-page-brand,
body.page-public.route-contact .static-page-brand,
body.page-public.route-pricing .pricing-hero-logo,
body.page-public.route-cities .static-page-brand {
  display: none !important;
}

/* Join-role sections: large, premium, balanced. */
body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) :is(
  .role-experience-section,
  .role-workflow-section,
  .role-dashboard-preview-section,
  .role-proof-section,
  .role-practice-section,
  .role-capability-section,
  .role-faq-section,
  .role-final-cta
) {
  width: var(--founder-b-page-width) !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding: clamp(28px, 4vw, 58px) !important;
  border: 1px solid color-mix(in srgb, var(--founder-b-accent) 15%, #ead8c9) !important;
  background: linear-gradient(135deg, #fffdf9, color-mix(in srgb, var(--founder-b-accent-soft) 58%, #fff)) !important;
  box-shadow: var(--founder-b-shadow);
}

body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) :is(.role-flip-grid, .role-step-grid, .role-proof-grid) {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
  gap: clamp(14px, 1.7vw, 24px) !important;
}

body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .role-dashboard-shell {
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr) !important;
  gap: clamp(24px, 4vw, 64px) !important;
  align-items: center;
}

body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .role-dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .capability-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .capability-item {
  min-height: 132px;
  padding: 22px !important;
  border-radius: 18px;
  background: #fff !important;
  box-shadow: 0 12px 30px rgba(58, 35, 23, .07);
}

/* Pricing: four clearly coded professional plans and full-width detail blocks. */
body.page-public.route-pricing :is(.pricing-plans-section, .pricing-compare-section, .pricing-payment-section, .pricing-faq-section-final) {
  padding: clamp(28px, 4vw, 60px) !important;
  box-shadow: var(--founder-b-shadow);
}

body.page-public.route-pricing .pricing-card-grid-professional {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(14px, 1.4vw, 22px) !important;
}

body.page-public.route-pricing .pricing-plan-card {
  border-width: 1px !important;
  border-radius: 24px !important;
  box-shadow: 0 18px 38px rgba(55, 31, 20, .1) !important;
}

body.page-public.route-pricing .pricing-plan-card:nth-child(1) { background: linear-gradient(155deg, #fff3ef, #f7d9d3) !important; }
body.page-public.route-pricing .pricing-plan-card:nth-child(2) { background: linear-gradient(155deg, #effaf4, #cfe9dc) !important; }
body.page-public.route-pricing .pricing-plan-card:nth-child(3) { background: linear-gradient(155deg, #f3f2ff, #dcd8f3) !important; }
body.page-public.route-pricing .pricing-plan-card:nth-child(4) { background: linear-gradient(155deg, #fff8e8, #f0ddb0) !important; }

body.page-public.route-pricing .pricing-role-icon {
  width: 54px !important;
  height: 54px !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .82) !important;
  box-shadow: 0 8px 20px rgba(67, 37, 23, .09);
}

body.page-public.route-pricing .pricing-billing-points {
  display: block !important;
  margin-top: 22px;
  border: 1px solid rgba(141, 46, 67, .18);
  border-radius: 18px;
  background: #fffaf3;
}

body.page-public.route-pricing .pricing-billing-points summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 14px 18px;
  color: #8d2e43;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

body.page-public.route-pricing .pricing-billing-points summary::-webkit-details-marker { display: none; }
body.page-public.route-pricing .pricing-billing-points[open] summary span { transform: rotate(180deg); }
body.page-public.route-pricing .pricing-billing-points ul { padding: 0 22px 20px 42px !important; }

/* Directory conversion panels with complete, non-cropped images. */
.founder-b-directory-prompt {
  display: grid !important;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr) !important;
  grid-template-areas: "copy visual" "actions visual";
  gap: 18px clamp(24px, 3vw, 52px) !important;
  width: 100% !important;
  padding: clamp(24px, 3vw, 48px) !important;
  overflow: hidden;
  border-radius: 28px !important;
}

.founder-b-directory-prompt.is-artist { background: linear-gradient(135deg, #fff4ef, #f0cfc5) !important; }
.founder-b-directory-prompt.is-tutor { background: linear-gradient(135deg, #effaf5, #cfe8dc) !important; }
.founder-b-directory-copy { grid-area: copy; align-self: end; }
.founder-b-directory-prompt .discovery-v1-actions { grid-area: actions; align-self: start; }
.founder-b-directory-visual { grid-area: visual; margin: 0; min-width: 0; display: grid; place-items: center; }
.founder-b-directory-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 430px;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(50, 31, 21, .12);
}

body.page-public.route-products .founder-b-supplier-cta {
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr) !important;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #fff9e9, #ecd9aa) !important;
  box-shadow: var(--founder-b-shadow);
}

.founder-b-supplier-visual { margin: 0; display: grid; place-items: center; }
.founder-b-supplier-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 430px;
  object-fit: contain;
  border-radius: 22px;
}

/* Support and legal cards stay readable; no mirrored back-face text. */
body.page-public :is(.support-flip-card, .support-flip-inner) {
  min-height: 0 !important;
  height: auto !important;
}

body.page-public .support-flip-inner,
body.page-public .support-flip-card:is(:hover, :focus-within) .support-flip-inner {
  display: block !important;
  transform: none !important;
}

body.page-public .support-flip-face {
  position: static !important;
  min-height: 100% !important;
  transform: none !important;
  backface-visibility: visible !important;
}

body.page-public .support-flip-back { display: none !important; }
body.page-public .support-flip-front small { display: block; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(80, 52, 37, .15); color: #5f4a3e; line-height: 1.48; }

body.page-public:is(.route-contact, .route-trust-safety, .route-quality-guidelines, .route-whatsapp, .route-legal) :is(
  .support-action-section,
  .support-route-section,
  .support-report-section,
  .support-detail-section,
  .support-role-section,
  .support-contact-shell,
  .support-faq-section,
  .legal-support-focus-section,
  .legal-reminder-section,
  .legal-faq-section,
  .legal-policy-directory-section,
  .legal-support-route-section,
  .readable,
  .compact-section
) {
  padding: clamp(28px, 4vw, 58px) !important;
  border: 1px solid rgba(126, 91, 66, .14);
  background: linear-gradient(135deg, #fffdf9, #f7eee4) !important;
  box-shadow: var(--founder-b-shadow);
}

body.page-public.route-contact .support-contact-shell {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr) !important;
  align-items: stretch;
}

body.page-public.route-contact :is(.support-form-card, .support-direct-panel) {
  width: 100% !important;
  max-width: none !important;
}

body.page-public.route-legal .readable {
  width: var(--founder-b-page-width) !important;
  max-width: none !important;
}

body.page-public.route-legal .readable p {
  max-width: 100ch;
  color: #60483b;
}

body.page-public.route-legal .legal-reminder-section {
  grid-template-columns: minmax(0, 1fr) minmax(480px, 1fr) !important;
  align-items: center;
}

body.page-public.route-legal .legal-support-reason-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.page-public.route-legal .feature-stack,
body.page-public.route-legal .legal-policy-directory-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
}

/* City pages inherit the same full-width system and a clear local hero. */
body.page-public.route-cities :is(.section, .city-map-section) {
  padding: clamp(28px, 4vw, 58px) !important;
  border: 1px solid rgba(143, 87, 54, .14);
  background: linear-gradient(135deg, #fffdf8, #f5eadc);
  box-shadow: var(--founder-b-shadow);
}

body.page-public.route-cities .city-hero-title span,
body.page-public.route-cities .city-hero-copy span {
  display: inline !important;
}

body.page-public.route-cities .city-hero-title span + span::before,
body.page-public.route-cities .city-hero-copy span + span::before { content: " "; }

body.page-public.route-cities .city-map-section,
body.page-public.route-cities .section.split {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

/* FAQ answers use one consistent, clearly distinct answer tone. */
body.page-public:is(
  .route-about,
  .route-how-it-works,
  .route-for-customers,
  .route-for-artists,
  .route-for-tutors,
  .route-for-students,
  .route-for-vendors,
  .route-pricing,
  .route-trust-safety,
  .route-quality-guidelines,
  .route-whatsapp,
  .route-contact,
  .route-legal,
  .route-cities,
  .route-products,
  .route-gallery,
  .route-artists,
  .route-tutors
) .faq-list details > p {
  color: #7a3e2b !important;
  background: #fff7ec;
  border-radius: 0 0 12px 12px;
}

/* Compact authentication entry pages without changing form logic. */
body.page-auth:is(.route-login, .route-register) :is(.auth-command-wrap, .auth-split) {
  width: min(1080px, calc(100vw - 24px)) !important;
  max-width: min(1080px, calc(100vw - 24px)) !important;
  margin-block: 16px !important;
}

body.route-login.page-auth .auth-login-single .auth-card {
  width: min(470px, 100%) !important;
  padding: 24px !important;
  gap: 12px !important;
  border-radius: 22px !important;
}

body.route-register.page-auth .auth-single .auth-card {
  width: min(920px, 100%) !important;
  padding: clamp(20px, 3vw, 32px) !important;
  gap: 14px !important;
  border-radius: 24px !important;
}

body.route-register.page-auth :is(.register-role-grid, .provider-type-grid, .register-plan-grid) {
  gap: 10px !important;
}

body.route-register.page-auth .register-role-card {
  min-height: 88px !important;
  padding: 12px !important;
}

body.page-auth:is(.route-login, .route-register) :is(input, select) {
  min-height: 46px !important;
}

@media (max-width: 1100px) {
  body.page-public.route-pricing .pricing-card-grid-professional {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .founder-b-directory-prompt,
  body.page-public.route-products .founder-b-supplier-cta,
  body.page-public.route-legal .legal-reminder-section {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 760px) {
  body.page-public:is(
    .route-about,
    .route-how-it-works,
    .route-for-customers,
    .route-for-artists,
    .route-for-tutors,
    .route-for-students,
    .route-for-vendors,
    .route-pricing,
    .route-trust-safety,
    .route-quality-guidelines,
    .route-whatsapp,
    .route-contact,
    .route-legal,
    .route-cities
  ) {
    --founder-b-page-width: calc(100% - 16px);
  }

  body.page-public:is(
    .route-for-customers,
    .route-for-artists,
    .route-for-tutors,
    .route-for-students,
    .route-for-vendors,
    .route-pricing,
    .route-contact,
    .route-cities
  ) :is(.page-hero, .pricing-page-hero, .support-page-hero, .cities-hero, .city-page-hero) {
    min-height: 0;
    padding: 24px 18px 28px !important;
    background-image: linear-gradient(90deg, rgba(255, 250, 243, .96), rgba(255, 250, 243, .82)), var(--founder-b-mobile-image, none) !important;
    background-size: cover, auto 100% !important;
  }

  body.page-public.route-for-customers .role-page-hero { --founder-b-mobile-image: url("../img/founder-section-b/customer-hero-v1.webp"); }
  body.page-public.route-for-artists .role-page-hero { --founder-b-mobile-image: url("../img/founder-section-b/artist-hero-v1.webp"); }
  body.page-public.route-for-tutors .role-page-hero { --founder-b-mobile-image: url("../img/founder-section-b/tutor-hero-v1.webp"); }
  body.page-public.route-for-students .role-page-hero { --founder-b-mobile-image: url("../img/founder-section-b/student-hero-v1.webp"); }
  body.page-public.route-for-vendors .role-page-hero { --founder-b-mobile-image: url("../img/founder-section-b/vendor-hero-v1.webp"); }
  body.page-public.route-pricing .pricing-page-hero { --founder-b-mobile-image: url("../img/founder-section-b/pricing-hero-v1.webp"); }
  body.page-public.route-contact .support-page-hero { --founder-b-mobile-image: url("../img/founder-section-b/contact-hero-v1.webp"); }
  body.page-public.route-cities .cities-hero { --founder-b-mobile-image: url("../img/founder-section-b/city-hero-v1.webp"); }
  body.page-public.route-cities .city-page-hero { --founder-b-mobile-image: none; }

  body.page-public.route-legal .legal-page-hero {
    min-height: 0;
    padding: 24px 18px 28px !important;
    background-size: cover !important;
  }

  body.page-public:is(
    .route-for-customers,
    .route-for-artists,
    .route-for-tutors,
    .route-for-students,
    .route-for-vendors,
    .route-pricing,
    .route-contact,
    .route-cities
  ) :is(.page-hero h1, .pricing-page-hero h1, .cities-hero h1, .city-page-hero h1) {
    max-width: none !important;
    font-size: clamp(1.72rem, 8vw, 2.55rem) !important;
    line-height: 1.02 !important;
  }

  body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .role-page-hero :is(.role-hero-overview, .hero-actions),
  body.page-public.route-contact .support-page-hero > p:not(.eyebrow),
  body.page-public.route-cities :is(.cities-hero, .city-page-hero) :is(.city-hero-search, .hero-search, .hero-actions, .city-nearby-suggestions),
  body.page-public.route-cities :is(.cities-hero, .city-page-hero) > p:not(.eyebrow) {
    width: 100% !important;
  }

  body.page-public.route-pricing .page-hero.pricing-page-hero.pricing-hero-final h1 {
    max-width: 100% !important;
    font-size: clamp(1.72rem, 8vw, 2.55rem) !important;
    white-space: normal !important;
  }

  body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) :is(.role-experience-section, .role-workflow-section, .role-dashboard-preview-section, .role-proof-section, .role-practice-section, .role-capability-section, .role-faq-section, .role-final-cta),
  body.page-public.route-pricing :is(.pricing-plans-section, .pricing-compare-section, .pricing-payment-section, .pricing-faq-section-final),
  body.page-public:is(.route-contact, .route-trust-safety, .route-quality-guidelines, .route-whatsapp, .route-legal) :is(.support-action-section, .support-route-section, .support-report-section, .support-detail-section, .support-role-section, .support-contact-shell, .support-faq-section, .legal-support-focus-section, .legal-reminder-section, .legal-faq-section, .legal-policy-directory-section, .legal-support-route-section, .readable, .compact-section),
  body.page-public.route-cities :is(.section, .city-map-section) {
    padding: 22px 16px !important;
  }

  body.page-public.route-pricing .pricing-card-grid-professional,
  body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) :is(.role-dashboard-shell, .role-dashboard-grid, .capability-grid),
  body.page-public.route-contact .support-contact-shell,
  body.page-public.route-legal :is(.legal-reminder-section, .legal-support-reason-grid),
  body.page-public.route-cities :is(.city-map-section, .section.split),
  .founder-b-directory-prompt,
  body.page-public.route-products .founder-b-supplier-cta {
    grid-template-columns: 1fr !important;
  }

  .founder-b-directory-prompt {
    grid-template-areas: "copy" "visual" "actions";
    padding: 18px !important;
  }

  .founder-b-directory-visual img,
  .founder-b-supplier-visual img { max-height: 320px; }

  body.page-public.route-legal .legal-policy-meta {
    display: grid;
    gap: 4px;
  }

  body.page-auth:is(.route-login, .route-register) :is(.auth-command-wrap, .auth-split) {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
  }

  body.route-login.page-auth .auth-login-single .auth-card,
  body.route-register.page-auth .auth-single .auth-card {
    padding: 18px 14px !important;
    border-radius: 18px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-public.route-pricing .pricing-billing-points summary span { transition: none; }
}

/* Final precedence guard: legacy route rules must not recreate narrow page islands. */
html body.page-public:is(
  .route-about,
  .route-how-it-works,
  .route-for-customers,
  .route-for-artists,
  .route-for-tutors,
  .route-for-students,
  .route-for-vendors,
  .route-pricing,
  .route-trust-safety,
  .route-quality-guidelines,
  .route-whatsapp,
  .route-contact,
  .route-legal,
  .route-cities
) main > :is(.page-hero, .section, .founder-section-b-journey, .u9-detail-journey) {
  width: var(--founder-b-page-width) !important;
  max-width: none !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

html body.page-public.route-legal main > :is(.section.readable, .section.legal-reminder-section),
html body.page-public.route-contact main > .u9-detail-journey {
  width: var(--founder-b-page-width) !important;
  max-width: none !important;
}

html body.phase1-foundation.u2-page-composition.page-public:is(
  .route-about,
  .route-how-it-works,
  .route-for-customers,
  .route-for-artists,
  .route-for-tutors,
  .route-for-students,
  .route-for-vendors,
  .route-pricing,
  .route-trust-safety,
  .route-quality-guidelines,
  .route-whatsapp,
  .route-contact,
  .route-legal,
  .route-cities
) main.app-main > :is(.page-hero, .section, .founder-section-b-journey, .u9-detail-journey) {
  width: var(--founder-b-page-width) !important;
  max-width: none !important;
}

@media (max-width: 760px) {
  html body.page-public:is(
    .route-about,
    .route-how-it-works,
    .route-for-customers,
    .route-for-artists,
    .route-for-tutors,
    .route-for-students,
    .route-for-vendors,
    .route-pricing,
    .route-trust-safety,
    .route-quality-guidelines,
    .route-whatsapp,
    .route-contact,
    .route-legal,
    .route-cities
  ) main :is(.section-head h2, .section > h2, .centered-head h2, .role-dashboard-copy h2, .legal-policy-directory-copy h2, .legal-support-route-copy h2) {
    font-size: clamp(1.22rem, 5.3vw, 1.46rem) !important;
    line-height: 1.04 !important;
    text-wrap: balance;
  }

  html body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .page-hero.role-page-hero h1 {
    font-size: clamp(1.4rem, 6.1vw, 1.62rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -.025em !important;
  }

  html body.page-public.route-cities :is(.cities-hero, .city-page-hero) h1 {
    font-size: clamp(1.28rem, 5.8vw, 1.48rem) !important;
    line-height: 1.06 !important;
  }

  html body.phase1-foundation.u2-page-composition.page-public.route-cities main.app-main .cities-hero .city-hero-title {
    font-size: clamp(1.28rem, 5.5vw, 1.38rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -.02em !important;
  }

  html body.phase1-foundation.u2-page-composition.page-public.route-gallery main.app-main .marketplace-faq-section .centered-head h2 {
    font-size: clamp(1.16rem, 5vw, 1.32rem) !important;
    line-height: 1.04 !important;
  }
}

/* Recording follow-up precedence guard. */
html body.page-public:is(.route-artists, .route-tutors, .route-products, .route-gallery, .route-requests) main.app-main > :is(.page-hero, .section, .discovery-v1-directory-heading, .discovery-v1-directory-followup, .discovery-v1-directory-faq) {
  width: calc(100% - clamp(20px, 3.2vw, 58px)) !important;
  max-width: none !important;
  margin-inline: auto !important;
}

html body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .role-dashboard-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

html body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .role-dashboard-shell {
  grid-template-columns: 1fr !important;
  gap: 24px !important;
}
html body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .role-dashboard-copy {
  max-width: none !important;
  text-align: center !important;
}
html body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .role-dashboard-copy h2 {
  white-space: nowrap !important;
}

html body.page-public .support-flip-card {
  min-height: clamp(270px, 20vw, 330px) !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  perspective: 1200px !important;
}

html body.page-public .support-flip-inner,
html body.page-public .support-flip-card:is(:hover, :focus-visible, .is-flipped) .support-flip-inner {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: inherit !important;
  transform-style: preserve-3d !important;
  transition: transform .68s cubic-bezier(.2, .72, .22, 1) !important;
}

html body.page-public .support-flip-card:is(:hover, :focus-visible, .is-flipped) .support-flip-inner {
  transform: rotateY(180deg) !important;
}

html body.page-public .support-flip-face {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  align-content: center !important;
  justify-items: center !important;
  min-height: inherit !important;
  padding: clamp(22px, 2.2vw, 34px) !important;
  border: 1px solid rgba(112, 70, 48, .16) !important;
  border-radius: 22px !important;
  backface-visibility: hidden !important;
  overflow: hidden !important;
  text-align: center !important;
}

html body.page-public .support-flip-front {
  transform: rotateY(0deg) !important;
  background: rgba(255, 255, 255, .92) !important;
}

html body.page-public .support-flip-back {
  display: grid !important;
  transform: rotateY(180deg) !important;
  backface-visibility: hidden !important;
  background-image: linear-gradient(rgba(25,17,14,.04), rgba(25,17,14,.4)), url("../img/founder-section-b/support-card-atlas-v3.webp") !important;
  background-repeat: no-repeat !important;
  background-position: var(--visual-x, 50%) var(--visual-y, 0%) !important;
  background-size: 300% 300% !important;
}

html body.page-public .legal-visual-flip-card .support-flip-back {
  background-image: linear-gradient(rgba(25,17,14,.04), rgba(25,17,14,.4)), url("../img/founder-section-b/legal-card-atlas-v3.webp") !important;
}

html body.page-public .support-flip-card[data-visual-flip] .support-flip-back {
  display: grid !important;
  transform: rotateY(180deg) !important;
  backface-visibility: hidden !important;
  background-image: linear-gradient(rgba(25,17,14,.04), rgba(25,17,14,.4)), url("../img/founder-section-b/support-card-atlas-v3.webp") !important;
  background-repeat: no-repeat !important;
  background-position: var(--visual-x, 50%) var(--visual-y, 0%) !important;
  background-size: 300% 300% !important;
}
html body.page-public .support-flip-card[data-visual-flip] {
  min-height: clamp(270px, 20vw, 330px) !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  perspective: 1200px !important;
}
html body.page-public .support-flip-card[data-visual-flip] .support-flip-inner {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: inherit !important;
  transform-style: preserve-3d !important;
  transition: transform .68s cubic-bezier(.2, .72, .22, 1) !important;
}
html body.page-public .support-flip-card[data-visual-flip] .support-flip-face {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  min-height: 100% !important;
  transform-style: preserve-3d !important;
  backface-visibility: hidden !important;
}
html body.page-public .support-flip-card[data-visual-flip] .support-flip-front {
  transform: rotateY(0deg) !important;
  backface-visibility: hidden !important;
}
html body.page-public .support-flip-card.legal-visual-flip-card[data-visual-flip] .support-flip-back {
  background-image: linear-gradient(rgba(25,17,14,.04), rgba(25,17,14,.4)), url("../img/founder-section-b/legal-card-atlas-v3.webp") !important;
}

html body.page-public.route-contact .support-contact-shell {
  grid-template-columns: minmax(0, .82fr) minmax(360px, 1.18fr) !important;
}

html body.page-public.route-pricing .pricing-billing-points {
  width: 100% !important;
  max-width: none !important;
}

html body.page-public.route-pricing .pricing-step-grid .pricing-step-flip[data-visual-flip] > .pricing-step-flip-inner {
  position: relative !important;
  display: grid !important;
  width: 100% !important;
  height: 100% !important;
  min-height: inherit !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  transform-style: preserve-3d !important;
  backface-visibility: visible !important;
}
html body.page-public.route-pricing .pricing-step-grid .pricing-step-flip[data-visual-flip] > .pricing-step-flip-inner > .pricing-step-flip-face {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  border: 1px solid rgba(141, 46, 67, .18) !important;
  border-radius: 20px !important;
  backface-visibility: hidden !important;
}
html body.page-public.route-pricing .pricing-step-grid .pricing-step-flip[data-visual-flip] > .pricing-step-flip-inner > .pricing-step-flip-front {
  transform: rotateY(0deg) !important;
  background: rgba(255, 255, 255, .92) !important;
}
html body.page-public.route-pricing .pricing-step-grid .pricing-step-flip[data-visual-flip] > .pricing-step-flip-inner > .pricing-step-flip-back {
  transform: rotateY(180deg) !important;
  background-image: linear-gradient(rgba(35,18,14,.03), rgba(35,18,14,.42)), url("../img/founder-section-b/pricing-billing-atlas-v3.webp") !important;
  background-repeat: no-repeat !important;
  background-position: var(--visual-x, 50%) center !important;
  background-size: 400% 100% !important;
}

html body.page-public.route-pricing .pricing-page-hero {
  background-image: linear-gradient(90deg, rgba(255,250,243,.24), rgba(255,250,243,.9) 35%, rgba(255,250,243,.96) 50%, rgba(255,250,243,.9) 65%, rgba(255,250,243,.2)), url("../img/founder-section-b/pricing-hero-left-v2.webp"), url("../img/founder-section-b/pricing-hero-v1.webp") !important;
  background-position: center, left center, right center !important;
  background-size: cover, auto 100%, auto 100% !important;
}

html body.page-public.route-contact .support-page-hero {
  align-items: center !important;
  text-align: center !important;
  background-image: linear-gradient(90deg, rgba(247,251,255,.22), rgba(247,251,255,.9) 35%, rgba(247,251,255,.96) 50%, rgba(247,251,255,.88) 65%, rgba(247,251,255,.18)), url("../img/founder-section-b/contact-hero-left-v3.webp"), url("../img/founder-section-b/contact-hero-v1.webp") !important;
  background-position: center, left center, right center !important;
  background-size: cover, auto 100%, auto 100% !important;
}

html body.page-public:is(.route-trust-safety, .route-quality-guidelines) .role-page-hero {
  min-height: clamp(390px, 38vw, 560px) !important;
  align-items: center !important;
  text-align: center !important;
  background-image: linear-gradient(90deg, rgba(255,250,243,.32), rgba(255,250,243,.9) 33%, rgba(255,250,243,.95) 50%, rgba(255,250,243,.88) 67%, rgba(255,250,243,.28)), url("../img/founder-section-b/support-hero-atlas-v3.webp") !important;
  background-repeat: no-repeat !important;
  background-size: cover, 200% 100% !important;
}

html body.page-public.route-trust-safety .role-page-hero { background-position: center, left center !important; }
html body.page-public.route-quality-guidelines .role-page-hero { background-position: center, right center !important; }
html body.page-public:is(.route-trust-safety, .route-quality-guidelines) .role-page-hero::after { display: none !important; }

html body.page-public.route-legal .legal-page-hero--terms { background-image: linear-gradient(rgba(255,250,243,.38), rgba(255,250,243,.54)), url("../img/founder-section-b/legal-terms-hero-v2.webp") !important; }
html body.page-public.route-legal .legal-page-hero--privacy { background-image: linear-gradient(rgba(250,252,247,.38), rgba(250,252,247,.54)), url("../img/founder-section-b/legal-privacy-hero-v2.webp") !important; }
html body.page-public.route-legal .legal-page-hero--cookies { background-image: linear-gradient(rgba(255,250,243,.36), rgba(255,250,243,.52)), url("../img/founder-section-b/legal-cookies-hero-v2.webp") !important; }
html body.page-public.route-legal .legal-page-hero--refunds { background-image: linear-gradient(rgba(255,248,244,.38), rgba(255,248,244,.54)), url("../img/founder-section-b/legal-refunds-hero-v2.webp") !important; }
html body.page-public.route-legal .legal-page-hero--shipping { background-image: linear-gradient(rgba(255,251,244,.36), rgba(255,251,244,.52)), url("../img/founder-section-b/legal-shipping-hero-v2.webp") !important; }
html body.page-public.route-legal .legal-page-hero--returns { background-image: linear-gradient(rgba(255,251,244,.36), rgba(255,251,244,.52)), url("../img/founder-section-b/legal-returns-hero-v2.webp") !important; }
html body.page-public.route-legal .legal-page-hero--content { background-image: linear-gradient(rgba(255,250,243,.38), rgba(255,250,243,.54)), url("../img/founder-section-b/legal-content-hero-v2.webp") !important; }
html body.page-public.route-legal .legal-page-hero--community { background-image: linear-gradient(rgba(255,250,243,.38), rgba(255,250,243,.54)), url("../img/founder-section-b/legal-community-hero-v2.webp") !important; }
html body.page-public.route-legal .legal-page-hero--copyright { background-image: linear-gradient(rgba(255,250,243,.38), rgba(255,250,243,.54)), url("../img/founder-section-b/legal-copyright-hero-v2.webp") !important; }
html body.page-public.route-legal .legal-page-hero--data-deletion { background-image: linear-gradient(rgba(248,251,250,.38), rgba(248,251,250,.54)), url("../img/founder-section-b/legal-data-deletion-hero-v2.webp") !important; }

html body.route-login.page-auth .auth-login-single {
  display: grid !important;
  grid-template-columns: minmax(390px, .8fr) minmax(0, 1.2fr) !important;
  align-items: stretch !important;
  width: min(1180px, calc(100vw - 32px)) !important;
  max-width: min(1180px, calc(100vw - 32px)) !important;
}

html body.route-login.page-auth .auth-login-single .auth-card {
  width: 100% !important;
  max-width: none !important;
}

html body.page-public.route-cities .city-india-map-preview {
  position: relative !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 10 !important;
  background-image: linear-gradient(rgba(255,255,255,.08), rgba(255,255,255,.08)), url("../img/founder-section-b/india-city-map-v3.webp") !important;
  background-position: center !important;
  background-size: cover !important;
}

html body.page-public.route-cities .city-india-map-preview .city-map-marker {
  left: var(--city-pin-x) !important;
  top: var(--city-pin-y) !important;
  transform: translate(-50%, -100%) !important;
}

html body.page-public.route-cities .city-india-map-preview .city-map-caption {
  inset: auto 18px 18px auto !important;
  width: auto !important;
  height: 88px !important;
  block-size: 88px !important;
  max-height: 88px !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  align-self: auto !important;
}

html body.page-public.route-cities .city-india-map-preview .city-map-caption > :is(strong, small) {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  transform: none !important;
}

@media (max-width: 900px) {
  html body.route-login.page-auth .auth-login-single { grid-template-columns: 1fr !important; }
  html body.route-login.page-auth .auth-page-copy { white-space: normal !important; }
}

@media (max-width: 760px) {
  html body.page-public:is(.route-artists, .route-tutors, .route-products, .route-gallery, .route-requests) main.app-main > :is(.page-hero, .section, .discovery-v1-directory-heading, .discovery-v1-directory-followup, .discovery-v1-directory-faq) {
    width: calc(100% - 16px) !important;
  }
  html body.page-public:is(.route-for-customers, .route-for-artists, .route-for-tutors, .route-for-students, .route-for-vendors) .role-dashboard-grid,
  html body.route-register.page-auth :is(.register-identity-grid, .register-password-grid, .phone-form-grid, .compact-form-grid),
  html body.route-register.page-auth .u4-register-journey ol { grid-template-columns: 1fr !important; }
  html body.page-public.route-pricing .pricing-page-hero,
  html body.page-public.route-contact .support-page-hero,
  html body.page-public:is(.route-trust-safety, .route-quality-guidelines) .role-page-hero {
    background-image: linear-gradient(rgba(255,250,243,.72), rgba(255,250,243,.84)), var(--founder-b-mobile-image, none) !important;
    background-position: center !important;
    background-size: cover !important;
  }
  html body.route-login.page-auth .auth-login-single {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
  }
  html body.page-public.route-cities .city-india-map-preview { aspect-ratio: 4 / 3 !important; }
}

html body.route-register.page-auth .auth-register-single .auth-card {
  padding: 20px !important;
  gap: 9px !important;
}
html body.route-register.page-auth .auth-form-brand {
  min-height: 0 !important;
  padding: 6px 12px !important;
}
html body.route-register.page-auth .auth-form-brand img {
  width: auto !important;
  height: 42px !important;
}
html body.route-register.page-auth .register-role-card {
  min-height: 76px !important;
  padding: 8px !important;
}
html body.route-register.page-auth :is(input, select) { min-height: 44px !important; }
html body.route-register.page-auth .auth-entry-links { min-height: 0 !important; padding-top: 8px !important; }

/* Keep the desktop registration journey inside one working viewport while
   preserving the roomier stacked mobile form below 760px. */
@media (min-width: 761px) {
  html body.route-register.page-auth .auth-register-single {
    padding-block: 8px 14px !important;
  }

  html body.route-register.page-auth .auth-register-single .auth-card {
    gap: 6px !important;
    padding: 14px 18px !important;
  }

  html body.route-register.page-auth .auth-register-single .auth-form-brand {
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 3px 10px !important;
  }

  html body.route-register.page-auth .auth-form-brand img {
    height: 34px !important;
  }

  html body.route-register.page-auth .auth-page-title {
    margin: 0 !important;
    font-size: 28px !important;
    line-height: 1.05 !important;
  }

  html body.route-register.page-auth .auth-page-copy {
    max-width: 760px !important;
    margin: 0 auto !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  html body.route-register.page-auth .register-role-picker {
    gap: 5px !important;
    margin: 0 !important;
  }

  html body.route-register.page-auth .auth-section-title {
    font-size: 11px !important;
    line-height: 1.2 !important;
  }

  html body.route-register.page-auth .register-role-grid {
    gap: 8px !important;
  }

  html body.route-register.page-auth .register-role-card {
    min-height: 58px !important;
    gap: 3px !important;
    padding: 5px 8px !important;
  }

  html body.route-register.page-auth .role-card-icon {
    width: 32px !important;
    height: 32px !important;
  }

  html body.route-register.page-auth .register-role-card strong {
    font-size: 12px !important;
  }

  html body.route-register.page-auth .compact-form-grid {
    gap: 10px !important;
  }

  html body.route-register.page-auth .auth-card label {
    gap: 3px !important;
    font-size: 12px !important;
    line-height: 1.15 !important;
  }

  html body.route-register.page-auth .auth-card :is(input, select) {
    height: 38px !important;
    min-height: 38px !important;
    margin-top: 3px !important;
    padding-block: 5px !important;
    font-size: 14px !important;
  }

  html body.route-register.page-auth .password-input-wrap {
    margin-top: 3px !important;
  }

  html body.route-register.page-auth .password-input-wrap input {
    margin-top: 0 !important;
  }

  html body.route-register.page-auth .password-toggle {
    width: 34px !important;
    height: 32px !important;
    right: 3px !important;
  }

  html body.route-register.page-auth .register-consent-check {
    grid-template-columns: 18px minmax(0, 1fr) !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 7px 9px !important;
    font-size: 11px !important;
    line-height: 1.32 !important;
  }

  html body.route-register.page-auth .register-consent-check input {
    width: 17px !important;
    height: 17px !important;
    min-height: 17px !important;
    margin: 0 !important;
  }

  html body.route-register.page-auth .auth-card > .button {
    min-height: 40px !important;
    padding-block: 7px !important;
  }

  html body.route-register.page-auth .auth-card > p:last-of-type {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
  }

  html body.route-register.page-auth .auth-entry-links {
    min-height: 32px !important;
    padding-top: 2px !important;
  }

  html body.route-register.page-auth .auth-entry-links a {
    min-height: 30px !important;
    padding-inline: 12px !important;
    font-size: 11px !important;
  }
}

/* v4 final cascade: these rules intentionally follow all historical Section B layers. */
html body.page-public:is(.route-for-customers,.route-for-artists,.route-for-tutors,.route-for-students,.route-for-vendors) .role-experience-section,
html body.page-public:is(.route-contact,.route-trust-safety,.route-quality-guidelines) :is(.support-role-section,.support-action-section),
html body.page-public.route-pricing .pricing-payment-section {
  display: grid !important;
  grid-template-columns: minmax(320px,.85fr) minmax(0,1.15fr) !important;
  align-items: stretch !important;
  gap: 24px !important;
}

html body.page-public:is(.route-for-customers,.route-for-artists,.route-for-tutors,.route-for-students,.route-for-vendors) .role-experience-section > .section-head,
html body.page-public:is(.route-contact,.route-trust-safety,.route-quality-guidelines) :is(.support-role-section,.support-action-section) > .section-head,
html body.page-public.route-pricing .pricing-payment-section > :is(.section-head,.pricing-billing-points) { grid-column: 1 / -1 !important; }

html body.page-public:is(.route-for-customers,.route-for-artists,.route-for-tutors,.route-for-students,.route-for-vendors) .role-experience-section > .role-story-media,
html body.page-public:is(.route-contact,.route-trust-safety,.route-quality-guidelines) :is(.support-role-section,.support-action-section) > .support-story-media,
html body.page-public.route-pricing .pricing-payment-section > .pricing-access-media { grid-column: 1 !important; }

html body.page-public:is(.route-for-customers,.route-for-artists,.route-for-tutors,.route-for-students,.route-for-vendors) .role-experience-section > .role-flip-grid,
html body.page-public:is(.route-contact,.route-trust-safety,.route-quality-guidelines) :is(.support-role-section,.support-action-section) > .support-flip-grid,
html body.page-public.route-pricing .pricing-payment-section > .pricing-step-grid { grid-column: 2 !important; }

html body.page-public :is(.role-story-media,.support-story-media,.pricing-access-media) {
  display: block !important;
  min-width: 0 !important;
  height: max-content !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(126,44,49,.18) !important;
  border-radius: 24px !important;
  background: #f8eee8 !important;
  box-shadow: 0 18px 44px rgba(66,35,25,.12) !important;
}

html body.page-public :is(.role-story-media,.support-story-media,.pricing-access-media) img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 2 !important;
  object-fit: contain !important;
  object-position: center !important;
}

html body.page-public .role-path-card-static {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 54px minmax(0,1fr) !important;
  grid-template-rows: auto auto !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 22px !important;
  overflow: visible !important;
  transform: none !important;
  perspective: none !important;
  color: #2d1c17 !important;
  text-align: left !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg,#fff,#fcefe8) !important;
}

html body.page-public .role-path-card-static .role-feature-icon { grid-row: 1 / span 2 !important; }
html body.page-public .role-path-card-static small { display: block !important; margin-top: 5px !important; color: #684b3f !important; line-height: 1.45 !important; }

html body.page-public :is(.role-step-card-static,.role-proof-card-static,.support-action-card-static),
html body.page-public.route-pricing .pricing-step-card-static {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 230px !important;
  height: auto !important;
  padding: 24px !important;
  overflow: visible !important;
  transform: none !important;
  perspective: none !important;
  color: #2d1c17 !important;
  border: 1px solid rgba(143,47,53,.16) !important;
  border-radius: 20px !important;
  background: linear-gradient(145deg,#fff,#f8eee6) !important;
  box-shadow: 0 15px 36px rgba(61,33,24,.08) !important;
}

html body.page-public .support-action-card-static { justify-content: flex-start !important; text-align: left !important; }
html body.page-public .support-action-card-static > .support-card-icon { position: static !important; align-self: flex-start !important; margin: 0 0 14px !important; transform: none !important; }
html body.page-public .support-action-card-static > h3 { position: static !important; margin: 0 0 10px !important; transform: none !important; }
html body.page-public .support-action-card-static > p { position: static !important; margin: 0 0 14px !important; transform: none !important; }
html body.page-public .support-action-card-static small { display: block !important; margin-top: auto !important; padding-top: 14px !important; color: #664c40 !important; line-height: 1.45 !important; border-top: 1px solid rgba(95,63,47,.14) !important; }

html body.page-public.route-pricing .pricing-step-card-static { align-items: center !important; justify-content: center !important; text-align: center !important; background: rgba(255,255,255,.94) !important; }
html body.page-public.route-pricing .pricing-step-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 16px !important; }
html body.page-public.route-pricing .pricing-step-card-static .pricing-step-icon { position: relative !important; display: grid !important; place-items: center !important; width: 64px !important; height: 64px !important; margin-bottom: 14px !important; color: #fff !important; border-radius: 50% !important; background: #b40012 !important; }
html body.page-public.route-pricing .pricing-step-card-static .pricing-step-icon svg { width: 28px !important; height: 28px !important; }
html body.page-public.route-pricing .pricing-step-card-static .pricing-step-icon b { position: absolute !important; top: -5px !important; right: -5px !important; display: grid !important; place-items: center !important; width: 24px !important; height: 24px !important; color: #b40012 !important; border-radius: 50% !important; background: #fff !important; font-size: 12px !important; }
html body.page-public.route-pricing .pricing-step-card-static > small { color: #62493d !important; font-size: 14px !important; line-height: 1.45 !important; }

html body.page-public :is(.faq-list,.pricing-faq-panel) details > p { margin: 0 !important; padding: 18px 22px !important; color: #324f45 !important; background: linear-gradient(135deg,#edf7f2,#f8fcfa) !important; border-top: 1px solid rgba(25,112,88,.16) !important; }

html body.page-auth.route-login .auth-login-single { width: min(1180px,calc(100% - 32px)) !important; max-width: none !important; min-height: 0 !important; margin: 24px auto !important; padding: 24px !important; display: grid !important; grid-template-columns: minmax(420px,.95fr) minmax(0,1.05fr) !important; align-items: center !important; gap: 24px !important; }
html body.page-auth.route-login .auth-login-single .auth-card { width: 100% !important; max-width: 560px !important; margin: 0 auto !important; }
html body.page-auth.route-login .auth-login-visual { display: block !important; align-self: center !important; width: 100% !important; height: auto !important; min-height: 0 !important; margin: 0 !important; overflow: hidden !important; border: 1px solid rgba(143,47,53,.16) !important; border-radius: 24px !important; background: #f7ede6 !important; box-shadow: 0 18px 44px rgba(61,33,24,.1) !important; }
html body.page-auth.route-login .auth-login-visual img { display: block !important; width: 100% !important; height: auto !important; min-height: 0 !important; max-height: none !important; aspect-ratio: 3 / 2 !important; object-fit: contain !important; object-position: center !important; }

@media (max-width: 860px) {
  html body.page-public:is(.route-for-customers,.route-for-artists,.route-for-tutors,.route-for-students,.route-for-vendors) .role-experience-section,
  html body.page-public:is(.route-contact,.route-trust-safety,.route-quality-guidelines) :is(.support-role-section,.support-action-section),
  html body.page-public.route-pricing .pricing-payment-section { grid-template-columns: minmax(0,1fr) !important; gap: 16px !important; }
  html body.page-public:is(.route-for-customers,.route-for-artists,.route-for-tutors,.route-for-students,.route-for-vendors) .role-experience-section > :is(.section-head,.role-story-media,.role-flip-grid),
  html body.page-public:is(.route-contact,.route-trust-safety,.route-quality-guidelines) :is(.support-role-section,.support-action-section) > :is(.section-head,.support-story-media,.support-flip-grid),
  html body.page-public.route-pricing .pricing-payment-section > :is(.section-head,.pricing-access-media,.pricing-step-grid,.pricing-billing-points) { grid-column: 1 !important; }
  html body.page-public.route-pricing .pricing-step-grid { grid-template-columns: minmax(0,1fr) !important; }
  html body.page-public :is(.role-path-card-static,.role-step-card-static,.role-proof-card-static,.support-action-card-static,.pricing-step-card-static) { min-height: 0 !important; }
  html body.page-auth.route-login .auth-login-single { width: calc(100% - 20px) !important; min-height: 0 !important; margin: 10px !important; padding: 10px !important; grid-template-columns: minmax(0,1fr) !important; }
}

/* Founder Phase 1 / Section B PPT follow-up v5.
   The Artist directory CTA is the reference contract: 16px desktop/tablet
   gutters and 8px mobile gutters, with every contained section using the
   available width and every inner grid remaining responsive. */
html body.page-public:is(
  .route-for-customers,.route-for-artists,.route-for-tutors,.route-for-students,.route-for-vendors,
  .route-pricing,.route-cities,.route-contact,.route-trust-safety,.route-quality-guidelines,
  .route-whatsapp,.route-legal,.route-artists,.route-tutors,.route-products,.route-gallery,.route-requests
) main.app-main > :is(.page-hero,.section,.founder-section-b-journey,.discovery-v1-directory-heading,.discovery-v1-directory-followup,.discovery-v1-directory-faq) {
  width: calc(100% - 32px) !important;
  max-width: none !important;
  margin-right: 16px !important;
  margin-left: 16px !important;
}

/* Pricing disclosure: centered label with an independent right-side chevron. */
html body.page-public.route-pricing .pricing-billing-points summary {
  position: relative !important;
  justify-content: center !important;
  padding-right: 52px !important;
  padding-left: 52px !important;
  text-align: center !important;
}
html body.page-public.route-pricing .pricing-billing-points summary > span {
  position: absolute !important;
  right: 20px !important;
}

/* Registration: centered transparent brand, single country source, readable
   provider journey and one complete selected plan at a time. */
html body.route-register.page-auth .auth-register-single {
  width: min(1040px,calc(100% - 32px)) !important;
  max-width: none !important;
  margin-right: auto !important;
  margin-left: auto !important;
}
html body.route-register.page-auth .auth-register-single .auth-card {
  width: 100% !important;
  max-width: none !important;
}
html body.route-register.page-auth .auth-form-brand {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: auto !important;
  min-height: 64px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body.route-register.page-auth .auth-form-brand img {
  width: auto !important;
  height: 58px !important;
  max-width: min(240px,78vw) !important;
  object-fit: contain !important;
}
html body.route-register.page-auth .provider-type-grid {
  display: grid !important;
  grid-template-columns: minmax(280px,480px) !important;
  justify-content: center !important;
}
html body.route-register.page-auth .provider-type-grid > label {
  width: 100% !important;
  text-align: center !important;
}
html body.route-register.page-auth .register-city-grid {
  grid-template-columns: minmax(0,1fr) !important;
}
html body.route-register.page-auth .u4-register-journey {
  display: grid !important;
  gap: 12px !important;
  width: 100% !important;
  padding: 18px !important;
  border: 1px solid rgba(130,45,52,.16) !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg,#fffaf5,#f7eee7) !important;
}
html body.route-register.page-auth .u4-register-journey > div {
  text-align: center !important;
}
html body.route-register.page-auth .u4-register-journey ol {
  display: grid !important;
  grid-template-columns: repeat(5,minmax(0,1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
html body.route-register.page-auth .u4-register-journey li {
  display: grid !important;
  grid-template-columns: 34px minmax(0,1fr) !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  min-width: 0 !important;
  min-height: 82px !important;
  padding: 12px !important;
  border: 1px solid rgba(130,45,52,.12) !important;
  border-radius: 15px !important;
  background: rgba(255,255,255,.9) !important;
}
html body.route-register.page-auth .u4-register-journey li > span {
  grid-row: 1 / span 2 !important;
  display: grid !important;
  place-items: center !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
}
html body.route-register.page-auth .u4-register-journey li > :is(b,small) {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}
html body.route-register.page-auth .register-plan-panel {
  display: grid !important;
  gap: 12px !important;
  width: 100% !important;
  padding: 18px !important;
  border: 1px solid rgba(130,45,52,.17) !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg,#fffdf9,#f8eee7) !important;
}
html body.route-register.page-auth .register-plan-panel[hidden] { display: none !important; }
html body.route-register.page-auth .register-plan-tabs {
  display: grid !important;
  grid-template-columns: repeat(auto-fit,minmax(170px,1fr)) !important;
  gap: 8px !important;
}
html body.route-register.page-auth .register-plan-tabs button {
  min-width: 0 !important;
  min-height: 46px !important;
  padding: 10px 12px !important;
  color: #7c1c29 !important;
  font: inherit !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  overflow-wrap: anywhere !important;
  border: 1px solid rgba(141,46,67,.2) !important;
  border-radius: 13px !important;
  background: rgba(255,255,255,.9) !important;
  cursor: pointer !important;
}
html body.route-register.page-auth .register-plan-tabs button:is(.is-active,[aria-selected="true"]) {
  color: #fff !important;
  background: #9f1830 !important;
  box-shadow: 0 9px 22px rgba(126,24,44,.2) !important;
}
html body.route-register.page-auth .register-plan-tabs button[hidden],
html body.route-register.page-auth .register-plan-card[hidden] { display: none !important; }
html body.route-register.page-auth .register-plan-grid {
  display: block !important;
  width: 100% !important;
}
html body.route-register.page-auth .register-plan-card {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  gap: 9px 18px !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: clamp(18px,2.4vw,28px) !important;
  border: 2px solid rgba(141,46,67,.2) !important;
  border-radius: 18px !important;
  background: linear-gradient(145deg,#fff,#f8e7e4) !important;
  box-shadow: 0 16px 36px rgba(75,35,30,.09) !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
}
html body.route-register.page-auth .register-plan-card > input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}
html body.route-register.page-auth :is(.register-plan-kicker,.register-plan-card > p,.register-plan-card > ul,.register-plan-limits) {
  grid-column: 1 / -1 !important;
}
html body.route-register.page-auth .register-plan-kicker {
  color: #9f1830 !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}
html body.route-register.page-auth .register-plan-name {
  grid-column: 1 !important;
  grid-row: 2 !important;
  font-family: var(--font-heading,Georgia,serif) !important;
  font-size: clamp(1.55rem,3vw,2.2rem) !important;
  line-height: 1.08 !important;
}
html body.route-register.page-auth .register-plan-price {
  grid-column: 2 !important;
  grid-row: 2 !important;
  align-self: center !important;
  color: #2a1d18 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}
html body.route-register.page-auth .register-plan-card > p {
  margin: 0 !important;
  color: #60483c !important;
  line-height: 1.5 !important;
}
html body.route-register.page-auth .register-plan-card > ul {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
html body.route-register.page-auth .register-plan-card > ul li,
html body.route-register.page-auth .register-plan-limits span {
  min-width: 0 !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.82) !important;
  overflow-wrap: anywhere !important;
}
html body.route-register.page-auth .register-plan-card > ul li::before {
  content: "✓" !important;
  margin-right: 7px !important;
  color: #167255 !important;
  font-weight: 900 !important;
}
html body.route-register.page-auth .register-plan-limits {
  display: grid !important;
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  gap: 8px !important;
}
html body.route-register.page-auth .register-consent-check {
  font-size: 13px !important;
  line-height: 1.42 !important;
  overflow-wrap: anywhere !important;
}

/* Join page key capabilities: 3 x 2 at desktop, with the cards—not the
   section—using the available space. */
html body.page-public:is(.route-for-customers,.route-for-artists,.route-for-tutors,.route-for-students,.route-for-vendors) .role-capability-section .capability-grid {
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: clamp(18px,2vw,28px) !important;
}
html body.page-public:is(.route-for-customers,.route-for-artists,.route-for-tutors,.route-for-students,.route-for-vendors) .role-capability-section .capability-item {
  min-height: 168px !important;
  padding: clamp(24px,2.6vw,36px) !important;
  border-radius: 22px !important;
}
html body.page-public:is(.route-for-customers,.route-for-artists,.route-for-tutors,.route-for-students,.route-for-vendors) .role-capability-section .role-feature-icon {
  width: 62px !important;
  height: 62px !important;
}
html body.page-public:is(.route-for-customers,.route-for-artists,.route-for-tutors,.route-for-students,.route-for-vendors) .role-capability-section .capability-item > span:last-child {
  font-size: clamp(1.02rem,1.35vw,1.22rem) !important;
  line-height: 1.35 !important;
  font-weight: 850 !important;
}

/* Contact: form receives the working width; direct channels stack vertically. */
html body.page-public.route-contact .support-contact-shell {
  grid-template-columns: minmax(0,1.45fr) minmax(280px,.55fr) !important;
  gap: clamp(18px,2.5vw,34px) !important;
}
html body.page-public.route-contact .support-direct-panel {
  display: flex !important;
  flex-direction: column !important;
}
html body.page-public.route-contact .support-direct-actions {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) !important;
  gap: 14px !important;
  margin-top: 14px !important;
}
html body.page-public.route-contact .support-direct-action {
  min-height: 132px !important;
  align-content: center !important;
  justify-items: center !important;
  text-align: center !important;
}

/* Legal/support: centered summaries, full-width detail paths, and 5 x 2
   policy directory at laptop widths. */
html body.page-public.route-legal .readable {
  display: grid !important;
  justify-items: center !important;
  gap: 10px !important;
  text-align: center !important;
}
html body.page-public.route-legal .readable :is(h2,p) {
  width: 100% !important;
  max-width: none !important;
  margin-right: auto !important;
  margin-left: auto !important;
}
html body.page-public:is(.route-contact,.route-trust-safety,.route-quality-guidelines,.route-whatsapp,.route-legal) .support-read-more {
  width: 100% !important;
  max-width: none !important;
}
html body.page-public:is(.route-contact,.route-trust-safety,.route-quality-guidelines,.route-whatsapp,.route-legal) .support-read-more > summary {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 58px !important;
  padding-right: 52px !important;
  padding-left: 52px !important;
  text-align: center !important;
}
html body.page-public:is(.route-contact,.route-trust-safety,.route-quality-guidelines,.route-whatsapp,.route-legal) .support-read-more > summary > span {
  position: absolute !important;
  right: 20px !important;
}
html body.page-public:is(.route-contact,.route-trust-safety,.route-quality-guidelines,.route-whatsapp,.route-legal) :is(.support-detail-grid,.support-read-more .feature-stack) {
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: clamp(14px,1.8vw,24px) !important;
  width: 100% !important;
  max-width: none !important;
}
html body.page-public.route-legal .legal-policy-directory {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) !important;
  gap: 24px !important;
  width: 100% !important;
}
html body.page-public.route-legal .legal-policy-directory-copy {
  width: 100% !important;
  max-width: none !important;
  text-align: center !important;
}
html body.page-public.route-legal .legal-policy-directory-copy p {
  max-width: none !important;
}
html body.page-public.route-legal .legal-policy-directory-grid {
  display: grid !important;
  grid-template-columns: repeat(5,minmax(0,1fr)) !important;
  gap: 14px !important;
  width: 100% !important;
}
html body.page-public.route-legal .legal-policy-link-card {
  min-width: 0 !important;
  min-height: 156px !important;
  padding: 18px 14px !important;
  overflow-wrap: anywhere !important;
}

/* Replace the compressed two-image atlas with one native wide hero. */
html body.page-public.route-quality-guidelines .role-page-hero {
  min-height: clamp(420px,40vw,590px) !important;
  background-image: linear-gradient(90deg,rgba(255,250,243,.3),rgba(255,250,243,.88) 34%,rgba(255,250,243,.96) 49%,rgba(255,250,243,.72) 68%,rgba(255,250,243,.18)),url("../img/founder-section-b/quality-guidelines-hero-v5.webp") !important;
  background-position: center !important;
  background-size: cover !important;
}

/* Cities, result headers, mobile filter spacing, and overflow guards. */
html body.page-public.route-cities .section.muted > .section-head h2 {
  max-width: none !important;
  white-space: nowrap !important;
}
html body.page-public.route-cities .result-toolbar {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
}
html body.page-public.route-cities .result-toolbar-actions {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
}
html body.page-public.route-artists .artist-results-summary { background: linear-gradient(135deg,#ecd0bb,#e4b997) !important; }
html body.page-public.route-tutors .artist-results-summary { background: linear-gradient(135deg,#e7f4ee,#cae7da) !important; }
html body.page-public.route-products .marketplace-results-summary { background: linear-gradient(135deg,#fff8df,#f1dea4) !important; }
html body.page-public.route-gallery .marketplace-results-summary { background: linear-gradient(135deg,#faeef7,#e8cee4) !important; }
html body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) :is(.artist-results-summary,.marketplace-results-summary) {
  padding: clamp(20px,2.4vw,34px) !important;
  border: 1px solid rgba(127,71,45,.16) !important;
  border-radius: 20px !important;
}
html body.page-public.route-requests :is(h1,h2,h3,p,.button,a,strong,span) {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}
html body .shortlist-compare:empty { display: none !important; }
html body .shortlist-actions { justify-content: flex-end !important; }

@media (max-width: 980px) {
  html body.route-register.page-auth .u4-register-journey ol {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
  html body.page-public.route-legal .legal-policy-directory-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
}

@media (max-width: 760px) {
  html body.page-public:is(
    .route-for-customers,.route-for-artists,.route-for-tutors,.route-for-students,.route-for-vendors,
    .route-pricing,.route-cities,.route-contact,.route-trust-safety,.route-quality-guidelines,
    .route-whatsapp,.route-legal,.route-artists,.route-tutors,.route-products,.route-gallery,.route-requests
  ) main.app-main > :is(.page-hero,.section,.founder-section-b-journey,.discovery-v1-directory-heading,.discovery-v1-directory-followup,.discovery-v1-directory-faq) {
    width: calc(100% - 16px) !important;
    margin-right: 8px !important;
    margin-left: 8px !important;
  }
  html body.route-register.page-auth .auth-register-single {
    width: calc(100% - 16px) !important;
  }
  html body.route-register.page-auth .auth-register-single .auth-card {
    padding: 18px 14px !important;
  }
  html body.route-register.page-auth .auth-form-brand {
    min-height: 56px !important;
  }
  html body.route-register.page-auth .auth-form-brand img {
    height: 50px !important;
  }
  html body.route-register.page-auth .provider-type-grid,
  html body.route-register.page-auth .u4-register-journey ol,
  html body.route-register.page-auth .register-plan-card,
  html body.route-register.page-auth .register-plan-card > ul,
  html body.route-register.page-auth .register-plan-limits,
  html body.page-public.route-contact .support-contact-shell,
  html body.page-public:is(.route-contact,.route-trust-safety,.route-quality-guidelines,.route-whatsapp,.route-legal) :is(.support-detail-grid,.support-read-more .feature-stack),
  html body.page-public.route-cities .result-toolbar {
    grid-template-columns: minmax(0,1fr) !important;
  }
  html body.route-register.page-auth .u4-register-journey ol {
    grid-auto-flow: row !important;
    grid-auto-columns: auto !important;
    overflow: visible !important;
    overscroll-behavior: auto !important;
    scroll-snap-type: none !important;
    padding-bottom: 0 !important;
  }
  html body.route-register.page-auth .u4-register-journey li {
    scroll-snap-align: none !important;
  }
  html body.route-register.page-auth .u4-register-journey li {
    min-height: 70px !important;
  }
  html body.route-register.page-auth .register-plan-tabs {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
  html body.route-register.page-auth .register-plan-card {
    gap: 10px !important;
  }
  html body.route-register.page-auth .register-plan-price {
    grid-column: 1 !important;
    grid-row: auto !important;
    white-space: normal !important;
  }
  html body.page-public:is(.route-for-customers,.route-for-artists,.route-for-tutors,.route-for-students,.route-for-vendors) .role-capability-section .capability-grid {
    grid-template-columns: minmax(0,1fr) !important;
  }
  html body.page-public:is(.route-for-customers,.route-for-artists,.route-for-tutors,.route-for-students,.route-for-vendors) .role-capability-section .capability-item {
    min-height: 0 !important;
    padding: 20px !important;
  }
  html body.page-public.route-legal .legal-policy-directory-grid {
    grid-template-columns: minmax(0,1fr) !important;
  }
  html body.page-public.route-quality-guidelines .role-page-hero {
    min-height: 0 !important;
    background-image: linear-gradient(rgba(255,250,243,.78),rgba(255,250,243,.88)),url("../img/founder-section-b/quality-guidelines-hero-v5.webp") !important;
    background-position: 68% center !important;
    background-size: cover !important;
  }
  html body.page-public.route-cities .section.muted > .section-head h2 {
    white-space: normal !important;
  }
  html body.page-public.route-cities .result-toolbar-actions {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  }
  html body.page-public:is(.route-products,.route-gallery) .directory-mobile-filter-toolbar {
    margin-bottom: 16px !important;
  }
  html body.page-public:is(.route-products,.route-gallery) .marketplace-directory-workspace {
    gap: 16px !important;
  }
  html body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) :is(.artist-results-summary,.marketplace-results-summary) {
    margin-top: 4px !important;
  }
}

/* v6 registration precedence: keep this after the earlier PPT follow-up rules. */
html body.route-register.page-auth .u4-register-journey {
  gap: 9px !important;
  padding: 13px !important;
}
html body.route-register.page-auth .u4-register-journey ol {
  grid-template-columns: repeat(5,minmax(0,1fr)) !important;
  gap: 7px !important;
}
html body.route-register.page-auth .u4-register-journey li {
  grid-template-columns: 27px minmax(0,1fr) !important;
  min-height: 58px !important;
  padding: 8px !important;
}
html body.route-register.page-auth .register-plan-tabs {
  grid-template-columns: repeat(var(--visible-plan-count,3),minmax(0,1fr)) !important;
}

@media (max-width: 760px) {
  html body.route-register.page-auth .u4-register-journey {
    gap: 7px !important;
    padding: 9px !important;
  }
  html body.route-register.page-auth .u4-register-journey .auth-section-title {
    font-size: clamp(11px,3.2vw,13px) !important;
    white-space: nowrap !important;
  }
  html body.route-register.page-auth .u4-register-journey ol {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 5px !important;
  }
  html body.route-register.page-auth .u4-register-journey li {
    grid-template-columns: 24px minmax(0,1fr) minmax(92px,.75fr) !important;
    grid-template-rows: auto !important;
    min-height: 0 !important;
    padding: 6px 8px !important;
  }
  html body.route-register.page-auth .u4-register-journey li > span {
    grid-row: auto !important;
    width: 22px !important;
    height: 22px !important;
  }
  html body.route-register.page-auth .register-plan-tabs {
    grid-template-columns: repeat(var(--visible-plan-count,3),minmax(0,1fr)) !important;
    gap: 4px !important;
  }
  html body.route-register.page-auth .register-plan-tabs button {
    min-height: 38px !important;
    padding: 5px 3px !important;
    font-size: clamp(8px,2.55vw,10px) !important;
    line-height: 1.12 !important;
  }
}

/* v6 live-QA precedence: preserve the complete gallery design, not an avatar crop. */
html body.page-public.route-gallery .gallery-directory-section .gallery-grid.marketplace-card-grid {
  grid-template-columns: repeat(auto-fit,minmax(min(100%,320px),1fr)) !important;
}
html body.page-public.route-gallery .gallery-directory-section .design-gallery-card {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) !important;
  width: 100% !important;
  min-width: 0 !important;
}
html body.page-public.route-gallery .gallery-directory-section .design-gallery-card .gallery-item {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) !important;
  gap: 10px !important;
  width: 100% !important;
  min-width: 0 !important;
}
html body.page-public.route-gallery .gallery-directory-section .design-gallery-card .gallery-item img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: contain !important;
  background: #fffaf3 !important;
}
html body.page-public.route-gallery .gallery-directory-section .design-gallery-card .card-actions {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  width: 100% !important;
}

@media (max-width: 760px) {
  html body.page-public.route-gallery .gallery-directory-section .gallery-grid.marketplace-card-grid {
    grid-template-columns: minmax(0,1fr) !important;
  }
  html body.page-public.route-gallery .gallery-directory-section .design-gallery-card .card-actions > * {
    min-width: 0 !important;
    padding-inline: 4px !important;
    font-size: 11px !important;
  }
}

/* The gallery section has a stable id; use it to beat legacy compact-card rules. */
html body.page-public.route-gallery #designs .gallery-grid.marketplace-card-grid {
  grid-template-columns: minmax(0,1fr) !important;
}
html body.page-public.route-gallery #designs .design-gallery-card {
  grid-column: 1 / -1 !important;
  grid-template-columns: minmax(0,1.4fr) minmax(260px,.6fr) !important;
  align-items: center !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
}
html body.page-public.route-gallery #designs .design-gallery-card .gallery-item img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-height: none !important;
}
html body.page-public.route-gallery #designs .design-gallery-card .card-actions {
  grid-template-columns: minmax(0,1fr) !important;
  align-content: center !important;
}

@media (max-width: 760px) {
  html body.page-public.route-gallery #designs .gallery-grid.marketplace-card-grid {
    grid-template-columns: 1fr !important;
  }
  html body.page-public.route-gallery #designs .design-gallery-card {
    grid-column: 1 / -1 !important;
    grid-template-columns: minmax(0,1fr) !important;
  }
  html body.page-public.route-gallery #designs .design-gallery-card .card-actions {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
  html body.page-public.route-gallery #designs .design-gallery-card .card-actions > :first-child {
    grid-column: 1 / -1 !important;
  }
}
