/* ============================================================
   home-modern.css — Home page mid-sections, premium blue/white
   modernisation. Loaded LAST. Scope: body.fp-ed.fp-home.fp-lux
   (same 0,4,0 specificity as home-lux.css — later cascade wins).
   HERO, TOP NAVBAR and FOOTER are deliberately untouched.
   ============================================================ */
body.fp-ed.fp-home.fp-lux {
  --hm-brand: #3b6ef6; --hm-brand-6: #2456e6; --hm-brand-7: #1c44c9;
  --hm-ink: #0b1220; --hm-ink-soft: #26324a; --hm-muted: #5b6880; --hm-muted-2: #8592a8;
  --hm-line: #e8ecf5; --hm-line-soft: #eef1f8; --hm-panel: #f8faff;
  --hm-grad: linear-gradient(135deg, #3b6ef6, #1c44c9);
  --hm-shadow: 0 1px 3px rgba(16,24,40,.04), 0 18px 40px -24px rgba(36,86,230,.28);
  --hm-pop: 0 12px 30px -10px rgba(36,86,230,.35);
}

/* ---------- section heads & kickers → brand blue ---------- */
body.fp-ed.fp-home.fp-lux .ed-home .ed-section .ed-kicker,
body.fp-ed.fp-home.fp-lux .ed-home .ed-band .ed-kicker,
body.fp-ed.fp-home.fp-lux .fp3d-band .ed-kicker { color: var(--hm-brand-6); }
/* dark-context kickers stay light — .ed-home prefix + is-dark row so these
   out-cascade the blue .ed-section kicker rule above (review finding) */
body.fp-ed.fp-home.fp-lux .ed-home .ed-home2-hire2-tx .ed-kicker,
body.fp-ed.fp-home.fp-lux .ed-home .ed-home2-earn-tx .ed-kicker,
body.fp-ed.fp-home.fp-lux .ed-home .ed-home2-row.is-dark .ed-kicker { color: #9db9ff; }
/* globe band is LIGHT now - blue kicker underline like the other light sections */
body.fp-ed.fp-home.fp-lux .fp3d-band .ed-em { color: var(--hm-brand-6); }
body.fp-ed.fp-home.fp-lux .ed-home .ed-head::after { width: 64px; height: 3px; border-radius: 3px; background: var(--hm-grad); }
body.fp-ed.fp-home.fp-lux .ed-home .ed-head { border-bottom-color: var(--hm-line); }

/* underline/arrow links → blue system */
body.fp-ed.fp-home.fp-lux .ed-under {
  background-image: linear-gradient(var(--hm-brand-6), var(--hm-brand-6));
}
body.fp-ed.fp-home.fp-lux .ed-under:hover { color: var(--hm-brand-6); }
body.fp-ed.fp-home.fp-lux .fp-lux-catmq-track a:hover { color: var(--hm-brand-6); }
body.fp-ed.fp-home.fp-lux .fp-lux-faq-more a { color: var(--hm-brand-6); }

/* ---------- brands marquee — quiet, refined ---------- */
body.fp-ed.fp-home.fp-lux .ed-brands-tag { color: var(--hm-muted); font-weight: 600; }


/* ---------- check bullets (hire2 + earn) → gradient tick chips ---------- */
body.fp-ed.fp-home.fp-lux .ed-home2-hire2-points li svg,
body.fp-ed.fp-home.fp-lux .ed-home2-earn-list li svg {
  width: 22px; height: 22px; flex: none; padding: 5px; border-radius: 50%;
  background: var(--hm-grad); color: #fff;
  box-shadow: 0 6px 14px -6px rgba(36,86,230,.55);
}

/* ---------- WHY rows + stats ---------- */
body.fp-ed.fp-home.fp-lux .ed-home2-row.ed-quote.ed-quote-split:not(.is-dark) {
  border-radius: 24px; border-color: var(--hm-line);
  background: #fff;
  box-shadow: var(--hm-shadow);
}
body.fp-ed.fp-home.fp-lux .ed-home2-row.ed-quote.ed-quote-split:not(.is-dark)::before {
  background: linear-gradient(90deg, transparent 8%, rgba(59,110,246,.35) 50%, transparent 92%);
}
body.fp-ed.fp-home.fp-lux .ed-home2-row .ed-quote-q em,
body.fp-ed.fp-home.fp-lux .ed-home2-row:not(.is-dark) .ed-quote-q em { color: var(--hm-brand-6); font-style: normal; }
body.fp-ed.fp-home.fp-lux .ed-home2-row.is-dark .ed-quote-q em { color: #9db9ff; }

/* ---------- CATEGORY cards — radius 20, softer premium hover ---------- */
body.fp-ed.fp-home.fp-lux .fp-cat2 { gap: 16px; }
body.fp-ed.fp-home.fp-lux .fp-cat2-card {
  border-radius: 20px; padding: 17px 18px;
  background: #fff; border-color: var(--hm-line);
  box-shadow: 0 1px 2px rgba(16,24,40,.03);
}
body.fp-ed.fp-home.fp-lux .fp-cat2-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 20px 40px -18px rgb(var(--c2) / .4);
}
body.fp-ed.fp-home.fp-lux .fp-cat2-ic { width: 48px; height: 48px; border-radius: 14px; }
body.fp-ed.fp-home.fp-lux .fp-cat2-ic svg { width: 24px; height: 24px; }
body.fp-ed.fp-home.fp-lux .fp-cat2-card:hover .fp-cat2-ic { transform: scale(1.08) rotate(-4deg); }
body.fp-ed.fp-home.fp-lux .fp-cat2-tx strong { color: var(--hm-ink); }
body.fp-ed.fp-home.fp-lux .fp-cat2-tx span { color: var(--hm-muted-2); }


/* ---------- FAQ — rounded, blue open state ---------- */
body.fp-ed.fp-home.fp-lux .ed-home2-faq-item { border-radius: 18px; background: #fff; }
body.fp-ed.fp-home.fp-lux .ed-home2-faq-item:not([open]) { border-color: var(--hm-line); box-shadow: 0 1px 2px rgba(16,24,40,.03); }
body.fp-ed.fp-home.fp-lux .ed-home2-faq-item[open] { box-shadow: 0 0 0 1.5px rgba(36,86,230,.35), 0 20px 44px -26px rgba(36,86,230,.35); }
body.fp-ed.fp-home.fp-lux .ed-home2-faq-item summary:hover { background: rgba(59,110,246,.035); }
body.fp-ed.fp-home.fp-lux .ed-home2-faq-item[open] summary { color: var(--hm-brand-7); }
body.fp-ed.fp-home.fp-lux .ed-home2-faq-item p { color: var(--hm-muted); }
body.fp-ed.fp-home.fp-lux .fp-lux-faq-more { color: var(--hm-muted); }

/* ---------- CTA band accents ---------- */
body.fp-ed.fp-home.fp-lux .ed-home-cta { border-color: rgba(93,138,255,.3); }

/* selection + focus ring on the light sections → blue */
body.fp-ed.fp-home.fp-lux ::selection { background: rgba(59,110,246,.18); color: #0b1220; }
body.fp-ed.fp-home.fp-lux :is(a, button, summary):focus-visible { outline: 2px solid rgba(36,86,230,.6); outline-offset: 3px; }

@media (max-width: 760px) {
  body.fp-ed.fp-home.fp-lux .fp-cat2 { gap: 12px; }
  body.fp-ed.fp-home.fp-lux .fp-cat2-card { border-radius: 16px; }
  body.fp-ed.fp-home.fp-lux .fp-cat2-ic { width: 44px; height: 44px; border-radius: 13px; }
}

/* ── 3D category icons (raster PNG, replaces the flat line-SVGs) ────────── */
body.fp-ed.fp-home.fp-lux .fp-cat2-ic {
  width: 56px; height: 56px; border-radius: 15px; padding: 0; overflow: hidden;
  background: #fff; color: transparent;
  box-shadow: inset 0 0 0 1px rgba(16,40,84,.05), 0 8px 18px -10px rgba(16,24,48,.26);
}
body.fp-ed.fp-home.fp-lux .fp-cat2-ic img {
  width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.16);
}
@media (max-width: 760px) {
  body.fp-ed.fp-home.fp-lux .fp-cat2-ic { width: 50px; height: 50px; border-radius: 14px; }
}
@media (max-width: 480px) {
  body.fp-ed.fp-home.fp-lux .fp-cat2-ic { width: 46px; height: 46px; border-radius: 13px; }
}

/* ── DIGITAL PRODUCTS section - violet Aurora band (single-hue violet only) ── */
body.fp-ed.fp-home.fp-lux .fp-dp-sec {
  --dp: 139 92 246;
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #17102e 0%, #120b24 60%, #0e0820 100%);
}
body.fp-ed.fp-home.fp-lux .fp-dp-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 70%; pointer-events: none; z-index: -1;
  background: radial-gradient(60% 100% at 50% 0%, rgb(var(--dp) / .30), rgb(var(--dp) / .06) 45%, transparent 70%);
}
body.fp-ed.fp-home.fp-lux .fp-dp-sec .ed-head { border: 0; }
body.fp-ed.fp-home.fp-lux .fp-dp-sec .ed-kicker { color: rgb(var(--dp)); }
body.fp-ed.fp-home.fp-lux .fp-dp-sec .ed-h2 { color: #f4f2fb; }
body.fp-ed.fp-home.fp-lux .fp-dp-sec .ed-em { color: rgb(var(--dp)); }
body.fp-ed.fp-home.fp-lux .fp-dp-sec .ed-head::after { background: linear-gradient(90deg, rgb(var(--dp)), transparent); }
body.fp-ed.fp-home.fp-lux .fp-dp-sec .ed-arrow { color: #cbc2ef; }
body.fp-ed.fp-home.fp-lux .fp-dp-intro { max-width: 720px; margin: 6px 0 26px; color: #b6acd6; font-size: 1.02rem; line-height: 1.6; }
body.fp-ed.fp-home.fp-lux .fp-dp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
body.fp-ed.fp-home.fp-lux .fp-dp-card {
  display: flex; align-items: center; gap: 14px; padding: 15px 17px; border-radius: 16px; text-decoration: none;
  background: rgb(var(--dp) / .07); border: 1px solid rgb(var(--dp) / .22); box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  transition: transform .3s cubic-bezier(.22,1,.36,1), background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
body.fp-ed.fp-home.fp-lux .fp-dp-card:hover { transform: translateY(-3px); background: rgb(var(--dp) / .12); border-color: rgb(var(--dp) / .5); box-shadow: 0 18px 38px -20px rgb(var(--dp) / .6); }
body.fp-ed.fp-home.fp-lux .fp-dp-ic { width: 56px; height: 56px; flex: none; border-radius: 15px; overflow: hidden; background: #fff; box-shadow: 0 8px 18px -10px rgba(8,4,20,.6); }
body.fp-ed.fp-home.fp-lux .fp-dp-ic img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.16); }
body.fp-ed.fp-home.fp-lux .fp-dp-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
body.fp-ed.fp-home.fp-lux .fp-dp-tx strong { font-family: 'Inter', sans-serif; font-size: .98rem; font-weight: 700; color: #f4f2fb; }
body.fp-ed.fp-home.fp-lux .fp-dp-tx span { font-size: .8rem; color: #a79cca; }
body.fp-ed.fp-home.fp-lux .fp-dp-benefits { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
body.fp-ed.fp-home.fp-lux .fp-dp-benefits li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: rgb(var(--dp) / .1); border: 1px solid rgb(var(--dp) / .28); color: #ddd6f4; font-size: .86rem; font-weight: 600; }
body.fp-ed.fp-home.fp-lux .fp-dp-benefits svg { width: 16px; height: 16px; color: rgb(var(--dp)); flex: none; }
body.fp-ed.fp-home.fp-lux .fp-dp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
body.fp-ed.fp-home.fp-lux .fp-dp-cta .ed-btn-fill { background: linear-gradient(135deg, #a78bfa, #7c3aed); border-color: transparent; color: #fff; box-shadow: 0 14px 30px -14px rgb(var(--dp) / .75); }
body.fp-ed.fp-home.fp-lux .fp-dp-cta .ed-btn-line { background: transparent; border-color: rgb(var(--dp) / .5); color: #e6e0fb; }
body.fp-ed.fp-home.fp-lux .fp-dp-cta .ed-btn-line:hover { border-color: rgb(var(--dp)); background: rgb(var(--dp) / .12); }
@media (max-width: 760px) {
  body.fp-ed.fp-home.fp-lux .fp-dp-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  body.fp-ed.fp-home.fp-lux .fp-dp-ic { width: 48px; height: 48px; border-radius: 13px; }
}

/* ══ PREMIUM FINISH pass - buttons, kickers, card depth, display type ══════ */
/* Buttons: premium single-hue gradient + smooth layered lift */
body.fp-ed.fp-home.fp-lux .ed-btn { transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease, background .28s ease, border-color .28s ease, color .2s ease; }
body.fp-ed.fp-home.fp-lux .ed-btn-fill { background: linear-gradient(135deg, #3b82f6, #1d4ed8); border-color: transparent; color: #fff; box-shadow: 0 1px 2px rgba(29,78,216,.22), 0 14px 26px -14px rgba(29,78,216,.55); }
body.fp-ed.fp-home.fp-lux .ed-btn-fill:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(29,78,216,.26), 0 20px 38px -14px rgba(29,78,216,.62); }
body.fp-ed.fp-home.fp-lux .ed-btn-fill:active { transform: translateY(0); }
body.fp-ed.fp-home.fp-lux .ed-btn-line { border-width: 1.5px; }
body.fp-ed.fp-home.fp-lux .ed-btn-line:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(16,24,48,.4); }

/* Kicker: plain label, no leading decoration (line/dash/dot) - standing rule, do not re-add */

/* Display headings: subtle premium tracking */
body.fp-ed.fp-home.fp-lux .ed-h2 { letter-spacing: -0.02em; }

/* Card depth: refined premium hover across home card families */
body.fp-ed.fp-home.fp-lux .fp-cat2-card:hover { box-shadow: 0 1px 1px rgba(16,16,24,.05), 0 24px 46px -26px rgb(var(--c2) / .5); }

/* ============================================================================
   MOBILE POLISH (homepage sections) - density + scale tuning for phones.
   The layout already collapses to single column cleanly; these tighten the
   padding rhythm, stack the section heads, right-size the hero + stat tiles,
   remove the last bit of sideways scroll, and lift a few tap targets.
   Single-hue only; category + DP 3D icons untouched. */
@media (max-width: 640px) {
  /* section rhythm: the 96px clamp floor makes every band feel empty on a phone */
  body.fp-ed.fp-home.fp-lux .ed-home .ed-section:not(.ed-home2-earn-sec),
  body.fp-ed.fp-home.fp-lux .ed-home .ed-home2-earn-sec { padding: 62px 0; }
  /* the home CTA card never gets horizontal padding (only :not(.ed-home-cta) does),
     so on a narrow phone the heading/text/buttons touched the card edges. Inset them. */
  body.fp-ed.fp-home.fp-lux .ed-home-cta .ed-cta-in { padding: 62px 26px; }

  /* section header: stack the H2 above its arrow link instead of crushing them */
  body.fp-ed.fp-home.fp-lux .ed-home .ed-head {
    flex-direction: column; align-items: flex-start; gap: 14px;
    padding-bottom: 20px; margin-bottom: 26px;
  }
  body.fp-ed.fp-home.fp-lux .ed-home .ed-head .ed-arrow { flex: none; }

  /* brand logos: a touch larger + less faint so the proof point reads */
  body.fp-ed.fp-home.fp-lux .ed-brand-logo { height: 27px; margin: 0 20px; opacity: .6; }
}

@media (max-width: 560px) {
  /* popular-services: comfy tap rows + lighter card padding */
}

@media (max-width: 480px) {
  /* FIX the ~7px sideways scroll: the 2-col popular grid (minmax auto) blows out
     because each card's min-content exceeds half the ~320px row. One column kills
     the overflow and stops the headings clipping inside cramped cards. */

  /* hero: the ~35px H1 floor wrapped every sentence into ~6 cramped lines */
  body.fp-ed.fp-home.fp-lux .fp-hph-title { font-size: 1.72rem; line-height: 1.14; }
  body.fp-ed.fp-home.fp-lux .fp-hph-sub { font-size: .98rem; margin-top: 14px; line-height: 1.58; }
  body.fp-ed.fp-home.fp-lux .fp-hph-copy { padding: 20px 0 4px; }

  /* Digital Products CTAs: full-width stacked so a button never strands half-width */
  body.fp-ed.fp-home.fp-lux .fp-dp-cta { flex-direction: column; gap: 10px; }
  body.fp-ed.fp-home.fp-lux .fp-dp-cta .ed-btn { width: 100%; }
  body.fp-ed.fp-home.fp-lux .fp-dp-intro { font-size: .96rem; margin-bottom: 20px; }
  body.fp-ed.fp-home.fp-lux .fp-dp-benefits { gap: 8px; margin-top: 20px; }

  /* trust strip: trim side padding so it stops wrapping into a tall ragged block */
  body.fp-ed.fp-home.fp-lux .ed-home2-trust-in { padding: 12px 16px; gap: 8px 16px; margin: 0 12px; }
}

@media (max-width: 400px) {
  body.fp-ed.fp-home.fp-lux .ed-home .ed-section:not(.ed-home2-earn-sec),
  body.fp-ed.fp-home.fp-lux .ed-home .ed-home2-earn-sec { padding: 50px 0; }
  body.fp-ed.fp-home.fp-lux .ed-home-cta .ed-cta-in { padding: 50px 20px; }

  /* stat tiles: the big number overflowed a ~150px tile at 320-375px */
}

@media (max-width: 360px) {
  body.fp-ed.fp-home.fp-lux .fp-hph-title { font-size: 1.52rem; }
}

/* ============================================================
   HERO v2 - split: copy left, tilted seller-workspace dashboard
   mockup right (replaces the old photo hero). Single-hue blue.
   Scope body.fp-ed so it wins base section resets.
   ============================================================ */
body.fp-ed .fp-hero2 {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 6vw, 92px);
  background:
    radial-gradient(120% 120% at 88% 8%, rgba(59, 110, 246, .10), transparent 52%),
    linear-gradient(180deg, #ffffff 0%, #f6f8ff 62%, #eef3ff 100%);
}
body.fp-ed .fp-hero2::before {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(59, 110, 246, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 110, 246, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 20%, #000, transparent 70%);
  mask-image: radial-gradient(120% 90% at 70% 20%, #000, transparent 70%);
}
body.fp-ed .fp-hero2-in {
  max-width: 1240px; margin: 0 auto;
  padding-left: clamp(20px, 5vw, 34px); padding-right: clamp(20px, 5vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(26px, 4vw, 60px);
}

/* ---- copy ---- */
body.fp-ed .fp-hero2-copy { position: relative; z-index: 2; }
body.fp-ed .fp-hero2-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 18px; padding: 7px 13px;
  border-radius: 999px;
  background: rgba(59, 110, 246, .1);
  border: 1px solid rgba(59, 110, 246, .2);
  color: var(--hm-brand-7);
  font-size: .78rem; font-weight: 700; letter-spacing: .02em; text-transform: none;
}
body.fp-ed .fp-hero2-eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--hm-brand); box-shadow: 0 0 0 3px rgba(59, 110, 246, .18);
}
body.fp-ed .fp-hero2-title {
  margin: 0 0 18px;
  font-size: clamp(2.25rem, 4.4vw, 3.6rem);
  line-height: 1.04; font-weight: 800; letter-spacing: -.025em;
  color: var(--hm-ink); text-wrap: balance;
}
body.fp-ed .fp-hero2-sub {
  margin: 0 0 26px; max-width: 44ch;
  font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.6;
  color: var(--hm-muted);
}
body.fp-ed .fp-hero2-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 16px; }
body.fp-ed .fp-hero2-cta .ed-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 12px;
  font-size: 1rem; font-weight: 700; line-height: 1; letter-spacing: -.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
body.fp-ed .fp-hero2-cta .ed-btn-fill {
  background: var(--hm-grad); color: #fff; border: 0;
  box-shadow: 0 10px 26px -10px rgba(28, 68, 201, .6);
}
body.fp-ed .fp-hero2-cta .ed-btn-fill:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(28, 68, 201, .7); }
body.fp-ed .fp-hero2-cta .ed-btn-line {
  background: #fff; color: var(--hm-ink);
  border: 1px solid var(--hm-line); box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
body.fp-ed .fp-hero2-cta .ed-btn-line:hover { transform: translateY(-2px); border-color: rgba(59, 110, 246, .5); color: var(--hm-brand-7); }
body.fp-ed .fp-hero2-note { margin: 0; font-size: .84rem; color: var(--hm-muted-2); }

/* ---- the tilted dashboard mockup ---- */
body.fp-ed .fp-hero2-visual {
  position: relative; z-index: 1;
  min-width: 0;
  perspective: 2000px;
}
body.fp-ed .fp-dash {
  --dsh-line: #e9edf6;
  width: 850px; max-width: none;
  display: flex; align-items: stretch;
  background: #fff;
  border: 1px solid var(--dsh-line);
  border-radius: 16px; overflow: hidden;
  box-shadow:
    0 2px 6px rgba(16, 24, 40, .05),
    0 40px 80px -34px rgba(23, 46, 122, .5),
    0 18px 40px -30px rgba(23, 46, 122, .4);
  transform: rotateY(-19deg) rotateX(4deg) rotate(.6deg);
  transform-origin: left center;
  animation: fp-dash-in .8s cubic-bezier(.2, .7, .2, 1) both;
  will-change: transform;
}
@keyframes fp-dash-in {
  from { opacity: 0; transform: rotateY(-24deg) rotateX(6deg) translateY(22px) scale(.97); }
}

/* sidebar */
body.fp-ed .fp-dash-side {
  flex: none; width: 206px;
  padding: 14px 12px; display: flex; flex-direction: column; gap: 1px;
  background: #fbfcfe; border-right: 1px solid var(--dsh-line);
  color: var(--hm-ink);
  /* the full seller rail is taller than the panel: clip it like the real scrollable rail
     instead of letting it stretch the mock card */
  overflow: hidden;
}
body.fp-ed .fp-dash-brand {
  display: flex; align-items: center; gap: 8px;
  padding: 2px 6px 12px; margin-bottom: 4px;
  border-bottom: 1px solid var(--dsh-line);
}
body.fp-ed .fp-dash-mono { flex: none; width: 26px; height: 26px; object-fit: contain; }
body.fp-ed .fp-dash-brandtx {
  font-size: 13px; font-weight: 500; color: var(--hm-ink); letter-spacing: -.01em; white-space: nowrap;
}
body.fp-ed .fp-dash-brandtx b { font-weight: 800; }
body.fp-ed .fp-dash-lbl {
  margin: 11px 8px 3px; font-size: 9.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--hm-muted-2);
}
body.fp-ed .fp-dash-nav {
  display: flex; align-items: center; gap: 9px;
  padding: 6px 9px; border-radius: 8px;
  font-size: 12.5px; font-weight: 600; color: var(--hm-ink-soft);
  cursor: default; white-space: nowrap; flex: none;
}
body.fp-ed .fp-dash-nav svg { width: 16px; height: 16px; flex: none; color: var(--hm-muted); }
body.fp-ed .fp-dash-nav.is-active { background: #eaf1ff; color: var(--hm-brand-7); }
body.fp-ed .fp-dash-nav.is-active svg { color: var(--hm-brand-6); }
body.fp-ed .fp-dash-badge {
  margin-left: auto; padding: 1px 7px; border-radius: 999px;
  background: var(--hm-brand); color: #fff; font-size: 10px; font-weight: 700;
}

/* main pane */
body.fp-ed .fp-dash-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #fff; }
body.fp-ed .fp-dash-top {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px; border-bottom: 1px solid var(--dsh-line);
}
body.fp-ed .fp-dash-search {
  flex: 1; display: flex; align-items: center; gap: 9px;
  padding: 8px 12px; border-radius: 9px;
  background: #f3f5fb; border: 1px solid #eaeef7;
  color: var(--hm-muted-2); font-size: 12.5px;
}
body.fp-ed .fp-dash-search svg { width: 15px; height: 15px; flex: none; }
body.fp-ed .fp-dash-search span { flex: 1; }
body.fp-ed .fp-dash-search kbd {
  flex: none; font: 600 10.5px/1 Inter, system-ui, sans-serif;
  padding: 3px 6px; border-radius: 6px; background: #fff;
  border: 1px solid #e3e8f2; color: var(--hm-muted);
}
body.fp-ed .fp-dash-ava { flex: none; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #6f9bff, #1c44c9); }

body.fp-ed .fp-dash-body { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 13px; background: #fbfcfe; }
body.fp-ed .fp-dash-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
body.fp-ed .fp-dash-kpi {
  padding: 13px 15px; border-radius: 12px; background: #fff; border: 1px solid var(--dsh-line);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
}
body.fp-ed .fp-dash-kpi-t { margin: 0 0 8px; font-size: 11.5px; font-weight: 600; color: var(--hm-muted); }
body.fp-ed .fp-dash-kpi-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
body.fp-ed .fp-dash-kpi-row strong { font-size: 25px; font-weight: 800; color: var(--hm-ink); letter-spacing: -.02em; line-height: 1; }
body.fp-ed .fp-dash-spark { width: 84px; height: 26px; flex: none; }
body.fp-ed .fp-dash-kpi-s { margin: 9px 0 0; font-size: 11px; color: var(--hm-muted-2); }
body.fp-ed .fp-dash-kpi-s b { margin-left: 6px; font-weight: 700; }
body.fp-ed .fp-dash-kpi-s b.up { color: #16a34a; }

body.fp-ed .fp-dash-card {
  padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--dsh-line);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
}
body.fp-ed .fp-dash-card-t { margin: 0; font-size: 13.5px; font-weight: 700; color: var(--hm-ink); }
body.fp-ed .fp-dash-card-s { margin: 3px 0 0; font-size: 11.5px; color: var(--hm-muted-2); }
body.fp-ed .fp-dash-chart { display: block; width: 100%; height: 150px; margin-top: 12px; }
body.fp-ed .fp-dash-months { display: flex; justify-content: space-between; margin-top: 7px; padding: 0 2px; font-size: 10.5px; color: var(--hm-muted-2); }

/* ---- v2: real seller-dashboard replica pieces (greeting, level bar, 4 KPIs, 14d chart, donut, payouts) ---- */
body.fp-ed .fp-dash-bell {
  position: relative; flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  border: 1px solid var(--dsh-line); color: var(--hm-muted); background: #fff;
}
body.fp-ed .fp-dash-bell svg { width: 15px; height: 15px; }
body.fp-ed .fp-dash-bell b {
  position: absolute; top: -6px; right: -8px; padding: 1px 4.5px; border-radius: 999px;
  background: #111827; color: #fff; font-size: 8.5px; font-weight: 700; line-height: 1.5; border: 1.5px solid #fff;
}

body.fp-ed .fp-dash-hello {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 16px; border-radius: 12px; border: 1px solid #dbe6ff;
  background: linear-gradient(105deg, #eef4ff 0%, #f7faff 55%, #eef4ff 100%);
}
body.fp-ed .fp-dash-kick { margin: 0 0 3px; font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hm-brand-6); }
body.fp-ed .fp-dash-hi { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.015em; color: var(--hm-ink); }
body.fp-ed .fp-dash-hi span { color: var(--hm-brand-6); }
body.fp-ed .fp-dash-hi-s { margin: 3px 0 0; font-size: 11px; color: var(--hm-muted-2); }
body.fp-ed .fp-dash-hello-b { display: flex; gap: 8px; flex: none; }
body.fp-ed .fp-dash-btn2 {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 32px; padding: 0 13px; border-radius: 9px; font-size: 11.5px; font-weight: 700; white-space: nowrap;
}
body.fp-ed .fp-dash-btn2 svg { width: 13px; height: 13px; }
body.fp-ed .fp-dash-btn2.line { background: #fff; border: 1px solid var(--dsh-line); color: var(--hm-ink); }
body.fp-ed .fp-dash-btn2.fill { background: linear-gradient(135deg, #3b74ff, #1c44c9); color: #fff; box-shadow: 0 8px 16px -8px rgba(28, 68, 201, .55); }
body.fp-ed .fp-dash-btn2.sm { height: 28px; padding: 0 11px; font-size: 10.5px; }
body.fp-ed .fp-dash-btn2.w100 { width: 100%; margin-top: 10px; }

body.fp-ed .fp-dash-level {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--dsh-line);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
}
body.fp-ed .fp-dash-lv-ic {
  flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: #eaf1ff; color: var(--hm-brand-6);
}
body.fp-ed .fp-dash-lv-ic svg { width: 15px; height: 15px; }
body.fp-ed .fp-dash-lv-tx { display: flex; flex-direction: column; gap: 3px; flex: none; }
body.fp-ed .fp-dash-lv-tx small { font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hm-muted); }
/* the level chip is the SHARED .fp-level--select component from badges.css (already loaded on this
   page) - do not restyle it here, the mock must show the real chip. */
body.fp-ed .fp-dash-lv-tx .fp-level { align-self: flex-start; }
body.fp-ed .fp-dash-lv-right { flex: 1; min-width: 0; }
body.fp-ed .fp-dash-lv-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 10.5px; color: var(--hm-muted-2); margin-bottom: 5px; }
body.fp-ed .fp-dash-lv-meta b { color: var(--hm-ink); font-weight: 700; }
body.fp-ed .fp-dash-lv-bar { height: 6px; border-radius: 999px; background: #e8edf7; overflow: hidden; }
body.fp-ed .fp-dash-lv-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #3b74ff, #1c44c9); }

body.fp-ed .fp-dash-kpis.is-4 { grid-template-columns: repeat(4, 1fr); }
body.fp-ed .fp-dash-kpis.is-4 .fp-dash-kpi { display: flex; flex-direction: column; padding: 12px 13px; }
body.fp-ed .fp-dash-kpi-t { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
body.fp-ed .fp-dash-kpi-a { font-size: 10.5px; font-weight: 700; color: var(--hm-brand-6); }
body.fp-ed .fp-dash-kpi-v { font-size: 19px; font-weight: 800; color: var(--hm-ink); letter-spacing: -.02em; line-height: 1.05; }
body.fp-ed .fp-dash-kpis.is-4 .fp-dash-kpi-s { margin-top: 6px; display: flex; flex-direction: column; gap: 2px; }
body.fp-ed .fp-dash-kpis.is-4 .fp-dash-kpi-s b { margin-left: 0; }
body.fp-ed .fp-dash-mini { display: flex; align-items: flex-end; gap: 3px; height: 22px; margin-top: auto; padding-top: 8px; }
body.fp-ed .fp-dash-mini i { flex: 1; border-radius: 3px 3px 1px 1px; background: #dbe6ff; }
body.fp-ed .fp-dash-mini i:last-child { background: linear-gradient(180deg, #3b74ff, #1c44c9); }
body.fp-ed .fp-dash-kpi-bar { display: block; height: 6px; border-radius: 999px; background: #e8edf7; overflow: hidden; margin-top: auto; }
body.fp-ed .fp-dash-kpi-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #3b74ff, #1c44c9); }
body.fp-ed .fp-dash-stars { display: flex; gap: 2.5px; margin-top: auto; padding-top: 8px; }
body.fp-ed .fp-dash-stars svg { width: 12px; height: 12px; fill: #f0a92e; }

body.fp-ed .fp-dash-grid2 { display: grid; grid-template-columns: 1.55fr 1fr; gap: 12px; align-items: stretch; }
body.fp-ed .fp-dash-rail { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
body.fp-ed .fp-dash-kick2 { margin: 0 0 2px; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hm-muted); }
body.fp-ed .fp-dash-ch-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
body.fp-ed .fp-dash-tgl { display: flex; gap: 2px; padding: 2.5px; border-radius: 9px; background: #eef2f9; }
body.fp-ed .fp-dash-tgl span { padding: 4px 10px; border-radius: 7px; font-size: 10.5px; font-weight: 600; color: var(--hm-muted); }
body.fp-ed .fp-dash-tgl .is-on { background: #101623; color: #fff; font-weight: 700; }
body.fp-ed .fp-dash-stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 11px; }
body.fp-ed .fp-dash-stats3 > div {
  padding: 8px 10px; border-radius: 9px; border: 1px solid var(--dsh-line); background: #fbfcfe;
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
body.fp-ed .fp-dash-stats3 small { font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--hm-muted); }
body.fp-ed .fp-dash-stats3 b { font-size: 13.5px; font-weight: 800; color: var(--hm-ink); letter-spacing: -.01em; white-space: nowrap; }
body.fp-ed .fp-dash-stats3 em { font-style: normal; font-size: 9.5px; color: var(--hm-muted-2); }
body.fp-ed .fp-dash-stats3 .is-hi { background: #eef4ff; border-color: #dbe6ff; }

body.fp-ed .fp-dash-pipe-in { display: flex; align-items: center; gap: 13px; margin-top: 11px; }
body.fp-ed .fp-dash-donut {
  position: relative; flex: none; width: 86px; height: 86px; border-radius: 50%;
  background: conic-gradient(#2563eb 0 7%, #f59e0b 7% 12%, #10b981 12% 100%);
  display: grid; place-items: center;
}
body.fp-ed .fp-dash-donut::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: #fff; }
body.fp-ed .fp-dash-donut b { position: relative; font-size: 17px; font-weight: 800; color: var(--hm-ink); line-height: 1; }
body.fp-ed .fp-dash-donut small { position: relative; font-size: 8.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--hm-muted); }
body.fp-ed .fp-dash-donut b, body.fp-ed .fp-dash-donut small { z-index: 1; }
body.fp-ed .fp-dash-donut { flex-direction: column; display: flex; align-items: center; justify-content: center; }
body.fp-ed .fp-dash-leg { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
body.fp-ed .fp-dash-leg li { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; color: var(--hm-ink-2, #43454f); }
body.fp-ed .fp-dash-leg i { flex: none; width: 8px; height: 8px; border-radius: 3px; }
body.fp-ed .fp-dash-leg i.c1 { background: #2563eb; }
body.fp-ed .fp-dash-leg i.c2 { background: #f59e0b; }
body.fp-ed .fp-dash-leg i.c3 { background: #10b981; }
body.fp-ed .fp-dash-leg b { margin-left: auto; font-weight: 800; color: var(--hm-ink); }
body.fp-ed .fp-dash-leg small { font-size: 10px; color: var(--hm-muted-2); min-width: 26px; text-align: right; }
body.fp-ed .fp-dash-payx .fp-dash-pay-lb { display: block; margin-top: 10px; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hm-muted); }
body.fp-ed .fp-dash-pay-v { display: block; margin-top: 3px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--hm-ink); }

/* ---- responsive ---- */
@media (max-width: 1180px) {
  body.fp-ed .fp-dash { width: 720px; transform: rotateY(-17deg) rotateX(4deg) rotate(.5deg); }
}
@media (max-width: 980px) {
  body.fp-ed .fp-hero2-in { grid-template-columns: 1fr; gap: clamp(30px, 6vw, 48px); }
  body.fp-ed .fp-hero2-copy { max-width: 640px; }
  body.fp-ed .fp-hero2-visual { perspective: 1600px; display: flex; justify-content: center; }
  body.fp-ed .fp-dash { width: 700px; transform: rotateY(-10deg) rotateX(3deg); transform-origin: center; }
}
@media (max-width: 720px) {
  body.fp-ed .fp-dash { width: 620px; transform: rotateY(-7deg) rotateX(2deg); }
}
@media (max-width: 620px) {
  body.fp-ed .fp-hero2-visual { perspective: none; }
  body.fp-ed .fp-dash {
    width: 100%; transform: none; animation: none;
    box-shadow: 0 2px 6px rgba(16, 24, 40, .05), 0 24px 50px -30px rgba(23, 46, 122, .45);
  }
  body.fp-ed .fp-dash-side { display: none; }
  body.fp-ed .fp-dash-kpis.is-4 { grid-template-columns: 1fr 1fr; }
  body.fp-ed .fp-dash-grid2 { grid-template-columns: 1fr; }
  body.fp-ed .fp-dash-hello { flex-direction: column; align-items: flex-start; }
  body.fp-ed .fp-dash-level { flex-wrap: wrap; }
  body.fp-ed .fp-dash-level .fp-dash-btn2.sm { display: none; }
}
@media (max-width: 460px) {
  body.fp-ed .fp-hero2 { padding-top: 30px; }
  body.fp-ed .fp-dash-body { padding: 13px; gap: 11px; }
  body.fp-ed .fp-dash-kpis { gap: 10px; }
  body.fp-ed .fp-dash-kpi-v { font-size: 17px; }
  body.fp-ed .fp-dash-chart { height: 110px; }
  body.fp-ed .fp-dash-stats3 b { font-size: 12px; }
  body.fp-ed .fp-hero2-cta .ed-btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  body.fp-ed .fp-dash { animation: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   HERO SLIDES (hx-*) - scroll-scrubbed pinned 2-slide hero.
   Slide 1 = .hx-s1 (buyer, dark, NEW). Slide 2 = .fp-hero2 (seller, the
   original hero above - its own rules are untouched; it just becomes a layer).
   All pin/stack rules are gated on .hx-track.is-live (set by an inline
   bootstrap + hero-slides.js) so the no-JS fallback is two stacked sections.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── A. track / stage / pin ─────────────────────────────────────────────── */
body.fp-ed .hx-track { position: relative; }
body.fp-ed .hx-track.is-live { height: 250svh; }
body.fp-ed .hx-stage { position: relative; }
body.fp-ed .hx-track.is-live .hx-stage {
  position: sticky; top: var(--hx-top, 69px);
  height: calc(100vh - var(--hx-top, 69px));
  height: calc(100dvh - var(--hx-top, 69px));
  overflow: hidden; z-index: 1;
}
body.fp-ed .hx-track.is-live .hx-s1,
body.fp-ed .hx-track.is-live .hx-stage > .fp-hero2 {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
}
body.fp-ed .hx-track.is-live .hx-s1 { z-index: 2; will-change: transform, opacity; }
body.fp-ed .hx-track.is-live .hx-stage > .fp-hero2 { z-index: 1; }
body.fp-ed .hx-track.is-live .fp-hero2-in { will-change: transform, opacity; }
body.fp-ed .hx-track.is-live .hx-s1.is-off { visibility: hidden; }
body.fp-ed .hx-track.is-live .fp-hero2.is-back { pointer-events: none; }
/* the scrub owns slide 2's entrance now; a one-shot entry anim can't reverse */
body.fp-ed .hx-track.is-live .fp-dash { animation: none; }

/* ── B. slide 1 - buyer, dark single-hue (blue) light->dark gradient ────── */
body.fp-ed .hx-s1 {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 6vw, 92px);
  background:
    radial-gradient(90% 70% at 82% 12%, rgba(84, 130, 255, .22), transparent 55%),
    radial-gradient(70% 60% at 8% 88%, rgba(59, 110, 246, .14), transparent 60%),
    linear-gradient(180deg, #1e3f9e 0%, #122557 52%, #0a1533 100%);
}
body.fp-ed .hx-s1::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(rgba(148, 178, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 178, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 78%);
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 78%);
}
body.fp-ed .hx-s1-glow {
  position: absolute; inset: -10% -6%; z-index: 0; pointer-events: none;
  background: radial-gradient(46% 40% at 68% 46%, rgba(99, 143, 255, .28), transparent 62%);
  transform: translateY(calc(var(--hx-p, 0) * -30px));
}
body.fp-ed .hx-s1-in {
  position: relative; z-index: 1;
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center; gap: clamp(26px, 4vw, 60px);
}
body.fp-ed .hx-s1-copy { position: relative; z-index: 2; }
body.fp-ed .hx-s1-kick {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 14px; padding: 7px 13px; border-radius: 999px;
  background: rgba(120, 160, 255, .12); border: 1px solid rgba(140, 172, 255, .30);
  color: #cdd9ff; font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
}
body.fp-ed .hx-s1-kick::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #7ea2ff; box-shadow: 0 0 0 3px rgba(126, 162, 255, .22);
}
body.fp-ed .hx-s1-title {
  margin: 0 0 16px; color: #fff;
  font-size: clamp(2.25rem, 4.4vw, 3.6rem); line-height: 1.04;
  font-weight: 800; letter-spacing: -.025em;
  text-shadow: 0 0 44px rgba(120, 160, 255, .25);
  text-wrap: balance;
}
body.fp-ed .hx-s1-sub {
  margin: 0 0 20px; max-width: 46ch;
  color: rgba(214, 225, 255, .78); font-size: 1.02rem; line-height: 1.62;
}
body.fp-ed .hx-s1-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
body.fp-ed .hx-btn-fill {
  background: var(--hm-grad, linear-gradient(135deg, #3b6ef6, #1c44c9));
  color: #fff; border: 0; border-radius: 12px;
  box-shadow: 0 14px 34px -12px rgba(66, 110, 245, .55);
}
body.fp-ed .hx-btn-fill:hover { filter: brightness(1.08); color: #fff; }
body.fp-ed .hx-btn-line {
  background: transparent; color: #e6edff; border-radius: 12px;
  border: 1px solid rgba(148, 178, 255, .35);
}
body.fp-ed .hx-btn-line:hover { border-color: #8fb0ff; color: #fff; background: rgba(126, 162, 255, .10); }
body.fp-ed .hx-s1-note { margin: 12px 0 0; color: rgba(180, 196, 238, .60); font-size: .84rem; }
body.fp-ed .hx-s1-visual { position: relative; z-index: 1; perspective: 2000px; }

/* ── C. fpm - the Messages-workspace replica (light card on the dark hero).
      Visual language copied from messages-workspace.css values; scoped fresh
      so that page's CSS is never imported here. ─────────────────────────── */
body.fp-ed .fpm {
  --fpm-grad: linear-gradient(135deg, #3277ff 0%, #1d4ed8 100%);
  --fpm-grad-grn: linear-gradient(135deg, #16b877 0%, #0a7d52 100%);
  --fpm-line: #e7edf7; --fpm-line-2: #eef2fa;
  --fpm-ink: #0b1220; --fpm-ink2: #46536b; --fpm-ink3: #6b788f; --fpm-ink4: #9aa6bd;
  width: 1060px; max-width: none;
  display: grid; grid-template-columns: 232px minmax(0, 1fr) 244px; gap: 10px;
  padding: 10px; border-radius: 18px;
  background: #f4f6fb; border: 1px solid #e7edf7;
  transform: rotateY(-19deg) rotateX(4deg) rotate(.6deg);
  transform-origin: left center;
  box-shadow:
    0 2px 6px rgba(4, 10, 30, .4),
    0 48px 90px -36px rgba(2, 8, 28, .7),
    0 0 0 1px rgba(148, 178, 255, .10);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--fpm-ink);
}
body.fp-ed .fpm-rail, body.fp-ed .fpm-chat, body.fp-ed .fpm-info {
  background: #fff; border: 1px solid var(--fpm-line); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column; min-width: 0;
}
/* avatars */
body.fp-ed .fpm-ava {
  position: relative; flex: none; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--fpm-grad); color: #fff; font-size: 12px; font-weight: 800;
}
body.fp-ed .fpm-ava.is-b { background: linear-gradient(135deg, #7c5cff, #4c2fd8); }
body.fp-ed .fpm-ava.is-c { background: linear-gradient(135deg, #0fb5a6, #087d72); }
body.fp-ed .fpm-ava.is-d { background: linear-gradient(135deg, #f08a3c, #c95b12); }
body.fp-ed .fpm-ava.is-lg { width: 34px; height: 34px; }
body.fp-ed .fpm-ava.is-sm { width: 28px; height: 28px; font-size: 10.5px; }
body.fp-ed .fpm-ava.is-xl { width: 52px; height: 52px; font-size: 18px; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--fpm-line); }
body.fp-ed .fpm-dot {
  position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px;
  border-radius: 50%; background: #0d9b66; border: 2px solid #fff;
}
/* rail */
body.fp-ed .fpm-rail-head { display: flex; align-items: center; justify-content: space-between; padding: 11px 12px 8px; }
body.fp-ed .fpm-rail-title { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
body.fp-ed .fpm-newchat {
  padding: 5px 10px; border-radius: 999px; background: var(--fpm-grad); color: #fff;
  font-size: 10px; font-weight: 700; box-shadow: 0 6px 16px -8px rgba(37, 99, 235, .6);
}
body.fp-ed .fpm-rail-search {
  display: flex; align-items: center; gap: 7px; margin: 0 10px 8px;
  height: 30px; padding: 0 11px; border-radius: 999px;
  background: #f8fbff; border: 1px solid var(--fpm-line);
  color: var(--fpm-ink4); font-size: 10.5px; font-weight: 500; white-space: nowrap; overflow: hidden;
}
body.fp-ed .fpm-rail-search svg { width: 12px; height: 12px; flex: none; }
body.fp-ed .fpm-chips { display: flex; gap: 5px; padding: 0 10px 9px; border-bottom: 1px solid var(--fpm-line-2); }
body.fp-ed .fpm-chip {
  height: 22px; display: inline-flex; align-items: center; padding: 0 9px;
  border-radius: 999px; border: 1px solid var(--fpm-line); background: #fff;
  color: var(--fpm-ink2); font-size: 9.5px; font-weight: 700;
}
body.fp-ed .fpm-chip.is-on { background: #2563eb; border-color: #2563eb; color: #fff; box-shadow: 0 4px 10px -6px rgba(37, 99, 235, .6); }
body.fp-ed .fpm-convs { padding: 6px; display: flex; flex-direction: column; gap: 2px; }
body.fp-ed .fpm-conv {
  position: relative; display: flex; align-items: center; gap: 8px;
  padding: 8px 9px; border-radius: 12px; border: 1px solid transparent;
}
body.fp-ed .fpm-conv.is-active { background: #eef3ff; border-color: #dce7ff; }
body.fp-ed .fpm-conv.is-active::before {
  content: ""; position: absolute; left: -1px; top: 11px; bottom: 11px;
  width: 3px; border-radius: 3px; background: var(--fpm-grad);
}
body.fp-ed .fpm-conv-tx { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
body.fp-ed .fpm-conv-r1 { display: flex; align-items: baseline; gap: 6px; }
body.fp-ed .fpm-conv-r1 b { font-size: 11.5px; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.fp-ed .fpm-conv-r1 time { margin-left: auto; flex: none; font-size: 9px; font-weight: 600; color: var(--fpm-ink3); }
body.fp-ed .fpm-conv-r2 { font-size: 10.5px; color: var(--fpm-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.fp-ed .fpm-unread {
  flex: none; min-width: 17px; height: 17px; display: grid; place-items: center;
  padding: 0 5px; border-radius: 999px; background: var(--fpm-grad); color: #fff;
  font-size: 9.5px; font-weight: 800;
}
/* chat */
body.fp-ed .fpm-chat-head {
  display: flex; align-items: center; gap: 9px; padding: 9px 12px;
  border-bottom: 1px solid var(--fpm-line-2); background: rgba(255, 255, 255, .72);
}
body.fp-ed .fpm-head-tx { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 1px; }
body.fp-ed .fpm-head-nm { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; white-space: nowrap; }
body.fp-ed .fpm-head-nm small { font-size: 10px; font-weight: 600; color: var(--fpm-ink3); }
body.fp-ed .fpm-head-sub { display: flex; align-items: center; font-size: 10px; font-weight: 600; color: var(--fpm-ink3); }
body.fp-ed .fpm-on { color: #0d9b66; font-weight: 700; font-style: normal; }
body.fp-ed .fpm-icobtn {
  flex: none; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 9px; border: 1px solid var(--fpm-line); background: #fff; color: var(--fpm-ink2);
}
body.fp-ed .fpm-icobtn.is-on { background: #eef3ff; border-color: #dce7ff; color: #1d4ed8; }
body.fp-ed .fpm-icobtn svg { width: 13px; height: 13px; }
body.fp-ed .fpm-body { flex: 1; padding: 6px 12px 8px; display: flex; flex-direction: column; gap: 7px; overflow: hidden; }
body.fp-ed .fpm-daymark { display: flex; align-items: center; gap: 10px; margin: 4px 0 1px; }
body.fp-ed .fpm-daymark::before, body.fp-ed .fpm-daymark::after { content: ""; flex: 1; height: 1px; background: var(--fpm-line); }
body.fp-ed .fpm-daymark span { font-size: 8.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--fpm-ink3); }
body.fp-ed .fpm-row { display: flex; gap: 8px; }
body.fp-ed .fpm-row-main { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
body.fp-ed .fpm-row-head { display: flex; align-items: baseline; gap: 7px; }
body.fp-ed .fpm-row-head b { font-size: 10.5px; font-weight: 750; }
body.fp-ed .fpm-row-head time { font-size: 8.5px; font-weight: 600; color: var(--fpm-ink3); }
body.fp-ed .fpm-text { font-size: 10.5px; line-height: 1.5; color: var(--fpm-ink); }
body.fp-ed .fpm-sys { text-align: center; margin: 1px 0; }
body.fp-ed .fpm-sys span {
  display: inline-block; font-size: 9px; color: var(--fpm-ink3);
  background: #f8fbff; border: 1px solid var(--fpm-line-2); border-radius: 999px; padding: 3px 10px;
}
body.fp-ed .fpm-stars { display: inline-flex; gap: 2px; margin: 1px 0; }
body.fp-ed .fpm-stars svg { width: 10px; height: 10px; color: #f0a92e; }
body.fp-ed .fpm-card {
  margin: 2px 0 2px 36px; max-width: 330px; border-radius: 12px;
  background: #fff; border: 1px solid var(--fpm-line);
  box-shadow: 0 8px 24px -14px rgba(20, 40, 90, .22); overflow: hidden;
}
body.fp-ed .fpm-card-h {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  background: linear-gradient(135deg, rgba(22, 184, 119, .14), rgba(10, 125, 82, .10));
}
body.fp-ed .fpm-card-ic {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px;
  border-radius: 8px; background: var(--fpm-grad-grn); color: #fff;
}
body.fp-ed .fpm-card-ic svg { width: 14px; height: 14px; }
body.fp-ed .fpm-card-ht { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 1px; }
body.fp-ed .fpm-card-ht small { font-size: 8px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #0a7d52; }
body.fp-ed .fpm-card-ht b { font-size: 11px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.fp-ed .fpm-status {
  flex: none; padding: 2.5px 8px; border-radius: 999px;
  background: #e6f7ef; color: #0a7d52; font-size: 8.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .02em;
}
body.fp-ed .fpm-card-b { display: flex; align-items: center; gap: 8px; padding: 7px 10px; }
body.fp-ed .fpm-price { font-size: 13px; font-weight: 800; color: #0a7d52; }
body.fp-ed .fpm-card-b > span { font-size: 9.5px; color: var(--fpm-ink3); }
body.fp-ed .fpm-composer { padding: 0 10px 10px; }
body.fp-ed .fpm-inputcard {
  background: #fff; border: 1px solid var(--fpm-line); border-radius: 14px;
  box-shadow: 0 2px 10px -6px rgba(20, 40, 90, .14);
  padding: 8px 9px 6px;
}
body.fp-ed .fpm-ph { display: block; padding: 0 3px 6px; font-size: 10.5px; font-weight: 500; color: var(--fpm-ink4); }
body.fp-ed .fpm-tools { display: flex; align-items: center; gap: 4px; }
body.fp-ed .fpm-tool {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px;
  color: var(--fpm-ink3); font-size: 10px; font-weight: 700; font-style: normal;
}
body.fp-ed .fpm-tool.is-it { font-style: italic; }
body.fp-ed .fpm-tool.is-st { text-decoration: line-through; }
body.fp-ed .fpm-tool svg { width: 12px; height: 12px; }
body.fp-ed .fpm-tsep { width: 1px; height: 13px; background: var(--fpm-line); margin: 0 3px; }
body.fp-ed .fpm-offer {
  margin-left: auto; height: 22px; display: inline-flex; align-items: center; padding: 0 9px;
  border-radius: 999px; border: 1px solid #0d9b66; background: #e6f7ef; color: #0a7d52;
  font-size: 9px; font-weight: 800;
}
body.fp-ed .fpm-send {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--fpm-grad); color: #fff; box-shadow: 0 6px 16px -8px rgba(37, 99, 235, .6);
}
body.fp-ed .fpm-send svg { width: 12px; height: 12px; }
/* room info */
body.fp-ed .fpm-info { padding-bottom: 8px; }
body.fp-ed .fpm-info-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 8px; border-bottom: 1px solid var(--fpm-line-2); }
body.fp-ed .fpm-info-head b { font-size: 12px; font-weight: 800; }
body.fp-ed .fpm-hide {
  padding: 4px 9px; border-radius: 999px; border: 1px solid var(--fpm-line);
  background: #fff; color: var(--fpm-ink3); font-size: 9.5px; font-weight: 700;
}
body.fp-ed .fpm-di {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  margin: 9px 9px 10px; padding: 12px 9px;
  border: 1px solid var(--fpm-line); border-radius: 12px;
  background: linear-gradient(180deg, #fbfcff, #f8fbff); text-align: center;
}
body.fp-ed .fpm-di-nm { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 800; }
body.fp-ed .fpm-di-hd { font-size: 10px; font-weight: 600; color: var(--fpm-ink3); }
body.fp-ed .fpm-di-serve {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 3px;
  padding: 4px 9px; border-radius: 999px; border: 1px solid var(--fpm-line);
  background: #fff; color: var(--fpm-ink2); font-size: 9.5px; font-weight: 600;
  max-width: 100%; white-space: nowrap; overflow: hidden;
}
body.fp-ed .fpm-di-serve svg { width: 11px; height: 11px; color: #2563eb; flex: none; }
body.fp-ed .fpm-sec { display: flex; align-items: center; gap: 6px; padding: 7px 12px 4px; }
body.fp-ed .fpm-sec h4 { margin: 0; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--fpm-ink4); }
body.fp-ed .fpm-cnt {
  min-width: 15px; height: 15px; display: grid; place-items: center; padding: 0 4px;
  border-radius: 999px; background: var(--fpm-line-2); color: var(--fpm-ink3);
  font-size: 8.5px; font-weight: 800;
}
body.fp-ed .fpm-mem { display: flex; align-items: center; gap: 8px; padding: 5px 12px; }
body.fp-ed .fpm-mem-tx { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
body.fp-ed .fpm-mem-tx b { font-size: 10.5px; font-weight: 700; }
body.fp-ed .fpm-mem-tx small { display: flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 500; color: var(--fpm-ink3); }
body.fp-ed .fpm-role {
  padding: 1px 6px; border-radius: 999px; font-size: 7.5px; font-weight: 800;
  font-style: normal; text-transform: uppercase; letter-spacing: .03em;
}
body.fp-ed .fpm-role.is-buyer { background: #eef3ff; color: #1d4ed8; }
body.fp-ed .fpm-role.is-seller { background: #e6f7ef; color: #0a7d52; }
body.fp-ed .fpm-ct {
  display: flex; flex-direction: column; gap: 4px; margin: 4px 9px 0;
  padding: 8px 10px; border: 1px solid var(--fpm-line); border-radius: 11px; background: #fff;
  box-shadow: 0 1px 3px rgba(20, 40, 90, .06);
}
body.fp-ed .fpm-ct-r1 { display: flex; align-items: flex-start; gap: 7px; }
body.fp-ed .fpm-ct-r1 b { flex: 1; min-width: 0; font-size: 10px; font-weight: 700; line-height: 1.3; }
body.fp-ed .fpm-cts {
  flex: none; padding: 2px 7px; border-radius: 999px; font-size: 7.5px; font-weight: 800;
  font-style: normal; text-transform: uppercase; letter-spacing: .02em;
}
body.fp-ed .fpm-cts.is-done { background: #e6f7ef; color: #0a7d52; }
body.fp-ed .fpm-cts.is-rev { background: #eef3ff; color: #1d4ed8; }
body.fp-ed .fpm-ct-r2 { display: flex; align-items: center; gap: 7px; }
body.fp-ed .fpm-ct-r2 b { font-size: 11px; font-weight: 800; }
body.fp-ed .fpm-ct-r2 span { font-size: 8.5px; font-weight: 600; color: var(--fpm-ink3); }
body.fp-ed .fpm-ct-r2 time { margin-left: auto; font-size: 8px; color: var(--fpm-ink4); }
/* the real marketplace badge components, scaled to fit the mock */
body.fp-ed .fpm .fp-level { min-height: 0; font-size: 9px; padding: 2px 7px 2px 6px; gap: 3px; }
body.fp-ed .fpm .fp-level svg { width: 9px; height: 9px; }
body.fp-ed .fpm .fp-kyc-tick { min-width: 12px; min-height: 12px; width: 12px; height: 12px; margin: 0 0 0 2px !important; }

/* ── D. fph - hero search (light base + .is-dark variant) ───────────────── */
body.fp-ed .fph { position: relative; margin: 18px 0 4px; max-width: 520px; }
body.fp-ed .fph-form {
  display: flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 6px 0 16px;
  background: #fff; border: 1px solid var(--hm-line, #e8ecf5); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 10px 24px -18px rgba(36, 86, 230, .35);
  transition: border-color .18s ease, box-shadow .18s ease;
}
body.fp-ed .fph-form:focus-within {
  border-color: rgba(59, 110, 246, .55);
  box-shadow: 0 0 0 4px rgba(59, 110, 246, .14), 0 10px 24px -18px rgba(36, 86, 230, .35);
}
body.fp-ed .fph-mag { width: 18px; height: 18px; flex: none; color: #5b6880; }
body.fp-ed .fph-form input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
  font: inherit; font-size: 1rem; color: var(--hm-ink, #0b1220);
}
body.fp-ed .fph-form input::placeholder { color: #8592a8; }
body.fp-ed .fph-form input::-webkit-search-cancel-button { display: none; }
body.fp-ed .fph-go {
  flex: none; height: 42px; padding: 0 18px; border: 0; border-radius: 10px;
  background: var(--hm-grad, linear-gradient(135deg, #3b6ef6, #1c44c9)); color: #fff;
  font: inherit; font-size: .92rem; font-weight: 700; cursor: pointer;
}
body.fp-ed .fph-go:hover { filter: brightness(1.07); }
body.fp-ed .fph-panel {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 30;
  background: #fff; border: 1px solid var(--hm-line, #e8ecf5); border-radius: 14px;
  box-shadow: 0 24px 54px -22px rgba(23, 46, 122, .45);
  padding: 8px; max-height: 320px; overflow: auto;
}
body.fp-ed .fph-panel-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 10px 8px; border-bottom: 1px solid var(--hm-line-soft, #eef1f8); margin-bottom: 6px;
}
body.fp-ed .fph-panel-top strong { font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #8592a8; }
body.fp-ed .fph-panel-top span { font-size: .74rem; color: #8592a8; }
body.fp-ed .fph-row {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 8px 10px; border: 0; border-radius: 10px; background: transparent;
  font: inherit; text-align: left; cursor: pointer;
}
body.fp-ed .fph-row:hover, body.fp-ed .fph-row.is-active { background: #eef3ff; }
body.fp-ed .fph-row-ic {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 10px; background: #eef3ff; color: #2456e6;
}
body.fp-ed .fph-row-ic svg { width: 16px; height: 16px; }
body.fp-ed .fph-row-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
body.fp-ed .fph-row-tx b { font-size: .93rem; font-weight: 600; color: var(--hm-ink, #0b1220); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.fp-ed .fph-row-tx b mark { background: none; color: var(--hm-brand-6, #2456e6); font-weight: 800; }
body.fp-ed .fph-row-tx small { font-size: .75rem; color: #8592a8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.fp-ed .fph-row-tag {
  flex: none; padding: 3px 8px; border-radius: 999px;
  background: #f1f5ff; color: #3b5bd6; font-size: .66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
}
body.fp-ed .fph-empty { padding: 14px 12px; font-size: .88rem; color: #5b6880; }
/* dark variant (slide 1) */
body.fp-ed .fph.is-dark .fph-form {
  background: rgba(10, 20, 48, .55); border-color: rgba(148, 178, 255, .28);
  box-shadow: 0 18px 40px -22px rgba(2, 8, 30, .8);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
body.fp-ed .fph.is-dark .fph-form:focus-within {
  border-color: rgba(158, 190, 255, .65);
  box-shadow: 0 0 0 4px rgba(126, 162, 255, .22), 0 18px 40px -22px rgba(2, 8, 30, .8);
}
body.fp-ed .fph.is-dark .fph-mag { color: #9db9ff; }
body.fp-ed .fph.is-dark .fph-form input { color: #fff; }
body.fp-ed .fph.is-dark .fph-form input::placeholder { color: rgba(190, 205, 245, .55); }
body.fp-ed .fph.is-dark .fph-panel { background: #0d1b3f; border-color: rgba(148, 178, 255, .22); box-shadow: 0 24px 60px -24px rgba(2, 8, 30, .85); }
body.fp-ed .fph.is-dark .fph-panel-top { border-bottom-color: rgba(148, 178, 255, .14); }
body.fp-ed .fph.is-dark .fph-panel-top strong, body.fp-ed .fph.is-dark .fph-panel-top span { color: #93a7d9; }
body.fp-ed .fph.is-dark .fph-row:hover, body.fp-ed .fph.is-dark .fph-row.is-active { background: rgba(126, 162, 255, .14); }
body.fp-ed .fph.is-dark .fph-row-ic { background: rgba(126, 162, 255, .14); color: #b9ccff; }
body.fp-ed .fph.is-dark .fph-row-tx b { color: #eef2ff; }
body.fp-ed .fph.is-dark .fph-row-tx b mark { color: #9db9ff; }
body.fp-ed .fph.is-dark .fph-row-tx small { color: rgba(190, 205, 245, .6); }
body.fp-ed .fph.is-dark .fph-row-tag { background: rgba(126, 162, 255, .14); color: #b9ccff; }
body.fp-ed .fph.is-dark .fph-empty { color: rgba(190, 205, 245, .7); }

/* ── D2. HSX: clean minimal search band that sits UNDER the pinned hero ──── */
body.fp-ed.fp-home.fp-lux .hsx {
  /* z-index MUST beat the trust strip's .ed-home2-trust-in (z:5) which follows in DOM,
     or the open suggestions dropdown gets painted under those trust chips. */
  position: relative; z-index: 20;
  padding: clamp(26px, 3.6vw, 44px) 0 clamp(20px, 2.4vw, 30px);
  background: linear-gradient(180deg, #fbfcff 0%, #fff 100%);
}
body.fp-ed.fp-home.fp-lux .hsx-in { max-width: 760px; }
body.fp-ed.fp-home.fp-lux .hsx .fph { max-width: none; margin: 0; }
body.fp-ed.fp-home.fp-lux .hsx .fph-form { height: 58px; border-radius: 16px; }
body.fp-ed.fp-home.fp-lux .hsx-tags {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  margin-top: 14px; font-size: .85rem; color: var(--hm-muted-2);
}
body.fp-ed.fp-home.fp-lux .hsx-tags > span { font-weight: 700; }
body.fp-ed.fp-home.fp-lux .hsx-tags a {
  padding: 5px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--hm-line);
  color: var(--hm-ink-soft); font-weight: 550; text-decoration: none;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
body.fp-ed.fp-home.fp-lux .hsx-tags a:hover { border-color: #c0d2ff; color: var(--hm-brand-6); background: #f4f7ff; }

/* ── E. hero display font (both slides' headline + kicker only) ─────────── */
body.fp-ed .hx-s1-title, body.fp-ed .fp-hero2-title,
body.fp-ed .hx-s1-kick, body.fp-ed .fp-hero2-eyebrow {
  font-family: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
}
body.fp-ed .hx-s1-title, body.fp-ed .fp-hero2-title { font-weight: 800; letter-spacing: -.02em; }

/* ── F. responsive + fit guards ─────────────────────────────────────────── */
@media (max-width: 1180px) {
  body.fp-ed .fpm { width: 920px; transform: rotateY(-17deg) rotateX(4deg) rotate(.5deg); }
}
@media (max-width: 980px) {
  body.fp-ed .hx-track.is-live { height: 210svh; }
  /* stacked mode: the slide content is taller than the pinned stage, so anchor it to the
     TOP (copy + search always visible) and let the mockup peek/clip at the stage bottom.
     justify-content:center would clip the kicker/headline above the viewport instead. */
  body.fp-ed .hx-track.is-live .hx-s1,
  body.fp-ed .hx-track.is-live .hx-stage > .fp-hero2 { justify-content: flex-start; }
  body.fp-ed .hx-track.is-live .hx-s1 { padding-top: 26px; }
  body.fp-ed .hx-s1-in { grid-template-columns: 1fr; }
  body.fp-ed .hx-s1-copy { max-width: 640px; }
  body.fp-ed .hx-s1-visual { display: flex; justify-content: center; perspective: 1600px; overflow: hidden; }
  body.fp-ed .fpm { width: 800px; transform: rotateY(-10deg) rotateX(3deg); transform-origin: center; }
}
@media (max-width: 720px) {
  body.fp-ed .fpm { width: 660px; }
}
@media (max-width: 620px) {
  body.fp-ed .hx-s1-visual { perspective: none; }
  body.fp-ed .fpm { width: 100%; transform: none; grid-template-columns: 1fr; }
  body.fp-ed .fpm-rail, body.fp-ed .fpm-info { display: none; }
  body.fp-ed .fph-go { padding: 0 13px; font-size: .84rem; }
}
@media (max-width: 460px) {
  body.fp-ed .hx-track.is-live { height: 190svh; }
  body.fp-ed .hx-s1 { padding-top: 30px; }
  body.fp-ed .hx-s1-cta .ed-btn { flex: 1 1 auto; }
}
@media (min-width: 981px) and (max-height: 760px) {
  body.fp-ed .hx-track.is-live .fp-dash { width: 740px; }
  body.fp-ed .hx-track.is-live .fpm { width: 920px; }
  body.fp-ed .hx-track.is-live .hx-s1-title,
  body.fp-ed .hx-track.is-live .fp-hero2-title { font-size: clamp(2rem, 3.6vw, 3.1rem); }
  body.fp-ed .hx-track.is-live .hx-s1,
  body.fp-ed .hx-track.is-live .hx-stage > .fp-hero2 { padding-top: 26px; padding-bottom: 30px; }
}

/* ── G. reduced motion ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  body.fp-ed .hx-s1-glow { transform: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   HOME SECTIONS v2 (2026-08-12 redesign) - premium minimal replacements for
   the boxed how-it-works / popular-services / stats strips. Old .ed-home2-*
   markup for these three is gone from index.html; base rules in editorial.css
   stay untouched (how-it-works.html still uses them).
   ══════════════════════════════════════════════════════════════════════════ */

/* ── HW2: how it works - photo + floating proof chip + connected timeline ── */
body.fp-ed.fp-home.fp-lux .hw2 {
  display: grid; grid-template-columns: .92fr 1.08fr;
  gap: clamp(30px, 5vw, 72px); align-items: center;
}
body.fp-ed.fp-home.fp-lux .hw2-media { position: relative; }
body.fp-ed.fp-home.fp-lux .hw2-media img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 4.7; object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 2px 6px rgba(16, 24, 40, .06), 0 44px 84px -42px rgba(23, 46, 122, .38);
}
body.fp-ed.fp-home.fp-lux .hw2-chip {
  position: absolute; left: 18px; bottom: 18px;
  display: flex; align-items: center; gap: 11px;
  padding: 12px 17px 12px 12px; border-radius: 16px;
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(232, 236, 245, .9);
  box-shadow: 0 20px 44px -20px rgba(16, 24, 40, .4);
}
body.fp-ed.fp-home.fp-lux .hw2-chip-ic {
  flex: none; width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #16b877, #0a7d52); color: #fff;
}
body.fp-ed.fp-home.fp-lux .hw2-chip-ic svg { width: 16px; height: 16px; }
body.fp-ed.fp-home.fp-lux .hw2-chip-tx b { display: block; font-size: 13.5px; font-weight: 800; color: var(--hm-ink); line-height: 1.2; }
body.fp-ed.fp-home.fp-lux .hw2-chip-tx small { font-size: 11.5px; font-weight: 600; color: var(--hm-muted); }
body.fp-ed.fp-home.fp-lux .hw2-steps {
  list-style: none; margin: 26px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 22px;
}
body.fp-ed.fp-home.fp-lux .hw2-steps li {
  position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 16px;
}
body.fp-ed.fp-home.fp-lux .hw2-steps li::before {
  content: ""; position: absolute; left: 17.5px; top: 42px; bottom: -22px; width: 1px;
  background: linear-gradient(180deg, var(--hm-line), rgba(232, 236, 245, .35));
}
body.fp-ed.fp-home.fp-lux .hw2-steps li:last-child::before { display: none; }
body.fp-ed.fp-home.fp-lux .hw2-n {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--hm-line);
  color: var(--hm-brand-6); font-weight: 800; font-size: .95rem;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
  transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
body.fp-ed.fp-home.fp-lux .hw2-steps li:hover .hw2-n {
  background: var(--hm-grad); border-color: transparent; color: #fff; box-shadow: var(--hm-pop);
}
body.fp-ed.fp-home.fp-lux .hw2-step strong {
  display: block; font-size: 1.04rem; font-weight: 750; letter-spacing: -.01em; color: var(--hm-ink);
  transition: color .2s ease;
}
body.fp-ed.fp-home.fp-lux .hw2-steps li:hover .hw2-step strong { color: var(--hm-brand-7); }
body.fp-ed.fp-home.fp-lux .hw2-step p {
  margin: 5px 0 0; font-size: .95rem; line-height: 1.62; color: var(--hm-muted); max-width: 54ch;
}
body.fp-ed.fp-home.fp-lux .hw2-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ── PS2: popular services - hairline editorial columns + 3D icons ───────── */
body.fp-ed.fp-home.fp-lux .ps2 {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(22px, 3vw, 42px);
}
body.fp-ed.fp-home.fp-lux .ps2-col { position: relative; border-top: 1px solid var(--hm-line); padding-top: 16px; }
body.fp-ed.fp-home.fp-lux .ps2-col::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 34px; height: 2px;
  border-radius: 2px; background: var(--hm-grad);
}
body.fp-ed.fp-home.fp-lux .ps2-h { display: flex; align-items: center; gap: 11px; margin: 2px 0 8px; }
body.fp-ed.fp-home.fp-lux .ps2-ic {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: #f4f7ff; border: 1px solid var(--hm-line-soft);
}
body.fp-ed.fp-home.fp-lux .ps2-ic img { width: 27px; height: 27px; object-fit: contain; }
body.fp-ed.fp-home.fp-lux .ps2-h h3 { margin: 0; font-size: .99rem; font-weight: 800; letter-spacing: -.01em; color: var(--hm-ink); }
body.fp-ed.fp-home.fp-lux .ps2-col > a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11.5px 0; border-bottom: 1px solid var(--hm-line-soft);
  color: var(--hm-ink-soft); font-size: .95rem; font-weight: 550; text-decoration: none;
  transition: color .2s ease, padding-left .24s cubic-bezier(.22, 1, .36, 1);
}
body.fp-ed.fp-home.fp-lux .ps2-col > a:last-child { border-bottom: 0; }
body.fp-ed.fp-home.fp-lux .ps2-col > a svg {
  width: 15px; height: 15px; flex: none; color: var(--hm-brand-6);
  opacity: 0; transform: translateX(-6px);
  transition: opacity .22s ease, transform .22s cubic-bezier(.22, 1, .36, 1);
}
body.fp-ed.fp-home.fp-lux .ps2-col > a:hover { color: var(--hm-brand-6); padding-left: 5px; }
body.fp-ed.fp-home.fp-lux .ps2-col > a:hover svg { opacity: 1; transform: none; }

/* ── ST2: trust strip - one seamless band, hairline dividers ─────────────── */
body.fp-ed.fp-home.fp-lux .st2 {
  margin-top: clamp(34px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, #fff, #f8faff);
  border: 1px solid var(--hm-line);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 32px 64px -40px rgba(23, 46, 122, .35);
}
body.fp-ed.fp-home.fp-lux .st2-cell {
  padding: clamp(24px, 3vw, 34px) clamp(18px, 2.4vw, 32px);
  display: flex; flex-direction: column; gap: 8px;
}
body.fp-ed.fp-home.fp-lux .st2-cell + .st2-cell { border-left: 1px solid var(--hm-line-soft); }
body.fp-ed.fp-home.fp-lux .st2-cell strong {
  font-family: 'Inter', system-ui, sans-serif; font-weight: 800; line-height: 1;
  font-size: clamp(1.9rem, 2.6vw, 2.55rem); letter-spacing: -.03em; color: var(--hm-ink);
  transition: color .2s ease;
}
body.fp-ed.fp-home.fp-lux .st2-cell:hover strong { color: var(--hm-brand-6); }
body.fp-ed.fp-home.fp-lux .st2-cell span {
  display: flex; align-items: center; gap: 7px;
  font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .09em;
  color: var(--hm-muted-2);
}
body.fp-ed.fp-home.fp-lux .st2-cell span::before {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--hm-grad);
}

/* ── v2 sections: responsive + reduced motion ────────────────────────────── */
@media (max-width: 980px) {
  body.fp-ed.fp-home.fp-lux .hw2 { grid-template-columns: 1fr; }
  body.fp-ed.fp-home.fp-lux .hw2-media { max-width: 560px; margin: 0 auto; }
  body.fp-ed.fp-home.fp-lux .ps2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body.fp-ed.fp-home.fp-lux .st2 { grid-template-columns: 1fr 1fr; }
  body.fp-ed.fp-home.fp-lux .st2-cell:nth-child(odd) { border-left: 0; }
  body.fp-ed.fp-home.fp-lux .st2-cell:nth-child(n+3) { border-top: 1px solid var(--hm-line-soft); }
}
@media (max-width: 520px) {
  body.fp-ed.fp-home.fp-lux .ps2 { grid-template-columns: 1fr; }
  body.fp-ed.fp-home.fp-lux .hw2-chip { left: 12px; bottom: 12px; }
  body.fp-ed.fp-home.fp-lux .hw2-media img { border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  body.fp-ed.fp-home.fp-lux .hw2-n,
  body.fp-ed.fp-home.fp-lux .hw2-step strong,
  body.fp-ed.fp-home.fp-lux .ps2-col > a,
  body.fp-ed.fp-home.fp-lux .ps2-col > a svg,
  body.fp-ed.fp-home.fp-lux .st2-cell strong { transition: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   TWO WAYS TO HIRE (.twx) - twin dark cards, replaces hw2 + the hire2 band.
   Card surface mirrors the old .ed-home2-hire2 dark band exactly
   (editorial.css:6993): same gradient, hairline, radius, shadow, blue glow.
   ══════════════════════════════════════════════════════════════════════════ */
body.fp-ed.fp-home.fp-lux .twx-sec { background: #ffffff; }
body.fp-ed.fp-home.fp-lux .twx-sub {
  margin: 12px 0 0; color: var(--hm-muted);
  font-size: 1.02rem; line-height: 1.62; max-width: 64ch;
}
body.fp-ed.fp-home.fp-lux .twx-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px); margin-top: clamp(24px, 3vw, 38px);
  align-items: stretch;
}
body.fp-ed.fp-home.fp-lux .twx-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(135deg, #0e1016 0%, #0b162e 92%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: clamp(18px, 2vw, 26px);
  box-shadow: 0 34px 70px -40px rgba(0, 0, 0, 0.72);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
body.fp-ed.fp-home.fp-lux .twx-card::after {
  content: ""; position: absolute; inset: auto -10% -44% auto;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.30), transparent 68%);
  filter: blur(46px); pointer-events: none; z-index: 0;
}
body.fp-ed.fp-home.fp-lux .twx-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 44px 84px -42px rgba(0, 0, 0, 0.8);
}
/* stagger the scroll-reveal of the second card (rides the shared .ed-up transition) */
body.fp-ed.fp-home.fp-lux .twx-delay { transition-delay: 0.14s; }
body.fp-ed.fp-home.fp-lux .twx-delay:hover { transition-delay: 0s; }

/* media: inset photo (taller box ~3:2 so the landscape group photo shows nearly whole and
   the portrait desk photo crops gently, centered on the faces - no cut heads) */
body.fp-ed.fp-home.fp-lux .twx-media {
  position: relative; z-index: 1; overflow: hidden;
  margin: clamp(12px, 1.4vw, 16px); margin-bottom: 0;
  border-radius: clamp(12px, 1.4vw, 18px);
  height: clamp(248px, 27vw, 360px);
}
body.fp-ed.fp-home.fp-lux .twx-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  object-position: 50% 30%; /* confidence.jpg (landscape group) - keep the standing heads at top */
  transform: scale(1.001);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
body.fp-ed.fp-home.fp-lux .twx-media .twx-img-tall { object-position: 50% 42%; } /* hire.jpg (portrait) - centre both faces */
body.fp-ed.fp-home.fp-lux .twx-card:hover .twx-media img { transform: scale(1.04); }

/* body */
body.fp-ed.fp-home.fp-lux .twx-body {
  position: relative; z-index: 1; flex: 1;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(20px, 2.4vw, 30px) clamp(20px, 2.6vw, 34px) clamp(24px, 2.6vw, 34px);
}
body.fp-ed.fp-home.fp-lux .twx-way {
  display: inline-flex; align-items: center;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(96, 150, 255, 0.14); border: 1px solid rgba(148, 178, 255, 0.22);
  color: #bcd6ff; font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
}
body.fp-ed.fp-home.fp-lux .twx-title {
  margin: 14px 0 0; color: #ffffff;
  font-size: clamp(1.3rem, 1.8vw, 1.62rem); font-weight: 800;
  letter-spacing: -0.5px; line-height: 1.18; text-wrap: balance;
}
body.fp-ed.fp-home.fp-lux .twx-p {
  margin: 10px 0 0; color: rgba(255, 255, 255, 0.72);
  font-size: 0.97rem; line-height: 1.62; max-width: 52ch;
}
body.fp-ed.fp-home.fp-lux .twx-points {
  list-style: none; margin: 18px 0 26px; padding: 0; display: grid; gap: 11px;
}
body.fp-ed.fp-home.fp-lux .twx-points li {
  display: flex; align-items: flex-start; gap: 11px;
  color: rgba(255, 255, 255, 0.9); font-size: 0.94rem; font-weight: 500; line-height: 1.45;
}
body.fp-ed.fp-home.fp-lux .twx-tick {
  flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: #2563eb; color: #ffffff;
  display: inline-flex; align-items: center; justify-content: center;
}
body.fp-ed.fp-home.fp-lux .twx-tick svg { width: 10px; height: 10px; }
/* CTA - white fill on dark, same behavior as the old hire2 band button */
body.fp-ed.fp-home.fp-lux .twx-btn {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: auto; padding: 12px 24px; border-radius: 12px;
  background: #ffffff; color: #12151b; border: 1px solid #ffffff;
  font-size: 14.5px; font-weight: 750; text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
body.fp-ed.fp-home.fp-lux .twx-btn:hover {
  background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  body.fp-ed.fp-home.fp-lux .twx-grid { grid-template-columns: 1fr; }
  body.fp-ed.fp-home.fp-lux .twx-media { height: clamp(220px, 56vw, 300px); }
}
@media (prefers-reduced-motion: reduce) {
  body.fp-ed.fp-home.fp-lux .twx-card, body.fp-ed.fp-home.fp-lux .twx-card:hover { transform: none; }
  body.fp-ed.fp-home.fp-lux .twx-media img, body.fp-ed.fp-home.fp-lux .twx-card:hover .twx-media img { transform: none; transition: none; }
}
