/* enhance.css — polish layer for the simplified female flow.
   Adds trust signals, online-presence, chips, hero strip, section heads.
   Loaded after app.css, so specificity beats the base. */

/* ---------- Brand mark (nicer wordmark) ---------- */
.brand-lockup {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 4px 0 12px;
}
.brand-lockup--center {
  justify-content: center;
  margin: 0 auto;
}
.brand-lockup__logo {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-deep) 100%);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 8px 24px -12px rgba(120, 38, 66, 0.6);
  flex-shrink: 0;
}
.brand-lockup__name {
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 600;
  letter-spacing: -0.02em; line-height: 1;
}
.brand-lockup__tag {
  display: block; font-family: var(--font-ui); font-weight: 500;
  color: var(--ink-soft); font-size: .78rem;
  letter-spacing: .06em; text-transform: uppercase; margin-top: 3px;
}

/* ---------- Landing top brand (properly centered, no vertical-align hacks) ---------- */
.landing__top--v2 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 0 6px;
}
.landing__top--v2 .brand-lockup__logo {
  width: 36px; height: 36px; border-radius: 10px;
  font-size: 1.15rem;
}
.landing__top--v2 .brand-lockup__name {
  font-size: 1.25rem;
}

/* ---------- Colorful promise-row icons ---------- */
.promise-rows--color .pr__ic {
  width: 46px; height: 46px;
  color: #fff;
  border: 0;
  /* Bulletproof center — override any inherited grid/place-items and any
     vertical-align on the base .i class. */
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 8px 22px -12px rgba(29,23,32,.45);
}
.promise-rows--color .pr__ic svg {
  display: block;
  width: 22px; height: 22px;
  vertical-align: 0;
  margin: 0;
  color: #fff;
}
.promise-rows--color .pr__ic--plum {
  background: linear-gradient(135deg, #C34A73 0%, var(--plum) 55%, var(--plum-deep) 100%);
  box-shadow: 0 10px 24px -12px rgba(120,38,66,.65);
}
.promise-rows--color .pr__ic--amber {
  background: linear-gradient(135deg, #E7A85F 0%, var(--amber) 55%, #A56A32 100%);
  box-shadow: 0 10px 24px -12px rgba(200,138,75,.65);
}
.promise-rows--color .pr__ic--moss {
  background: linear-gradient(135deg, #7BA075 0%, var(--moss) 55%, #46613E 100%);
  box-shadow: 0 10px 24px -12px rgba(95,123,90,.65);
}

/* ---------- App-styled login (auth-app) ---------- */
.auth-app .app { background: transparent; }

.auth-app__shell {
  position: relative;
  height: 100dvh;
  max-width: 480px; margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 24px) 22px calc(env(safe-area-inset-bottom) + 18px);
  display: flex; flex-direction: column; gap: 14px;
  overflow: hidden;
}
.auth-app__wash {
  position: absolute; inset: -20% -20% auto -20%; height: 60%;
  z-index: 0;
  background:
    radial-gradient(45% 60% at 20% 10%, color-mix(in oklab, var(--amber) 35%, transparent) 0%, transparent 65%),
    radial-gradient(55% 65% at 85% 5%, color-mix(in oklab, var(--plum)  40%, transparent) 0%, transparent 60%);
  filter: blur(2px);
  pointer-events: none;
}
.auth-app__shell > *:not(.auth-app__wash) { position: relative; z-index: 1; }

/* Hero */
.auth-app__hero {
  text-align: center;
  padding: 14px 4px 4px;
}
.auth-app__logo {
  width: 60px; height: 60px; border-radius: 18px;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #C34A73 0%, var(--plum) 55%, var(--plum-deep) 100%);
  color: #fff;
  font-family: var(--font-head); font-size: 1.75rem; font-weight: 700; line-height: 1;
  box-shadow:
    0 14px 30px -14px rgba(120,38,66,.6),
    inset 0 1px 0 rgba(255,255,255,.25);
}
.auth-app__brand {
  font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--plum); margin: 0 0 10px;
}
.auth-app__hi {
  font-family: var(--font-head); font-size: 1.7rem; font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 6px;
  color: var(--ink);
}
.auth-app__sub {
  font-size: .92rem; color: var(--ink-soft); margin: 0;
}

/* Floating form card */
.auth-app__card {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 22px;
  padding: 18px 16px 16px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow:
    0 30px 60px -30px rgba(29,23,32,.35),
    0 6px 20px -14px rgba(120,38,66,.25);
}
.auth-app__card .field { margin: 0; }
.auth-app__card .field > span {
  margin-bottom: 4px; font-size: .7rem; font-weight: 700;
  color: color-mix(in oklab, var(--ink) 55%, var(--paper));
  letter-spacing: .06em;
}
.auth-app__card .field input {
  min-height: 48px !important;
  padding-top: 10px !important; padding-bottom: 10px !important;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 14px;
  font-size: 1rem;
  transition: border-color .18s ease, box-shadow .18s ease, transform .12s ease;
}
.auth-app__card .field input:focus {
  border-color: var(--plum);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--plum) 18%, transparent);
}
.auth-app__card .input-ic input { padding-left: 44px !important; }
.auth-app__card .input-ic .i-in { color: var(--plum); }

/* Primary CTA — gradient with subtle shine */
.auth-app__cta {
  position: relative; overflow: hidden;
  min-height: 52px !important;
  border-radius: 14px !important;
  border: 0 !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-deep) 100%);
  font-weight: 700; letter-spacing: .01em;
  box-shadow:
    0 14px 30px -12px rgba(120,38,66,.6),
    inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .12s ease, box-shadow .18s ease;
}
.auth-app__cta::after {
  content: "";
  position: absolute; top: 0; left: -30%; width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.24) 50%, transparent 100%);
  transform: skewX(-18deg);
  animation: auth-shine 4.5s ease-in-out infinite;
}
@keyframes auth-shine {
  0%, 40% { left: -40%; }
  55%     { left: 110%; }
  100%    { left: 110%; }
}
.auth-app__cta:active { transform: translateY(1px) scale(.995); }

/* Foot divider */
.auth-app__foot {
  display: flex; align-items: center; gap: 10px;
  margin: 6px 0 -2px;
}
.auth-app__foot-line {
  flex: 1; height: 1px;
  background: color-mix(in oklab, var(--ink) 12%, transparent);
}
.auth-app__foot-text {
  font-size: .78rem; color: var(--ink-soft); font-weight: 500;
}

/* Ghost secondary — Create an account */
.auth-app__ghost {
  min-height: 48px !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.6) !important;
  border: 1px solid var(--hair) !important;
  color: var(--ink) !important;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .18s ease, border-color .18s ease;
}
.auth-app__ghost:hover { background: #fff !important; border-color: var(--ink-soft) !important; }

/* Alert inside auth-app should feel like part of the card, not the page */
.auth-app .alert {
  background: color-mix(in oklab, var(--danger) 10%, #fff);
  border-color: color-mix(in oklab, var(--danger) 25%, var(--hair));
  border-radius: 14px;
}

@media (max-height: 640px) {
  .auth-app__logo { width: 52px; height: 52px; font-size: 1.5rem; margin-bottom: 8px; }
  .auth-app__hi   { font-size: 1.45rem; }
  .auth-app__sub  { font-size: .86rem; }
  .auth-app__hero { padding-top: 6px; }
}

/* ---------- Viewport-locked auth shell (signup / login as native-app screens) ---------- */
.auth-lock,
.auth-lock body { height: 100dvh; overflow: hidden; }
.auth-lock .app { height: 100dvh; overflow: hidden; }
.auth-lock .screen { overflow: hidden; padding: 0; }

.auth-lock .auth {
  height: 100dvh;
  max-width: 480px; margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 12px) 20px calc(env(safe-area-inset-bottom) + 14px);
  display: flex; flex-direction: column;
  gap: 10px;
}
.auth-lock .auth-lock__foot { margin-top: auto; }
/* Compact everything inside the lock */
.auth-lock .brand-lockup { margin: 0; }
.auth-lock .brand-lockup__logo { width: 40px; height: 40px; font-size: 1.2rem; }
.auth-lock .brand-lockup__name { font-size: 1.2rem; }
.auth-lock .brand-lockup__tag  { font-size: .68rem; margin-top: 2px; }

.auth-lock h2 { margin: 6px 0 2px !important; font-size: 1.35rem; }
.auth-lock .lede { margin: 0 0 4px; font-size: .9rem; }

/* Slimmer trust-bar inside the lock */
.auth-lock .trust-bar { margin: 0; padding: 10px 8px; }
.auth-lock .trust-bar__ic { width: 30px; height: 30px; }
.auth-lock .trust-bar__ic svg { width: 14px; height: 14px; }
.auth-lock .trust-bar__label { font-size: .66rem; }

/* Form area — allowed to shrink; hide hints to save vertical space */
.auth-lock form.stack {
  display: flex; flex-direction: column;
  gap: 8px;
  align-self: stretch;
  overflow: hidden;
}
.auth-lock .field { margin: 0; }
.auth-lock .field > span { margin-bottom: 3px; font-size: .72rem; }
.auth-lock .field input {
  min-height: 42px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  font-size: .95rem;
}
/* Keep the 42px left-padding from .input-ic so text never sits under the icon */
.auth-lock .field .input-ic input { padding-left: 42px !important; }
.auth-lock .field .hint { display: none; }
.auth-lock .stepper { display: none; }
.auth-lock .safety-note { display: none; }

.auth-lock form.stack .btn {
  min-height: 46px; margin-top: 4px;
}

.auth-lock .auth-lock__foot {
  margin: 0; text-align: center;
  font-size: .72rem; color: var(--ink-soft);
}
.auth-lock .auth-lock__foot a { color: var(--ink); font-weight: 600; }

/* ---------- Trust bar (3 tiny promises at top of signup) ---------- */
.trust-bar {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin: 6px 0 22px;
  padding: 14px 10px;
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px -8px rgba(29, 23, 32, 0.12);
}
.trust-bar__cell {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center;
}
.trust-bar__ic {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 6px 16px -8px rgba(29,23,32,.45);
}
.trust-bar__ic svg { width: 17px; height: 17px; }
/* First cell = plum, second = amber, third = moss — matches the promise rows */
.trust-bar__cell:nth-child(1) .trust-bar__ic {
  background: linear-gradient(135deg, #C34A73 0%, var(--plum) 55%, var(--plum-deep) 100%);
  box-shadow: 0 6px 16px -8px rgba(120,38,66,.6);
}
.trust-bar__cell:nth-child(2) .trust-bar__ic {
  background: linear-gradient(135deg, #E7A85F 0%, var(--amber) 55%, #A56A32 100%);
  box-shadow: 0 6px 16px -8px rgba(200,138,75,.6);
}
.trust-bar__cell:nth-child(3) .trust-bar__ic {
  background: linear-gradient(135deg, #7BA075 0%, var(--moss) 55%, #46613E 100%);
  box-shadow: 0 6px 16px -8px rgba(95,123,90,.6);
}
.trust-bar__label {
  font-size: .72rem; font-weight: 600; color: var(--ink);
  letter-spacing: .02em; line-height: 1.15;
}

/* ---------- Stepper (progress dots) ---------- */
.stepper {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin: 0 0 18px;
}
.stepper__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--hair-2);
}
.stepper__dot.is-on { background: var(--plum); width: 22px; border-radius: 4px; }
.stepper__dot.is-done { background: var(--moss); }

/* ---------- Enhanced hero strip (dashboard welcome) ---------- */
.hero-strip {
  position: relative;
  padding: 18px 18px 20px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 100% at 100% 0%, color-mix(in oklab, var(--plum) 22%, transparent) 0%, transparent 55%),
    linear-gradient(180deg, var(--paper-2) 0%, color-mix(in oklab, var(--paper-2) 92%, var(--plum) 8%) 100%);
  border: 1px solid var(--hair);
  margin: 0 0 18px;
  overflow: hidden;
  box-shadow: 0 6px 24px -18px rgba(120, 38, 66, 0.4);
}
.hero-strip__eyebrow {
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--plum); margin: 0 0 6px;
}
.hero-strip__title {
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 600;
  line-height: 1.2; margin: 0 0 4px; letter-spacing: -0.01em;
}
.hero-strip__sub {
  color: var(--ink-soft); font-size: .92rem; margin: 0;
}
.hero-strip__stats {
  display: flex; gap: 14px; margin-top: 12px;
}
.hero-strip__stat {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 600; color: var(--ink-soft);
}
.hero-strip__stat--live { color: var(--moss); }
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--moss) 60%, transparent);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--moss) 60%, transparent); }
  70%  { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---------- Section head (heading with counter) ---------- */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 0 2px 10px;
}
.section-head__title {
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 600;
  margin: 0; letter-spacing: -0.005em;
}
.section-head__count {
  font-size: .78rem; font-weight: 600; color: var(--ink-soft);
  letter-spacing: .04em;
}

/* ---------- Enhanced person row (WhatsApp-style, elevated) ---------- */
.people {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.person {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px -8px rgba(29, 23, 32, 0.14);
  transition: transform .14s ease, box-shadow .14s ease;
}
.person:active { transform: scale(.99); }
.person__avatar-wrap {
  position: relative; flex-shrink: 0;
}
.person__avatar {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; background: var(--hair);
  border: 2px solid var(--paper-2);
  box-shadow: 0 0 0 1px var(--hair);
}
.person__online {
  position: absolute; right: 0; bottom: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--moss);
  border: 2px solid var(--paper-2);
}
.person__body {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.person__name {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-size: 1.02rem; font-weight: 600;
  margin: 0; letter-spacing: -0.005em; line-height: 1.15;
  color: var(--ink);
}
.person__age { color: var(--ink-soft); font-weight: 500; }
.person__verified {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: color-mix(in oklab, var(--moss) 92%, black);
  color: #fff;
}
.person__verified svg { width: 10px; height: 10px; }
.person__meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .82rem; color: var(--ink-soft); margin: 0;
}
.person__meta-dot { color: var(--hair-2); }
.person__actions {
  display: flex; flex-direction: column; gap: 6px; flex-shrink: 0;
}
.btn-xs {
  min-height: 34px; padding: 6px 12px;
  font-size: .82rem; border-radius: 10px; font-weight: 600;
}

/* ---------- Chip tags ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 999px;
  font-size: .7rem; font-weight: 600; letter-spacing: .02em;
  background: color-mix(in oklab, var(--plum) 8%, var(--paper-2));
  color: var(--plum);
  border: 1px solid color-mix(in oklab, var(--plum) 20%, var(--hair));
}
.chip--moss {
  background: color-mix(in oklab, var(--moss) 10%, var(--paper-2));
  color: var(--moss);
  border-color: color-mix(in oklab, var(--moss) 25%, var(--hair));
}

/* ---------- Enhanced profile hero (details page) ---------- */
.profile-hero {
  position: relative;
  width: 100%; aspect-ratio: 4/5;
  background-size: cover; background-position: center;
  background-color: color-mix(in oklab, var(--hair) 60%, var(--paper));
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 12px 40px -20px rgba(29, 23, 32, 0.35);
}
.profile-hero__grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(29,23,32,.85) 100%);
}
.profile-hero__name {
  position: absolute; left: 18px; right: 18px; bottom: 14px;
  color: #fff;
}
.profile-hero__name h1 {
  font-family: var(--font-head); font-size: 1.7rem; font-weight: 600;
  margin: 0 0 4px; letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.profile-hero__meta {
  display: flex; align-items: center; gap: 8px;
  font-size: .88rem; opacity: .92;
}
.profile-hero__meta svg { width: 14px; height: 14px; }
.profile-hero__badges {
  position: absolute; top: 12px; left: 12px;
  display: flex; gap: 6px;
}
.badge-glass {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--ink); font-size: .72rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,.6);
}
.badge-glass svg { width: 12px; height: 12px; color: var(--moss); }

/* ---------- Info tiles (details rows) ---------- */
.info-tiles {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin: 0 0 16px;
}
.info-tile {
  padding: 12px;
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
}
.info-tile__label {
  font-size: .68rem; font-weight: 600; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: .06em;
  margin: 0 0 4px;
}
.info-tile__value {
  font-family: var(--font-head); font-size: 1rem; font-weight: 600;
  margin: 0; letter-spacing: -0.005em;
}

.info-block {
  padding: 14px 16px;
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  margin: 0 0 12px;
}
.info-block__label {
  font-size: .68rem; font-weight: 600; color: var(--plum);
  text-transform: uppercase; letter-spacing: .06em;
  margin: 0 0 6px;
}
.info-block__body {
  margin: 0; color: var(--ink); line-height: 1.5;
}

/* ---------- Safety note ---------- */
.safety-note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px;
  background: color-mix(in oklab, var(--moss) 6%, var(--paper-2));
  border: 1px solid color-mix(in oklab, var(--moss) 22%, var(--hair));
  border-radius: var(--radius);
  margin: 12px 0;
}
.safety-note__ic {
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: color-mix(in oklab, var(--moss) 18%, var(--paper-2));
  color: var(--moss);
  display: inline-flex; align-items: center; justify-content: center;
}
.safety-note__ic svg { width: 16px; height: 16px; }
.safety-note__title {
  font-weight: 600; color: var(--ink); font-size: .92rem;
  margin: 0 0 2px;
}
.safety-note__body {
  font-size: .82rem; color: var(--ink-soft); margin: 0;
}

/* ---------- Sticky CTA bar at bottom of details ---------- */
.cta-bar {
  position: sticky; bottom: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in oklab, var(--paper) 92%, white 8%);
  border-top: 1px solid var(--hair);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  margin: 0 -16px;
}
.cta-bar .btn { box-shadow: 0 10px 24px -12px rgba(120, 38, 66, 0.6); }

/* ---------- Empty state polish ---------- */
.empty-state {
  padding: 40px 20px; text-align: center;
  background: var(--paper-2);
  border: 1px dashed var(--hair-2);
  border-radius: var(--radius-lg);
}
.empty-state__ic {
  width: 56px; height: 56px; margin: 0 auto 12px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--plum) 8%, var(--paper));
  color: var(--plum);
  display: inline-flex; align-items: center; justify-content: center;
}
.empty-state__ic svg { width: 24px; height: 24px; }
.empty-state h3 { margin: 0 0 4px; }
.empty-state p  { margin: 0; color: var(--ink-soft); }

/* ---------- Primary CTA emphasis ---------- */
.btn-primary { box-shadow: 0 8px 24px -14px rgba(29, 23, 32, 0.6); }
.btn-plum    { box-shadow: 0 8px 24px -14px rgba(120, 38, 66, 0.6); }

/* ---------- Promo slider (FWB content, no images) ---------- */
.promo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 0 18px;
  box-shadow: 0 8px 30px -20px rgba(29, 23, 32, 0.2);
  background: var(--paper-2);
}
.promo__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.promo__track::-webkit-scrollbar { display: none; }

.promo__slide {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
  padding: 20px 20px 34px;
  position: relative;
  min-height: 168px;
  display: flex; flex-direction: column; gap: 6px; justify-content: center;
  color: var(--ink);
}
.promo__slide::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 0;
  opacity: .95;
}
.promo__slide > * { position: relative; z-index: 1; }

/* Colour variants — each with a soft two-tone gradient wash */
.promo__slide--plum::before {
  background:
    radial-gradient(120% 100% at 100% 0%, color-mix(in oklab, var(--plum) 28%, transparent) 0%, transparent 55%),
    linear-gradient(160deg, #FFF7F3 0%, color-mix(in oklab, var(--plum) 10%, var(--paper-2)) 100%);
}
.promo__slide--moss::before {
  background:
    radial-gradient(120% 100% at 0% 100%, color-mix(in oklab, var(--moss) 28%, transparent) 0%, transparent 55%),
    linear-gradient(160deg, #F6FAF3 0%, color-mix(in oklab, var(--moss) 10%, var(--paper-2)) 100%);
}
.promo__slide--amber::before {
  background:
    radial-gradient(120% 100% at 100% 100%, color-mix(in oklab, var(--amber) 28%, transparent) 0%, transparent 55%),
    linear-gradient(160deg, #FFF8EF 0%, color-mix(in oklab, var(--amber) 10%, var(--paper-2)) 100%);
}

.promo__eyebrow {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px);
  animation: promo-fade .55s .05s ease forwards;
}
.promo__slide--plum  .promo__eyebrow { color: var(--plum); }
.promo__slide--moss  .promo__eyebrow { color: var(--moss); }
.promo__slide--amber .promo__eyebrow { color: var(--amber); }

.promo__title {
  font-family: var(--font-head); font-size: 1.28rem; font-weight: 600;
  margin: 2px 0 4px; letter-spacing: -0.015em; line-height: 1.15;
  opacity: 0; transform: translateY(10px);
  animation: promo-fade .6s .15s ease forwards;
}
.promo__body {
  font-size: .9rem; color: var(--ink-soft); line-height: 1.45;
  margin: 0;
  opacity: 0; transform: translateY(10px);
  animation: promo-fade .6s .28s ease forwards;
}
.promo__chip {
  display: inline-flex; align-self: flex-start;
  align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .02em;
  margin-top: 10px;
  background: rgba(255,255,255,.75); color: var(--ink);
  border: 1px solid var(--hair);
  backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(10px);
  animation: promo-fade .6s .4s ease forwards, promo-chip-glow 2.6s .8s ease-in-out infinite;
  box-shadow: 0 2px 8px -4px rgba(29,23,32,.2);
}
@keyframes promo-fade {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes promo-chip-glow {
  0%, 100% { box-shadow: 0 2px 8px -4px rgba(29,23,32,.2); transform: translateY(0); }
  50%      { box-shadow: 0 6px 18px -6px rgba(120,38,66,.35); transform: translateY(-1px); }
}

/* Dots indicator */
.promo__dots {
  position: absolute; bottom: 10px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
  padding: 0; z-index: 2;
}
.promo__dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: color-mix(in oklab, var(--ink) 20%, transparent);
  border: 0; padding: 0; cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.promo__dot.is-on {
  width: 22px;
  background: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .promo__eyebrow, .promo__title, .promo__body, .promo__chip {
    animation: none; opacity: 1; transform: none;
  }
}

/* ---------- Colorful tab bar (Home / Chat / Profile) ---------- */
.tabbar .tab {
  position: relative;
  color: color-mix(in oklab, var(--ink) 55%, var(--paper));
}
.tabbar .tab svg { transition: transform .18s ease; }
.tabbar .tab.is-active {
  color: var(--plum);
}
.tabbar .tab.is-active::before {
  content: "";
  position: absolute; top: 6px; left: 50%;
  width: 40px; height: 32px; transform: translateX(-50%);
  border-radius: 999px;
  background: color-mix(in oklab, var(--plum) 12%, transparent);
  z-index: 0;
}
.tabbar .tab.is-active svg,
.tabbar .tab.is-active .tab__ic,
.tabbar .tab.is-active span { position: relative; z-index: 1; }
.tabbar .tab.is-active svg { transform: translateY(-1px) scale(1.05); }

/* ---------- Install prompt banner (Android + iOS) ---------- */
.su-install {
  position: fixed; left: 12px; right: 12px;
  bottom: calc(var(--tab-h) + 14px + env(safe-area-inset-bottom));
  z-index: 30;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-radius: 16px;
  box-shadow: 0 18px 40px -20px rgba(29, 23, 32, 0.35);
  transform: translateY(120%); opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
  max-width: 460px; margin: 0 auto;
}
.su-install.is-in { transform: translateY(0); opacity: 1; }
.su-install__ic { font-size: 1.6rem; line-height: 1; flex-shrink: 0; }
.su-install__body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.su-install__body strong { font-family: var(--font-head); font-size: .98rem; }
.su-install__body span   { font-size: .8rem; color: var(--ink-soft); line-height: 1.35; }
.su-install__go { flex-shrink: 0; }
.su-install__x {
  border: 0; background: transparent; font-size: 1.4rem; line-height: 1;
  color: var(--ink-soft); padding: 4px 8px; cursor: pointer;
}

/* ---------- Person card v2 (image-first, elevated) ----------
   Recommended photo:
     • Card thumbnail (this): 1:1 square, 400 × 400 px  (displays ~96px)
     • Full profile hero:     4:5 portrait, 800 × 1000 px
*/
.pcards {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.pcard {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 18px -12px rgba(29, 23, 32, 0.18);
  overflow: hidden;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.pcard:active { transform: scale(.995); }
.pcard::before {
  content: "";
  position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--plum) 0%, var(--amber) 100%);
  opacity: .0;
  transition: opacity .16s ease;
}
.pcard:hover { border-color: color-mix(in oklab, var(--plum) 22%, var(--hair)); }
.pcard:hover::before { opacity: 1; }

.pcard__link {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 14px 12px;
  color: inherit; text-decoration: none;
}

/* Image placeholder — 1:1 square, drop your 400×400 photo in */
.pcard__avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 84px; height: 84px;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(135deg, var(--hair) 0%, var(--paper) 100%);
}
.pcard__avatar-wrap.is-online {
  background: linear-gradient(135deg, var(--moss) 0%, color-mix(in oklab, var(--moss) 60%, var(--plum)) 100%);
}
.pcard__avatar {
  width: 100%; height: 100%;
  border-radius: 16px;
  object-fit: cover;
  background: var(--paper);
  display: block;
}
/* Small "live" pill on avatar for online users */
.pcard__avatar-wrap.is-online::after {
  content: "LIVE";
  position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  padding: 2px 8px; border-radius: 999px;
  background: var(--moss); color: #fff;
  font-size: .58rem; font-weight: 800; letter-spacing: .08em;
  box-shadow: 0 2px 6px -2px rgba(0,0,0,.3), 0 0 0 2px var(--paper-2);
}

.pcard__body {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.pcard__row {
  display: flex; align-items: center; gap: 6px;
}
.pcard__name {
  font-family: var(--font-head); font-size: 1.08rem; font-weight: 600;
  margin: 0; letter-spacing: -0.01em; line-height: 1.15;
  color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pcard__age { color: var(--ink-soft); font-weight: 500; }
.pcard__verified {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: color-mix(in oklab, var(--moss) 92%, black);
  color: #fff; flex-shrink: 0;
}
.pcard__verified svg { width: 10px; height: 10px; }

.pcard__profession {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .84rem; color: var(--plum); font-weight: 600;
  margin: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pcard__profession .i { color: var(--amber); }

.pcard__chips {
  display: flex; flex-wrap: wrap; gap: 5px;
  margin-top: 2px;
}
.pcard__chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 999px;
  font-size: .7rem; font-weight: 600; letter-spacing: .01em;
  background: color-mix(in oklab, var(--paper) 60%, var(--paper-2));
  color: var(--ink-soft);
  border: 1px solid var(--hair);
}
.pcard__chip.is-live {
  background: color-mix(in oklab, var(--moss) 12%, var(--paper-2));
  color: var(--moss);
  border-color: color-mix(in oklab, var(--moss) 30%, var(--hair));
}
.pcard__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--moss) 60%, transparent);
  animation: pulse 1.8s infinite;
}

/* Action bar at the bottom of the card */
.pcard__actions {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 8px;
  padding: 0 14px 14px;
}
.pcard__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 8px 12px;
  border-radius: 12px;
  font: inherit; font-size: .86rem; font-weight: 600; letter-spacing: .01em;
  text-decoration: none;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
  cursor: pointer;
}
.pcard__btn:active { transform: scale(.98); }
.pcard__btn--ghost {
  background: var(--paper-2);
  color: var(--ink);
  border: 1px solid var(--hair);
}
.pcard__btn--ghost:hover {
  border-color: var(--ink-soft);
}
.pcard__btn--primary {
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-deep) 100%);
  color: #fff;
  border: 1px solid var(--plum-deep);
  box-shadow: 0 8px 20px -12px rgba(120, 38, 66, 0.8);
}
.pcard__btn--primary:hover {
  box-shadow: 0 10px 26px -10px rgba(120, 38, 66, 0.9);
}

/* ---------- FWB explainer (dashboard brand story) ---------- */
.fwb-explainer {
  position: relative;
  padding: 20px 18px 18px;
  margin: 0 0 20px;
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px -20px rgba(29, 23, 32, 0.2);
  overflow: hidden;
}
.fwb-explainer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--plum) 0%, var(--amber) 60%, var(--moss) 100%);
}
.fwb-explainer__eyebrow {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--plum); margin: 0 0 4px;
}
.fwb-explainer__title {
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 600;
  margin: 0 0 8px; letter-spacing: -0.015em; line-height: 1.15;
}
.fwb-explainer__sub {
  color: var(--ink-soft); font-size: .92rem; line-height: 1.5;
  margin: 0 0 16px;
}
.fwb-explainer__foot {
  margin: 14px 0 0; padding-top: 12px;
  border-top: 1px dashed var(--hair-2);
  font-size: .78rem; text-align: center;
}
.fwb-explainer__foot .i { vertical-align: -3px; margin-right: 2px; color: var(--moss); }

.fwb-values {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.fwb-value {
  display: flex; gap: 12px; align-items: flex-start;
}
.fwb-value__ic {
  flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
}
.fwb-value__ic svg { width: 18px; height: 18px; }
.fwb-value__ic--plum  { background: color-mix(in oklab, var(--plum)  12%, var(--paper)); color: var(--plum); }
.fwb-value__ic--moss  { background: color-mix(in oklab, var(--moss)  14%, var(--paper)); color: var(--moss); }
.fwb-value__ic--amber { background: color-mix(in oklab, var(--amber) 16%, var(--paper)); color: var(--amber); }
.fwb-value > div { display: flex; flex-direction: column; gap: 2px; }
.fwb-value strong {
  font-family: var(--font-head); font-size: 1rem; font-weight: 600;
  color: var(--ink); letter-spacing: -0.005em;
}
.fwb-value span {
  font-size: .86rem; color: var(--ink-soft); line-height: 1.45;
}
