/* JoriMaker — emerald green + pink accents (no orange) */
:root {
  --jm-primary: #064e3b;
  --jm-primary-fg: #ecfdf5;
  --jm-accent: #db2777;
  --jm-accent-fg: #fff1f5;
  --jm-bg: #f0fdf4;
  --jm-fg: #022c22;
  --jm-muted: #d1fae5;
  /* Stronger secondary text — was too light on tinted backgrounds */
  --jm-muted-fg: #134e3a;
  --jm-subtle: #3f5f52;
  --jm-card: #ffffff;
  --jm-border: #a7f3d0;
  --jm-success: #059669;
  --jm-danger: #e11d48;
  --jm-hero-gradient: linear-gradient(135deg, #064e3b 0%, #047857 50%, #db2777 100%);
  --jm-soft-gradient: linear-gradient(180deg, #ecfdf5 0%, #f0fdf4 55%, #fdf2f8 100%);
  /* DM Sans for headings too — Cormorant looked soft/blurry; no extra font download */
  --font-display: "DM Sans", system-ui, sans-serif;
  --font-sans: "DM Sans", system-ui, sans-serif;
  /* Noori-style Nastaleeq where Urdu is used (system first; web font only on Urdu pages) */
  --font-urdu: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Urdu Typesetting", "Segoe UI", Tahoma, sans-serif;
  --radius: .7rem;
  --shadow: 0 8px 24px rgba(6, 78, 59, .08);
  --tap: 44px;
  --max: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  color: var(--jm-fg);
  background-color: var(--jm-bg);
  background-image: var(--jm-soft-gradient);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
/* Crisp headings — DM Sans medium weight (700 looked too heavy at large sizes) */
h1,h2,h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  color: #022c22;
  letter-spacing: -0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Urdu / Arabic script — Noto Nastaliq (Noori-style look) */
[lang="ur"],
[lang="ur-PK"],
.urdu,
.font-urdu {
  font-family: var(--font-urdu);
  direction: rtl;
  unicode-bidi: plaintext;
  line-height: 1.9;
  letter-spacing: 0;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/*
 * Bilingual EN + UR — English first, Urdu directly under (not side-by-side).
 * Keeps pages readable for Pakistan without cluttering every card/nav item.
 */
.bi-heading .urdu,
.m-head > .urdu,
.m-hero > .m-hero__content > .urdu-title,
.page-hero .urdu-title,
.plans-hero .urdu-title {
  display: block;
  margin-top: .28rem;
  font-size: 1.12em;
  font-weight: 700;
  color: inherit;
  opacity: .95;
}
.m-hero .urdu-title {
  font-size: clamp(1.25rem, 4.2vw, 1.85rem);
  max-width: 14ch;
  color: #fff;
  font-weight: 700;
  margin-top: .2rem;
  text-shadow: none;
}
.urdu-lead {
  margin-top: .65rem;
  font-size: 1.05rem;
  line-height: 1.95;
  max-width: 36rem;
  opacity: .92;
}
.m-hero .urdu-lead {
  color: rgba(255, 255, 255, .9);
  max-width: 28rem;
}
.m-head .urdu-lead {
  margin-top: .5rem;
  color: var(--jm-subtle);
  font-size: 1.05rem;
  font-weight: 400;
  max-width: 40rem;
}
.promo-banner .urdu-title {
  margin-top: .2rem;
  font-size: clamp(1.2rem, 3.5vw, 1.55rem);
  font-weight: 700;
  color: inherit;
}
.promo-banner .urdu-lead {
  margin-top: .45rem;
  opacity: .9;
}
.m-cta__box .urdu-title {
  margin-top: .25rem;
  font-size: 1.35rem;
  font-weight: 700;
}
.m-cta__box .urdu-lead {
  margin: .35rem auto .9rem;
  max-width: 28rem;
  opacity: .9;
}
.page-hero .urdu-title,
.plans-hero .urdu-title {
  font-size: clamp(1.25rem, 3.8vw, 1.7rem);
  font-weight: 700;
}
.page-hero .urdu-lead,
.plans-hero .urdu-lead {
  margin: .55rem auto 0;
  max-width: 34rem;
  opacity: .9;
}
.footer-brand .urdu-lead {
  margin-top: .45rem;
  font-size: .95rem;
  opacity: .88;
  max-width: 22rem;
}
p { margin: 0; line-height: 1.55; }
button, input, select { font: inherit; touch-action: manipulation; }

.main { width: min(var(--max), calc(100% - 1.25rem)); margin: 0 auto; padding: 1rem 0 2.5rem; }
.main--bleed { width: 100%; max-width: none; margin: 0; padding: 0; }
.m-wrap { width: min(var(--max), calc(100% - 1.25rem)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Top bar — compact on mobile */
.topbar {
  background: #022c22;
  color: rgba(236,253,245,.88);
  font-size: .72rem;
}
.topbar__inner {
  width: min(var(--max), calc(100% - 1.25rem));
  margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: .35rem .75rem;
  padding: .4rem 0;
  align-items: center;
  justify-content: space-between;
}
.topbar a { color: inherit; }
.topbar__links, .topbar__contact { display: flex; flex-wrap: wrap; gap: .35rem .75rem; align-items: center; }
.topbar__promo { color: #f9a8d4; font-weight: 600; }
.header-nav {
  display: none;
  gap: 1rem;
  align-items: center;
  font-size: .82rem;
  font-weight: 600;
  color: var(--jm-muted-fg);
}
.header-nav a:hover, .header-nav a.is-active { color: var(--jm-accent); }
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .2rem .55rem .2rem .2rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--jm-border);
}
.user-chip__avatar {
  width: 2rem; height: 2rem; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #064e3b, #047857);
  color: #fff; font-size: .7rem; font-weight: 700;
}
.user-chip__avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-chip__name {
  font-size: .78rem; font-weight: 600; color: var(--jm-fg);
  max-width: 8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--jm-card) 94%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--jm-border);
}
.site-header__inner {
  width: min(var(--max), calc(100% - 1.25rem));
  margin: 0 auto;
  min-height: 3.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--jm-primary);
  line-height: 1.1;
}
.brand__mark {
  width: 2.55rem; height: 2.55rem; border-radius: .7rem;
  display: grid; place-items: center;
  overflow: hidden;
  background: #ecfdf5;
  flex: 0 0 auto;
  box-shadow: 0 4px 12px rgba(6, 78, 59, .18);
  border: 1.5px solid color-mix(in srgb, var(--jm-border) 80%, var(--jm-accent));
}
.brand__couple {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.brand__word { display: flex; flex-direction: column; gap: .08rem; min-width: 0; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--jm-primary);
}
.brand__name-accent { color: var(--jm-accent); font-weight: 600; }
.brand__tag {
  font-family: var(--font-sans);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--jm-muted-fg);
  white-space: nowrap;
}
.brand--compact .brand__tag { display: none; }
.brand--compact .brand__name { font-size: 1.2rem; }
.brand--light { color: #ecfdf5; }
.brand--light .brand__name { color: #ecfdf5; }
.brand--light .brand__mark {
  background: #fff;
  border-color: rgba(249, 168, 212, .55);
  box-shadow: none;
}
.brand--light .brand__name-accent { color: #f9a8d4; }
.brand--light .brand__tag { color: rgba(236,253,245,.6); }
.header-actions { display: flex; align-items: center; gap: .4rem; }
.header-login { display: none; }
.menu-toggle {
  width: var(--tap); height: var(--tap); border: 0; background: transparent;
  display: grid; place-content: center; cursor: pointer; color: var(--jm-fg);
  border-radius: .55rem; font-size: 1.35rem; line-height: 1;
}
.menu-toggle:hover { background: #ecfdf5; }
.menu-toggle .menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline-block; }

.mobile-search {
  width: min(var(--max), calc(100% - 1.25rem));
  margin: 0 auto .65rem;
  display: grid;
  grid-template-columns: 5.2rem 1fr auto;
  gap: .35rem;
  align-items: center;
}
.mobile-search select, .mobile-search input {
  min-height: 2.5rem;
  border: 1px solid var(--jm-border);
  border-radius: .55rem;
  padding: .45rem .55rem;
  background: #fff;
  font-size: .85rem;
}
.mobile-search .adv-link {
  grid-column: 1 / -1;
  font-size: .78rem; font-weight: 600; color: var(--jm-accent);
  text-align: right;
}

body.nav-mobile-open { overflow: hidden; }
.nav-mobile[hidden] { display: none !important; }
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: block;
}
.nav-mobile__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 44, 34, .48);
  backdrop-filter: blur(3px);
  cursor: pointer;
  animation: navFade .2s ease both;
}
.nav-mobile__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(20.5rem, 88vw);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fff 0%, #f4fbf7 100%);
  box-shadow: -16px 0 40px rgba(2, 44, 34, .18);
  animation: navSlide .28s ease both;
}
@keyframes navFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes navSlide {
  from { transform: translateX(100%); }
  to { transform: none; }
}
.nav-mobile__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem;
  padding: 1rem 1rem .85rem;
  border-bottom: 1px solid #d7ebe1;
  background: #022c22;
  color: #ecfdf5;
}
.nav-mobile__eyebrow {
  margin: 0;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: #f9a8d4;
}
.nav-mobile__head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-top: .1rem;
}
.nav-mobile__close {
  width: 2.35rem; height: 2.35rem;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 1.5rem; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
}
.nav-mobile__scroll {
  flex: 1;
  overflow: auto;
  padding: .85rem .85rem 1.25rem;
  display: grid;
  gap: .85rem;
  align-content: start;
}
.nav-mobile__group {
  background: #fff;
  border: 1px solid #d7ebe1;
  border-radius: 1rem;
  padding: .35rem;
  box-shadow: 0 6px 18px rgba(6, 78, 59, .04);
}
.nav-mobile__label {
  margin: 0;
  padding: .55rem .75rem .25rem;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: #64748b;
}
.nav-mobile__group a {
  min-height: 2.7rem;
  display: flex; align-items: center;
  padding: 0 .8rem;
  margin: .1rem;
  border-radius: .7rem;
  font-weight: 600;
  font-size: .92rem;
  color: #022c22;
}
.nav-mobile__group a:hover,
.nav-mobile__group a:active {
  background: #ecfdf5;
  color: #064e3b;
}
.nav-mobile__cta {
  background: linear-gradient(120deg, #db2777, #be185d) !important;
  color: #fff !important;
  justify-content: center !important;
  margin-top: .25rem !important;
}
.nav-mobile__foot {
  padding: .9rem 1rem 1.1rem;
  border-top: 1px solid #d7ebe1;
  background: #fff;
  display: grid;
  gap: .2rem;
}
.nav-mobile__phone {
  font-weight: 800;
  font-size: 1.05rem;
  color: #064e3b;
}
.nav-mobile__foot span {
  font-size: .72rem;
  color: #64748b;
  font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  .nav-mobile__backdrop, .nav-mobile__panel { animation: none; }
}

/* Buttons */
/* Ensure HTML hidden wins over display utilities (e.g. .btn) */
[hidden] { display: none !important; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap);
  padding: .65rem 1.1rem;
  border: 0; border-radius: var(--radius);
  font-weight: 600; font-size: .9rem; cursor: pointer;
}
.btn-sm { min-height: 2.35rem; padding: .45rem .8rem; font-size: .8rem; }
.btn-accent { background: var(--jm-accent); color: var(--jm-accent-fg); }
.btn-primary { background: var(--jm-primary); color: var(--jm-primary-fg); }
.btn-light { background: #fff; color: var(--jm-primary); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.12); color: #fff;
}
.btn-ghost-dark {
  border: 1px solid var(--jm-border);
  background: #fff; color: var(--jm-fg);
}
.btn-muted { background: var(--jm-muted); color: var(--jm-fg); }

/* Hero */
.m-hero {
  position: relative;
  min-height: 88dvh;
  display: flex; align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.m-hero__bg { position: absolute; inset: 0; }
.m-hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.m-hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(2,44,34,.92) 12%, rgba(6,78,59,.5) 55%, rgba(2,44,34,.35));
}
.m-hero__content {
  position: relative;
  width: min(var(--max), calc(100% - 1.25rem));
  margin: 0 auto;
  padding: 5.5rem 0 1.5rem;
}
.m-eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; opacity: .9; }
.m-eyebrow.dark { color: var(--jm-accent); opacity: 1; }
.m-hero h1 {
  font-size: clamp(2rem, 8vw, 3.4rem);
  margin-top: .35rem;
  max-width: 12ch;
  font-weight: 700;
  color: #fff;
  text-shadow: none;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}
.m-hero h1 em { font-style: normal; color: #f9a8d4; }
.m-lead { margin-top: .7rem; opacity: .9; font-size: .95rem; max-width: 28rem; }

.hero-search {
  margin-top: 1.15rem;
  background: rgba(255,255,255,.96);
  color: var(--jm-fg);
  border-radius: 1rem;
  padding: .85rem;
  display: grid;
  gap: .65rem;
  box-shadow: var(--shadow);
}
.hero-search label { display: grid; gap: .25rem; font-size: .72rem; font-weight: 700; color: var(--jm-muted-fg); }
.hero-search select, .hero-search input {
  min-height: 2.6rem;
  border: 1px solid var(--jm-border);
  border-radius: .55rem;
  padding: .45rem .6rem;
  background: #fff;
  font-size: .9rem;
}
.hero-search__adv {
  text-align: center;
  font-size: .8rem; font-weight: 700; color: var(--jm-accent);
}

/* Promo — special offer */
.promo-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 120% at 100% 0%, rgba(244, 114, 182, .45), transparent 55%),
    linear-gradient(115deg, #022c22 0%, #064e3b 42%, #9d174d 100%);
  color: #fff;
  padding: 1.65rem 0;
}
.promo-banner::before {
  content: "";
  position: absolute;
  inset: auto -2rem -3rem auto;
  width: 11rem; height: 11rem;
  border: 2px solid rgba(255,255,255,.12);
  border-radius: 50%;
  pointer-events: none;
}
.promo-banner__inner {
  position: relative;
  width: min(var(--max), calc(100% - 1.25rem));
  margin: 0 auto;
  display: grid;
  gap: 1.15rem;
  align-items: center;
}
.promo-banner__tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  padding: .3rem .65rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  backdrop-filter: blur(6px);
}
.promo-banner h2 {
  margin: .55rem 0 .4rem;
  font-size: clamp(1.55rem, 4.5vw, 2.15rem);
  line-height: 1.15;
  color: #fff;
}
.promo-banner__copy > p {
  opacity: .94;
  margin-bottom: .75rem;
  font-size: .92rem;
  max-width: 36rem;
  line-height: 1.55;
}
.promo-banner__perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.promo-banner__perks li {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  min-height: 1.7rem;
  padding: .2rem .6rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  font-size: .72rem;
  font-weight: 600;
}
.promo-banner__perks li::before {
  content: "✓";
  color: #86efac;
  font-weight: 700;
}
.promo-banner__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .55rem;
}
.promo-banner__btn {
  min-height: 2.75rem;
  padding: 0 1.25rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.promo-banner__link {
  font-size: .82rem;
  font-weight: 700;
  color: #fce7f3;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.promo-banner__link:hover { color: #fff; }

.promo-banner--referral {
  background:
    radial-gradient(ellipse 65% 110% at 0% 100%, rgba(251, 191, 36, .35), transparent 55%),
    linear-gradient(120deg, #0f172a 0%, #134e4a 48%, #0f766e 100%);
}
.promo-banner--referral .promo-banner__tag {
  background: rgba(251, 191, 36, .2);
  border-color: rgba(251, 191, 36, .35);
  color: #fef3c7;
}
.promo-banner--referral .promo-banner__link { color: #ccfbf1; }

.ref-earn__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}
@media (min-width: 720px) {
  .ref-earn__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.ref-earn__stats > div {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: .65rem;
  padding: .75rem .85rem;
  display: grid;
  gap: .25rem;
}
.ref-earn__stats span {
  font-size: .72rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ref-earn__stats strong {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}
.ref-earn__table-wrap { overflow-x: auto; }
.ref-earn__table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
}
.ref-earn__table th,
.ref-earn__table td {
  text-align: left;
  padding: .55rem .4rem;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}
.ref-earn__table th {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #64748b;
}
.ref-status {
  display: inline-block;
  padding: .15rem .45rem;
  border-radius: .35rem;
  font-size: .72rem;
  font-weight: 700;
}
.ref-status--pending { background: #fff7ed; color: #c2410c; }
.ref-status--paid { background: #ecfdf5; color: #047857; }
.ref-status--cancelled { background: #f1f5f9; color: #64748b; }

/* Special offer popup — once per device */
body.offer-modal-open { overflow: hidden; }
.offer-modal[hidden] { display: none !important; }
.offer-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.offer-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 44, 34, .55);
  backdrop-filter: blur(4px);
  border: 0;
  cursor: pointer;
}
.offer-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(24.5rem, 100%);
  background: #fff;
  border-radius: 1.15rem;
  padding: 1.35rem 1.2rem 1.25rem;
  box-shadow: 0 24px 48px rgba(2, 44, 34, .28);
  border: 1px solid #f0e4d8;
  animation: offerIn .35s ease both;
}
@keyframes offerIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.offer-modal__close {
  position: absolute;
  top: .55rem; right: .55rem;
  width: 2.2rem; height: 2.2rem;
  border: 0; border-radius: 50%;
  background: #f5f5f4; color: #44403c;
  font-size: 1.4rem; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
}
.offer-modal__tag {
  display: inline-flex;
  background: linear-gradient(120deg, #ecfdf5, #fce7f3);
  color: #9d174d;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .65rem; border-radius: 999px;
  margin-bottom: .65rem;
}
.offer-modal__dialog h2 {
  font-size: clamp(1.45rem, 5vw, 1.85rem);
  color: #3f2a1e;
  margin-bottom: .45rem;
}
.offer-modal__dialog > p {
  font-size: .9rem;
  color: #5c4a3d;
  margin-bottom: .85rem;
}
.offer-modal__perks {
  list-style: none; margin: 0 0 1.1rem; padding: 0;
  display: grid; gap: .4rem;
}
.offer-modal__perks li {
  font-size: .85rem; font-weight: 600; color: #065f46;
  background: #ecfdf5; border-radius: .55rem; padding: .45rem .65rem;
}
.offer-modal__perks li::before { content: "✓ "; color: #059669; }
.offer-modal__actions {
  display: grid; gap: .5rem;
}
.offer-modal__actions .btn { width: 100%; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .offer-modal__dialog { animation: none; }
}

/* Call vs WhatsApp chooser */
body.phone-choice-open { overflow: hidden; }
.phone-choice[hidden] { display: none !important; }
.phone-choice {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.phone-choice__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 44, 34, .55);
  backdrop-filter: blur(4px);
  border: 0;
  cursor: pointer;
}
.phone-choice__dialog {
  position: relative;
  z-index: 1;
  width: min(22rem, 100%);
  background: #fff;
  border-radius: 1.15rem;
  padding: 1.35rem 1.2rem 1.25rem;
  box-shadow: 0 24px 48px rgba(2, 44, 34, .28);
  border: 1px solid #f0e4d8;
}
.phone-choice__close {
  position: absolute;
  top: .55rem; right: .55rem;
  width: 2.2rem; height: 2.2rem;
  border: 0; border-radius: 50%;
  background: #f5f5f4; color: #44403c;
  font-size: 1.4rem; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
}
.phone-choice__tag {
  display: inline-flex;
  background: #ecfdf5;
  color: #065f46;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .65rem; border-radius: 999px;
  margin-bottom: .65rem;
}
.phone-choice__dialog h2 {
  font-size: 1.45rem;
  color: #3f2a1e;
  margin: 0 0 .45rem;
}
.phone-choice__dialog > p {
  font-size: .9rem;
  color: #5c4a3d;
  margin: 0 0 1rem;
}
.phone-choice__actions {
  display: grid; gap: .5rem;
}
.phone-choice__actions .btn { width: 100%; justify-content: center; }

.how-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .85rem;
}
.how-steps li {
  display: grid; grid-template-columns: 2.6rem 1fr; gap: .75rem;
  align-items: center;
  background: var(--jm-primary); border: 1px solid transparent; border-radius: .9rem;
  padding: .9rem; box-shadow: 0 8px 20px rgba(6, 78, 59, .18);
  color: #fff;
}
.how-steps__num {
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .18); color: #fff;
  font-weight: 800; font-family: var(--font-sans); font-size: 1.05rem;
  line-height: 1; letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  padding: 0; margin: 0;
  flex-shrink: 0;
}
.how-steps strong { display: block; font-size: 1.05rem; color: #fff; margin-bottom: .2rem; }
.how-steps p { font-size: .9rem; color: rgba(236, 253, 245, .9); font-weight: 500; }
.family-block .why-grid { margin-bottom: 1.5rem; }
.family-welcome { margin-top: .5rem; }
.family-links {
  display: flex; flex-wrap: wrap; gap: .5rem .85rem;
  margin: .85rem 0 1rem;
}
.family-links a {
  font-size: .85rem; font-weight: 700; color: var(--jm-primary);
  text-decoration: underline; text-underline-offset: 3px;
}

/* Sections */
.m-section { padding: 2.25rem 0; }
.m-section--tint { background: color-mix(in srgb, var(--jm-muted) 70%, #fdf2f8); }
.m-head { margin-bottom: 1.15rem; }
.m-head h2 {
  font-size: clamp(1.55rem, 5vw, 2.2rem);
  font-weight: 600;
  color: #022c22;
  -webkit-font-smoothing: antialiased;
}
.m-head p { margin-top: .4rem; color: var(--jm-subtle); font-size: .95rem; font-weight: 500; }
.m-center { text-align: center; margin-top: 1.15rem; }

.service-grid, .why-grid, .dir-hubs, .dir-grid, .profile-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: 1fr 1fr;
}
.service-card, .dir-hub, .dir-card {
  background: var(--jm-card);
  border: 1px solid var(--jm-border);
  border-radius: .9rem;
  padding: 1rem .85rem;
  box-shadow: var(--shadow);
}
/* Home category tiles — solid green + white for prominence */
.service-card {
  background: var(--jm-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(6, 78, 59, .16);
}
.service-card__icon {
  display: inline-grid;
  place-items: center;
  font-size: 1.35rem;
  line-height: 1;
  color: #fff;
}
.service-card__icon .bi { font-size: inherit; }
.service-card h3 { font-size: 1.05rem; margin: .35rem 0 .2rem; color: #fff; font-weight: 700; }
.service-card p { font-size: .86rem; color: rgba(236, 253, 245, .9); font-weight: 500; line-height: 1.45; }
.dir-hub h3, .dir-card h2 { font-size: 1.05rem; margin: .35rem 0 .2rem; color: var(--jm-fg); }
.dir-hub p, .dir-card p { font-size: .86rem; color: var(--jm-subtle); font-weight: 500; line-height: 1.45; }
.dir-card__count {
  margin: .15rem 0 .35rem !important;
  font-size: .95rem !important;
  font-weight: 700 !important;
  color: var(--jm-primary) !important;
}

.why-grid { grid-template-columns: 1fr; }
.why-grid article {
  background: var(--jm-card);
  border-radius: .9rem;
  padding: 1rem;
  border: 1px solid var(--jm-border);
}
.why-grid h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.why-grid p { color: var(--jm-subtle); font-size: .92rem; font-weight: 500; }
.why-grid--home article {
  background: var(--jm-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(6, 78, 59, .16);
}
.why-grid--home h3 { color: #fff; font-weight: 700; }
.why-grid--home p { color: rgba(236, 253, 245, .9); }

/* Welcome collage block (Matrimo-style) */
.welcome-block { background: #fffaf6; }
.welcome-block__grid {
  display: grid;
  gap: 1.75rem;
}
.welcome-visual {
  position: relative;
  min-height: 18rem;
  margin: .75rem .5rem 1.25rem;
}
.welcome-visual__panel {
  position: relative;
  background: #1c1917;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}
.welcome-visual__panel img {
  width: 100%; height: 100%; object-fit: cover; opacity: .92;
}
.welcome-visual__card {
  position: absolute;
  right: -.35rem;
  bottom: -1.1rem;
  width: 48%;
  border-radius: 1.1rem 0 1.1rem 0;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: 0 12px 28px rgba(2, 44, 34, .16);
  background: #fff;
  z-index: 2;
}
.welcome-visual__card img {
  width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 15%;
}
.welcome-visual__ring {
  position: absolute;
  width: 4.5rem; height: 4.5rem;
  border: 3px solid var(--jm-primary);
  border-radius: 50%;
  left: -.6rem; top: -.7rem;
  z-index: 1;
  opacity: .85;
}
.welcome-visual__frame {
  position: absolute;
  width: 42%; height: 38%;
  border: 3px solid #f9a8d4;
  border-radius: .85rem;
  right: -0.4rem; bottom: -0.35rem;
  z-index: 0;
}
.welcome-copy__kicker {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 6vw, 2.4rem);
  color: #3f2a1e;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.welcome-copy__brand {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5.5vw, 2.1rem);
  color: var(--jm-accent);
  text-transform: uppercase;
  font-weight: 600;
  margin: .15rem 0 .75rem;
  letter-spacing: .02em;
}
.welcome-copy__lead {
  color: #5c4a3d;
  font-size: .92rem;
  margin-bottom: .85rem;
}
.welcome-copy__cta a {
  font-weight: 600;
  color: #3f2a1e;
  font-size: .95rem;
}
.welcome-copy__cta span { color: var(--jm-accent); }
.welcome-copy__rule {
  border: 0;
  border-top: 1px solid #e7d8cb;
  margin: 1rem 0;
}
.welcome-copy__body {
  color: #5c4a3d;
  font-size: .9rem;
  margin-bottom: 1.15rem;
}
.welcome-contacts {
  display: grid;
  gap: .85rem;
}
.welcome-contact {
  display: flex;
  align-items: center;
  gap: .7rem;
}
.welcome-contact__icon {
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  background: #1c1917;
  color: #fff;
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.welcome-contact small {
  display: block;
  font-size: .72rem;
  color: var(--jm-subtle);
  font-weight: 600;
}
.welcome-contact strong {
  display: block;
  font-size: .92rem;
  color: #1c1917;
  font-weight: 700;
}
.stat-pills {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem;
  margin: 1rem 0;
}
.stat-pills strong {
  display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--jm-primary);
}
.stat-pills span { font-size: .7rem; color: var(--jm-muted-fg); }

/* How it works — vertical timeline (Matrimo-style) */
.how-works { background: #fffaf6; }
.how-works__head { text-align: center; margin-bottom: 1.5rem; }
.how-works__head h2 { font-size: clamp(1.7rem, 5vw, 2.4rem); color: #3f2a1e; }
.how-works__floral {
  width: min(12rem, 55%);
  margin: .65rem auto 0;
  display: block;
  mix-blend-mode: multiply;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 .5rem;
  position: relative;
  display: grid;
  gap: 1.35rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 1.35rem;
  top: .4rem;
  bottom: .4rem;
  width: 2px;
  background: #5c4030;
  opacity: .55;
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 2.7rem 1fr;
  gap: .75rem;
  align-items: start;
}
.timeline__item::after {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 1.15rem;
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  background: #5c4030;
  z-index: 1;
}
.timeline__icon {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ecd9c8;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  z-index: 2;
}
.timeline__icon svg { width: 1.55rem; height: 1.55rem; }
.timeline__body h3 {
  font-size: 1.2rem;
  color: #3f2a1e;
  margin-bottom: .2rem;
}
.timeline__meta {
  color: var(--jm-accent);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .35rem;
}
.timeline__body > p:last-child {
  color: #5c4a3d;
  font-size: .88rem;
  line-height: 1.55;
}

.m-cta__box {
  background: var(--jm-hero-gradient);
  color: #fff;
  border-radius: 1.1rem;
  padding: 1.5rem 1.1rem;
  text-align: center;
}
.m-cta__box h2 { font-size: 1.6rem; }
.m-cta__box p { margin: .5rem 0 1rem; opacity: .9; }
.m-cta__actions { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; }

/* Profile cards — photo-light */
.profile-grid { grid-template-columns: 1fr 1fr; }
.profile-card {
  display: flex;
  flex-direction: column;
  background: var(--jm-card);
  border: 1px solid var(--jm-border);
  border-radius: .85rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.profile-card.is-featured {
  box-shadow: 0 10px 28px rgba(219, 39, 119, .12);
  border-color: #f9a8d4;
}
.profile-card__featured {
  position: absolute;
  z-index: 2;
  top: .45rem;
  left: .45rem;
  background: #db2777;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .2rem .45rem;
  border-radius: 999px;
}
.profile-card__media {
  position: relative;
  flex: 0 0 auto;
  height: 4.75rem;
  background: var(--jm-muted);
  overflow: hidden;
}
.profile-card__media.is-avatar { height: 4.75rem; }
.profile-card__media:not(.is-avatar) { height: 6.5rem; }
.profile-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.profile-card__media.is-blurred img { filter: blur(10px); transform: scale(1.08); }
.avatar-fallback {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; color: #fff;
}
.avatar-fallback.tone-female { background: linear-gradient(120deg, #047857, #db2777); }
.avatar-fallback.tone-male { background: linear-gradient(120deg, #064e3b, #0f766e); }
.photo-privacy-tag {
  position: absolute; right: .4rem; top: .4rem;
  background: rgba(2,44,34,.72); color: #fff;
  font-size: .6rem; font-weight: 700;
  padding: .15rem .4rem; border-radius: .35rem;
}
.profile-card__body {
  flex: 1 1 auto;
  padding: .7rem .7rem .8rem;
  display: grid;
  align-content: start;
  gap: .35rem;
}
.profile-card__body h2 {
  font-size: 1.02rem;
  color: var(--jm-primary);
  line-height: 1.25;
  margin: 0;
}
.profile-card__id {
  margin: 0; font-size: .65rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--jm-accent, #9f1239);
}
.profile-card__meta {
  list-style: none;
  margin: .15rem 0 0;
  padding: 0;
  display: grid;
  gap: .28rem;
}
.profile-card__meta li {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: .4rem;
  align-items: start;
  font-size: .74rem;
  color: #5c4a3d;
  line-height: 1.35;
}
.profile-card__meta-icon {
  display: inline-grid;
  place-items: center;
  color: var(--jm-primary);
  margin-top: .08rem;
  opacity: .85;
}
.meta-line { font-size: .68rem !important; }
.verified-dot { color: var(--jm-success); }
.verified-badge {
  display: inline-flex; align-items: center; gap: .2rem;
  margin-left: .35rem; padding: .12rem .45rem;
  border-radius: 999px; font-size: .68rem; font-weight: 700;
  background: #ecfdf5; color: #047857; vertical-align: middle;
  white-space: nowrap;
}
.verified-badge .bi { font-size: .85em; }
.verified-badge--lg { font-size: .78rem; padding: .2rem .6rem; }
.plist-card__title h2 { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.plist-card__title h2 a { color: inherit; }

/* Shared page bits */
.page-head { text-align: center; margin-bottom: 1rem; }
.page-head--left { text-align: left; }
.page-head h1 { font-size: clamp(1.5rem, 5vw, 2.2rem); color: var(--jm-fg); }
.page-head p { margin-top: .45rem; color: var(--jm-subtle); font-size: .95rem; font-weight: 500; max-width: 40rem; margin-inline: auto; line-height: 1.5; }
.page-head--left p { margin-inline: 0; }

/* Profiles browse — Matrimo list layout */
.browse-hero {
  position: relative;
  min-height: 10.5rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  margin-bottom: 1rem;
}
.browse-hero__bg {
  position: absolute; inset: 0;
  background: #4a044e;
}
.browse-hero__bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: .45;
}
.browse-hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(76,5,61,.82), rgba(6,78,59,.55) 55%, rgba(190,24,93,.7));
}
.browse-hero__content {
  position: relative; z-index: 1;
  text-align: center;
  padding: 1.5rem 1rem;
}
.browse-hero__content h1 {
  font-size: clamp(1.55rem, 5vw, 2.35rem);
  color: #fff;
  margin-bottom: .85rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.browse-layout {
  display: grid;
  gap: 1rem;
  padding-bottom: 2rem;
}
.browse-side {
  display: grid;
  gap: .85rem;
  align-content: start;
}
.browse-filters {
  background: #fff;
  border: 1px solid #f0e4d8;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 8px 22px rgba(63, 42, 30, .05);
  display: grid;
  gap: .65rem;
}
.browse-filters select {
  width: 100%;
  min-height: 2.7rem;
  border: 1px solid #e7d8cb;
  border-radius: .55rem;
  padding: 0 .75rem;
  background: #fffaf6;
  color: #3f2a1e;
}
.browse-radios {
  border: 0;
  margin: 0;
  padding: .25rem 0 0;
  display: grid;
  gap: .35rem;
}
.browse-radios legend {
  font-size: .78rem;
  font-weight: 700;
  color: #5c4a3d;
  margin-bottom: .2rem;
}
.browse-radios label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: #5c4a3d;
}
.browse-adv {
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  color: var(--jm-accent);
}
.browse-help {
  background: #1c1917;
  color: #fafaf9;
  border-radius: 1rem;
  padding: 1.15rem 1rem;
  text-align: center;
}
.browse-help h2 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .45rem;
}
.browse-help p {
  font-size: .82rem;
  color: rgba(255,255,255,.72);
  margin-bottom: .85rem;
}
.settings-form { display: grid; gap: 1rem; }
.settings-options {
  display: grid;
  gap: .7rem;
}
.settings-form .settings-item,
.settings-item {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: 1rem 1.05rem;
  border: 1px solid #e7d8cb;
  border-radius: 12px;
  background: #fffaf6;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}
.settings-item:hover { border-color: #d4b8a2; background: #fff7f0; }
.settings-item--static { cursor: default; }
.settings-item--static:hover { border-color: #e7d8cb; background: #fffaf6; }
.settings-item__check {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  padding-top: .2rem;
}
.settings-form .settings-item__check input,
.settings-item__check input {
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  min-height: 1.15rem;
  margin: 0;
  accent-color: var(--jm-primary, #064e3b);
  cursor: pointer;
}
.settings-item__body {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-width: 0;
  flex: 1 1 auto;
}
.settings-item__title,
.settings-item__body strong {
  display: block;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.35;
  color: #3f2a1e;
}
.settings-item__help,
.settings-item__body small {
  display: block;
  font-size: .84rem;
  color: var(--jm-subtle);
  line-height: 1.5;
  font-weight: 500;
}
.settings-form__actions {
  display: flex;
  justify-content: flex-start;
  padding-top: .15rem;
}
.settings-pill {
  display: inline-flex;
  align-items: center;
  margin-left: .25rem;
  padding: .12rem .45rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  vertical-align: middle;
}
.settings-pill--ok { background: #d1fae5; color: #065f46; }
.settings-pill--wait { background: #ffedd5; color: #9a3412; }
.settings-pill--off { background: #fee2e2; color: #9f1239; }
.settings-explain {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: .75rem;
  color: #5c4a3d;
  font-size: .9rem;
  line-height: 1.5;
}
.settings-explain strong { color: #3f2a1e; }

.browse-refer {
  margin-top: .85rem;
  background:
    radial-gradient(ellipse 80% 100% at 100% 0%, rgba(251, 191, 36, .22), transparent 55%),
    linear-gradient(160deg, #0f172a 0%, #134e4a 100%);
  color: #ecfdf5;
  border-radius: 1rem;
  padding: 1.1rem 1rem;
  text-align: center;
}
.browse-refer__tag {
  display: inline-flex;
  margin: 0 0 .45rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(251, 191, 36, .2);
  border: 1px solid rgba(251, 191, 36, .35);
  color: #fef3c7;
}
.browse-refer h2 {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .4rem;
  line-height: 1.3;
}
.browse-refer p {
  font-size: .8rem;
  color: rgba(236, 253, 245, .78);
  margin: 0 0 .85rem;
  line-height: 1.45;
}
.promo-banner--referral {
  margin-top: 0;
}
.browse-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #f0e4d8;
  border-radius: .85rem;
  padding: .65rem .85rem;
  margin-bottom: .85rem;
  box-shadow: 0 6px 16px rgba(63, 42, 30, .04);
}
.browse-toolbar p { font-size: .9rem; color: #5c4a3d; }
.browse-toolbar__right {
  display: flex; flex-wrap: wrap; gap: .55rem; align-items: center;
}
.browse-sort label {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 600; color: var(--jm-subtle);
}
.browse-sort select {
  min-height: 2.2rem;
  border: 1px solid #e7d8cb;
  border-radius: .45rem;
  padding: 0 .5rem;
  background: #fff;
  color: #3f2a1e;
}
.browse-view {
  display: inline-flex;
  border: 1px solid #e7d8cb;
  border-radius: .45rem;
  overflow: hidden;
}
.browse-view a {
  width: 2.2rem; height: 2.2rem;
  display: grid; place-items: center;
  color: var(--jm-subtle); font-size: .95rem;
}
.browse-view a.is-active {
  background: var(--jm-primary);
  color: #fff;
}
.plist { display: grid; gap: .75rem; }
.plist-card {
  display: grid;
  gap: .85rem;
  background: #fff;
  border: 1px solid #f0e4d8;
  border-radius: 1rem;
  padding: .75rem;
  box-shadow: 0 8px 22px rgba(63, 42, 30, .05);
}
.plist-card__media {
  position: relative;
  border-radius: .75rem;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: #292524;
  max-width: 12rem;
}
.plist-card__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.plist-card__media.is-blurred img {
  filter: blur(10px); transform: scale(1.08);
}
.plist-card__fallback {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 700; color: #fff;
  background: linear-gradient(160deg, #064e3b, #047857 55%, #9d174d);
}
.plist-card__dot {
  position: absolute; top: .55rem; left: .55rem;
  width: .7rem; height: .7rem; border-radius: 50%;
  background: #94a3b8; border: 2px solid #fff;
}
.plist-card__dot.is-on { background: #22c55e; }
.plist-card__status {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .4rem .55rem;
  font-size: .68rem; font-weight: 700;
  text-align: center; color: #fff;
}
.plist-card__status.is-on { background: #059669; }
.plist-card__status.is-off { background: rgba(51, 65, 85, .88); }
.plist-card__body { min-width: 0; display: grid; gap: .7rem; align-content: start; }
.plist-card__title { min-width: 0; }
.plist-card__id {
  margin: 0 0 .15rem; font-size: .72rem; font-weight: 700; letter-spacing: .03em;
  color: var(--jm-accent, #9f1239);
}
.plist-card__top {  display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem;
}
.plist-card__top h2 {
  font-size: clamp(1.25rem, 3.5vw, 1.65rem);
  color: #3f2a1e;
}
.plist-card__top h2 a:hover { color: var(--jm-accent); }
.plist-card__like {
  position: relative;
  z-index: 2;
  width: 2.2rem; height: 2.2rem;
  border-radius: .45rem;
  border: 1px solid color-mix(in srgb, var(--jm-accent) 40%, #fff);
  background: #fdf2f8;
  color: var(--jm-accent);
  display: grid; place-items: center;
  cursor: pointer;
  flex: 0 0 auto;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.plist-card__like .bi { pointer-events: none; }
.plist-card__like:hover,
.plist-card__like:focus-visible {
  background: var(--jm-accent);
  border-color: var(--jm-accent);
  color: #fff;
  outline: none;
}
.plist-tags {
  display: flex; flex-wrap: wrap; gap: .4rem;
}
.plist-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: .15rem .55rem;
  border-radius: .45rem;
  background: #1e3a5f;
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
}
.plist-card__actions {
  display: flex; flex-wrap: wrap; gap: .55rem .9rem;
  padding-top: .15rem;
  border-top: 1px solid #f3e8df;
}
.plist-card__actions a,
.plist-card__actions .plist-card__linkbtn {
  font-size: .82rem;
  font-weight: 700;
  color: #5c4a3d;
  background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit;
}
.plist-card__actions a:hover,
.plist-card__actions .plist-card__linkbtn:hover { color: var(--jm-accent); }
.filters, .advanced-search, .demo-toolbar, .card, .wizard {
  background: var(--jm-card);
  border: 1px solid var(--jm-border);
  border-radius: .9rem;
  padding: .9rem;
  box-shadow: var(--shadow);
}
.filters { display: grid; gap: .6rem; margin-bottom: 1rem; }
.filters label, .advanced-search label, .field {
  display: grid; gap: .3rem; font-size: .78rem; font-weight: 600; color: var(--jm-muted-fg);
}
.filters input:not([type="radio"]):not([type="checkbox"]), .filters select,
.advanced-search input:not([type="radio"]):not([type="checkbox"]), .advanced-search select,
.field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea {
  min-height: 2.6rem; width: 100%;
  border: 1px solid var(--jm-border); border-radius: .55rem;
  padding: .5rem .65rem; background: #fff; color: var(--jm-fg);
}
.advanced-search__grid { display: grid; gap: .65rem; }
.advanced-search__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .85rem; }

/* Smart / voice search */
.voice-search {
  margin: 0 0 1.1rem;
  padding: 1rem 1rem 1.05rem;
  border-radius: .95rem;
  border: 1px solid color-mix(in srgb, var(--jm-primary) 22%, var(--jm-border));
  background:
    radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--jm-accent) 14%, transparent), transparent 55%),
    linear-gradient(165deg, #fff 0%, color-mix(in srgb, var(--jm-primary) 5%, #fff) 100%);
  box-shadow: var(--shadow);
}
.voice-search__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .55rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--jm-muted-fg);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.voice-search__hint {
  font-size: .72rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--jm-primary);
  opacity: .85;
}
.voice-search__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: .5rem;
}
.voice-search__input {
  min-height: 2.85rem;
  width: 100%;
  border: 1px solid var(--jm-border);
  border-radius: .6rem;
  padding: .6rem .8rem;
  background: #fff;
  color: var(--jm-fg);
  font-size: 1.05rem;
  font-family: var(--font-urdu);
  line-height: 1.85;
}
.voice-search__input:focus {
  outline: 2px solid color-mix(in srgb, var(--jm-primary) 35%, transparent);
  outline-offset: 1px;
  border-color: var(--jm-primary);
}
.voice-search__lang {
  min-height: 2.6rem;
  border: 1px solid var(--jm-border);
  border-radius: .55rem;
  padding: .4rem .55rem;
  background: #fff;
  color: var(--jm-fg);
  font-size: .85rem;
}
.voice-search__mic,
.voice-search__go {
  min-height: 2.6rem;
}
.voice-search__mic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}
.voice-search__mic-icon { display: inline-flex; line-height: 0; }
.voice-search__mic.is-listening {
  background: color-mix(in srgb, #c2410c 12%, #fff);
  border-color: #c2410c;
  color: #9a3412;
  animation: voice-pulse 1.2s ease-in-out infinite;
}
@keyframes voice-pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, #c2410c 35%, transparent); }
  50% { box-shadow: 0 0 0 6px transparent; }
}
.voice-search__status,
.voice-search__english {
  margin: .55rem 0 0;
  font-size: .82rem;
  color: var(--jm-muted-fg);
}
.voice-search__english {
  color: var(--jm-fg);
  font-weight: 600;
}
.voice-search__english strong { color: var(--jm-primary); font-weight: 700; }
.voice-search__status.is-error { color: #b91c1c; }
.check-inline { display: flex !important; align-items: center; gap: .45rem; color: var(--jm-fg) !important; }
.check input[type="checkbox"],
.check-inline input[type="checkbox"] {
  width: 1rem; height: 1rem; min-height: 0; margin: 0; flex: 0 0 auto;
  accent-color: var(--jm-primary);
}
.results-meta { margin: .5rem 0 1rem; color: var(--jm-subtle); font-size: .88rem; font-weight: 500; }
.breadcrumbs {
  display: flex; flex-wrap: wrap; gap: .3rem; font-size: .78rem; color: var(--jm-muted-fg); margin-bottom: .75rem;
}
.breadcrumbs a { color: var(--jm-primary); font-weight: 600; }
.breadcrumbs__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: .3rem;
}
.breadcrumbs__item { display: inline-flex; align-items: center; gap: .3rem; }
.breadcrumbs__sep { opacity: .55; }

/* Answer-First + E-A-E-T trust widget (GEO / YMYL) */
.answer-first {
  margin: .35rem 0 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--jm-fg, #1c1917);
  max-width: 46rem;
}
.answer-first__q {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--jm-subtle, #78716c);
  margin-bottom: .35rem;
}
.trust-widget {
  margin: 0;
  padding: 1.25rem 0 0.25rem;
}
.trust-widget__intro { margin-bottom: 1.25rem; }
.trust-widget__intro h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: .25rem 0 .5rem;
  color: #3f2a1e;
}
.trust-widget__grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 860px) {
  .trust-widget__grid { grid-template-columns: 1.15fr 1fr; }
}
.trust-panel {
  background: #fff;
  border: 1px solid #f0e4d8;
  border-radius: 1rem;
  padding: 1rem 1.1rem 1.15rem;
}
.trust-panel h3 {
  font-family: var(--font-sans, inherit);
  font-size: 1rem;
  line-height: 1.35;
  margin: 0 0 .45rem;
  color: #1c1917;
}
.trust-badges {
  list-style: none; margin: 1rem 0 0; padding: 0;
  display: grid; gap: .65rem;
}
.trust-badge {
  display: grid;
  grid-template-columns: 2.35rem 1fr;
  gap: .7rem;
  align-items: center;
  padding: .7rem .75rem;
  border-radius: .85rem;
  border: 1px solid #f0e4d8;
  background: #fffaf6;
}
.trust-badge.is-on {
  border-color: transparent;
  background: var(--jm-primary);
  color: #fff;
}
.trust-badge.is-off { opacity: .78; }
.trust-badge.is-soft { background: #f8fafc; border-color: #e2e8f0; }
.trust-badge__icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: .65rem;
  background: #fff;
  color: #064e3b;
  font-size: 1.1rem;
  line-height: 0;
  align-self: center;
  flex-shrink: 0;
}
.trust-badge__icon .bi {
  display: grid;
  place-items: center;
  width: 1.15em;
  height: 1.15em;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 1.35em;
  padding-top: 10px;
}
.trust-badge__icon .bi::before {
  line-height: 1;
  vertical-align: middle;
}
.trust-badge.is-on .trust-badge__icon {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}
.trust-badge strong { display: block; font-size: .88rem; color: #1c1917; line-height: 1.25; }
.trust-badge span { display: block; margin-top: .15rem; font-size: .8rem; color: #57534e; line-height: 1.4; }
.trust-badge.is-on strong { color: #fff; }
.trust-badge.is-on > div > span { color: rgba(236, 253, 245, .9); }
.trust-points {
  margin: .85rem 0 0; padding-left: 1.1rem;
  display: grid; gap: .4rem;
  font-size: .9rem; color: #44403c; line-height: 1.45;
}
.trust-stories { margin-top: 1.35rem; }
.trust-stories h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 .4rem;
  color: #3f2a1e;
}
.trust-stories__grid {
  display: grid; gap: .85rem; margin-top: .9rem;
}
@media (min-width: 760px) {
  .trust-stories__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.trust-story {
  margin: 0;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  background: linear-gradient(145deg, #064e3b 0%, #0b6b52 55%, #0f766e 100%);
  color: #ecfdf5;
  min-height: 0;
  overflow: visible;
}
.trust-story p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.55;
  font-weight: 500;
  color: #f0fdf4;
}
.trust-story footer {
  margin-top: .75rem;
  display: grid; gap: .1rem;
}
.trust-story footer strong { font-size: .82rem; color: #fff; font-weight: 700; }
.trust-story footer span { font-size: .75rem; color: rgba(236, 253, 245, .78); }
.trust-legal {
  margin-top: 1.25rem;
  padding: .9rem 1rem;
  border-radius: .85rem;
  background: #f0fdf4;
  border: 1px solid rgba(6, 78, 59, .12);
  font-size: .88rem;
  line-height: 1.5;
  color: #334155;
}
.trust-legal a { font-weight: 600; color: #064e3b; }
.trust-signals { margin-top: 1rem; } /* alias if older partial is included */
.chip-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  border: 1px solid var(--jm-border); background: #fff; border-radius: .55rem;
  padding: .4rem .65rem; font-size: .78rem; font-weight: 600; color: var(--jm-muted-fg);
}
.chip.is-active { background: var(--jm-primary); color: #fff; border-color: var(--jm-primary); }
.empty-state { text-align: center; padding: 1.5rem .5rem; color: var(--jm-subtle); font-weight: 500; }
.pagination { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin-top: 1rem; }
.pagination a {
  min-width: 2.2rem; min-height: 2.2rem; display: grid; place-items: center;
  border: 1px solid var(--jm-border); border-radius: .45rem; font-size: .85rem;
}
.pagination a.is-active { background: var(--jm-primary); color: #fff; }

/* Register wizard */
.register-wrap { max-width: 34rem; margin: 0 auto; }
.wizard { padding: 0; overflow: hidden; }
.wizard__header {
  background: var(--jm-hero-gradient); color: #fff; padding: 1.15rem 1rem;
}
.wizard__header h1 { font-size: 1.45rem; }
.wizard__form { padding: 1rem; display: grid; gap: .85rem; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.choice-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.choice {
  min-height: 2.4rem; display: flex; align-items: center; justify-content: center;
  gap: .4rem; padding: .35rem .55rem; cursor: pointer;
  border: 1px solid var(--jm-border); border-radius: .55rem; font-weight: 600; font-size: .82rem;
  background: #fff; color: var(--jm-fg);
}
.choice input[type="radio"],
.choice input[type="checkbox"] {
  width: 1rem; height: 1rem; min-height: 0; margin: 0;
  flex: 0 0 auto; accent-color: var(--jm-primary);
}
.choice:has(input:checked) { background: var(--jm-muted); border-color: var(--jm-primary); }
.wizard__nav { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.grid-2, .grid-3 { display: grid; gap: .65rem; }
.progress-track { height: .35rem; background: rgba(255,255,255,.25); border-radius: 99px; overflow: hidden; margin-top: .35rem; }
.progress-bar { height: 100%; background: var(--jm-accent); }
.field .error, .submit-error { color: var(--jm-danger); font-size: .72rem; }
.check { display: flex; gap: .45rem; font-size: .82rem; font-weight: 500; }
.field__ur { font-weight: 500; color: var(--jm-subtle); margin-inline-start: .2rem; }

/* Profile detail — details-first (photos secondary) */
.pd-crumb {
  display: flex; flex-wrap: wrap; gap: .35rem; align-items: center;
  font-size: .78rem; color: var(--jm-subtle); margin: .75rem auto .5rem;
}
.pd-crumb a { color: var(--jm-primary); font-weight: 600; }
.pd { padding-bottom: 2rem; }
.pd-top {
  display: grid; gap: 1rem;
  background: #fff; border: 1px solid #f0e4d8; border-radius: 1rem;
  padding: 1rem; box-shadow: 0 8px 22px rgba(63,42,30,.05);
}
.pd-aside { display: grid; gap: .75rem; align-content: start; }
.pd-avatar {
  position: relative; width: 7.5rem; height: 7.5rem; border-radius: .9rem;
  overflow: hidden; background: #e7e5e4; margin: 0 auto;
}
.pd-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pd-avatar.is-blurred img { filter: blur(8px); transform: scale(1.06); }
.pd-avatar.is-initials {
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  background: linear-gradient(145deg, #064e3b, #047857);
}
.pd-avatar__empty, .pd-avatar__note {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(2,44,34,.78); color: #fff;
  font-size: .62rem; text-align: center; padding: .35rem .3rem; line-height: 1.25;
}
.pd-avatar__note strong { display: block; font-size: .68rem; }
.pd-actions { display: grid; gap: .45rem; }
.pd-aside__hint {
  margin: 0;
  font-size: .88rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--jm-fg);
  text-align: center;
  opacity: .85;
}
.pd-head h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); color: #3f2a1e; }
.pd-member-id {
  margin: 0 0 .35rem; font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--jm-subtle);
}
.pd-member-id strong {
  font-family: var(--font-sans); font-size: .95rem; letter-spacing: .02em;
  color: #9f1239; font-weight: 800;
}
.pd-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.pd-badge {
  display: inline-flex; align-items: center; min-height: 1.55rem;
  padding: .1rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700;
  background: #fff1f2; color: #9f1239;
}
.pd-badge--ok { background: #ecfdf5; color: #047857; }
.pd-badge--soft { background: #f5f5f4; color: #57534e; }
.pd-highlights {
  list-style: none; margin: .9rem 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: .55rem;
}
.pd-highlights li {
  border: 1px solid #f0e4d8; border-radius: .7rem; padding: .65rem .7rem; background: #fffaf6;
}
.pd-highlights span { display: block; font-size: .68rem; color: var(--jm-subtle); font-weight: 600; text-transform: uppercase; }
.pd-highlights strong { display: block; margin-top: .15rem; font-size: .95rem; color: #1c1917; }
.pd-block { margin-top: 1.15rem; background: #fff; border: 1px solid #f0e4d8; border-radius: 1rem; padding: 1rem; }
.pd-block h2 {
  font-family: var(--font-sans); font-size: .82rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--jm-subtle); margin-bottom: .75rem;
}
.pd-muted { color: var(--jm-subtle); font-size: .9rem; }
.pd-bio-bullets {
  margin: 0; padding-left: 1.15rem; display: grid; gap: .4rem;
  color: #1c1917; font-size: .95rem; line-height: 1.45;
}
.pd-bio-bullets li::marker { color: var(--jm-accent, #b45309); }
.pd-facts {
  display: grid; gap: .55rem; margin: 0;
}
.pd-facts > div {
  display: grid; grid-template-columns: 8.5rem 1fr; gap: .5rem;
  padding: .45rem 0; border-bottom: 1px solid #f3e8df; font-size: .9rem;
}
.pd-facts dt { color: var(--jm-subtle); font-weight: 600; }
.pd-facts dd { margin: 0; color: #1c1917; font-weight: 600; }
.pd-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.pd-gallery figure { margin: 0; aspect-ratio: 1; border-radius: .55rem; overflow: hidden; background: #e7e5e4; }
.pd-gallery img { width: 100%; height: 100%; object-fit: cover; }
.pd-gallery .is-blurred img { filter: blur(8px); transform: scale(1.05); }
.pd-contact { list-style: none; margin: 0 0 .65rem; padding: 0; display: grid; gap: .55rem; }
.pd-contact li {
  display: flex; flex-wrap: wrap; gap: .35rem .75rem; align-items: center;
  padding: .55rem 0; border-bottom: 1px solid #f3e8df; font-size: .9rem;
}
.pd-contact span { min-width: 4.5rem; color: var(--jm-subtle); font-weight: 600; }
.pd-contact a { color: var(--jm-accent); font-weight: 700; font-size: .8rem; }
.pd-contact__masked { letter-spacing: .08em; color: var(--jm-subtle); filter: blur(3px); user-select: none; }
.pd-contact-actions { margin-top: .85rem; display: grid; gap: .55rem; }
.pd-contact-status {
  margin: 0; padding: .7rem .85rem; border-radius: .55rem; font-size: .88rem; font-weight: 600;
}
.pd-contact-status--pending { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.pd-contact-status--rejected { background: #fff1f2; color: #9f1239; border: 1px solid #fecdd3; }
.notif-list { display: grid; gap: .65rem; }
.notif-item {
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; align-items: flex-start;
  padding: .85rem .9rem; border: 1px solid #f0e4d8; border-radius: .7rem; background: #fff;
}
.notif-item.is-unread { border-color: #bbf7d0; background: #f0fdf4; }
.notif-item p { margin: .35rem 0 0; font-size: .88rem; color: #5c4a3d; }
.notif-meta { display: block; font-size: .75rem; color: var(--jm-subtle); margin-top: .15rem; }
.notif-actions form { display: flex; flex-wrap: wrap; gap: .4rem; }
.pd-cta {
  margin-top: 1.15rem; display: flex; flex-wrap: wrap; gap: .85rem;
  align-items: center; justify-content: space-between;
  background: linear-gradient(120deg, #064e3b, #0f766e 55%, #9d174d);
  color: #fff; border-radius: 1rem; padding: 1.15rem 1.2rem;
}
.pd-cta h2 { font-size: 1.35rem; color: #fff; }
.pd-cta p { font-size: .88rem; color: rgba(255,255,255,.82); margin-top: .2rem; }
.pd-related { display: grid; gap: .65rem; }
.pd-related__card {
  display: grid; grid-template-columns: 3.5rem 1fr; gap: .7rem; align-items: center;
  padding: .65rem; border: 1px solid #f0e4d8; border-radius: .75rem; background: #fffaf6;
}
.pd-related__media {
  width: 3.5rem; height: 3.5rem; border-radius: .55rem; overflow: hidden;
  display: grid; place-items: center; color: #fff; font-weight: 700;
  background: linear-gradient(145deg, #064e3b, #047857);
}
.pd-related__media img { width: 100%; height: 100%; object-fit: cover; }
.pd-related__card strong { display: block; font-size: .92rem; color: #1c1917; }
.pd-related__card span { display: block; font-size: .75rem; color: var(--jm-subtle); }

/* More related profiles on profile detail */
.pd-related-section {
  margin-top: 1.75rem;
  padding: 1.25rem 1.1rem 1.35rem;
  border-radius: 1.1rem;
  border: 1px solid #f0e4d8;
  background:
    linear-gradient(180deg, #fffdfb 0%, #fff 55%),
    radial-gradient(ellipse at top right, rgba(6, 78, 59, .06), transparent 55%);
}
.pd-related-section__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: .85rem 1rem; margin-bottom: 1rem;
}
.pd-related-section__eyebrow {
  margin: 0 0 .2rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #047857;
}
.pd-related-section h2 {
  margin: 0; font-family: var(--font-sans); font-size: 1.2rem; letter-spacing: 0;
  text-transform: none; color: #1c1917; font-weight: 700;
}
.pd-related-section__lead {
  margin: .35rem 0 0; font-size: .88rem; color: #78716c; max-width: 36rem; line-height: 1.45;
}
.profile-grid--related {
  margin: 0;
}
@media (min-width: 900px) {
  .pd-related-section { padding: 1.5rem 1.35rem 1.6rem; }
  .pd-related-section h2 { font-size: 1.35rem; }
}
.meta-grid { display: grid; gap: .7rem; }
.meta-grid dt { font-size: .68rem; text-transform: uppercase; color: var(--jm-muted-fg); }
.meta-grid dd { margin: .15rem 0 0; font-weight: 600; }
.badge {
  display: inline-flex; margin-left: .3rem; background: var(--jm-success);
  color: #fff; border-radius: .35rem; padding: .1rem .4rem; font-size: .65rem; font-family: var(--font-sans);
}

/* Auth / contact split cards */
.auth-page { padding: 1.25rem 0 2rem; }
.auth-split {
  display: grid;
  background: #fff;
  border: 1px solid #f0e4d8;
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(63,42,30,.08);
}
.auth-split__promo {
  background: linear-gradient(165deg, #fef3c7, #fde68a 55%, #fce7f3);
  padding: 1.35rem 1.15rem 1.15rem;
  text-align: center;
}
.auth-split__kicker {
  font-family: var(--font-display); font-size: 1.1rem; color: #3f2a1e;
}
.auth-split__promo h2 {
  font-size: clamp(1.45rem, 4vw, 1.9rem); color: #3f2a1e; margin: .25rem 0 .85rem;
}
.auth-split__promo em { font-style: normal; color: var(--jm-accent); }
.auth-split__art {
  width: min(12rem, 70%); margin: 0 auto .75rem; border-radius: 50%;
  overflow: hidden; border: 4px solid #fff; box-shadow: 0 10px 24px rgba(63,42,30,.12);
  aspect-ratio: 1;
}
.auth-split__art img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.auth-split__note { font-size: .82rem; color: #5c4a3d; }
.auth-split__panel { padding: 1.25rem 1.1rem 1.35rem; }
.auth-split__eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #c2410c; margin-bottom: .25rem;
}
.auth-split__panel h1, .auth-split__panel h2 {
  font-size: clamp(1.35rem, 3.5vw, 1.75rem); color: #3f2a1e; margin-bottom: .35rem;
}
.auth-split__switch { font-size: .88rem; color: #5c4a3d; margin-bottom: .9rem; }
.auth-split__switch a { color: #1d4ed8; font-weight: 700; }
.auth-form { display: grid; gap: .75rem; }
.auth-form textarea {
  width: 100%; border: 1px solid #e7d8cb; border-radius: .55rem;
  padding: .65rem .75rem; min-height: 6rem; resize: vertical; background: #fffaf6;
}
.btn-outline-dark {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.45rem; padding: 0 1rem; border-radius: .5rem;
  border: 1px solid #1c1917; color: #1c1917; font-weight: 700; font-size: .82rem; background: #fff;
}
.register-wrap { max-width: none; margin: 0; }
.wizard { border: 0; box-shadow: none; }
.wizard__header { background: transparent; color: inherit; padding: 0 0 .85rem; }
.wizard__header h1 { color: #3f2a1e; }
.register-assist {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: .85rem 1rem;
  margin-bottom: 1rem;
  font-size: .88rem;
  color: #065f46;
  line-height: 1.45;
}
.register-assist p { margin: 0 0 .65rem; }
.register-assist--foot {
  margin-top: 1rem;
  margin-bottom: 0;
  text-align: center;
  background: #fffaf6;
  border-color: #e7d8cb;
  color: #5c4a3d;
}
.register-assist--foot a { font-weight: 700; color: var(--jm-accent); }
.register-lite-note {
  margin: .35rem 0 .75rem;
  font-size: .82rem;
  color: #64748b;
  line-height: 1.4;
}
.register-optional-banner {
  margin: 0 0 .85rem;
  padding: .55rem .75rem;
  border-radius: 10px;
  background: #fff7ed;
  color: #9a3412;
  font-size: .84rem;
  font-weight: 600;
}
.muted,
.pd-muted {
  color: var(--jm-subtle);
  font-weight: 500;
}
.muted-hint {
  display: block;
  margin-top: .2rem;
  font-size: .78rem;
  color: var(--jm-subtle);
  font-weight: 500;
}
.wizard__form { padding: 0; gap: 1.05rem; }
.auth-split--register .wizard__form { gap: 1.45rem; }
.auth-split--register .wizard__form .field,
.auth-split--register .wizard__form fieldset.field {
  gap: .5rem; font-size: .84rem; margin: 0;
}
.auth-split--register .wizard__form .field input:not([type="radio"]):not([type="checkbox"]),
.auth-split--register .wizard__form .field select,
.auth-split--register .wizard__form .field textarea {
  min-height: 2.95rem; padding: .65rem .85rem; font-size: .95rem; font-weight: 400;
}
.auth-split--register .wizard__form .field input::placeholder,
.auth-split--register .wizard__form .field textarea::placeholder {
  font-weight: 400; opacity: .75;
}
.auth-split--register .wizard__form .field textarea { min-height: 7.5rem; }
.auth-split--register .wizard__form .grid-2,
.auth-split--register .wizard__form .grid-3 {
  gap: 1.15rem 1.25rem;
  margin: 0;
}
.auth-split--register .choice-row { gap: .7rem; }
.auth-split--register .choice {
  min-height: 2.75rem; padding: .5rem .7rem; font-size: .88rem;
}
.auth-split--register .wizard__form .check { margin-top: .15rem; }
.auth-split--register .wizard__nav { gap: .75rem; margin-top: .55rem; }
.auth-split--register .auth-split__panel { padding: 1.55rem 1.55rem 1.75rem; }
.auth-split--register .auth-split__promo { padding: 1.25rem .85rem 1.1rem; }
.auth-split--register .auth-split__art { width: min(9.5rem, 68%); }
.auth-split--register .auth-split__promo h2 { font-size: clamp(1.2rem, 2.4vw, 1.55rem); }
.wizard__progress { margin-top: .75rem; }
.progress-track { background: #f3e8df; }
.progress-bar { background: var(--jm-primary); }

/* Contact page */
.page-hero--dark {
  background: linear-gradient(120deg, #1c1917, #064e3b 60%, #4a044e);
  color: #fff; padding: 2.25rem 0 3.5rem; text-align: center;
}
.page-hero__eyebrow {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: #fcd34d; font-weight: 700; margin-bottom: .4rem;
}
.page-hero--dark h1 {
  font-size: clamp(2rem, 6vw, 3rem); color: #99f6e4; margin-bottom: .45rem;
}
.page-hero--dark p { color: rgba(255,255,255,.8); font-size: .95rem; }
.contact-cards {
  display: grid; gap: .85rem; margin-top: -2rem; margin-bottom: 1.25rem; position: relative; z-index: 2;
}
.contact-card {
  background: #fff; border: 1px solid #f0e4d8; border-radius: 1rem;
  padding: 1.1rem; box-shadow: 0 10px 28px rgba(63,42,30,.08);
}
.contact-card h2 {
  font-family: var(--font-sans); font-size: .95rem; letter-spacing: .05em;
  text-transform: uppercase; color: #3f2a1e; margin-bottom: .4rem;
}
.contact-card > p { font-size: .85rem; color: var(--jm-subtle); margin-bottom: .75rem; }
.contact-card--center { text-align: center; }
.contact-card__icon { font-size: 1.75rem; margin-bottom: .35rem; color: var(--jm-primary); line-height: 1; }
.contact-card__icon .bi { font-size: inherit; }
.contact-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.contact-card__list li { display: grid; gap: .1rem; font-size: .88rem; }
.contact-card__list span { font-size: .72rem; color: var(--jm-subtle); font-weight: 600; }
.contact-card__list a, .contact-card__list strong { color: #1c1917; font-weight: 700; }
.contact-form-wrap { margin-bottom: 2rem; }

/* Plans — lifetime free only */
.plans-hero {
  background: linear-gradient(110deg, #4a044e, #9d174d 45%, #e11d48);
  color: #fff; text-align: center; padding: 2.5rem 1rem 4.5rem;
}
.plans-hero h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); color: #fff; }
.plans-hero p { max-width: 34rem; margin: .55rem auto 0; color: rgba(255,255,255,.88); font-size: .95rem; }
.plans-hero__pill {
  display: inline-flex; margin-top: .9rem; background: #fff; color: #9f1239;
  font-size: .75rem; font-weight: 700; padding: .35rem .75rem; border-radius: 999px;
}
.plans-stage {
  display: grid; gap: 1rem; margin-top: -2.75rem; padding-bottom: 2rem; position: relative; z-index: 2;
}
.plans-stage--3 { max-width: 68rem; margin-left: auto; margin-right: auto; }
.plan-card {
  background: #fff; border: 1px solid #f0e4d8; border-radius: 1.1rem;
  padding: 1.35rem 1.15rem; text-align: center;
  box-shadow: 0 14px 34px rgba(63,42,30,.1);
}
.plan-card--featured { border-color: #f9a8d4; }
.plan-card__tag {
  display: inline-flex; background: #fef3c7; color: #92400e;
  font-size: .72rem; font-weight: 700; padding: .25rem .65rem; border-radius: 999px;
}
.plan-card h2 { font-size: 1.7rem; margin: .55rem 0 .2rem; color: #3f2a1e; }
.plan-card__price { margin-bottom: .55rem; }
.plan-card__price strong { font-family: var(--font-display); font-size: 2.2rem; color: var(--jm-primary); }
.plan-card__price span { color: var(--jm-subtle); font-size: .9rem; }
.plan-card__lead { font-size: .9rem; color: #5c4a3d; margin-bottom: 1rem; }
.plan-card__features {
  list-style: none; margin: 1.1rem 0 0; padding: 0; text-align: left; display: grid; gap: .45rem;
}
.plan-card__features li {
  padding: .45rem .55rem; border-radius: .5rem; background: #f0fdf4;
  font-size: .88rem; font-weight: 600; color: #065f46;
}
.plan-card__features li::before { content: "✓ "; }
.plan-card__features li.is-soon {
  background: #fff7ed; color: #9a3412;
}
.plan-card__features li.is-soon::before { content: "⏳ "; }
.plans-note {
  background: #fffaf6; border: 1px dashed #e7d8cb; border-radius: 1rem;
  padding: 1.1rem; text-align: center;
}
.plans-note h3 { font-size: 1.1rem; color: #3f2a1e; margin-bottom: .35rem; }
.plans-note p { font-size: .88rem; color: var(--jm-subtle); margin-bottom: .85rem; }

/* Upcoming feature panel */
.upcoming-panel { text-align: center; padding: 1.5rem 1.1rem; }
.upcoming-panel h2 { font-size: 1.35rem; color: #3f2a1e; margin: .55rem 0 .4rem; }
.upcoming-panel > p { color: #5c4a3d; font-size: .92rem; max-width: 28rem; margin: 0 auto; }
.upcoming-badge {
  display: inline-flex; align-items: center;
  background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px;
}
.upcoming-actions {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1rem;
}
.upcoming-panel--compact { text-align: left; padding: 1rem; }
.upcoming-panel--compact .dash-panel__head { margin-bottom: .45rem; }
.upcoming-panel--compact .btn { margin-top: .55rem; }

/* Footer */
.support-strip {
  background: var(--jm-accent); color: #fff;
  text-align: center; padding: .75rem 0; font-size: .85rem; font-weight: 600;
}
.support-strip a { color: #fff; text-decoration: underline; }
.site-footer { background: #022c22; color: #d1fae5; }
.footer-inner {
  width: min(var(--max), calc(100% - 1.25rem));
  margin: 0 auto; padding: 1.75rem 0 1.25rem;
  display: grid; gap: 1.25rem;
}
.footer-brand .brand { color: #ecfdf5; margin-bottom: .5rem; }
.footer-brand p { font-size: .85rem; color: rgba(236,253,245,.72); }
.footer-cols { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.footer-cols h3 {
  font-family: var(--font-sans); font-size: .72rem; text-transform: uppercase;
  letter-spacing: .06em; color: rgba(236,253,245,.55); margin-bottom: .45rem;
}
.footer-cols a, .footer-note {
  display: block; color: rgba(236,253,245,.85); font-size: .85rem; margin-bottom: .35rem;
}
.footer-bottom {
  width: min(var(--max), calc(100% - 1.25rem));
  margin: 0 auto; padding: .85rem 0 1.15rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: .55rem; justify-content: space-between;
  align-items: center;
  font-size: .72rem; color: rgba(236,253,245,.5);
}
.footer-bottom__links {
  display: flex; flex-wrap: wrap; gap: .55rem .85rem; align-items: center;
}
.footer-bottom__links a:not(.btn) {
  color: rgba(236,253,245,.75); font-weight: 600;
}
.footer-bottom__links a:not(.btn):hover { color: #f9a8d4; }
.footer-bottom .btn { font-size: .72rem; }

/* Legal pages */
.legal-page { padding: 1.25rem 0 2.5rem; max-width: 46rem; }
.legal-tabs {
  display: flex; flex-wrap: wrap; gap: .4rem;
  margin-bottom: .85rem;
}
.legal-tabs__link {
  display: inline-flex; align-items: center;
  min-height: 2.2rem; padding: .3rem .85rem;
  border-radius: 999px; border: 1px solid #d7ebe1;
  background: #fff; color: #065f46; font-weight: 700; font-size: .8rem;
}
.legal-tabs__link.is-active,
.legal-tabs__link:hover {
  background: #064e3b; color: #ecfdf5; border-color: #064e3b;
}
.legal-updated {
  margin: 0 0 .85rem;
  font-size: .78rem; font-weight: 600; color: var(--jm-subtle);
}
.legal-card {
  background: #fff;
  border: 1px solid #f0e4d8;
  border-radius: 1.1rem;
  padding: 1.25rem 1.15rem 1.5rem;
  box-shadow: var(--shadow);
}
.legal-lead {
  font-size: 1.02rem; color: #3f2a1e; margin: 0 0 1.15rem;
  padding-bottom: 1rem; border-bottom: 1px solid #f0e4d8;
}
.legal-card h2 {
  font-family: var(--font-sans);
  font-size: .95rem; letter-spacing: .02em;
  color: #064e3b; margin: 1.25rem 0 .45rem;
}
.legal-card p, .legal-card li {
  font-size: .92rem; color: #44403c; line-height: 1.6;
}
.legal-card ul { margin: .35rem 0 .75rem; padding-left: 1.15rem; }
.legal-card a { color: #be185d; font-weight: 600; }
.legal-card a:hover { text-decoration: underline; }
.legal-table {
  width: 100%; border-collapse: collapse; margin: .65rem 0 1rem;
  font-size: .82rem;
}
.legal-table th, .legal-table td {
  border: 1px solid #e7d8cb; padding: .55rem .6rem; text-align: left; vertical-align: top;
}
.legal-table th { background: #f3faf6; color: #065f46; }
.legal-help {
  margin-top: 1.15rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}
.legal-help h2 {
  font-family: var(--font-sans); font-size: .95rem; color: #064e3b; margin: 0 0 .35rem;
}
.legal-help p { margin: 0; font-size: .88rem; color: #065f46; }
.legal-help a { color: #be185d; font-weight: 700; }

/* Dashboard — Matrimo-style member panel */
.page-dash { background: #fffaf6; }
.dash-shell {
  width: min(var(--max), calc(100% - 1rem));
  margin: .75rem auto 2rem;
}
.dash { display: grid; gap: .85rem; min-height: 70dvh; }
.dash-side {
  background: var(--jm-card);
  border: 1px solid #f0e4d8;
  border-radius: 1rem;
  padding: .85rem;
  box-shadow: var(--shadow);
}
.dash-side__photo {
  width: 5.5rem; height: 5.5rem;
  margin: 0 auto .75rem;
  border-radius: .85rem;
  overflow: hidden;
  background: linear-gradient(145deg, #064e3b, #047857);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
  box-shadow: 0 8px 18px rgba(2, 44, 34, .12);
}
.dash-side__photo img { width: 100%; height: 100%; object-fit: cover; }
.dash-nav {
  display: flex; gap: .25rem; overflow-x: auto;
  padding: .15rem 0;
}
.dash-nav a {
  flex: 0 0 auto; min-height: 2.45rem;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .7rem; border-radius: .55rem;
  font-size: .82rem; font-weight: 600; color: #5c4a3d;
  white-space: nowrap;
}
.dash-nav a.is-active {
  background: #dbeafe;
  color: #1d4ed8;
}
.dash-nav__icon { display: inline-grid; place-items: center; opacity: .9; font-size: 1.05rem; line-height: 1; }
.dash-nav__icon .bi { font-size: inherit; }
.dash-main { min-width: 0; }
.dash-welcome { margin-bottom: .85rem; }
.dash-welcome__hi {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: #3f2a1e;
}
.dash-welcome__sub { color: var(--jm-subtle); font-size: .9rem; margin-top: .2rem; }
.dash-panel {
  margin-top: .85rem;
  background: var(--jm-card);
  border: 1px solid #f0e4d8;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 8px 22px rgba(63, 42, 30, .05);
}
.dash-panel--flush { padding-bottom: .65rem; }
.dash-panel h2 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #3f2a1e;
  margin: 0;
}
.dash-panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  margin-bottom: .75rem;
}
.dash-panel__head a { font-size: .8rem; font-weight: 700; color: var(--jm-accent); }
.dash-empty { padding: .35rem 0 .5rem; font-size: .9rem; }
.dash-hint { margin-top: .65rem; font-size: .78rem; color: var(--jm-subtle); }
.dash-mid { display: grid; gap: .85rem; margin-top: .85rem; }
.dash-mid > .dash-panel { margin-top: 0; }

.match-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(9.5rem, 42%);
  gap: .75rem;
  overflow-x: auto;
  padding-bottom: .4rem;
  scroll-snap-type: x mandatory;
}
.match-card {
  scroll-snap-align: start;
  border-radius: .85rem;
  overflow: hidden;
  background: #1c1917;
  color: #fff;
  position: relative;
}
.match-card__media {
  position: relative;
  aspect-ratio: 3/4;
  background: #292524;
}
.match-card__media img { width: 100%; height: 100%; object-fit: cover; }
.match-card__media.is-blurred img { filter: blur(10px); transform: scale(1.08); }
.match-card__fallback {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  background: linear-gradient(160deg, #064e3b, #047857 55%, #9d174d);
}
.match-card__online {
  position: absolute; top: .55rem; right: .55rem;
  width: .65rem; height: .65rem; border-radius: 50%;
  background: #22c55e; border: 2px solid #fff;
}
.match-card__tag {
  position: absolute; left: .5rem; top: .5rem;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: .65rem; padding: .15rem .4rem; border-radius: .35rem;
}
.match-card__tag--on { background: rgba(5, 150, 105, .92); }
.match-card__meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem .65rem .65rem;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
}
.match-card__meta strong { display: block; font-size: .92rem; }
.match-card__meta span { display: block; font-size: .72rem; opacity: .88; margin-top: .15rem; }

.dash-status { text-align: center; }
.dash-status__label { font-size: .8rem; color: var(--jm-subtle); margin: .35rem 0 .75rem; }
.ring {
  --p: 40;
  width: 8.5rem; height: 8.5rem; margin: 0 auto .9rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(var(--jm-primary) calc(var(--p) * 1%), #e7e5e4 0);
  position: relative;
}
.ring::before {
  content: "";
  position: absolute; inset: .7rem;
  background: #fff;
  border-radius: 50%;
}
.ring span {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 700; color: #3f2a1e;
}
.dash-mini-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem;
  margin-top: .35rem;
}
.dash-mini-stats > div {
  border: 1px solid #f0e4d8; border-radius: .65rem; padding: .45rem .2rem;
}
.dash-mini-stats__ico { display: block; color: var(--jm-primary); font-size: 1rem; line-height: 1; }
.dash-mini-stats__ico .bi { font-size: inherit; }
.profile-card__meta-icon { display: inline-grid; place-items: center; font-size: .9rem; line-height: 1; }
.profile-card__meta-icon .bi { font-size: inherit; }
.verified-dot .bi { font-size: .95rem; color: #059669; vertical-align: -0.1em; }
.plist-card__like .bi { font-size: 1.15rem; }
.welcome-contact__icon { display: inline-grid; place-items: center; font-size: 1.15rem; line-height: 1; }
.welcome-contact__icon .bi { font-size: inherit; }
.btn .bi { margin-right: .35rem; vertical-align: -0.1em; }
.offer-modal__close .bi,
.phone-choice__close .bi,
.nav-mobile__close .bi { font-size: 1.1rem; line-height: 1; }
.dash-mini-stats strong { display: block; font-size: .95rem; color: #1c1917; }
.dash-mini-stats small { font-size: .65rem; color: var(--jm-subtle); }

.dash-plan-card { text-align: center; }
.dash-plan-card__gift {
  font-size: 2.4rem;
  line-height: 1;
  margin: .35rem 0 .75rem;
  color: var(--jm-accent, #db2777);
  filter: drop-shadow(0 8px 12px rgba(219, 39, 119, .2));
}
.dash-plan-card__gift .bi { font-size: inherit; }
.dash-plan-card__list {
  list-style: none; margin: 0 0 1rem; padding: 0; text-align: left;
}
.dash-plan-card__list li {
  display: flex; justify-content: space-between; gap: .5rem;
  padding: .4rem 0; border-bottom: 1px solid #f3e8df;
  font-size: .85rem;
}
.dash-plan-card__list span { color: var(--jm-subtle); }

/* Payment / plan upgrade */
.pay-page { display: grid; gap: 1rem; max-width: 40rem; }
.pay-page--wide { max-width: none; width: 100%; }
.pay-status-bar {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: flex-start;
}
.pay-status-bar h2 { margin: 0 0 .35rem; }
.pay-member-id {
  margin: .35rem 0 .85rem; font-size: .95rem; color: #5c4a3d;
  background: #fff7ed; border: 1px solid #fed7aa; border-radius: .55rem; padding: .55rem .75rem;
}
.pay-member-id--inline {
  margin: 0;
  flex: 0 0 auto;
  align-self: center;
}
.pay-member-id strong { color: #9a3412; font-size: 1.1rem; }
.pay-lead { font-size: .92rem; color: var(--jm-subtle); margin: 0 0 1rem; line-height: 1.5; font-weight: 500; }
.pay-lead--tight { margin-bottom: 0; }
.pay-steps {
  list-style: none; margin: 0; padding: .85rem 1rem;
  display: grid; gap: .55rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: .85rem;
  font-size: .88rem; color: #134e3a; font-weight: 500;
}
.pay-steps li { margin: 0; }
.pay-steps strong { color: #064e3b; }
.pay-compare {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}
.pay-tier {
  background: #fff;
  border: 1px solid #d7ebe1;
  border-radius: 1rem;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 10px 28px rgba(6,78,59,.05);
  display: flex; flex-direction: column; gap: .85rem;
}
.pay-tier--plus { border-color: #f9a8d4; background: linear-gradient(180deg, #fff 0%, #fff5f9 100%); }
.pay-tier__head h2 {
  margin: 0 0 .25rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--jm-fg);
}
.pay-tier__head p { margin: 0; font-size: .9rem; color: var(--jm-subtle); font-weight: 500; }
.pay-pkg-grid {
  display: grid; gap: .55rem;
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
}
.pay-pkg {
  position: relative;
  border: 1px solid #e2efe8;
  border-radius: .75rem;
  padding: .7rem .65rem;
  background: #fbfefc;
  text-align: center;
  display: grid; gap: .15rem;
}
.pay-pkg.is-recommended {
  border-color: #86efac;
  background: #f0fdf4;
  box-shadow: 0 0 0 1px rgba(22,163,74,.12);
}
.pay-pkg__label { font-size: .78rem; font-weight: 700; color: var(--jm-subtle); }
.pay-pkg__price {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--jm-primary);
  line-height: 1.1;
}
.pay-pkg__meta { font-size: .75rem; color: var(--jm-subtle); font-weight: 600; }
.pay-pkg__badge {
  position: absolute; top: -.45rem; right: .4rem;
  background: #db2777; color: #fff;
  font-size: .65rem; font-weight: 800;
  padding: .12rem .4rem; border-radius: 999px;
}
.pay-tier__perks {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .35rem;
}
.pay-tier__perks li {
  padding: .4rem .55rem;
  border-radius: .5rem;
  background: #f0fdf4;
  font-size: .86rem;
  font-weight: 600;
  color: #065f46;
}
.pay-tier__perks li::before { content: "✓ "; }
.pay-tier--plus .pay-tier__perks li { background: #fce7f3; color: #9d174d; }
.pay-split {
  display: grid; gap: 1rem;
  grid-template-columns: 1.05fr .95fr;
  align-items: start;
}
.pay-wa-btn { width: 100%; margin-bottom: 1rem; justify-content: center; }
.pay-methods {
  display: grid; gap: .75rem;
  grid-template-columns: 1fr;
}
.pay-method {
  border: 1px solid #d7ebe1; border-radius: .75rem; padding: .85rem .95rem;
  background: #fbfefc;
  min-width: 0;
  overflow: hidden;
}
.pay-method.is-recommended {
  border-color: #86efac; background: #f0fdf4; box-shadow: 0 0 0 1px rgba(22,163,74,.12);
}
.pay-method h3 { margin: 0 0 .45rem; font-size: 1rem; color: var(--jm-fg); }
.pay-method ul {
  margin: 0; padding: 0;
  list-style: none;
  font-size: .86rem; color: var(--jm-subtle); font-weight: 500;
  display: grid; gap: .3rem;
}
.pay-method li {
  margin: 0;
  padding: .2rem 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.4;
}
.pay-amounts { margin: .85rem 0 0; font-size: .82rem; color: var(--jm-subtle); }
.pay-actions-row {
  display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; margin-bottom: 1rem;
}
.pay-or { font-size: .82rem; color: var(--jm-subtle); }
.pay-form { display: grid; gap: .9rem; }
.pay-form--wide .pay-form__row,
.pay-form__row {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pay-form .field { display: grid; gap: .35rem; font-size: .84rem; font-weight: 600; color: #334155; }
.pay-form .field input,
.pay-form .field select,
.pay-form .field textarea {
  font-weight: 400; min-height: 2.7rem; border: 1px solid #c5ddd1; border-radius: .55rem;
  padding: .55rem .75rem; background: #fff; width: 100%; box-sizing: border-box;
}
.pay-form .field textarea { min-height: 4.5rem; }
.pay-form .check { display: flex; gap: .5rem; align-items: flex-start; font-size: .84rem; font-weight: 500; color: var(--jm-subtle); }
.pay-alert {
  border-radius: .65rem; padding: .75rem .9rem; font-size: .88rem;
}
.pay-alert--ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.pay-alert--err { background: #fff1f2; color: #9f1239; border: 1px solid #fecdd3; }
.pay-history { display: grid; gap: .55rem; }
.pay-history__row {
  display: flex; justify-content: space-between; gap: .75rem; align-items: center;
  padding: .55rem .65rem; border: 1px solid #d7ebe1; border-radius: .55rem; font-size: .85rem;
}
.pay-status { font-weight: 700; font-size: .72rem; letter-spacing: .03em; }
.pay-status--pending { color: #b45309; }
.pay-status--approved { color: #047857; }
.pay-status--rejected { color: #be123c; }

@media (max-width: 900px) {
  .pay-compare,
  .pay-split { grid-template-columns: 1fr; }
  .pay-steps { grid-template-columns: 1fr; }
  .pay-form__row { grid-template-columns: 1fr; }
}

.btn-dark {
  background: #1c1917; color: #fff; border: 0;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.5rem; padding: 0 1.1rem; border-radius: .55rem;
  font-weight: 700; font-size: .8rem; letter-spacing: .02em;
}
.btn-accept { background: #059669; color: #fff; border: 0; }
.btn-deny { background: #fff; color: #e11d48; border: 1px solid #fda4af; }

/* Profile deactivation wizard */
.deact h3 {
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: #022c22;
}
.deact-hint { margin: 0 0 1rem; color: #64748b; font-size: .9rem; line-height: 1.45; }
.deact-choices { display: grid; gap: .55rem; margin-bottom: 1rem; }
.deact-choice {
  display: flex; gap: .65rem; align-items: flex-start;
  padding: .75rem .85rem;
  border: 1px solid #d7ebe1;
  border-radius: 12px;
  background: #fbfefc;
  cursor: pointer;
  font-weight: 600;
  font-size: .92rem;
}
.deact-choice:has(input:checked) {
  border-color: #059669;
  background: #ecfdf5;
  box-shadow: inset 0 0 0 1px rgba(5,150,105,.25);
}
.deact-choice input { margin-top: .2rem; }
.deact-actions {
  display: flex; flex-wrap: wrap; gap: .55rem;
  justify-content: flex-end;
  margin-top: 1.1rem;
}
.deact-share__row {
  display: flex; flex-wrap: wrap; gap: .45rem; align-items: center;
}
.deact-share__row input[readonly],
.deact-share textarea[readonly] {
  width: 100%;
  border: 1px solid #c5ddd1;
  border-radius: 10px;
  padding: .55rem .7rem;
  background: #f8faf9;
  font: inherit;
}
.deact-confirm {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: #334155;
  font-size: .92rem;
  line-height: 1.55;
}
.deact-done .dash-panel { margin-top: 1rem; }
.deact-done .field { display: grid; gap: .35rem; font-size: .84rem; font-weight: 600; color: #5c4a3d; }
.link-accent { color: var(--jm-accent); font-weight: 700; font-size: .82rem; }

.chat-rail { list-style: none; margin: 0; padding: 0; }
.chat-rail__item {
  display: flex; gap: .65rem; align-items: center;
  padding: .55rem 0; border-bottom: 1px solid #f3e8df;
}
.chat-rail li:last-child .chat-rail__item { border-bottom: 0; }
.chat-rail__item strong { display: block; font-size: .9rem; color: #1c1917; }
.chat-rail__item span { display: block; font-size: .75rem; color: var(--jm-subtle); }

.dash-tabs {
  display: flex; flex-wrap: wrap; gap: .4rem;
  margin-bottom: .85rem;
}
.dash-tabs button {
  border: 1px solid #f0e4d8; background: #fff;
  color: #5c4a3d; border-radius: .5rem;
  padding: .45rem .75rem; font-size: .78rem; font-weight: 600;
}
.dash-tabs button.is-active {
  background: var(--jm-primary); color: #fff; border-color: var(--jm-primary);
}
.interest-list { display: grid; gap: .65rem; }
.interest-row {
  display: grid; gap: .75rem;
  padding: .85rem; border: 1px solid #f0e4d8; border-radius: .85rem;
  background: #fffdfb;
}
.interest-row__photo {
  width: 4.5rem; height: 4.5rem; border-radius: .65rem; overflow: hidden;
  background: linear-gradient(145deg, #064e3b, #047857);
  color: #fff; display: grid; place-items: center; font-weight: 700;
}
.interest-row__photo img { width: 100%; height: 100%; object-fit: cover; }
.interest-row__body strong { display: block; font-size: 1rem; color: #1c1917; margin-bottom: .2rem; }
.interest-row__body strong a { color: inherit; text-decoration: none; }
.interest-row__body strong a:hover { color: var(--jm-primary); }
.interest-row__body p { font-size: .82rem; color: #5c4a3d; }
.interest-row__actions { display: flex; flex-wrap: wrap; gap: .4rem; align-items: start; }
.interest-row__photo.is-blurred img { filter: blur(8px); transform: scale(1.08); }
.interest-list { display: grid; gap: .65rem; }

.views-chart {
  background: #f0fdf4;
  border-radius: .75rem;
  padding: .65rem;
}
.views-chart svg { width: 100%; height: 11rem; display: block; }

.mini-avatar {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; overflow: hidden;
  background: var(--jm-muted); flex: 0 0 auto;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; color: #fff;
  background-image: linear-gradient(145deg, #064e3b, #047857);
}
.mini-avatar img { width: 100%; height: 100%; object-fit: cover; }
.interest-actions { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .35rem; }
.interest-item, .chat-item, .match-item {
  display: flex; gap: .65rem; align-items: center;
  padding: .7rem 0; border-bottom: 1px solid var(--jm-border);
}
.interest-item:last-child, .chat-item:last-child, .match-item:last-child { border-bottom: 0; }
.dash-cards { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; }
.dash-card {
  background: var(--jm-card); border: 1px solid var(--jm-border);
  border-radius: .85rem; padding: .9rem; box-shadow: var(--shadow);
}
.dash-card strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--jm-primary); }
.dash-card span { font-size: .75rem; color: var(--jm-muted-fg); }

.auth-box {
  max-width: 24rem; margin: 1rem auto; background: var(--jm-card);
  border: 1px solid var(--jm-border); border-radius: 1rem; padding: 1.15rem; box-shadow: var(--shadow);
}
.auth-box h1 { font-size: 1.6rem; margin-bottom: .35rem; }
.auth-box .lead { color: var(--jm-muted-fg); font-size: .9rem; margin-bottom: 1rem; }

@media (min-width: 640px) {
  .header-login { display: inline-flex; }
  .hero-search { grid-template-columns: 1fr 1fr; }
  .hero-search .btn { grid-column: 1 / -1; }
  .service-grid, .dir-hubs, .dir-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .profile-grid { grid-template-columns: repeat(3, 1fr); }
  .welcome-block__grid {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 2.5rem;
  }
  .welcome-visual { min-height: 22rem; margin: 1rem 1rem 1.5rem 0; }
  .welcome-visual__card { width: 46%; bottom: -1.4rem; right: -.2rem; }
  .welcome-contacts { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .advanced-search__grid { grid-template-columns: 1fr 1fr; }
  .voice-search__row {
    grid-template-columns: 1fr minmax(7.5rem, 9rem) auto auto;
    align-items: stretch;
  }
  .filters { grid-template-columns: 1fr 1fr 1fr auto; align-items: end; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .meta-grid { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .dash-cards { grid-template-columns: repeat(4, 1fr); }
  .match-rail { grid-auto-columns: minmax(10.5rem, 18%); }
  .interest-row {
    grid-template-columns: 4.5rem 1fr auto;
    align-items: center;
  }
  .plist-card {
    grid-template-columns: 10.5rem 1fr;
    align-items: stretch;
    padding: .85rem;
  }
  .plist-card__media { max-width: none; aspect-ratio: 5/6; }
}

@media (min-width: 900px) {
  .promo-banner { padding: 1.85rem 0; }
  .promo-banner__inner {
    grid-template-columns: 1fr auto;
    gap: 2rem;
  }
  .promo-banner__cta {
    align-items: stretch;
    min-width: 12.5rem;
  }
  .promo-banner__btn { width: 100%; justify-content: center; }
  .promo-banner__link { text-align: center; width: 100%; }
  .mobile-search { grid-template-columns: 6rem 1fr auto auto; }
  .mobile-search .adv-link { grid-column: auto; }
  .hero-search {
    grid-template-columns: 1.1fr .8fr .8fr 1.1fr auto;
    align-items: end;
  }
  .hero-search .btn { grid-column: auto; }
  .hero-search__adv { grid-column: 1 / -1; text-align: left; }
  .profile-grid { grid-template-columns: repeat(4, 1fr); }
  .profile-grid--home { grid-template-columns: repeat(3, 1fr); }

  /* Desktop: alternating timeline like Matrimo */
  .timeline {
    padding: 0;
    gap: 2rem;
    max-width: 52rem;
    margin: 0 auto;
  }
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
  .timeline__item {
    grid-template-columns: 1fr 4.5rem 1fr;
    gap: 1rem;
    align-items: center;
  }
  .timeline__item::after {
    left: 50%;
    transform: translate(-50%, 0);
    top: 50%;
    margin-top: -.3rem;
  }
  .timeline__icon {
    width: 4.5rem;
    height: 4.5rem;
    grid-column: 2;
    grid-row: 1;
  }
  .timeline__icon svg { width: 2.4rem; height: 2.4rem; }
  .timeline__item--right .timeline__body {
    grid-column: 3;
    text-align: left;
  }
  .timeline__item--right .timeline__icon { order: 0; }
  .timeline__item--left .timeline__body {
    grid-column: 1;
    text-align: right;
  }
  .timeline__item--left .timeline__icon { grid-column: 2; }
  .timeline__body h3 { font-size: 1.35rem; }
  .header-nav { display: inline-flex; }
  .menu-toggle { display: none; }
  .nav-mobile { display: none !important; }
  .how-steps { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .auth-split { grid-template-columns: .95fr 1.05fr; }
  .auth-split--register {
    align-items: stretch;
    grid-template-columns: minmax(11rem, .42fr) minmax(0, 1.58fr);
  }
  .auth-split__promo { display: flex; flex-direction: column; justify-content: center; }
  .contact-cards { grid-template-columns: repeat(3, 1fr); }
  .plans-stage { grid-template-columns: 1.2fr .8fr; align-items: start; max-width: 52rem; margin-left: auto; margin-right: auto; }
  .plans-stage--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 68rem; align-items: stretch; }
  .pd-top { grid-template-columns: 12rem 1fr; gap: 1.35rem; }
  .pd-avatar { width: 100%; height: auto; aspect-ratio: 4/5; max-width: none; }
  .pd-highlights { grid-template-columns: repeat(4, 1fr); }
  .pd-facts { grid-template-columns: 1fr 1fr; }
  .pd-facts > div { grid-template-columns: 7.5rem 1fr; }
  .pd-related { grid-template-columns: 1fr 1fr; }
  .browse-hero { min-height: 12rem; margin-bottom: 1.35rem; }
  .browse-layout {
    grid-template-columns: 16.5rem 1fr;
    gap: 1.25rem;
    align-items: start;
  }
  .browse-side { position: sticky; top: 5.25rem; }
  .dash-shell { margin: 1.15rem auto 2.5rem; }
  .dash {
    grid-template-columns: 13.5rem 1fr;
    gap: 1.15rem;
    align-items: start;
  }
  .dash-side {
    position: sticky; top: 5.5rem;
    padding: 1rem .85rem;
  }
  .dash-side__photo { width: 7rem; height: 7rem; margin-bottom: 1rem; }
  .dash-nav {
    flex-direction: column;
    overflow: visible;
    gap: .2rem;
  }
  .dash-nav a { width: 100%; }
  .dash-mid { grid-template-columns: 1.1fr 1fr 1.05fr; gap: 1rem; }
  .match-rail {
    display: grid;
    grid-auto-flow: unset;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-columns: unset;
    overflow: visible;
  }
}

/* —— FAQ accordion —— */
.blog-faq { margin-top: 2rem; }
.blog-faq--home {
  margin-top: 0;
  max-width: none;
  width: 100%;
  text-align: left;
}
.blog-faq > h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: #064e3b;
  font-weight: 700;
  -webkit-font-smoothing: auto;
}
.blog-faq__item {
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 12px;
  background: #fff;
  margin-bottom: .55rem;
  padding: .85rem 1rem;
}
.blog-faq__item summary {
  cursor: pointer;
  font-weight: 700;
  color: #0f172a;
  list-style: none;
}
.blog-faq__item summary::-webkit-details-marker { display: none; }
.blog-faq__item summary::after {
  content: "+";
  float: right;
  color: #0f766e;
  font-weight: 700;
}
.blog-faq__item[open] summary::after { content: "–"; }
.blog-faq__item p {
  margin: .65rem 0 0;
  color: #475569;
  font-size: .95rem;
  line-height: 1.6;
}

/* —— Country rishta landings —— */
.country-hero {
  padding: 2.2rem 0 1.5rem;
  background:
    radial-gradient(ellipse 70% 55% at 90% 10%, rgba(15, 118, 110, .12), transparent 55%),
    linear-gradient(165deg, #f7f3eb 0%, #eef6f1 50%, #fff 100%);
  border-bottom: 1px solid rgba(6, 78, 59, .08);
}
.country-hero__grid {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}
.country-hero__eyebrow {
  margin: 0 0 .4rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #0f766e;
}
.country-hero h1 {
  margin: 0 0 .7rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  line-height: 1.15;
  color: #064e3b;
  max-width: 22ch;
}
.country-hero__lead { margin: 0 0 .85rem; color: #475569; font-size: 1.05rem; max-width: 38rem; }
.country-hero__stat { margin: 0 0 1rem; font-size: .88rem; color: #64748b; }
.country-hero__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.country-hero__media img {
  display: block;
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, .06);
  object-fit: cover;
  max-height: 280px;
}
.country-section { padding: 1.75rem 0 0; }
.country-section h2 {
  margin: 0 0 .9rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #064e3b;
}
.country-section .urdu,
.country-section .urdu-lead {
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.15rem;
  margin-bottom: 1.15rem;
  max-width: 40rem;
}
.country-points {
  margin: 0;
  padding-left: 1.15rem;
  color: #334155;
  line-height: 1.65;
}
.country-points li { margin: .4rem 0; }
.country-plans {
  display: grid;
  gap: .85rem;
}
.country-plans article {
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .08);
  background: #fff;
}
.country-plans h3 { margin: 0 0 .35rem; color: #064e3b; font-size: 1.05rem; }
.country-plans p { margin: 0; color: #64748b; font-size: .92rem; line-height: 1.55; }
.about-quote {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid #0f766e;
  background: rgba(15, 118, 110, .06);
  color: #334155;
  font-size: .98rem;
  line-height: 1.65;
}
.country-note {
  margin: 1rem 0;
  padding: .85rem 1rem;
  border-radius: 12px;
  background: #f0fdf4;
  color: #334155;
  font-size: .92rem;
}
@media (min-width: 900px) {
  .country-hero__grid { grid-template-columns: 1.15fr .85fr; gap: 2rem; }
  .country-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .country-hero__media img { max-height: 320px; }
}

/* —— Blog / SEO guides —— */
.blog-hero {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(6, 78, 59, .14), transparent 55%),
    linear-gradient(165deg, #f7f3eb 0%, #eef6f1 45%, #f4efe6 100%);
  border-bottom: 1px solid rgba(6, 78, 59, .08);
  padding: 2.4rem 0 2rem;
}
.blog-hero__inner { max-width: 46rem; }
.blog-hero__eyebrow {
  margin: 0 0 .45rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #0f766e;
}
.blog-hero h1 {
  margin: 0 0 .65rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.15;
  color: #064e3b;
}
.blog-hero p { margin: 0; color: #475569; font-size: 1.05rem; max-width: 40rem; }

.blog-index { padding: 2rem 0 1rem; }
.blog-index__meta { margin: 0 0 1.1rem; color: #64748b; font-size: .88rem; font-weight: 600; }
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.blog-card {
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .04);
}
.blog-card__media img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.blog-card__body { padding: 1rem 1.1rem 1.15rem; }
.blog-card__tag {
  display: inline-block;
  margin-bottom: .4rem;
  font-size: .72rem;
  font-weight: 700;
  color: #0f766e;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.blog-card h2 {
  margin: 0 0 .45rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.2;
}
.blog-card h2 a { color: #0f172a; text-decoration: none; }
.blog-card h2 a:hover { color: #064e3b; }
.blog-card p {
  margin: 0 0 .85rem;
  color: #64748b;
  font-size: .92rem;
  line-height: 1.55;
}
.blog-card__foot {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
  font-size: .82rem;
  color: var(--jm-subtle);
}
.blog-card__foot a { color: #064e3b; font-weight: 700; text-decoration: none; }

.blog-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0 0;
  font-size: .9rem;
}
.blog-pager a { color: #064e3b; font-weight: 700; }

.blog-empty {
  max-width: 36rem;
  padding: 1.5rem;
  border-radius: 14px;
  background: #fff;
  border: 1px dashed rgba(6, 78, 59, .25);
}
.blog-cta { padding: 0 0 3rem; }
.blog-cta__box {
  margin-top: 1.5rem;
  padding: 1.4rem 1.35rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #064e3b, #0f766e);
  color: #ecfdf5;
}
.blog-cta__box h2 {
  margin: 0 0 .4rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #fff;
}
.blog-cta__box p { margin: 0 0 1rem; color: rgba(236, 253, 245, .9); }
.blog-cta__actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.blog-cta__actions .btn-ghost-dark {
  background: transparent;
  border-color: rgba(255,255,255,.45);
  color: #fff;
}

.blog-article__hero {
  padding: 1.6rem 0 0;
  background: linear-gradient(180deg, #f7f3eb 0%, #fff 100%);
}
.blog-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
  margin-bottom: .75rem;
  font-size: .8rem;
  color: var(--jm-subtle);
}
.blog-crumbs a { color: #0f766e; text-decoration: none; }
.blog-article__keyword {
  margin: 0 0 .35rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #0f766e;
}
.blog-article__hero h1 {
  margin: 0 0 .55rem;
  max-width: 46rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: #064e3b;
}
.blog-article__meta { margin: 0; color: #64748b; font-size: .9rem; }
.blog-article__cover { padding: 1.25rem 0 0; }
.blog-article__cover img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, .06);
}
.blog-article__layout {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem 0 3rem;
  align-items: start;
}
.prose-blog {
  max-width: 46rem;
  color: #1e293b;
  font-size: 1.05rem;
  line-height: 1.75;
}
.prose-blog h2 {
  margin: 1.8rem 0 .7rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: #064e3b;
  line-height: 1.25;
}
.prose-blog h3 { margin: 1.35rem 0 .5rem; font-size: 1.1rem; color: #0f172a; }
.prose-blog p { margin: 0 0 1rem; }
.prose-blog ul, .prose-blog ol { margin: 0 0 1rem; padding-left: 1.25rem; }
.prose-blog li { margin: .3rem 0; }
.prose-blog a { color: #0f766e; font-weight: 600; }
.prose-blog strong { color: #0f172a; }
.blog-side-card {
  padding: 1rem 1.05rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  margin-bottom: .85rem;
}
.blog-side-card h2 {
  margin: 0 0 .45rem;
  font-size: 1rem;
  color: #064e3b;
}
.blog-side-card p { margin: 0 0 .75rem; font-size: .88rem; color: #64748b; line-height: 1.5; }
.blog-side-card .btn { margin: 0 .35rem .35rem 0; }
.blog-side-card--soft { background: #f0fdf4; border-color: rgba(6, 78, 59, .12); }
.blog-side-list { list-style: none; margin: 0; padding: 0; }
.blog-side-list li { margin: 0 0 .55rem; }
.blog-side-list a {
  color: #0f172a;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
}
.blog-side-list a:hover { color: #064e3b; }

@media (min-width: 760px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-card__media img { height: 190px; }
}
@media (min-width: 1020px) {
  .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .blog-article__layout { grid-template-columns: minmax(0, 1fr) 17.5rem; gap: 2rem; }
  .blog-article__side { position: sticky; top: 5.5rem; }
}

/* Simple single-page register */
.register-simple__layout {
  display: grid; gap: 1.25rem; align-items: start;
}
@media (min-width: 900px) {
  .register-simple__layout { grid-template-columns: 17rem minmax(0, 1fr); }
}
.register-simple .wizard {
  padding: 1.35rem 1.35rem 1.5rem;
  border: 1px solid var(--jm-border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  background: var(--jm-card);
  overflow: visible;
}
.register-simple .wizard__header { padding: 0 0 1rem; }
.register-simple .wizard__form {
  padding: 0;
  gap: 1.2rem;
}
.register-simple .wizard__form .field,
.register-simple .wizard__form fieldset.field {
  gap: .5rem;
  font-size: .84rem;
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}
.register-simple .wizard__form fieldset.field legend {
  padding: 0;
  margin: 0 0 .15rem;
  float: left;
  width: 100%;
}
.register-simple .wizard__form fieldset.field::after {
  content: "";
  display: table;
  clear: both;
}
.register-simple .wizard__form .field input:not([type="radio"]):not([type="checkbox"]),
.register-simple .wizard__form .field select,
.register-simple .wizard__form .field textarea {
  min-height: 2.95rem;
  padding: .7rem .9rem;
  font-size: .95rem;
  font-weight: 400;
}
.register-simple .wizard__form .field input::placeholder,
.register-simple .wizard__form .field textarea::placeholder {
  font-weight: 400;
  opacity: .75;
}
.register-simple .wizard__form .field textarea { min-height: 7rem; }
.register-simple .choice-row { gap: .7rem; }
.register-simple .choice {
  min-height: 2.85rem;
  padding: .55rem .75rem;
  font-size: .88rem;
}
.register-simple .wizard__form .check { margin-top: .25rem; }
.register-simple .wizard__nav {
  gap: .75rem;
  margin-top: .35rem;
  padding-top: .15rem;
}
.register-help-card {
  background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 1rem;
  padding: 1.25rem 1.3rem;
}
.register-help-card h2 { font-size: 1.15rem; margin: 0 0 .5rem; color: #064e3b; }
.register-help-card p { font-size: .9rem; line-height: 1.45; margin: 0 0 .85rem; color: #334155; }
.register-more {
  margin: .15rem 0;
  border: 1px solid #f0e4d8;
  border-radius: .85rem;
  background: #fffaf6;
  padding: .9rem 1rem;
}
.register-more summary {
  cursor: pointer; font-weight: 700; font-size: .9rem; color: #3f2a1e;
  padding: .1rem 0;
}
.register-more__body { margin-top: .95rem; display: grid; gap: 1.05rem; }
.welcome-complete {
  background: #ecfdf5 !important; border-color: #a7f3d0 !important;
}
.welcome-complete h2 { color: #064e3b; margin-top: 0; }

/* Trust explainer (gif / mp4) */
.trust-explainer__media { margin-top: 1.25rem; }
.trust-explainer__video,
.trust-explainer__gif {
  width: 100%; max-width: 960px; margin: 0 auto; display: block;
  border-radius: 1rem; border: 1px solid rgba(6, 78, 59, .2);
  background: #064e3b; box-shadow: 0 12px 32px rgba(6, 78, 59, .18);
}
.trust-explainer__policy {
  margin: 1.25rem auto 0;
  max-width: 960px;
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  background: var(--jm-primary);
  color: #ecfdf5;
  box-shadow: 0 8px 22px rgba(6, 78, 59, .16);
}
.trust-explainer__policy h3 {
  margin: 0 0 .5rem;
  font-size: 1.2rem;
  color: #fff;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
}
.trust-explainer__policy p {
  margin: 0 0 .75rem;
  font-size: .95rem;
  line-height: 1.55;
  color: rgba(236, 253, 245, .92);
}
.trust-explainer__policy ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: .35rem;
  font-size: .9rem;
  color: #fff;
  font-weight: 600;
}
/* Optional carousel variant (unused on homepage testimonials) */
.trust-story-reel {
  overflow: hidden; border-radius: 1rem; border: 1px solid #f0e4d8;
  background: linear-gradient(135deg, #064e3b 0%, #0f766e 55%, #134e4a 100%);
  color: #ecfdf5; min-height: 220px;
}
.trust-story-reel__track {
  display: flex; width: 300%;
  animation: trustSlide 12s ease-in-out infinite;
}
.trust-story-reel__slide {
  width: 33.333%; flex: 0 0 33.333%;
  padding: 1.75rem 1.5rem; box-sizing: border-box;
}
.trust-story-reel__num {
  display: inline-grid; place-items: center;
  width: 2rem; height: 2rem; border-radius: 999px;
  background: rgba(255,255,255,.15); font-weight: 800; margin-bottom: .65rem;
}
.trust-story-reel__slide h3 { margin: 0 0 .45rem; font-size: 1.25rem; color: #fff; }
.trust-story-reel__slide p { margin: 0; max-width: 36rem; line-height: 1.5; opacity: .92; font-size: .95rem; color: #ecfdf5; }
@keyframes trustSlide {
  0%, 28% { transform: translateX(0); }
  33%, 61% { transform: translateX(-33.333%); }
  66%, 94% { transform: translateX(-66.666%); }
  100% { transform: translateX(0); }
}
.faq-cats { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .trust-story-reel__track { width: 100%; flex-wrap: wrap; transform: none !important; }
  .trust-story-reel__slide { width: 100%; flex: 1 1 100%; }
}

/* Premium badge — visible only to Premium viewers (rendered server-side) */
.premium-badge {
  display: inline-flex; align-items: center; gap: .2rem;
  margin-left: .25rem; padding: .12rem .45rem;
  border-radius: 999px; font-size: .68rem; font-weight: 700;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e; vertical-align: middle; white-space: nowrap;
}
.premium-badge .bi { font-size: .85em; color: #b45309; }
.premium-badge--lg { font-size: .78rem; padding: .2rem .6rem; }

/* Dashboard chat */
.chat-app .dash-panel__head { align-items: center; gap: .75rem; }
.chat-quota { font-size: .78rem; font-weight: 600; color: #92400e; background: #fffbeb; border: 1px solid #fde68a; padding: .3rem .55rem; border-radius: .5rem; }
.chat-quota--ok { color: #047857; background: #ecfdf5; border-color: #a7f3d0; }
.chat-layout {
  display: grid; gap: .85rem;
  grid-template-columns: 1fr;
  min-height: 28rem;
}
@media (min-width: 900px) {
  .chat-layout { grid-template-columns: minmax(14rem, 17rem) 1fr; gap: 1rem; }
}
.chat-sidebar {
  border: 1px solid #f0e4d8; border-radius: .85rem; background: #fffdfb;
  padding: .75rem; max-height: 22rem; overflow: auto;
}
@media (min-width: 900px) { .chat-sidebar { max-height: 32rem; } }
.chat-sidebar__label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #78716c; margin: 0 0 .55rem; }
.chat-empty { font-size: .86rem; color: #57534e; margin: 0 0 .65rem; }
.chat-empty--center { text-align: center; padding: 1.5rem .75rem; }
.chat-rail__item {
  text-decoration: none; color: inherit; border-radius: .65rem; padding: .5rem .45rem;
  border-bottom: 0; margin-bottom: .2rem;
}
.chat-rail__item:hover { background: #f5f5f4; }
.chat-rail__item.is-active { background: #ecfdf5; }
.chat-rail__meta { flex: 1; min-width: 0; }
.chat-rail__meta strong { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; }
.chat-unread {
  min-width: 1.25rem; height: 1.25rem; border-radius: 999px;
  background: var(--jm-accent); color: #fff; font-size: .68rem; font-weight: 700;
  display: grid; place-items: center; padding: 0 .3rem;
}
.chat-thread {
  border: 1px solid #f0e4d8; border-radius: .85rem; background: #fff;
  display: flex; flex-direction: column; min-height: 26rem;
}
.chat-thread__placeholder {
  flex: 1; display: grid; place-content: center; gap: .75rem; text-align: center;
  color: #57534e; padding: 1.5rem; font-size: .92rem;
}
.chat-thread__head {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .75rem .85rem; border-bottom: 1px solid #f0e4d8;
}
.chat-thread__who { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: inherit; min-width: 0; }
.chat-thread__who strong { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; font-size: .95rem; }
.chat-thread__sub { display: block; font-size: .75rem; color: #78716c; }
.chat-thread__msgs {
  flex: 1; overflow: auto; padding: .85rem; display: flex; flex-direction: column; gap: .55rem;
  background: linear-gradient(180deg, #fafaf9, #fff);
  max-height: 22rem;
}
@media (min-width: 900px) { .chat-thread__msgs { max-height: 24rem; } }
.chat-bubble {
  max-width: min(85%, 26rem); align-self: flex-start;
  background: #f5f5f4; border-radius: .85rem .85rem .85rem .25rem;
  padding: .55rem .7rem;
}
.chat-bubble.is-mine {
  align-self: flex-end;
  background: #064e3b; color: #ecfdf5;
  border-radius: .85rem .85rem .25rem .85rem;
}
.chat-bubble p { margin: 0; font-size: .9rem; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.chat-bubble time { display: block; margin-top: .25rem; font-size: .65rem; opacity: .7; }
.chat-compose { padding: .75rem .85rem; border-top: 1px solid #f0e4d8; }
.chat-form { display: grid; gap: .5rem; grid-template-columns: 1fr auto; align-items: end; }
.chat-form textarea {
  width: 100%; resize: vertical; min-height: 2.75rem; max-height: 8rem;
  border: 1px solid #e7e5e4; border-radius: .65rem; padding: .55rem .65rem;
  font: inherit; font-size: .9rem;
}
.chat-form textarea:focus { outline: 2px solid rgba(6, 78, 59, .35); border-color: #064e3b; }
.chat-compose__hint { margin: .45rem 0 0; font-size: .72rem; color: #78716c; }
.chat-upgrade {
  text-align: center; padding: .85rem; background: #fffbeb; border: 1px solid #fde68a;
  border-radius: .75rem;
}
.chat-upgrade p { margin: 0 0 .65rem; font-size: .9rem; color: #92400e; }
.chat-flash { font-size: .84rem; margin: 0 0 .65rem; }
.chat-flash--err { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; padding: .5rem .65rem; border-radius: .5rem; }
.chat-flash--ok { color: #047857; background: #ecfdf5; border: 1px solid #a7f3d0; padding: .5rem .65rem; border-radius: .5rem; }
.chat-family-tag {
  font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  color: #065f46; background: #d1fae5; padding: .12rem .4rem; border-radius: .35rem;
}

/* Free family chat invite */
.family-add {
  margin: 0 0 1rem; border: 1px solid #d1fae5; border-radius: .85rem;
  background: linear-gradient(135deg, #ecfdf5, #fff); padding: .75rem .9rem;
}
.family-add > summary {
  cursor: pointer; font-weight: 700; font-size: .95rem; color: #064e3b;
  list-style: none; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
}
.family-add > summary::-webkit-details-marker { display: none; }
.family-add__free {
  font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  background: #064e3b; color: #ecfdf5; padding: .15rem .45rem; border-radius: .35rem;
}
.family-add__hint { margin: .55rem 0 .75rem; font-size: .84rem; color: #57534e; }
.family-add__form {
  display: grid; gap: .65rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .family-add__form { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
  .family-add__form .btn { grid-column: 1 / -1; justify-self: start; }
}
.family-list { list-style: none; margin: .85rem 0 0; padding: 0; display: grid; gap: .5rem; }
.family-list__item {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .55rem .65rem; border: 1px solid #e7e5e4; border-radius: .65rem; background: #fff;
  font-size: .86rem;
}
.family-list__item .muted { display: block; font-size: .75rem; }
.family-list__actions { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }

/* Recommend on profile + dashboard */
.pd-recommend {
  margin-top: .85rem; padding: .75rem; border: 1px dashed #a7f3d0; border-radius: .75rem;
  background: #f0fdf4;
}
.pd-recommend__title { margin: 0 0 .35rem; font-weight: 700; font-size: .9rem; color: #064e3b; }
.pd-recommend__form { display: grid; gap: .55rem; margin-top: .55rem; }
.pd-recommend__form .field { font-size: .8rem; }
.pd-recommend__form input,
.pd-recommend__form textarea {
  width: 100%; border: 1px solid #d6d3d1; border-radius: .5rem; padding: .45rem .55rem; font: inherit;
}
.rec-note {
  margin: .35rem 0; font-size: .86rem; font-style: italic; color: #44403c;
  background: #fafaf9; padding: .45rem .55rem; border-radius: .45rem;
}
.rec-actions { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: .45rem; }
.rec-dismiss { display: inline; margin: 0; }
.chip--new {
  font-size: .65rem; font-weight: 800; text-transform: uppercase;
  background: #fef3c7; color: #92400e; padding: .1rem .4rem; border-radius: .3rem;
}

/* Home feature highlight for family chat */
.feature-free-strip {
  margin: 1.5rem 0 0;
  padding: 1.1rem 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(120deg, #ecfdf5 0%, #fff7ed 55%, #fff 100%);
  border: 1px solid #a7f3d0;
  display: grid; gap: .35rem;
}
.feature-free-strip h3 { margin: 0; font-size: 1.05rem; color: #064e3b; }
.feature-free-strip p { margin: 0; font-size: .9rem; color: #44403c; line-height: 1.5; }
.feature-free-strip a { font-weight: 700; color: var(--jm-accent); }

/* Profile QR + partner expectations share */
.share-page { padding-bottom: 2.5rem; }
.share-page__badge {
  display: inline-flex; align-items: center; gap: .4rem;
  margin: 0 0 1rem; padding: .35rem .7rem;
  border-radius: 999px; font-size: .78rem; font-weight: 700;
  background: #fce7f3; color: #9d174d;
}
.share-qr-card {
  display: grid; gap: .65rem; justify-items: center; text-align: center;
  padding: 1rem; border-radius: 1rem;
  background: linear-gradient(160deg, #fff7fb 0%, #fff 55%);
  border: 1px solid #fbcfe8;
}
.share-qr-card h3,
.share-qr-card h2 {
  margin: 0; font-size: .95rem; color: var(--jm-primary);
  display: inline-flex; align-items: center; gap: .35rem;
}
.share-qr-card__img {
  width: 140px; height: 140px; object-fit: contain;
  border-radius: .5rem; background: #fff; border: 1px solid #fce7f3;
}
.share-qr-card .deact-share__row { width: 100%; }
.share-qr-card__actions {
  display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center;
}
.share-qr-card--inline {
  grid-template-columns: 1fr auto;
  align-items: center; text-align: left; justify-items: stretch;
  gap: 1rem;
}
.share-qr-card--inline .share-qr-card__text { display: grid; gap: .55rem; min-width: 0; }
.share-qr-card--inline .share-qr-card__actions { justify-content: flex-start; }
.share-qr-card--aside { align-content: start; }
.dash-share-strip { margin-bottom: .85rem; }
.share-expect-layout {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
  align-items: start;
}
.share-expect-card {
  background: linear-gradient(180deg, #fff5f8 0%, #fff 40%);
  border: 1px solid #f9a8d4;
  border-radius: 1rem;
  padding: 1rem 1.1rem 1.15rem;
}
.share-expect-card__title {
  margin: 0 0 .85rem; font-size: 1.15rem; color: #9f1239;
  display: flex; align-items: center; gap: .35rem;
}
.share-expect-card__chev { color: #db2777; display: inline-flex; }
.share-expect-facts > div {
  background: transparent; border-bottom: 1px solid #fce7f3;
  padding: .55rem 0;
}
.share-expect-facts > div:last-child { border-bottom: 0; }
.share-expect-notes {
  margin-top: 1rem; padding-top: .85rem; border-top: 1px dashed #f9a8d4;
}
.share-expect-notes h3 { margin: 0 0 .35rem; font-size: .95rem; color: #9f1239; }
.share-expect-notes p { margin: 0; color: #44403c; line-height: 1.5; font-size: .92rem; }
.share-expect-owner {
  display: flex; align-items: center; gap: .65rem; text-align: left;
  width: 100%; margin-top: .35rem; padding-top: .75rem;
  border-top: 1px solid #fce7f3;
}
.share-expect-owner img,
.share-expect-owner__initials {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
}
.share-expect-owner__initials {
  display: grid; place-items: center;
  background: var(--jm-primary); color: #fff; font-weight: 700; font-size: .85rem;
}
.share-expect-owner strong { display: block; font-size: .9rem; }
.share-cta { margin-top: 1rem; }
.share-cta--inline {
  margin-top: 1.15rem; padding: 1rem;
  border-radius: .85rem; background: #fffbeb; border: 1px solid #fde68a;
}
.share-cta--inline h3 { margin: 0 0 .35rem; color: #92400e; }
.share-cta__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .65rem; }
@media (min-width: 860px) {
  .share-expect-layout { grid-template-columns: 240px 1fr; }
  .share-expect-layout--dash { grid-template-columns: 260px 1fr; }
}
@media (max-width: 640px) {
  .share-qr-card--inline { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .share-qr-card--inline .share-qr-card__actions { justify-content: center; }
}
