/* ==========================================================================
   FINLOGIC — INNER MARKETING PAGES (multi.php, bulk.php, ...)
   Shared layer for the redesigned service pages. The mc-* prefix dates from
   the first page built on it (Multi-Currency Business Accounts); the sections
   are generic - centred hero + feature card, 2x2 benefit grid, green CTA -
   so later pages reuse them and add only what is specific to them.

   ORIGINAL HEADER
   FINLOGIC — MULTI-CURRENCY BUSINESS ACCOUNTS PAGE
   Implements the Figma "Multi-Currency Business Accounts" frame
   (node 5810:37992, Dime file). The Figma MCP connector is rate-limited on
   this account (View seat = 6 calls/month, spent), so every number below was
   measured off the supplied 2x frame export with PIL rather than read from
   Figma: positions are quoted as CSS px at the frame's 1440 width.

   Reuses .fl-landing's tokens/utilities from home.css (--lp-*, .lp-wrap,
   .lp-section, .lp-h2, .lp-btn, .lp-texture) - load AFTER home.css.
   ========================================================================== */

.mc-page {
  /* Frame bg sampled #f3f6fa (hero) / #f7f9fc (benefits) - the spread is the
     texture overlay, so one base tone carries both. */
  --mc-bg: #f5f8fc;
  --mc-line: rgba(255,255,255,.14);
  background: var(--mc-bg);
}

/* Frame content column is 1300px inside a 1440 frame => 70px gutters, which
   is what .lp-wrap already resolves to. */

/* --------------------------------------------------------------------------
   HERO  (frame y 0-780)
   -------------------------------------------------------------------------- */
.mc-hero {
  position: relative; overflow: hidden; text-align: center;
  background: var(--mc-bg);
  /* 73px of frame padding above the h1 box, plus clearance for the site's
     fixed header (main.css .header-top uses 90px / 60px under 992px). */
  padding: 163px 0 80px;
}
@media (max-width: 991.98px) { .mc-hero { padding-top: 133px; } }

.mc-hero .lp-wrap { position: relative; z-index: 1; }
.mc-hero h1 {
  /* glyph runs y 86.5-126 and 152.5-192 => 40px ascender height, 66px apart */
  font-size: 52px; font-weight: 800; line-height: 66px; color: var(--lp-ink);
  margin: 0 auto; max-width: 760px;
}
.mc-hero-sub {
  /* glyph runs y 221-236 / 241-249.5 */
  font-size: 15px; line-height: 20px; color: var(--lp-muted);
  max-width: 620px; margin: 12px auto 30px;
}
/* Button measured 340 x 52 at x 550-889.5 */
.mc-hero .lp-btn--green { width: 340px; height: 52px; font-size: 15px; }

.mc-account-card {
  /* card x 486-953.5 (468 wide), y 396-699.5 (304 tall), 24px padding */
  width: 468px; max-width: 100%; margin: 56px auto 0;
  background: var(--lp-card-dark);
  border-radius: 20px; padding: 24px;
  box-shadow: var(--lp-shadow-lg);
  text-align: left;
}
.mc-account-label {
  /* sampled #7ed8a8 - the same mint home.css already carries */
  display: block; color: var(--lp-mint); font-size: 14px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px;
}
.mc-account-row {
  /* rows measured 62px tall, 16px apart, inset 24px from the card edge */
  display: flex; align-items: center; justify-content: space-between;
  height: 62px; padding: 0 20px;
  background: rgba(255,255,255,.06); border-radius: 12px;
}
.mc-account-row + .mc-account-row { margin-top: 16px; }
.mc-account-cur {
  display: flex; align-items: center; gap: 10px;
  color: var(--lp-on-dark-2); font-size: 15px; font-weight: 500;
}
/* Emoji flags render as bare "US"/"GB" letters on Windows (no flag glyphs in
   the system emoji font), so the frame's flag chips are inline SVG instead. */
.mc-account-cur .flag { display: block; width: 20px; height: 14px; border-radius: 2px; flex: 0 0 auto; }
.mc-account-amt { color: #fff; font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   "BUILT FOR BUSINESSES"  (frame y 780-1192, full-bleed navy)
   -------------------------------------------------------------------------- */
.mc-band { background: var(--lp-ink); padding: 72px 0; }
.mc-band-head { text-align: center; max-width: 900px; margin: 0 auto 24px; }
.mc-band-head h2 { color: #fff; font-size: 32px; font-weight: 800; line-height: 1.25; }
.mc-band-head p { color: var(--lp-on-dark); font-size: 15px; margin: 12px 0 0; }

/* Stats sit in their own hairline-ruled block: rules at y 950 and 1119,
   vertical dividers at x 394 / 719 / 1044 => four equal 325px columns. */
.mc-stat-row {
  display: flex;
  border-top: 1px solid var(--mc-line);
  border-bottom: 1px solid var(--mc-line);
  padding: 30px 0 26px;
}
.mc-stat-col {
  flex: 1 1 0; min-width: 0; padding: 0 28px;
  border-left: 1px solid var(--mc-line);
}
.mc-stat-col:first-child { border-left: none; }
/* Numbers read white in the frame, not mint - no green pixels anywhere in
   the band except the nav above it. */
.mc-stat-num { color: #fff; font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.mc-stat-label { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.mc-stat-desc { color: var(--lp-on-dark); font-size: 13px; line-height: 18px; }

/* --------------------------------------------------------------------------
   "HOW YOUR BUSINESS BENEFITS"  (frame y 1192-1752)
   -------------------------------------------------------------------------- */
.mc-benefits { position: relative; background: var(--mc-bg); padding: 72px 0 64px; }
.mc-benefits .lp-wrap { position: relative; z-index: 1; }
.mc-benefits h2 { text-align: center; margin: 0 auto 28px; font-size: 32px; font-weight: 800; }

/* cards measured 636 x 163 with a 28px gutter, two per row */
.mc-benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mc-benefit {
  background: #fff; border-radius: 20px; padding: 44px 28px;
  box-shadow: 0 6px 18px rgba(13,27,42,.05);
}
.mc-benefit--dark { background: var(--lp-ink); box-shadow: none; }
.mc-benefit h3 { font-size: 20px; font-weight: 800; color: var(--lp-ink); margin: 0 0 12px; }
/* Both frames run the card copy in a ~565px column inside a 636px card (line
   ends measured at 563 / 549 / 559.5), not the full padded width - that's what
   makes the shorter blurbs break onto a second line as designed. */
.mc-benefit--dark h3 { color: #fff; }
.mc-benefit p { font-size: 15px; line-height: 20px; color: var(--lp-muted); margin: 0; max-width: 565px; }
.mc-benefit--dark p { color: var(--lp-on-dark); }

/* --------------------------------------------------------------------------
   CTA  (frame y 1752-2346: white gutter, 1300x450 gradient card at y 1824)
   -------------------------------------------------------------------------- */
.mc-cta-section { background: #fff; padding: 64px 0; }
.mc-cta {
  /* corners sampled #02843d (TL) -> #01612d (BR) */
  background: linear-gradient(135deg, #04863f 0%, #016730 55%, #01592a 100%);
  border-radius: 28px; padding: 44px 40px; text-align: center;
  /* Narrower than the frame's 1300px column, centred in it. */
  max-width: 1092px; margin: 0 auto;
}
/* 580px keeps the frame's break - 'with FinLogic's...' starts line 2 rather
   than leaving 'with' dangling at the end of line 1. */
.mc-cta h2 { color: #fff; font-size: 30px; font-weight: 800; line-height: 40px; margin: 0 auto; max-width: 580px; }
.mc-cta-sub { color: rgba(255,255,255,.82); font-size: 14.5px; line-height: 22px; max-width: 540px; margin: 10px auto 0; }
/* white pill measured 217 x 52 */
.mc-cta .lp-btn { background: #fff; color: var(--lp-green); width: 196px; height: 46px; margin: 22px auto 0; font-size: 14.5px; }
.mc-cta .lp-btn:hover { color: var(--lp-green); }

.mc-cta-stats {
  display: flex; justify-content: center;
  margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.22);
}
.mc-cta-stat { padding: 0 34px; border-left: 1px solid rgba(255,255,255,.28); text-align: center; }
.mc-cta-stat:first-child { border-left: none; }
.mc-cta-stat b { display: block; color: #fff; font-size: 18px; font-weight: 800; }
.mc-cta-stat span { color: rgba(255,255,255,.75); font-size: 11px; }

/* --------------------------------------------------------------------------
   RESPONSIVE — no mobile frame was supplied for this page, so this is a
   sensible reflow on the breakpoints home.css already uses, not a verified
   match to a Figma mobile design.
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .mc-hero h1 { font-size: 40px; line-height: 52px; }
  .mc-stat-row { flex-direction: column; gap: 28px; padding: 28px 0; }
  .mc-stat-col { border-left: none; padding: 0; }
  .mc-benefit-grid { grid-template-columns: 1fr; }
  .mc-cta h2 { font-size: 30px; line-height: 40px; }
  .mc-cta-stats { flex-direction: column; gap: 20px; }
  .mc-cta-stat { border-left: none; padding: 0; }
}
@media (max-width: 767px) {
  .lp-wrap { padding: 0 16px; }
  .mc-hero { padding: 116px 0 56px; }
  .mc-hero h1 { font-size: 30px; line-height: 38px; }
  .mc-hero-sub { font-size: 15px; }
  .mc-hero .lp-btn--green { width: 100%; max-width: 340px; }
  .mc-account-card { width: 100%; padding: 20px; margin-top: 40px; }
  .mc-account-amt { font-size: 18px; }
  .mc-band { padding: 56px 0; }
  .mc-band-head h2, .mc-benefits h2 { font-size: 26px; }
  .mc-benefits { padding: 56px 0; }
  .mc-cta-section { padding: 56px 0; }
  .mc-cta { padding: 40px 24px; border-radius: 24px; min-height: 0; }
  .mc-cta h2 { font-size: 26px; line-height: 34px; }
  .mc-cta .lp-btn { width: 100%; max-width: 217px; }
}

/* Hero/section backdrop. Uses the artwork the designer supplied
   (images/hero-bg.webp - the same scene as images/section-texture.png but a
   sharper render; re-encoded to WebP, 1.7MB -> 59KB). home.css's .lp-texture
   also paints a radial dot grid beneath its image (a fallback from before the
   export existed) and fades it to .5, both of which are wrong for this art:
   simulating background-size:cover over the hero box and comparing against the
   frame export puts the match at .40 - min/p1/median 194/222/243 against the
   frame's 189/221/247, where the older, flatter asset couldn't reach that
   contrast range at any opacity. */
.mc-page .lp-texture::before {
  background-image: url("../images/hero-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* .4 is the measured match for this (sharper) asset - simulating cover over
     the hero box put it at min/p1/median 194/222/243 against the frame's
     189/221/247. The flatter images/section-texture.png needs .5. */
  opacity: .4;
}


/* ==========================================================================
   BULK PAYMENT SOLUTIONS (bulk.php)
   Measured off the supplied 2x frame export, CSS px at 1440.
   Hero, benefit grid and CTA are the shared mc-* components above; only the
   batch-summary card and the sub-line under the grid heading are new.
   ========================================================================== */

/* Sub-line under a benefit-grid heading (frame y 837-872, two 15px lines). */
.mc-benefits-sub {
  text-align: center; max-width: 760px; margin: 12px auto 0;
  font-size: 15px; line-height: 20px; color: var(--lp-muted);
}
.mc-benefits--with-sub h2 { margin-bottom: 0; }
.mc-benefits--with-sub .mc-benefit-grid { margin-top: 32px; }

/* Batch summary card - frame x 463-977 (514 wide), y 398.5-637.5 (239 tall),
   24px side padding, content top-weighted so ~80px of the card stays clear. */
.bp-batch {
  width: 514px; max-width: 100%; margin: 58px auto 0; min-height: 239px;
  background: #fff; border-radius: 16px; padding: 48px 24px 24px;
  box-shadow: 0 18px 44px rgba(13,27,42,.10);
  text-align: left;
}
.bp-batch-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.bp-batch-id { font-size: 13.5px; font-weight: 800; color: var(--lp-ink); }
/* pill measured 90 x 22 */
.bp-batch-pill {
  display: inline-flex; align-items: center; justify-content: center;
  height: 22px; padding: 0 12px; border-radius: 1000px;
  background: var(--lp-green-soft); color: var(--lp-green);
  font-size: 11.5px; font-weight: 700; white-space: nowrap;
}
.bp-batch-row { display: flex; align-items: baseline; justify-content: space-between; }
.bp-batch-row + .bp-batch-row { margin-top: 6px; }
.bp-batch-row .k { font-size: 12.5px; color: var(--lp-muted); }
.bp-batch-row .v { font-size: 12.5px; font-weight: 800; color: var(--lp-ink); font-variant-numeric: tabular-nums; }

@media (max-width: 767px) {
  .bp-batch { width: 100%; margin-top: 40px; padding: 32px 20px 24px; min-height: 0; }
  .mc-benefits--with-sub .mc-benefit-grid { margin-top: 28px; }
}

/* The bulk frame sets its card copy a step larger than the multi-currency one
   (measured line widths match 16px there vs 15px here), which is what makes
   the two shorter blurbs wrap onto a second line. */
.mc-page--bulk .mc-benefit p { font-size: 16px; }


/* ==========================================================================
   TREASURY & CASH FLOW MANAGEMENT (treasury.php)
   Measured off the supplied 1440-wide frame export.
   ========================================================================== */

/* Hero liquidity card - frame x 463-977 (515 wide), y 389-655 (267 tall),
   24px padding, hairline above the forecast line at y 599. */
.tr-liq {
  width: 515px; max-width: 100%; margin: 58px auto 0;
  background: #fff; border-radius: 16px; padding: 24px;
  box-shadow: 0 18px 44px rgba(13,27,42,.10); text-align: left;
}
.tr-liq-label {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--lp-muted-2);
}
.tr-liq-total { font-size: 32px; font-weight: 800; color: var(--lp-ink); margin: 6px 0 0; }
.tr-liq-rows { margin-top: 24px; }
.tr-liq-row { display: flex; align-items: center; justify-content: space-between; }
.tr-liq-row + .tr-liq-row { margin-top: 18px; }   /* 31px between baselines */
.tr-liq-row .k { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--lp-muted); }
.tr-liq-row .v { font-size: 13px; font-weight: 800; color: var(--lp-ink); font-variant-numeric: tabular-nums; }
.tr-liq-row .flag { display: block; width: 18px; height: 12px; border-radius: 2px; flex: 0 0 auto; }
.tr-liq-foot {
  margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--lp-hairline);
  font-size: 12px; font-weight: 700; color: var(--lp-green);
}

/* Three-up card grid - frame columns 71-486 / 513-927 / 954-1369 (415 wide,
   27px gutters), rows 914-1112 and 1138-1336 (198 tall). */
.mc-benefit-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 27px 27px; }
.mc-benefit-grid--3 .mc-benefit { padding: 24px; }
.mc-benefit-grid--3 .mc-benefit h3 { font-size: 20px; margin: 0 0 10px; }
.mc-benefit-grid--3 .mc-benefit p { font-size: 15px; line-height: 20px; max-width: none; }

/* Metric chip at the foot of each card (frame: 55px tall, bg #f4f6f5). */
.tr-chip {
  display: inline-block; margin-top: 20px;
  background: var(--lp-surface); border-radius: 10px; padding: 12px;
}
.tr-chip .k { display: block; font-size: 10px; color: var(--lp-muted-2); }
.tr-chip .v { display: block; font-size: 12.5px; font-weight: 800; color: var(--lp-ink); margin-top: 4px; }
.tr-chip .v--green { color: var(--lp-green); }
.mc-benefit--dark .tr-chip { background: rgba(255,255,255,.07); }
.mc-benefit--dark .tr-chip .k { color: var(--lp-mint); }
.mc-benefit--dark .tr-chip .v { color: #fff; }

/* "Why choose" navy band. The four columns are a centred 920px group, not the
   full 1300 column - dividers measured at x 489 / 719 / 949. */
.tr-why { background: var(--lp-ink); padding: 72px 0; }
.tr-why h2 { color: #fff; font-size: 32px; font-weight: 800; text-align: center; margin: 0 auto 38px; }
.tr-why-row { display: flex; max-width: 920px; margin: 0 auto; }
.tr-why-col {
  /* 230px column less 22px each side = 186px of text, which reproduces the
     frame's three-line wrap in all four columns (widest line measured 184). */
  flex: 1 1 0; min-width: 0; padding: 0 22px; text-align: center;
  border-left: 1px solid rgba(255,255,255,.15);
  font-size: 15px; line-height: 20px; color: #fff;
}
.tr-why-col:first-child { border-left: none; }

@media (max-width: 1080px) {
  .mc-benefit-grid--3 { grid-template-columns: 1fr; }
  .tr-why-row { flex-direction: column; gap: 24px; }
  .tr-why-col { border-left: none; padding: 0; }
}
@media (max-width: 767px) {
  .tr-liq { width: 100%; margin-top: 40px; padding: 20px; }
  .tr-liq-total { font-size: 28px; }
  .tr-why { padding: 56px 0; }
  .tr-why h2 { font-size: 26px; }
}

/* This frame runs its hero a touch tighter than the other two: sub glyphs sit
   at y 213 (vs 221 on the multi-currency frame) and the gap from the hero card
   down to the section heading is 137px, not the 152 the shared padding gives. */
.mc-page--treasury .mc-hero-sub { margin-top: 4px; }
.mc-page--treasury .mc-hero { padding-bottom: 65px; }


/* ==========================================================================
   MULTI-CURRENCY PERSONAL ACCOUNTS (personal.php)
   Measured off the supplied 2x frame export, CSS px at 1440.
   ========================================================================== */

/* Hero composition: a 298x170 dark card centred in a 508x218 stage, with a
   white chip pinned to the top-left and another to the bottom-right
   (frame: card x 574-872 y 440-610; chips 466-565/416-468 and 880-973/581-633). */
.pa-stage { position: relative; width: 508px; max-width: 100%; height: 218px; margin: 56px auto 0; }
.pa-card {
  position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  width: 298px; height: 170px; border-radius: 14px; padding: 20px;
  background: var(--lp-card-dark); box-shadow: var(--lp-shadow-lg);
  display: flex; flex-direction: column; justify-content: space-between; text-align: left;
}
.pa-card-top { display: flex; align-items: center; justify-content: space-between; }
.pa-card-brand { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--lp-on-dark); }
.pa-card-cur {
  font-size: 9.5px; font-weight: 700; letter-spacing: .06em; color: #fff;
  background: rgba(255,255,255,.12); border-radius: 5px; padding: 4px 8px;
}
.pa-card-no { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: .06em; }
.pa-card-name { font-size: 10px; font-weight: 600; letter-spacing: .08em; color: var(--lp-on-dark); }
.pa-float {
  position: absolute; background: #fff; border-radius: 10px; padding: 10px 12px;
  box-shadow: 0 10px 26px rgba(13,27,42,.12); text-align: left;
}
.pa-float i { display: block; font-style: normal; font-size: 10px; color: var(--lp-muted-2); }
.pa-float b { display: block; font-size: 13px; font-weight: 800; color: var(--lp-ink); margin-top: 3px; }
.pa-float--a { left: 0; top: 0; }
.pa-float--b { right: 0; bottom: 0; }

/* Use-case cards: 638x219 on --lp-surface (sampled #f4f6f5) rather than white,
   24px gutter / 25px row gap, and no sub-line under the section heading. */
.mc-page--personal .mc-benefits h2 { margin-bottom: 34px; }
.mc-page--personal .mc-benefit-grid { gap: 25px 24px; }
.mc-page--personal .mc-benefit {
  background: var(--lp-surface); box-shadow: none; padding: 32px 24px;
}
/* This frame's hero sub runs three lines (measured 561 / 572.5 / 60.5 wide),
   so it wraps a touch narrower than the shared 620px. */
.mc-page--personal .mc-hero-sub { max-width: 580px; }
.mc-page--personal .mc-benefit--dark { background: var(--lp-card-dark); }
.mc-page--personal .mc-benefit h3 { margin-bottom: 8px; }
.mc-page--personal .mc-benefit p { max-width: none; }
.mc-page--personal .mc-hero { padding-bottom: 96px; }

/* White detail chip inside a use-case card (frame: 166x59 in card 1). */
.pa-chip { display: inline-block; margin-top: 24px; background: #fff; border-radius: 10px; padding: 11px 14px; }
.pa-chip .k { display: block; font-size: 10.5px; color: var(--lp-muted-2); }
.pa-chip .v { display: block; font-size: 14px; font-weight: 800; color: var(--lp-ink); margin-top: 3px; }
.mc-benefit--dark .pa-chip { background: rgba(255,255,255,.07); }
.mc-benefit--dark .pa-chip .k { color: var(--lp-mint); }
.mc-benefit--dark .pa-chip .v { color: #fff; }

/* Currency pills - frame: three 188.5px pills per row, 12px apart, 38px tall,
   the trailing "+ more" tinted with the soft green. */
.pa-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 12px; margin-top: 20px; }
.pa-pill {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; border-radius: 9px; background: #fff;
  font-size: 13px; font-weight: 700; color: var(--lp-ink);
}
.pa-pill .flag { display: block; width: 16px; height: 11px; border-radius: 2px; flex: 0 0 auto; }
.pa-pill--more { background: var(--lp-green-soft); color: var(--lp-green); }

@media (max-width: 767px) {
  .pa-stage { width: 100%; height: auto; margin-top: 40px; padding: 0; }
  .pa-card { position: static; transform: none; margin: 0 auto; }
  .pa-float { position: static; display: inline-block; margin: 12px 6px 0; }
  .pa-pills { grid-template-columns: repeat(2, 1fr); }
}


/* ==========================================================================
   GLOBAL SETTLEMENT SERVICES (global.php)
   Measured off the supplied 2x frame export, CSS px at 1440.
   The frame draws both CTAs navy; per the brief they use the theme green
   (.lp-btn--green) so the buttons match every other page.
   ========================================================================== */

/* ---- Hero converter card: frame x 437-1003 (566), y 387-721 (334) ---- */
.gs-conv {
  width: 566px; max-width: 100%; margin: 47px auto 0;
  background: #fff; border-radius: 20px; padding: 32px;
  box-shadow: 0 22px 54px rgba(13,27,42,.12); text-align: left;
}
.gs-conv-row { display: flex; align-items: center; gap: 12px; }
/* two 221.5x123.5 panels with the swap control in the 60px between them */
.gs-conv-panel { flex: 1 1 0; min-width: 0; background: var(--lp-bg-51); border-radius: 12px; padding: 14px 16px; }
.gs-conv-panel .lbl { display: block; font-size: 11.5px; color: var(--lp-muted); }
.gs-conv-panel .lbl--in { color: var(--lp-green); font-weight: 700; }
.gs-cur {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  background: #fff; border: 1px solid var(--lp-line); border-radius: 8px;
  padding: 5px 9px; font-size: 12.5px; font-weight: 700; color: var(--lp-ink);
}
.gs-cur .flag { display: block; width: 15px; height: 10px; border-radius: 2px; flex: 0 0 auto; }
.gs-cur .cv { font-size: 9px; color: var(--lp-muted-2); }
.gs-flag { display: flex; flex: 0 0 auto; }
/* A native <select> laid transparently over the pill: the picker is the real
   one on every platform (and reachable by keyboard and screen reader), while
   the flag + code underneath keep the frame's styling, which a styled <select>
   can't carry on iOS. */
.gs-cur { position: relative; }
.gs-sel {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; border: 0; padding: 0;
  -webkit-appearance: none; appearance: none;
}
.gs-cur:focus-within { border-color: var(--lp-green); box-shadow: 0 0 0 3px var(--lp-green-soft); }

.gs-conv-amt { margin-top: 12px; font-size: 22px; font-weight: 700; color: var(--lp-ink); }
/* The send field is an <input>; strip the control chrome so it reads as the
   same line of type as the read-only side. */
input.gs-conv-amt {
  display: block; width: 100%; border: 0; background: transparent;
  padding: 0; font-family: inherit; line-height: normal;
  -webkit-appearance: none; appearance: none;
}
input.gs-conv-amt:focus { outline: 0; box-shadow: 0 1px 0 0 var(--lp-green); }
.gs-conv-amt--out { color: var(--lp-green); }
.gs-conv-note { margin: 14px 0 0; font-size: 11.5px; line-height: 16px; color: var(--lp-muted-2); text-align: center; }
.gs-conv-note--warn { color: #b4690e; }
/* No live feed, no live badge. */
.gs-conv.is-offline .gs-live { background: var(--lp-surface); color: var(--lp-muted-2); }
.gs-conv.is-offline .gs-live .lp-live-dot { background: var(--lp-muted-2); animation: none; }
.gs-conv.is-offline .gs-live .lp-live-dot::after { display: none; }

.gs-swap {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
  background: var(--lp-ink); color: #fff; font-size: 14px;
  border: 0; padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .18s ease, background .18s ease;
}
.gs-swap:hover { background: var(--lp-green); transform: rotate(180deg); }
.gs-conv-meta {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--lp-hairline);
  font-size: 12px; color: var(--lp-muted);
}
.gs-conv-meta b { color: var(--lp-ink); font-weight: 800; }
.gs-conv-meta .sep { color: var(--lp-line); }
.gs-live {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--lp-green-soft); color: var(--lp-green);
  border-radius: 1000px; padding: 2px 8px; font-size: 10px; font-weight: 700;
}
.gs-conv .lp-btn { width: 100%; height: 48px; margin-top: 28px; }

/* ---- Floating currency badges. Frame positions are measured from the top of
   the frame, which starts below the site header, so each top adds the 90px
   the fixed header occupies here. Hidden once there's no room beside the card. */
.gs-badge {
  position: absolute; z-index: 2; width: 120px; height: 76px;
  border-radius: 12px; padding: 12px 14px; text-align: left;
  box-shadow: 0 12px 28px rgba(13,27,42,.18); color: #fff;
}
.gs-badge i { display: block; font-style: normal; font-size: 10.5px; opacity: .8; }
.gs-badge b { display: block; margin-top: 8px; font-size: 15px; font-weight: 800; }
.gs-badge--violet { background: #26267d; }
.gs-badge--red    { background: #ba2925; }
.gs-badge--green  { background: #018c39; }
.gs-badge--gbp { left: 70px;  top: 331px; }
.gs-badge--cad { left: 146px; top: 455px; }
.gs-badge--ngn { left: 206px; top: 579px; }
.gs-badge--eur { right: 137px; top: 331px; }
.gs-badge--usd { right: 147px; top: 455px; }
.gs-badge--ng2 { right: 207px; top: 579px; }
@media (max-width: 1200px) { .gs-badge { display: none; } }

/* ---- "Secure global settlement" grid: a centred 1024px group of two 500px
   columns (frame x 208-708 / 732-1232), rows 997-1258 and 1292-1553. ---- */
.gs-grid { max-width: 1024px; margin: 0 auto; grid-template-columns: 1fr 1fr; gap: 34px 24px; }
/* both frame rows are 261 tall even though the second row's content is shorter */
.gs-grid .mc-benefit { min-height: 261px; }
.mc-page--global .mc-benefits h2 { font-size: 28px; }
.mc-page--global .mc-benefit { background: var(--lp-surface); box-shadow: none; padding: 28px; }
.mc-page--global .mc-benefit h3 { font-size: 19px; margin-bottom: 8px; }
.mc-page--global .mc-benefit p { font-size: 14.5px; line-height: 20px; max-width: none; }

/* panel that sits at the foot of each card */
.gs-panel { margin-top: 22px; background: #fff; border-radius: 12px; padding: 16px 18px; }
.gs-panel--dark { background: var(--lp-card-dark); }
.gs-panel-head { display: flex; align-items: center; justify-content: space-between; }
.gs-panel-head .t { font-size: 12.5px; font-weight: 700; color: var(--lp-ink); }
.gs-pill-ok {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--lp-green-soft); color: var(--lp-green);
  border-radius: 1000px; padding: 3px 10px; font-size: 11px; font-weight: 700;
}
.gs-steps-bar { display: flex; gap: 6px; margin: 14px 0 8px; }
.gs-steps-bar i { flex: 1 1 0; height: 4px; border-radius: 2px; background: var(--lp-green); }
.gs-steps-legend { display: flex; justify-content: space-between; font-size: 11px; color: var(--lp-muted); }
.gs-steps-legend b { color: var(--lp-ink); font-weight: 700; }
.gs-rate-pair { font-size: 11px; color: var(--lp-mint); }
.gs-rate-big { margin-top: 6px; font-size: 24px; font-weight: 800; color: #fff; }
.gs-rate-big span { font-size: 13px; font-weight: 600; color: var(--lp-muted-3); }
.gs-rate-note { margin-top: 8px; font-size: 11px; color: var(--lp-mint); }
.gs-trust { display: flex; gap: 12px; margin-top: 22px; }
.gs-trust span {
  flex: 1 1 0; background: #fff; border-radius: 12px; padding: 14px 8px;
  text-align: center; font-size: 11.5px; font-weight: 700; color: var(--lp-ink);
}
.gs-trust span em { display: block; font-style: normal; font-size: 15px; margin-bottom: 6px; color: var(--lp-muted); }

/* ---- "Seamless Global Settlement" four-step timeline ---- */
.gs-flow { position: relative; background: transparent; }
.mc-page--global .gs-flow h2 { font-size: 28px; text-align: center; margin: 0 auto 6px; }
.gs-flow-sub { text-align: center; font-size: 15px; color: var(--lp-muted); margin: 0 auto 34px; }
.gs-track { display: grid; grid-template-columns: repeat(4, 1fr); }
.gs-step { position: relative; padding: 0 15px; text-align: center; }
/* the rule runs between circle centres, so it starts/stops at the column edge */
.gs-step::before {
  content: ""; position: absolute; top: 19px; left: 50%; right: -50%; height: 1px;
  background: var(--lp-ink);
}
.gs-step--green::before { background: var(--lp-green); }
.gs-step:last-child::before { display: none; }
.gs-dot {
  position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%;
  margin: 0 auto; display: flex; align-items: center; justify-content: center;
  /* All four step markers are green (the frame greys out 3 and 4). */
  background: var(--lp-green); color: #fff; font-size: 15px; font-weight: 800;
}
.gs-step h3 { font-size: 15px; font-weight: 800; color: var(--lp-ink); margin: 28px 0 8px; }
.gs-step p { font-size: 13px; line-height: 15px; color: var(--lp-muted); margin: 0; }
.gs-step-card {
  margin-top: 12px; height: 67px; border-radius: 12px; padding: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--lp-surface);
}
.gs-step-card b { font-size: 14px; font-weight: 800; color: var(--lp-ink); }
.gs-step-card i { font-style: normal; font-size: 10.5px; color: var(--lp-muted-2); margin-top: 4px;
  display: flex; align-items: center; gap: 5px; }
.gs-step-card i .flag { display: block; width: 13px; height: 9px; border-radius: 1px; }
.gs-step-card--ink { background: var(--lp-ink); }
.gs-step-card--ink b { color: #fff; }
.gs-step-card--ink i { color: var(--lp-muted-3); }
.gs-step-card--green { background: var(--lp-green); flex-direction: row; gap: 8px; }
.gs-step-card--green b, .gs-step-card--green i { color: #fff; }
.gs-step-card--green i { margin-top: 0; }
.gs-tick {
  width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center; font-size: 11px; color: #fff;
}

@media (max-width: 1080px) {
  .gs-grid { grid-template-columns: 1fr; }
  .gs-track { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .gs-step::before { display: none; }
}
@media (max-width: 767px) {
  .gs-conv { padding: 20px; margin-top: 40px; }
  .gs-conv-row { flex-direction: column; align-items: stretch; }
  .gs-swap { margin: 0 auto; }
  .gs-conv-meta { flex-wrap: wrap; gap: 8px 14px; }
  .gs-track { grid-template-columns: 1fr; }
  .gs-trust { flex-wrap: wrap; }
  .mc-page--global .mc-benefits h2, .mc-page--global .gs-flow h2 { font-size: 24px; }
}

/* Frame line widths: hero sub 675.5 / 506, section sub 525 / 261.5 - both wrap
   wider/narrower than the shared defaults, which changed the line counts. */
.mc-page--global .mc-hero-sub { max-width: 700px; }
.mc-page--global .mc-benefits-sub { max-width: 560px; }

/* Frame spacing around the four-step block: heading box at 1702, step cards
   end 1996, the textured band closes at 2070 and the CTA card opens at 2140. */
.mc-page--global .gs-flow { padding: 93px 0 74px; }
.mc-page--global .mc-cta-section { padding-top: 70px; }


/* ==========================================================================
   ABOUT US (about.php)
   Measured off the supplied 2x frame export, CSS px at 1440.
   ========================================================================== */

/* Page title is larger than the section headings elsewhere (cap height 33.5
   => ~46px, against the 28-32px used for section headings). */
.ab-intro { text-align: center; }
.ab-intro h1 { font-size: 46px; font-weight: 800; line-height: 1.2; color: var(--lp-ink); margin: 0 auto; }
.ab-intro p { font-size: 15px; line-height: 20px; color: var(--lp-muted); max-width: 620px; margin: 12px auto 0; }

/* Two-column story blocks. Copy left / visual right, reversed on the second. */
/* Fixed columns sized to their content and centred as a group: 1fr/1fr left
   ~150px of dead space inside the copy column, which read as a 330px gutter. */
.ab-split { display: grid; grid-template-columns: 470px 500px; justify-content: center; gap: 80px; align-items: center; }
/* The reversed block isn't a 50/50 split in the frame: the copy column starts
   at x 672 (not 750), so the visual column is narrower and its card sits to
   the right of it (frame card x 215.5-621.5). */
.ab-split--rev { grid-template-columns: 500px 470px; }
.ab-split--rev .ab-copy { order: 2; }
.ab-split--rev .ab-visual { order: 1; }
.ab-split--rev .ab-card-light { margin-left: auto; margin-right: 0; }
/* .mc-benefits h2 centres by default; these column headings are left-set. */
.ab-copy h2 { text-align: left; font-size: 26px; font-weight: 800; line-height: 33px; color: var(--lp-ink); margin: 0 0 22px; max-width: 470px; }
.ab-copy > p { font-size: 15px; line-height: 20px; color: var(--lp-muted); margin: 0 0 28px; max-width: 470px; }
.ab-copy .lp-btn { margin-top: 28px; height: 46px; width: 240px; }
.ab-split:not(.ab-split--rev) .ab-copy .lp-btn { width: 221px; }

/* icon + title + copy rows (frame: 34px tinted tile) */
.ab-feat { display: flex; gap: 14px; align-items: flex-start; }
.ab-feat + .ab-feat { margin-top: 18px; }
.ab-feat .ic {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px;
  background: var(--lp-green-soft); display: flex; align-items: center;
  justify-content: center; font-size: 15px;
}
.ab-feat b { display: block; font-size: 14px; font-weight: 800; color: var(--lp-ink); }
.ab-feat span { display: block; font-size: 14px; line-height: 19px; color: var(--lp-muted); margin-top: 2px; }

/* Dark supplier-payout card - frame x 870-1370 (500), y 277-537 (260) */
.ab-card-dark {
  width: 500px; max-width: 100%; min-height: 260px; margin-left: auto;
  background: var(--lp-card-dark); border-radius: 18px; padding: 28px;
  box-shadow: var(--lp-shadow-lg); text-align: left;
}
.ab-card-dark .lbl {
  display: block; color: var(--lp-mint); font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.ab-card-dark .big { font-size: 30px; font-weight: 800; color: #fff; margin-top: 14px; }
.ab-card-dark .note { font-size: 12.5px; color: var(--lp-on-dark); margin-top: 10px; }
.ab-chips { display: flex; gap: 10px; margin-top: 22px; }
.ab-chips span {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.07); border-radius: 8px; padding: 6px 11px;
  font-size: 11.5px; font-weight: 700; color: #fff;
}
.ab-chips .flag { display: block; width: 14px; height: 10px; border-radius: 2px; flex: 0 0 auto; }

/* White transfer card - frame x 215.5-621.5 (406), y 796-1014 (218) */
.ab-card-light {
  width: 406px; max-width: 100%; min-height: 218px; margin: 0 auto;
  background: #fff; border-radius: 16px; padding: 24px;
  box-shadow: 0 18px 44px rgba(13,27,42,.10); text-align: left;
}
.ab-card-light .lbl {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--lp-muted-2);
}
.ab-card-light .big { font-size: 27px; font-weight: 800; color: var(--lp-ink); margin-top: 10px; }
.ab-card-light .ok { font-size: 12.5px; font-weight: 700; color: var(--lp-green); margin-top: 8px; }
.ab-card-light hr { border: 0; border-top: 1px solid var(--lp-hairline); margin: 18px 0; }
.ab-card-light .amt { font-size: 21px; font-weight: 800; color: var(--lp-ink); margin-top: 10px; }

/* Core values - three 330px text columns in a centred 1130px group
   (frame text starts at x 156 / 532 / 909). */
.ab-values { text-align: center; }
.ab-values h2 { font-size: 30px; font-weight: 800; color: var(--lp-ink); margin: 0 auto; }
.ab-values > p { font-size: 15px; line-height: 20px; color: var(--lp-muted); max-width: 620px; margin: 12px auto 0; }
/* Frame columns start at x 156 / 532 / 909 - 376.5 apart with no gutter, and
   the copy runs ragged inside them (the longest line measures 364, which a
   narrower column would break onto a fourth line). */
.ab-values-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  max-width: 1130px; margin: 54px auto 0; text-align: left;
}
.ab-value { padding-right: 10px; }
.ab-value h3 { font-size: 20px; font-weight: 800; color: var(--lp-ink); margin: 0 0 16px; }
/* frame packs each value into three 17px lines in a ~330px measure (48-55
   chars a line), which works out at ~13.8px */
.ab-value p { font-size: 13.5px; line-height: 17px; color: var(--lp-muted); margin: 0; }

@media (max-width: 1080px) {
  .ab-split, .ab-split--rev { grid-template-columns: 1fr; gap: 40px; }
  .ab-split--rev .ab-copy, .ab-split--rev .ab-visual { order: 0; }
  .ab-card-dark { margin: 0 auto; }
  .ab-values-row { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 767px) {
  .ab-intro h1 { font-size: 32px; }
  .ab-copy h2 { font-size: 22px; line-height: 29px; }
  .ab-split .ab-copy .lp-btn,
  .ab-split:not(.ab-split--rev) .ab-copy .lp-btn { width: 100%; max-width: 260px; }
  .ab-card-dark, .ab-card-light { width: 100%; padding: 22px; }
  .ab-values h2 { font-size: 24px; }
  .ab-chips { flex-wrap: wrap; }
}

/* Frame rhythm on this page: intro sub ends 187 and the first block's heading
   box opens at 234 (a 47px gap, not the 152 the shared padding gives); the
   remaining blocks sit 144 apart and the band closes 73 below the last line. */
.mc-page--about .mc-hero { padding-bottom: 0; }
.mc-page--about .mc-benefits { padding: 72px 0; }
.mc-page--about .ab-first { padding-top: 47px; }


/* ==========================================================================
   BLOG LISTING (blog.php) - three-up cards: image, author + date, title, excerpt
   ========================================================================== */
.bl-wrap { padding-top: 64px; padding-bottom: 96px; }
.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }

.bl-card { display: flex; flex-direction: column; }
.bl-thumb {
  display: block; border-radius: 14px; overflow: hidden;
  background: var(--lp-surface); aspect-ratio: 16 / 10;
}
.bl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bl-meta { font-size: 14px; color: var(--lp-muted); margin: 18px 0 0; }
.bl-meta .au { color: var(--lp-ink); font-weight: 700; }

/* `.fl-landing h3` (0,1,1) zeroes the margin, so this needs two classes to win. */
.bl-card .bl-title { font-size: 20px; font-weight: 800; line-height: 27px; margin: 16px 0 0; }
.bl-title a { color: var(--lp-ink); }
.bl-title a:hover { color: var(--lp-green); }

.bl-ex { font-size: 15px; line-height: 22px; color: var(--lp-muted); margin: 12px 0 0; }

@media (max-width: 1080px) {
  .bl-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 28px; }
}
@media (max-width: 767px) {
  .bl-wrap { padding-top: 48px; padding-bottom: 64px; }
  .bl-grid { grid-template-columns: 1fr; gap: 40px; }
  .bl-card .bl-title { font-size: 19px; line-height: 25px; }
}
