/* Partner logo cards with each broker's regulators (home page only; loaded after styles.css). */
.hero { padding-bottom: 182px; }
.partner { height: auto; min-height: 84px; width: 236px; padding: 12px 22px 11px; gap: 9px; grid-template-rows: auto auto; align-content: center; text-decoration: none; color: inherit; transition: border-color .25s, box-shadow .25s, transform .25s, background .25s; }
.partner img { height: var(--h, 28px); width: auto; max-width: 168px; object-fit: contain; }
a.partner:hover, .partner:hover { background: #fff; border-color: #c9d8f8; box-shadow: 0 10px 28px -14px rgba(30, 64, 175, .35); transform: translateY(-2px); }
.partner-regs { display: inline-flex; align-items: center; gap: 5px; font-size: .64rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; transition: color .25s; }
.partner-regs svg { width: 13px; height: 13px; flex: none; color: var(--green); }
.partner-regs em { font-style: normal; font-weight: 700; letter-spacing: .02em; color: var(--primary); background: var(--primary-soft); border-radius: 999px; padding: 1px 6px; margin-left: 2px; }
.partner:hover .partner-regs { color: var(--navy); }
@media (max-width: 720px) {
  .hero { padding-bottom: 170px; }
  .partner { min-height: 74px; width: 212px; padding: 10px 12px 9px; gap: 7px; }
  .partner img { height: calc(var(--h, 28px) * .8); max-width: 138px; }
  .partner-regs { font-size: .58rem; gap: 4px; }
  .partner-regs svg { width: 11px; height: 11px; }
}
@media (prefers-reduced-motion: reduce) { .partner, a.partner:hover { transition: none; transform: none; } }

/* "Featured on" panel in the hero, under the deal cards (28 Nov 2026). */
.hero-featured { position: absolute; right: 0; bottom: 12px; width: calc(47.5% - 20px); z-index: 3; animation: hfIn .9s .6s both cubic-bezier(.2,.8,.2,1); }
.hero-featured p { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.hero-featured p::before, .hero-featured p::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #d6dde8, transparent); }
.hf-grid { display: flex; flex-wrap: wrap; gap: 8px; } /* 9 chips since 30 Nov (G2): two justified rows, each chip as wide as its name needs */
.hf-grid a { flex: 1 1 auto; }
.hf-grid a { display: flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 10px; border-radius: 11px; background: rgba(255,255,255,.78); border: 1px solid #e3e9f3; box-shadow: 0 4px 14px -10px rgba(11,27,63,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--navy); font-size: .78rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform .2s, border-color .2s, box-shadow .2s; }
.hf-grid a img { width: 16px; height: 16px; border-radius: 4px; flex: none; filter: grayscale(.15); }
.hf-grid a:hover { transform: translateY(-2px); border-color: #c9d8f8; box-shadow: 0 10px 22px -14px rgba(30,64,175,.45); }
@keyframes hfIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hf-grid a { font-size: .72rem; padding: 0 7px; gap: 5px; } /* 10 chips since 30 Nov (WikiFX): compact at every desktop width so they stay on two rows */
@media (max-width: 1080px) { .hero-featured { position: static; width: 100%; max-width: 560px; margin: 8px auto 48px; } }
@media (max-width: 560px) { .hf-grid { grid-template-columns: repeat(2, 1fr); } .hf-grid a { font-size: .78rem; } }
@media (prefers-reduced-motion: reduce) { .hero-featured { animation: none; } .hf-grid a { transition: none; } }


/* Phones (founder, 28 Nov): the hero flows text -> buttons -> ticks -> launch note -> a flat, swipeable row of the
   3 example deal cards -> Featured on -> broker strip. No 3D stage, no parallax, no empty band. hero-deals-phone */
html { overflow-x: clip; }
@media (max-width: 760px) {
  .hero { min-height: 0; padding-top: 112px; }
  .hero .wrap { gap: 0; grid-template-columns: minmax(0, 1fr); }
  .hero-copy, .stage3d { min-width: 0; }
  .stage3d { height: auto; max-width: none; width: auto; margin: 26px -18px 0; perspective: none; }
  .stage3d .scene { position: static; inset: auto; transform: none !important; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 18px 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .stage3d .scene::-webkit-scrollbar { display: none; }
  .stage3d .trend, .stage3d .chip3d { display: none; }
  .stage3d .d3 { position: relative; left: auto; top: auto; flex: 0 0 76%; width: auto; transform: none !important; opacity: 1 !important; scroll-snap-align: center; box-shadow: 0 10px 30px -18px rgba(11, 27, 63, .35); backdrop-filter: none; }
  .hero-featured { margin: 18px auto 44px; }
  .journey.static .journey-stage { padding: 80px 18px 40px; }
  /* Deal types: swipe row instead of a pinned sideways scroll. */
  .hscroll-inner { height: auto; padding: 84px 0 36px; display: block; }
  .hscroll-head { padding: 0 18px; margin-bottom: 26px; }
  .htrack { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 6px 18px 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; transform: none !important; }
  .htrack::-webkit-scrollbar { display: none; }
  .htrack .model { width: 80vw; height: auto; min-height: 330px; scroll-snap-align: center; transform: none !important; opacity: 1 !important; }
  /* Broker strip text keeps a gutter. */
  .partners-label, .partners-names { padding: 0 18px; }
  .partners-label { font-size: .68rem; letter-spacing: .1em; line-height: 1.5; }
  /* "Fair by design": the two big cards full width, the 4 short ones in a 2 x 2 grid. */
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 12px; }
  .bento .b-a, .bento .b-b { grid-column: 1 / -1; }
  .bento .b-c, .bento .b-d, .bento .b-e, .bento .b-f { grid-column: span 1; padding: 18px 16px; }
  .bento .b-c h3, .bento .b-d h3, .bento .b-e h3, .bento .b-f h3 { font-size: 1.05rem; padding-top: 14px; line-height: 1.25; }
  .bento .b-c p, .bento .b-d p, .bento .b-e p, .bento .b-f p { font-size: .84rem; line-height: 1.45; }
  .bento .b-b .big-figure { font-size: 3.4rem; }
}

.hero-sub-m { display: none; }  /* short intro, shown on phones only (home-mobile.css) */

/* Hero kicker (30 Nov 2026, SEO chat): the pill sits inside the <h1>, so the heading reads
   "Free forex IB marketplace. Every IB deal. One place." It must look exactly as it did above the heading,
   so every style it would inherit from the heading is reset here. Phone spacing: home-mobile.css. */
.hero h1 { margin-top: 0; }
.hero h1 .h1-kicker { display: flex; width: fit-content; margin: 0 0 26px; font-family: 'Inter', system-ui, sans-serif; font-weight: 400; line-height: 1.6; letter-spacing: normal; }
.hero h1 .h1-kicker b { font-weight: 700; }
@media (max-width: 1080px) { .hero h1 .h1-kicker { margin-left: auto; margin-right: auto; } }

/* Fair by design grid without the reviews card (founder, 30 Nov 2026: removed). Five cards: 2 + 3 on desktop;
   on tablets the "$0" card spans the full row so no card is left alone. */
@media (min-width: 761px) and (max-width: 1080px) { .bento .b-b { grid-column: 1 / -1; } }
