/* GlobalJS inner pages — shared premium visual system */
:root {
  --inner-ink: #281c27;
  --inner-muted: #756a73;
  --inner-plum: #55183f;
  --inner-plum-deep: #321027;
  --inner-rose: #c84e72;
  --inner-rose-dark: #a93659;
  --inner-blush: #f7e9eb;
  --inner-cream: #fbf8f4;
  --inner-gold: #d6ad68;
  --inner-line: #eadfdf;
}


/* Unified theme for account, dashboard, legal, and other secondary pages */
body.secondary-page {
  --color-primary: #c84e72;
  --color-primary-dark: #9f3156;
  --color-primary-tint-10: #f7e9eb;
  --color-secondary: #55183f;
  --color-ink: #352832;
  --color-ink-muted: #75636e;
  --color-border: #eadde1;
  --color-surface-alt: #fbf6f2;
  --color-gold: #d6ad68;
  background:
    radial-gradient(circle at 8% 8%, rgba(200,78,114,.08), transparent 24rem),
    linear-gradient(180deg,#fffdfa 0%,#f7f0ed 100%);
  color: var(--color-ink);
}

body.secondary-page main {
  min-height: 58vh;
}

body.secondary-page .content-hero,
body.secondary-page .plans-header {
  background:
    radial-gradient(circle at 92% 0,rgba(214,173,104,.22),transparent 30%),
    linear-gradient(140deg,#5b173f 0%,#321027 100%) !important;
  border: 0 !important;
  color: #fff !important;
  overflow: hidden;
  padding: 66px 0 78px !important;
  position: relative;
}

body.secondary-page .content-hero::after,
body.secondary-page .plans-header::after {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  content: "";
  height: 240px;
  position: absolute;
  right: -72px;
  top: -108px;
  width: 240px;
}

body.secondary-page .content-hero h1,
body.secondary-page .plans-header h1 {
  color: #fff !important;
  font-family: Georgia,"Times New Roman",serif !important;
  font-size: clamp(38px,5vw,62px) !important;
  font-weight: 500 !important;
  letter-spacing: -.03em;
  line-height: 1.02 !important;
  position: relative;
  z-index: 1;
}

body.secondary-page .content-hero p,
body.secondary-page .plans-header p {
  color: rgba(255,255,255,.78) !important;
  font-size: 15px !important;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

body.secondary-page .content-section,
body.secondary-page .section-spacing {
  padding-bottom: 72px;
  padding-top: 54px;
}

body.secondary-page :is(
  .content-card,
  .candidate-card,
  .signup-card,
  .plan-card,
  .profile-card,
  .card-panel,
  .requests-table-card,
  .admin-summary-card,
  .dashboard-stat-card,
  .action-card,
  .quick-action-card,
  .media-box,
  .stat-card
) {
  background: rgba(255,255,255,.96) !important;
  border: 1px solid rgba(85,24,63,.1) !important;
  border-radius: 22px !important;
  box-shadow: 0 18px 46px rgba(67,25,49,.1) !important;
}

body.secondary-page :is(
  .candidate-container,
  .signup-container,
  .admin-container,
  .dashboard-container,
  .profile-container,
  .plans-container
) {
  width: min(100%,1200px);
}

body.secondary-page :is(
  .candidate-title,
  .signup-title,
  .page-title,
  .panel-title,
  .profile-title,
  .content-card h2,
  .content-card h3
) {
  color: #55183f !important;
  font-family: Georgia,"Times New Roman",serif !important;
}

body.secondary-page :is(.candidate-card,.signup-card,.card-panel,.profile-card) {
  padding: clamp(22px,4vw,38px) !important;
}

body.secondary-page :is(.form-control,.rishta-input,.filter-control,select,textarea) {
  background: #fff !important;
  border-color: #dfcdd3 !important;
  border-radius: 11px !important;
}

body.secondary-page :is(.form-control,.rishta-input,.filter-control):focus,
body.secondary-page select:focus,
body.secondary-page textarea:focus {
  border-color: #c84e72 !important;
  box-shadow: 0 0 0 4px rgba(200,78,114,.12) !important;
  outline: none;
}

body.secondary-page :is(.btn-primary,.btn-submit,.btn-plan,.select-plan-btn,.btn-approve) {
  background: linear-gradient(135deg,#cf5879,#a93258) !important;
  border: 0 !important;
  border-radius: 11px !important;
  box-shadow: 0 10px 22px rgba(169,50,88,.2) !important;
  color: #fff !important;
}

body.secondary-page :is(.btn-secondary,.btn-mini-neutral) {
  background: #f7e9eb !important;
  border-color: #ead0d7 !important;
  border-radius: 11px !important;
  color: #55183f !important;
}

body.secondary-page .plans-container {
  margin-bottom: 76px !important;
  margin-top: -48px !important;
}

body.secondary-page .plans-grid {
  gap: 22px !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
}

body.secondary-page .plan-card {
  overflow: visible;
  padding: 32px 26px !important;
}

body.secondary-page .plan-card.popular {
  border: 2px solid #c84e72 !important;
  transform: translateY(-8px) !important;
}

body.secondary-page .popular-tag {
  background: #c84e72 !important;
  color: #fff !important;
}

body.secondary-page .plan-name,
body.secondary-page .plan-price .amount {
  color: #55183f !important;
}

body.secondary-page :is(.page-header-block,.section-header-bar,.panel-header-row) {
  border-color: rgba(85,24,63,.12) !important;
}

body.secondary-page .prose {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(85,24,63,.09);
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(67,25,49,.09);
  max-width: 980px;
  padding: clamp(24px,5vw,54px);
}

body.secondary-page .matri-nav > .header-actions {
  display: flex;
  gap: 7px;
  margin-left: 7px;
}

body.secondary-page .matri-nav > .header-actions > a {
  align-items: center;
  border-radius: 9px;
  display: inline-flex;
  font-size: 11px !important;
  justify-content: center;
  margin: 0 !important;
  min-height: 37px !important;
  padding: 8px 11px !important;
  text-shadow: none !important;
}

body.secondary-page .matri-nav > .header-actions > .btn-primary {
  background: linear-gradient(135deg,#cf5879,#a93258) !important;
  color: #fff !important;
}

@media (max-width: 1050px) {
  body.secondary-page .plans-grid {
    grid-template-columns: 1fr !important;
  }

  body.secondary-page .plan-card.popular {
    transform: none !important;
  }
}

@media (max-width: 640px) {
  body.secondary-page .content-hero,
  body.secondary-page .plans-header {
    padding: 42px 0 50px !important;
  }

  body.secondary-page .content-hero h1,
  body.secondary-page .plans-header h1 {
    font-size: 36px !important;
  }

  body.secondary-page .content-section,
  body.secondary-page .section-spacing {
    padding-bottom: 44px;
    padding-top: 30px;
  }

  body.secondary-page .plans-container {
    margin-top: -24px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body.secondary-page :is(.candidate-card,.signup-card,.card-panel,.profile-card,.plan-card) {
    border-radius: 17px !important;
  }
}


body.inner-page {
  background: var(--inner-cream);
  color: var(--inner-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  overflow-x: hidden;
}

body.inner-page *,
body.inner-page *::before,
body.inner-page *::after { box-sizing: border-box; }

body.inner-page .container { max-width: 1180px; padding-left: 24px; padding-right: 24px; }
body.inner-page .matri-container { max-width: 1280px; padding-left: 28px; padding-right: 28px; }

/* Shared header */
body.inner-page .matri-topbar {
  background: var(--inner-plum-deep);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

body.inner-page .matri-topbar-inner { gap: 10px; height: 34px; }
body.inner-page .matri-topbar a { color: #f3cf91; font-weight: 800; transition: color .18s ease; }
body.inner-page .matri-topbar a:hover { color: #fff; }

body.inner-page .matri-brand-header {
  background: rgba(255,252,249,.98);
  border-bottom: 1px solid rgba(85,24,63,.1);
  box-shadow: 0 12px 34px rgba(61,25,47,.08);
  color: var(--inner-ink);
  position: relative;
  z-index: 40;
}

body.inner-page .matri-nav-wrap {
  align-items: center;
  flex-direction: row;
  gap: 24px;
  min-height: 92px;
  padding-bottom: 0;
  padding-top: 0;
}

body.inner-page .matri-logo { flex: 0 0 225px !important; }
body.inner-page .matri-logo img { height: 58px !important; max-width: 220px !important; object-fit: contain; }
body.inner-page .matri-nav { align-items: center; gap: 3px; justify-content: flex-end; }

body.inner-page .matri-nav > a,
body.inner-page .matri-nav summary {
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: #5d5058;
  font-size: 12px;
  font-weight: 750;
  padding: 10px 10px;
  text-shadow: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

body.inner-page .matri-nav > a:hover,
body.inner-page .matri-nav details[open] > summary,
body.inner-page .matri-nav summary:hover {
  background: var(--inner-blush);
  color: var(--inner-plum);
  transform: none;
}

body.inner-page .matri-nav summary::after { color: var(--inner-rose); content: " ▾"; font-size: 10px; }

body.about-page .matri-nav details:first-of-type > summary,
body.proposals-page .matri-nav details:nth-of-type(2) > summary,
body.contact-page .matri-nav > a[href="contact.html"] {
  background: linear-gradient(135deg,var(--inner-rose),var(--inner-rose-dark));
  box-shadow: 0 8px 18px rgba(169,54,89,.2);
  color: #fff;
}

body.inner-page .matri-nav > a[data-become-matchmaker-link],
body.inner-page .matri-nav > a[href="matchmaker-signup.html"] {
  align-items: center;
  background: #f7e5c4 !important;
  border: 1px solid #ebcc94 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  color: var(--inner-plum) !important;
  display: inline-flex;
  font-size: 11px !important;
  justify-content: center;
  margin-left: 4px !important;
  padding: 9px 13px !important;
}

body.matchmaker-page .matri-nav > a[data-become-matchmaker-link],
body.matchmaker-page .matri-nav > a[href="matchmaker-signup.html"] { background: #efd09a !important; border-color: #ddb66e !important; }

/* page-layout already receives the account actions dynamically; avoid a duplicate CTA */
body.about-page .matri-nav > a[data-become-matchmaker-link],
body.matchmaker-page .matri-nav > a[data-become-matchmaker-link] { display: none !important; }

body.inner-page .matri-nav > .header-actions {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  margin-left: 3px;
}

body.inner-page .matri-nav > .header-actions > a {
  border: 0;
  border-radius: 9px;
  color: #5d5058;
  font-size: 11px !important;
  margin: 0 !important;
  padding: 8px 9px !important;
  text-shadow: none;
  white-space: nowrap;
}

body.inner-page .matri-nav > .header-actions > a:first-child { background: #f7e5c4; border: 1px solid #ebcc94; color: var(--inner-plum); }
body.matchmaker-page .matri-nav > .header-actions > a:first-child { background: #efd09a; border-color: #ddb66e; }
body.inner-page .matri-nav > .header-actions > .btn-primary { background: linear-gradient(135deg,var(--inner-rose),var(--inner-rose-dark)); box-shadow: 0 7px 16px rgba(169,54,89,.2); color: #fff; }

body.inner-page .matri-dropdown-menu {
  background: var(--inner-plum-deep);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(43,15,34,.24);
  margin-top: 9px;
  min-width: 225px;
  overflow: hidden;
  padding: 7px;
}

body.inner-page .matri-dropdown-menu a {
  border: 0;
  border-radius: 8px !important;
  color: rgba(255,255,255,.84) !important;
  font-size: 13px !important;
  padding: 11px 12px !important;
  text-shadow: none !important;
}

body.inner-page .matri-dropdown-menu a:hover { background: rgba(255,255,255,.1) !important; color: #fff !important; }

/* Shared footer */
body.inner-page .matri-footer {
  background:
    radial-gradient(circle at 10% 0%, rgba(214,173,104,.14), transparent 30%),
    linear-gradient(145deg,var(--inner-plum) 0%,var(--inner-plum-deep) 100%);
  color: #fff;
  margin-top: 0;
  padding: 46px 0 0;
}

body.inner-page .matri-footer-grid { gap: 42px; grid-template-columns: 1.3fr 1fr .8fr 1fr; }
body.inner-page .matri-footer h4 {
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #f0cf96;
  font-size: 11px;
  letter-spacing: .1em;
  margin: 0 0 16px;
  padding-bottom: 11px;
  text-transform: uppercase;
}

body.inner-page .matri-footer p,
body.inner-page .matri-footer a {
  color: rgba(255,255,255,.68);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.65;
  margin-bottom: 7px;
}

body.inner-page .matri-footer a:hover { color: #fff; }
body.inner-page .matri-social { background: rgba(255,255,255,.1); color: #f0cf96; }
body.inner-page .matri-footer-bottom {
  align-items: center;
  background: rgba(16,4,13,.22);
  color: rgba(255,255,255,.58);
  display: flex;
  font-size: 11px;
  justify-content: center;
  margin-top: 38px;
  min-height: 46px;
  padding: 11px 24px;
}

body.contact-page .matri-footer-bottom { justify-content: space-between; }
body.inner-page .matri-footer-bottom .matri-container { text-align: center; }

/* About page */
body.about-page main {
  background:
    radial-gradient(circle at 5% 10%, rgba(200,78,114,.1), transparent 26%),
    radial-gradient(circle at 95% 42%, rgba(214,173,104,.1), transparent 24%),
    linear-gradient(180deg,#fffdfb 0%,#f8f1ed 100%);
}

body.about-page .content-hero { background: transparent; border: 0; padding: 36px 0 0; }
body.about-page .content-hero .container {
  background:
    radial-gradient(circle at 94% 12%, rgba(214,173,104,.2), transparent 30%),
    linear-gradient(140deg,var(--inner-plum) 0%,var(--inner-plum-deep) 100%);
  border-radius: 26px;
  box-shadow: 0 22px 55px rgba(50,16,39,.17);
  min-height: 320px;
  overflow: hidden;
  padding: 66px 64px;
  position: relative;
}

body.about-page .content-hero .container::after {
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  content: "";
  height: 240px;
  position: absolute;
  right: -55px;
  top: -70px;
  width: 240px;
}

body.about-page .content-hero h1 {
  color: #fff;
  font-family: Georgia,"Times New Roman",serif;
  font-size: clamp(38px,5vw,58px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.08;
  margin: 0 0 18px;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

body.about-page .content-hero h1::before {
  background: var(--inner-gold);
  border-radius: 999px;
  content: "";
  display: block;
  height: 5px;
  margin-bottom: 22px;
  width: 58px;
}

body.about-page .content-hero p { color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.75; max-width: 690px; position: relative; z-index: 1; }
body.about-page .content-section { padding: 30px 0 64px; }
body.about-page .about-card-grid { display: grid; gap: 18px; grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 1180px; }

body.about-page .about-info-card {
  background: rgba(255,255,255,.96);
  border: 1px solid var(--inner-line);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(72,28,53,.07);
  min-height: 220px;
  padding: 28px;
  position: relative;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.about-page .about-info-card::before { background: var(--inner-rose); border-radius: 0 0 8px 8px; content: ""; height: 4px; left: 28px; position: absolute; top: 0; width: 42px; }
body.about-page .about-info-card:hover { border-color: rgba(200,78,114,.34); box-shadow: 0 20px 42px rgba(72,28,53,.11); transform: translateY(-4px); }
body.about-page .about-info-card h2 { color: var(--inner-plum); font-family: Georgia,"Times New Roman",serif; font-size: 25px; font-weight: 500; margin: 14px 0 13px; }
body.about-page .about-info-card p { color: var(--inner-muted); font-size: 14px; line-height: 1.75; margin: 0; }

/* Proposal directory */
body.proposals-page {
  background:
    radial-gradient(circle at 4% 8%, rgba(200,78,114,.08), transparent 24%),
    linear-gradient(180deg,#fffdfb 0%,#f7f1ed 100%);
}

body.proposals-page .breadcrumb-container { margin-top: 12px; padding-bottom: 8px; padding-top: 16px; }
body.proposals-page .breadcrumb-list { color: var(--inner-muted); font-size: 12px; }
body.proposals-page .breadcrumb-item a { color: var(--inner-rose-dark); font-weight: 750; text-decoration: none; }
body.proposals-page .breadcrumb-item.active { color: var(--inner-plum); }
body.proposals-page .proposals-shell { padding: 10px 0 60px !important; }

body.proposals-page .proposals-header-card {
  background:
    radial-gradient(circle at 95% 8%, rgba(214,173,104,.2), transparent 29%),
    linear-gradient(140deg,var(--inner-plum) 0%,var(--inner-plum-deep) 100%);
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 22px;
  box-shadow: 0 20px 48px rgba(50,16,39,.15);
  margin-bottom: 24px !important;
  min-height: 164px;
  padding: 34px 38px !important;
  position: relative;
}

body.proposals-page #listing-category-title { color: #fff !important; font-family: Georgia,"Times New Roman",serif !important; font-size: clamp(31px,4vw,44px) !important; font-weight: 500 !important; letter-spacing: -.025em; margin: 0 0 10px !important; }
body.proposals-page #listing-category-title::before { background: var(--inner-gold); border-radius: 999px; content: ""; display: inline-block; height: 7px; margin: 0 12px 6px 0; width: 7px; }
body.proposals-page #listing-results-count { color: rgba(255,255,255,.66) !important; font-size: 13px; font-weight: 650; margin: 0; }
body.proposals-page .proposal-results-wrap { min-height: 320px; }
body.proposals-page #listing-results-grid { display: grid; gap: 16px; }

body.proposals-page #listing-results-grid > article.vendor-card {
  background: linear-gradient(155deg,#fff 0%,#fdf9f6 100%) !important;
  border: 1px solid var(--inner-line) !important;
  border-radius: 17px !important;
  box-shadow: 0 12px 30px rgba(75,29,56,.07) !important;
  display: grid !important;
  gap: 22px !important;
  grid-template-columns: 110px minmax(0,1fr);
  height: auto !important;
  margin: 0 !important;
  overflow: hidden;
  padding: 19px !important;
  position: relative;
  transform: none;
}

body.proposals-page #listing-results-grid > article.vendor-card::before { background: var(--inner-rose); border-radius: 0 8px 8px 0; content: ""; height: 48px; left: 0; position: absolute; top: 23px; width: 4px; }
body.proposals-page #listing-results-grid > article.vendor-card:hover { border-color: rgba(200,78,114,.34) !important; box-shadow: 0 18px 38px rgba(75,29,56,.11) !important; transform: translateY(-2px); }
body.proposals-page #listing-results-grid > article.vendor-card > div:first-child { flex: none !important; width: 110px; }
body.proposals-page #listing-results-grid > article.vendor-card > div:first-child > div {
  background: linear-gradient(145deg,#7a315c 0%,var(--inner-plum-deep) 100%) !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  font-size: 14px !important;
  height: 142px !important;
  letter-spacing: .08em !important;
  width: 100% !important;
}

body.proposals-page #listing-results-grid > article.vendor-card > div:last-child > div:first-child { color: var(--inner-rose-dark) !important; font-size: 10px !important; letter-spacing: .05em; margin-bottom: 7px !important; text-align: left !important; text-transform: uppercase; }
body.proposals-page #listing-results-grid > article.vendor-card h3 { color: var(--inner-plum) !important; font-family: Georgia,"Times New Roman",serif; font-size: 21px !important; font-weight: 500 !important; line-height: 1.3 !important; margin: 0 0 14px !important; }
body.proposals-page #listing-results-grid > article.vendor-card > div:last-child > div:nth-child(3) { color: var(--inner-muted) !important; font-size: 13px !important; gap: 7px 30px !important; line-height: 1.55 !important; }
body.proposals-page #listing-results-grid > article.vendor-card strong { color: var(--inner-ink); font-weight: 750; }
body.proposals-page #listing-results-grid > article.vendor-card > div:last-child > div:last-child { margin-top: 14px !important; }
body.proposals-page #listing-results-grid > article.vendor-card a[href*="vendor-profile"] {
  background: linear-gradient(135deg,var(--inner-rose),var(--inner-rose-dark)) !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 18px rgba(169,54,89,.18);
  color: #fff !important;
  font-size: 10px !important;
  letter-spacing: .05em !important;
  padding: 9px 16px !important;
}

body.proposals-page #listing-results-grid > article.vendor-card a[href*="vendor-profile"]:hover { box-shadow: 0 11px 24px rgba(169,54,89,.26); transform: translateY(-1px); }

/* Contact page */
body.contact-page .matri-page-bg {
  background:
    radial-gradient(circle at 6% 8%, rgba(200,78,114,.09), transparent 25%),
    radial-gradient(circle at 95% 50%, rgba(214,173,104,.09), transparent 25%),
    linear-gradient(180deg,#fffdfb 0%,#f7f1ed 100%);
}

body.contact-page .matri-form-page { padding-bottom: 64px; padding-top: 34px; }
body.contact-page .matri-simple-card { background: #fff; border: 1px solid rgba(85,24,63,.08); border-radius: 24px; box-shadow: 0 22px 55px rgba(67,25,49,.1); max-width: 1120px; min-height: 0; overflow: hidden; padding: 0 0 40px; }
body.contact-page .matri-title-bar {
  background:
    radial-gradient(circle at 94% 10%,rgba(214,173,104,.2),transparent 32%),
    linear-gradient(140deg,var(--inner-plum) 0%,var(--inner-plum-deep) 100%);
  border-radius: 0;
  color: #fff;
  font-family: Georgia,"Times New Roman",serif;
  font-size: clamp(36px,5vw,50px);
  font-weight: 500;
  letter-spacing: -.03em;
  margin-bottom: 0;
  padding: 46px 48px;
}

body.contact-page .matri-title-bar::before { background: var(--inner-gold); border-radius: 999px; content: ""; display: block; height: 5px; margin-bottom: 18px; width: 54px; }
body.contact-page .matri-contact-grid { gap: 46px; grid-template-columns: minmax(0,1.08fr) minmax(300px,.92fr); padding: 36px 46px 0; }
body.contact-page .matri-page-heading { color: var(--inner-plum); font-family: Georgia,"Times New Roman",serif; font-size: 29px; font-weight: 500; margin: 0 0 8px; }
body.contact-page .matri-contact-form > p { color: var(--inner-muted); font-size: 12px; margin-bottom: 22px; }
body.contact-page .matri-contact-form form { gap: 15px; }
body.contact-page .matri-contact-form label { color: var(--inner-ink); font-size: 12px; font-weight: 750; gap: 8px; }
body.contact-page .matri-contact-form input,
body.contact-page .matri-contact-form textarea { background: #fffdfb; border: 1px solid #dfd1d3; border-radius: 11px; box-shadow: none; color: var(--inner-ink); font-family: inherit; font-size: 13px; min-height: 48px; padding: 11px 13px; }
body.contact-page .matri-contact-form textarea { min-height: 112px; }
body.contact-page .matri-contact-form input:focus,
body.contact-page .matri-contact-form textarea:focus { background: #fff; border-color: var(--inner-rose); box-shadow: 0 0 0 3px rgba(200,78,114,.12); }
body.contact-page .matri-captcha-word { color: var(--inner-plum); font-size: 31px; margin: 7px 0 5px 18px; text-shadow: 1px 2px 0 rgba(200,78,114,.15); }
body.contact-page .matri-refresh-link { color: var(--inner-rose-dark); font-size: 11px; }
body.contact-page .matri-submit-green { background: linear-gradient(135deg,var(--inner-rose),var(--inner-rose-dark)); border-radius: 11px; box-shadow: 0 10px 22px rgba(169,54,89,.2); font-family: inherit; min-height: 48px; transition: box-shadow .18s ease, transform .18s ease; }
body.contact-page .matri-submit-green:hover { background: linear-gradient(135deg,#d05b7d,#a32f52); box-shadow: 0 14px 28px rgba(169,54,89,.27); transform: translateY(-1px); }

body.contact-page .matri-support-panel {
  background:
    radial-gradient(circle at 90% 5%,rgba(214,173,104,.2),transparent 32%),
    linear-gradient(145deg,var(--inner-plum),var(--inner-plum-deep));
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(50,16,39,.14);
  color: #fff;
  min-height: 100%;
  padding: 30px;
}

body.contact-page .matri-support-panel h2 { color: #fff; font-family: Georgia,"Times New Roman",serif; font-size: 27px; font-weight: 500; line-height: 1.25; margin: 0 0 18px; }
body.contact-page .matri-support-panel h2::after { background: var(--inner-gold); border-radius: 999px; content: ""; display: block; height: 3px; margin-top: 14px; width: 48px; }
body.contact-page .matri-support-panel p { color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.75; }
body.contact-page .matri-support-panel strong { color: #fff; }
body.contact-page .matri-support-panel a { color: #f0cf96; overflow-wrap: anywhere; text-decoration: none; }
body.contact-page .matri-support-panel hr { border-color: rgba(255,255,255,.14); margin: 24px 0; }
body.contact-page .matri-support-panel .matri-note-red { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; color: #f6d7a2; margin: 0; padding: 12px; }

/* Matchmaker signup */
body.matchmaker-page main {
  background:
    radial-gradient(circle at 5% 8%,rgba(200,78,114,.09),transparent 24%),
    radial-gradient(circle at 96% 38%,rgba(214,173,104,.09),transparent 22%),
    linear-gradient(180deg,#fffdfb 0%,#f7f1ed 100%);
  padding: 1px 0;
}

body.matchmaker-page .signup-container { margin: 34px auto 62px; max-width: 1120px; padding: 0 24px; }
body.matchmaker-page .signup-card { border: 1px solid rgba(85,24,63,.09); border-radius: 24px; box-shadow: 0 22px 55px rgba(67,25,49,.1); overflow: hidden; padding: 42px; position: relative; }
body.matchmaker-page .signup-card::before { background: linear-gradient(90deg,var(--inner-rose),var(--inner-gold)); content: ""; height: 5px; left: 0; position: absolute; right: 0; top: 0; }
body.matchmaker-page .signup-title { color: var(--inner-plum); font-family: Georgia,"Times New Roman",serif; font-size: clamp(36px,4vw,48px); font-weight: 500; letter-spacing: -.03em; margin-bottom: 12px; }
body.matchmaker-page .signup-subtitle { color: var(--inner-muted); font-size: 14px; line-height: 1.75; margin-bottom: 28px; max-width: 720px; }

body.matchmaker-page .section-banner {
  background: transparent !important;
  border-bottom: 1px solid var(--inner-line);
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 36px 0 18px !important;
  padding: 0 0 13px !important;
  text-align: left !important;
}

body.matchmaker-page .section-banner h2,
body.matchmaker-page .section-banner h3 { color: var(--inner-plum) !important; font-family: Georgia,"Times New Roman",serif !important; font-size: 25px !important; font-weight: 500; letter-spacing: -.01em !important; }
body.matchmaker-page .section-line { background: linear-gradient(90deg,var(--inner-rose),var(--inner-gold)) !important; height: 3px !important; margin: 10px 0 0 !important; width: 54px !important; }
body.matchmaker-page .helper-copy,
body.matchmaker-page .section-note { color: var(--inner-muted); font-size: 13px; text-align: left; }
body.matchmaker-page .form-grid,
body.matchmaker-page .account-grid { gap: 18px 22px; }
body.matchmaker-page .field-label { color: var(--inner-ink); font-size: 12px; font-weight: 750; }
body.matchmaker-page .form-control { background: #fffdfb; border: 1px solid #dfd1d3; border-radius: 11px; box-shadow: none; color: var(--inner-ink); font-family: inherit; font-size: 13px; min-height: 49px; padding: 12px 14px; }
body.matchmaker-page .form-control:focus { background: #fff; border-color: var(--inner-rose); box-shadow: 0 0 0 3px rgba(200,78,114,.12); transform: none; }
body.matchmaker-page .reference-card { background: linear-gradient(155deg,#fff 0%,#fcf7f4 100%); border: 1px solid var(--inner-line); border-radius: 16px; padding: 22px; }
body.matchmaker-page .reference-badge { background: var(--inner-plum); box-shadow: 0 8px 18px rgba(85,24,63,.16); font-size: 12px; min-width: 128px; padding: 8px 15px; }
body.matchmaker-page .checkbox-row { background: var(--inner-blush); border-color: #ead0d7; border-radius: 11px; }
body.matchmaker-page .btn-signup { background: linear-gradient(135deg,var(--inner-rose),var(--inner-rose-dark)); border-radius: 11px; box-shadow: 0 12px 24px rgba(169,54,89,.2); font-family: inherit; min-height: 50px; }
body.matchmaker-page .btn-signup:hover { background: linear-gradient(135deg,#d05b7d,#a32f52); box-shadow: 0 15px 30px rgba(169,54,89,.27); }
body.matchmaker-page .password-toggle-btn { color: var(--inner-plum); }

@media (max-width: 1050px) {
  body.inner-page .matri-nav-wrap { align-items: center; flex-direction: column; gap: 13px; min-height: auto; padding-bottom: 16px; padding-top: 15px; }
  body.inner-page .matri-logo { flex: 0 0 auto !important; }
  body.inner-page .matri-logo img { height: 54px !important; max-width: 205px !important; }
  body.inner-page .matri-nav { display: grid; gap: 7px; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
  body.inner-page .matri-nav > a,
  body.inner-page .matri-nav summary { background: rgba(85,24,63,.045); border: 1px solid rgba(85,24,63,.08); border-radius: 9px; display: block; font-size: 12px !important; padding: 10px 8px !important; text-align: center; }
  body.inner-page .matri-nav > a[data-become-matchmaker-link],
  body.inner-page .matri-nav > a[href="matchmaker-signup.html"] { margin-left: 0 !important; }
  body.inner-page .matri-nav > .header-actions { display: grid; gap: 7px; grid-column: 1 / -1; grid-template-columns: repeat(3,minmax(0,1fr)); margin-left: 0; width: 100%; }
  body.inner-page .matri-nav > .header-actions > a { align-items: center; display: flex; font-size: 10px !important; justify-content: center; line-height: 1.15; min-height: 42px !important; padding: 7px 4px !important; text-align: center; white-space: normal; }
  body.inner-page .matri-dropdown-menu,
  body.inner-page .matri-dropdown-right .matri-dropdown-menu { border-radius: 9px; left: 0; margin: 7px 0 0; min-width: 100%; padding: 6px; position: static; right: auto; }
  body.inner-page .matri-dropdown-menu a { text-align: left; }
  body.contact-page .matri-contact-grid { gap: 24px; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body.inner-page .container,
  body.inner-page .matri-container { padding-left: 14px; padding-right: 14px; }
  body.inner-page .matri-topbar-inner { height: 32px; }
  body.inner-page .matri-footer { padding-top: 38px; }
  body.inner-page .matri-footer-grid { gap: 30px; grid-template-columns: 1fr; }
  body.inner-page .matri-footer-bottom { gap: 8px; margin-top: 30px; padding: 16px 14px; text-align: center; }
  body.contact-page .matri-footer-bottom { flex-direction: column; justify-content: center; }

  body.about-page .content-hero { padding-top: 18px; }
  body.about-page .content-hero .container { border-radius: 19px; min-height: 0; padding: 40px 26px; }
  body.about-page .content-hero h1 { font-size: 36px; }
  body.about-page .content-hero p { font-size: 14px; }
  body.about-page .content-section { padding: 18px 0 42px; }
  body.about-page .about-card-grid { grid-template-columns: 1fr; }
  body.about-page .about-info-card { min-height: 0; padding: 24px; }

  body.proposals-page .breadcrumb-container { padding-left: 16px; padding-right: 16px; }
  body.proposals-page .proposals-header-card { border-radius: 18px; min-height: 0; padding: 28px 23px !important; }
  body.proposals-page #listing-category-title { font-size: 30px !important; }
  body.proposals-page #listing-results-grid > article.vendor-card { gap: 14px !important; grid-template-columns: 76px minmax(0,1fr); padding: 14px !important; }
  body.proposals-page #listing-results-grid > article.vendor-card > div:first-child { width: 76px; }
  body.proposals-page #listing-results-grid > article.vendor-card > div:first-child > div { font-size: 10px !important; height: 102px !important; }
  body.proposals-page #listing-results-grid > article.vendor-card h3 { font-size: 17px !important; }
  body.proposals-page #listing-results-grid > article.vendor-card > div:last-child > div:nth-child(3) { gap: 6px 12px !important; grid-template-columns: 1fr !important; }

  body.contact-page .matri-form-page { padding-bottom: 42px; padding-top: 18px; }
  body.contact-page .matri-simple-card { border-radius: 18px; padding-bottom: 24px; }
  body.contact-page .matri-title-bar { font-size: 38px; padding: 36px 25px; }
  body.contact-page .matri-contact-grid { gap: 25px; grid-template-columns: 1fr; padding: 26px 20px 0; }
  body.contact-page .matri-support-panel { padding: 24px; }

  body.matchmaker-page .signup-container { margin: 18px auto 42px; padding: 0 14px; }
  body.matchmaker-page .signup-card { border-radius: 18px; padding: 27px 18px; }
  body.matchmaker-page .signup-title { font-size: 36px; }
  body.matchmaker-page .section-banner h2,
  body.matchmaker-page .section-banner h3 { font-size: 23px !important; }
  body.matchmaker-page .reference-card { padding: 17px; }
}
