/* ==========================================================================
   /finance_brokers/ — page-specific layout (clean rebuild, no Tilda zero-block)
   Links after site.css (tokens/buttons/.wrap/.section) + inner.css (shared
   inner-page bits: .body-copy). The hero is a custom purple-gradient design
   (NOT the shared dark-art .ihero), so it is built here from the vendored
   background art in /img/finance_brokers/.

   Colours/sizes measured off the live Tilda page (recs 856907113, 857475931,
   857476821, 857989699): headings #eb6868 24px/1.35 700, body #283975 16px/1.5,
   card fill #fff radius 45px, tint #f0f4f8, purple glow rgba(71,55,194,*).
   ========================================================================== */

/* Body offset: fixed 82px header only — live shows no 2nd-level submenu here. */
body { padding-top: 82px; }
@media screen and (max-width: 1199px) { body { padding-top: 60px; } }

/* ============================================================== 01 HERO ====
   Full-bleed purple/teal gradient raster (rectangle-1.png) with the aurora
   blob (artboard_23_1_1.png) floated over the top-right corner. */
.fb-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #35208d;
  background-image: url("/img/finance_brokers/rectangle-1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 96px 0 72px;
}
/* decorative aurora — sits behind the copy, bleeds off the top/right edges.
   Live places it at top:-227px / width:877px of the 1200 grid, overflowing the
   grid on the right; the percentages below reproduce that at any width. */
.fb-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -220px;
  right: -15%;
  width: 62%;
  aspect-ratio: 1673 / 1129;
  background: url("/img/finance_brokers/artboard_23_1_1.png") no-repeat center / contain;
  pointer-events: none;
}
.fb-hero-inner { position: relative; z-index: 1; }

.fb-hero-title {
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: #fff;
  max-width: 700px;
  margin: 0 0 46px;
}
.fb-hero-title em { font-style: normal; color: var(--coral); display: block; }

.fb-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 355px;
  gap: 20px;
  align-items: center;
}
.fb-hero-copy { min-width: 0; }

/* chart + kicker copy sit side by side above the "Premium Demand" block */
.fb-hero-lead {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  margin-bottom: 46px;
}
.fb-hero-chart { width: 100%; height: auto; }

.fb-hero-kicker {
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--coral);
  margin: 0;
}
.fb-hero-kicker-sub {
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  color: #fff;
  margin: 0 0 18px;
  max-width: 375px;
}
.fb-hero-text {
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  margin: 0;
  max-width: 392px;
}
.fb-hero-demand .fb-hero-kicker { margin-bottom: 8px; }
.fb-hero-demand .fb-hero-text { max-width: 730px; }

/* The phone deliberately overhangs its column on the right, as on live
   (mockup is 523px wide over a ~355px grid column). .fb-hero clips the
   overhang at the viewport edge, so it can never cause horizontal scroll. */
.fb-hero-visual { min-width: 0; }
.fb-hero-visual img {
  width: 142%;
  max-width: none;
  height: auto;
  margin-left: auto;
  filter: drop-shadow(0 30px 60px rgba(6, 8, 30, .45));
}

/* ========================================================== 02 APPROACH ====
   Two masonry-ish columns of white cards on the tinted background, with the
   two soft purple radial glows the live artboard paints behind them. */
.fb-approach {
  position: relative;
  background-color: var(--tint);
  background-image:
    radial-gradient(circle 380px at 54% 48%, rgba(71, 55, 194, .30) 0%, rgba(71, 55, 194, 0) 62%),
    radial-gradient(circle 575px at 92% 100%, rgba(71, 55, 194, .16) 0%, rgba(71, 55, 194, 0) 62%);
  padding: 72px 0 90px;
}
.fb-approach-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}
.fb-col { display: flex; flex-direction: column; gap: 26px; min-width: 0; }

.fb-card {
  background: #fff;
  border-radius: 45px;
  padding: 44px 46px;
}
.fb-card-icon { width: 132px; height: auto; margin: 0 0 34px; }
.fb-card-illus { width: 278px; max-width: 100%; height: auto; margin: 0 0 30px; }
.fb-card-title {
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--coral);
  margin: 0 0 12px;
}

/* mid-dot bullet list (live renders these as "· Label:" runs) */
.fb-dot-list { list-style: none; margin: 0; padding: 0; }
.fb-dot-list li {
  position: relative;
  padding-left: 14px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
  margin-bottom: 2px;
}
.fb-dot-list li::before {
  content: "\00B7";
  position: absolute;
  left: 0;
  top: 0;
}
.fb-dot-list strong { font-weight: 700; }

/* =========================================================== 03 PROMISE ====
   White section holding one big tinted panel with a purple glow inside it. */
.fb-promise { padding: 78px 0 60px; }
.fb-promise-panel {
  position: relative;
  overflow: hidden;
  background-color: var(--tint);
  background-image:
    radial-gradient(circle 420px at 70% 118%, rgba(71, 55, 194, .25) 0%, rgba(71, 55, 194, 0) 61%);
  border-radius: 45px;
  padding: 58px 46px 62px;
}
.fb-promise-head {
  text-align: center;
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1;
  font-weight: 700;
  margin: 0 0 66px;
  /* exact live fill: purple → slate → deep plum, clipped to the glyphs */
  background-image: linear-gradient(0.324turn, rgba(94, 55, 202, 1) 34%, rgba(72, 108, 105, 1) 49%, rgba(68, 27, 95, 1) 63%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: rgb(94, 55, 202); /* fallback if clip unsupported */
}
.fb-promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px;
  align-items: start;
}
.fb-promise-item { min-width: 0; }
.fb-check { width: 33px; height: auto; margin: 0 0 12px; }

/* =========================================================== 04 CONTACT ====
   Blue→plum gradient card with the contact links and the partner badges. */
.fb-contact { background: var(--tint); padding: 60px 0 78px; }
.fb-contact-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 510px;
  gap: 40px;
  align-items: center;
  border-radius: 45px;
  padding: 56px 60px 62px;
  background-image: linear-gradient(0.454turn, rgba(44, 39, 185, 1) 0%, rgba(64, 39, 81, 1) 100%);
  color: #fff;
}
/* decorative aurora in the bottom-right corner of the card */
.fb-contact-card::after {
  content: "";
  position: absolute;
  right: -2%;
  bottom: -34%;
  width: 42%;
  aspect-ratio: 1673 / 1129;
  background: url("/img/finance_brokers/artboard_23_1_1_1.png") no-repeat center / contain;
  pointer-events: none;
}
.fb-contact-copy { position: relative; z-index: 1; min-width: 0; }
.fb-contact-head {
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1;
  font-weight: 700;
  color: var(--coral);
  margin: 0 0 52px;
}

.fb-contact-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 46px;
}
.fb-contact-links a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
}
.fb-contact-links img { width: 38px; height: 38px; object-fit: contain; }
.fb-contact-links span { text-decoration: underline; }
.fb-contact-links a:hover span { text-decoration: none; }

.fb-badges {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 157px;
  padding: 22px 26px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 26px;
  background: rgba(255, 255, 255, .1);
}
.fb-badge-gcpp { width: 192px; height: auto; }
.fb-badge-cmp  { width: 97px;  height: auto; }
.fb-badge-tcf  { width: 127px; height: auto; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media screen and (max-width: 1100px) {
  .fb-hero-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .fb-hero-visual img { width: 130%; }
  .fb-hero-lead { grid-template-columns: 250px minmax(0, 1fr); gap: 32px; }
  .fb-card { padding: 36px 34px; }
  .fb-contact-card { grid-template-columns: minmax(0, 1fr) 420px; padding: 46px 40px 52px; }
  .fb-badge-gcpp { width: 160px; }
  .fb-badge-cmp  { width: 84px; }
  .fb-badge-tcf  { width: 108px; }
}

@media screen and (max-width: 960px) {
  .fb-hero { padding: 56px 0 64px; }
  /* drop the aurora below the title so it never sits behind the headline */
  .fb-hero::before { top: 150px; right: -30%; width: 120%; opacity: .6; }
  .fb-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .fb-hero-visual { order: -1; max-width: 340px; margin: 0 auto; }
  .fb-hero-visual img { width: 100%; margin: 0 auto; }
  .fb-hero-title { margin-bottom: 32px; max-width: none; }
  .fb-hero-lead { grid-template-columns: 240px minmax(0, 1fr); gap: 28px; margin-bottom: 36px; }
  .fb-hero-text, .fb-hero-kicker-sub { max-width: none; }

  .fb-approach-grid { grid-template-columns: 1fr; gap: 22px; }
  .fb-col { gap: 22px; }

  .fb-promise-panel { padding: 44px 34px 48px; border-radius: 32px; }
  .fb-promise-head { margin-bottom: 44px; }
  .fb-promise-grid { grid-template-columns: 1fr; gap: 34px; }

  .fb-contact-card { grid-template-columns: 1fr; gap: 34px; border-radius: 32px; }
  .fb-contact-head { margin-bottom: 34px; }
  .fb-badges { min-height: 0; }
}

@media screen and (max-width: 640px) {
  .fb-hero { padding: 48px 0 52px; }
  .fb-hero::before { top: 130px; right: -34%; width: 135%; }
  .fb-hero-lead { grid-template-columns: 1fr; gap: 22px; }
  .fb-hero-chart { max-width: 300px; }

  .fb-card { padding: 30px 26px; border-radius: 28px; }
  .fb-card-icon { width: 104px; margin-bottom: 24px; }
  .fb-card-illus { width: 100%; max-width: 278px; }

  .fb-promise { padding: 48px 0 40px; }
  .fb-promise-panel { padding: 34px 24px 38px; border-radius: 24px; }

  .fb-contact { padding: 40px 0 56px; }
  .fb-contact-card { padding: 34px 26px 40px; border-radius: 24px; }
  .fb-contact-card::after { width: 78%; right: -14%; bottom: -20%; }
  .fb-contact-links { gap: 28px; }
  .fb-badges { flex-wrap: wrap; gap: 14px; padding: 20px; border-radius: 20px; }
  .fb-badge-gcpp { width: 150px; }
  .fb-badge-cmp  { width: 74px; }
  .fb-badge-tcf  { width: 100px; }
}
