/* Fixes on top of the exported design, loaded by every page after the export's own styles. */

/* Exit popup photos. The country photos are 400x300 landscape. Side by side they were cut into tall,
   narrow strips and blown up, so they looked cropped and soft. Stack a pair instead, so each stays
   landscape, and show a single photo on phones. */
.pp-exit-media { gap: 3px; background: var(--bg, #FAF8F4); overflow: hidden; }
.pp-exit-media img { object-fit: cover; object-position: 50% 40%; }
@media (min-width: 761px) {
  .pp-exit-card { align-items: stretch; }
  .pp-exit-media { border-radius: 26px 0 0 26px; }
  /* the photo column takes the height the text needs (min 460px) instead of growing the card */
  .pp-exit-media.is-pair { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); contain: size; min-height: 460px; }
  .pp-exit-media.is-pair img { min-height: 0; height: 100%; }
  [dir="rtl"] .pp-exit-media { border-radius: 0 26px 26px 0; }
}
@media (max-width: 760px) {
  .pp-exit-media { border-radius: 26px 26px 0 0; }
  .pp-exit-media.is-pair { grid-template-columns: minmax(0, 1fr); }
  .pp-exit-media.is-pair img + img { display: none; }
  .pp-exit-media, .pp-exit-media img { height: 26vh; max-height: 200px; }
}

/* The dark "Partner program · for agencies…" band above the header is removed from the markup at build
   time; the header was pushed down 32px to sit under it, so put it back at the top. */
.pp-ribbon { display: none !important; }
.pp .nav { top: env(safe-area-inset-top, 0px); }

/* ---------- One typeface: Plus Jakarta Sans everywhere (numbers were Barlow, mock-site previews Georgia) ---------- */
/* body.pp too: the export sets --pp-num (Barlow) on body.pp, which outranks a plain .pp */
:root, .pp, body.pp {
  --pp-num: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --serif: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}
.pp :is(.pp-stats dd, .pp-n, .gs-n, .pp-stat-n, .kpi .v) { font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* ---------- Header: the logo always sits on a light, solid-enough bar (it was transparent over photos) ---------- */
html:not([data-theme='dark']) .pp .nav .nav-bar,
html:not([data-theme='dark']) .pp-over:not(.pp-scrolled) .nav .nav-bar {
  background: rgba(255, 255, 255, .92) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.6) !important; backdrop-filter: blur(18px) saturate(1.6) !important;
  border-color: rgba(28, 26, 23, .06) !important;
  box-shadow: 0 6px 24px -14px rgba(18, 21, 33, .35) !important;
}

/* ---------- Header language button: no globe; show the language code instead ---------- */
.pp .nav .pp-lang-btn > svg.i { display: none !important; }
.pp .nav .pp-lang-btn > span { display: inline !important; font-weight: 700; font-size: 13px; letter-spacing: .02em; }
@media (max-width: 760px) {
  .pp .nav .pp-lang-btn { width: auto !important; min-width: 44px !important; padding: 0 10px !important; gap: 2px !important; justify-content: center; }
  .pp .nav .pp-lang-btn > svg:last-child { display: none !important; }
}

/* ---------- Hub headline: longer than the export's "Three products to sell", so a smaller size keeps it to
   three lines and the product cards near the fold (phones are set again below) ---------- */
html body.pp #hero.pp-hubhero h1 { font-size: clamp(2.6rem, 4.4vw, 4rem) !important; }

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  /* tighter rhythm: sections were 62px top and bottom */
  .pp section.sec { padding-top: 40px !important; padding-bottom: 40px !important; }
  .pp section.sec.pp-faq { padding-bottom: 0 !important; }
  .pp .sec-head { margin-bottom: 20px !important; }
  .pp .sec-head .h2, .pp .sec .h2 { font-size: clamp(1.6rem, 7.4vw, 2rem) !important; line-height: 1.12 !important; }

  /* card grids (benefits, promises, programs, tracks): compact rows instead of tall tiles */
  .pp :is(.pp-gain-grid, .pp-promise-grid) { gap: 10px !important; }
  .pp :is(.pp-gain-grid, .pp-promise-grid) > .pp-card {
    display: grid !important; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 2px;
    align-items: start; padding: 14px 16px !important; min-height: 0 !important;
  }
  .pp :is(.pp-gain-grid, .pp-promise-grid) > .pp-card > :is(svg, .pp-tr-ic, img):first-child { grid-row: 1 / span 2; width: 44px !important; height: 44px !important; margin: 0 !important; }
  .pp :is(.pp-gain-grid, .pp-promise-grid) > .pp-card > h3 { margin: 2px 0 0 !important; font-size: 16px !important; line-height: 1.3; }
  .pp :is(.pp-gain-grid, .pp-promise-grid) > .pp-card > p { margin: 0 !important; font-size: 14px !important; line-height: 1.45; }

  /* stats: two per row */
  .pp .pp-stats { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px 14px !important; }
  .pp .pp-stats .pp-stat { border: 0 !important; padding: 0 !important; }
  .pp .pp-backing { margin-top: 20px; }

  /* hub hero: the "NowFloats Super Intelligence Partner Program" chip slid under the fixed header on phones;
     the header already names the program, so the chip is hidden and the headline starts just below the header */
  .pp .pp-hubhero { padding-top: calc(var(--pp-navh, 68px) + 28px) !important; }
  .pp .pp-hubhero > .wrap { margin-top: 0 !important; } /* the export pulled the content up 56px, under the header */
  .pp .pp-hubhero .pp-hh-eyebrow { display: none !important; }
  /* the export sized the old, shorter headline at 11.8vw; the new one needs less to fit in four lines */
  html body.pp #hero.pp-hubhero h1 { font-size: clamp(1.9rem, 8.6vw, 2.5rem) !important; }
  /* product cards: the photo box keeps a short 16:9 shape (the photo was capped at 190px inside a taller 4:3 box,
     leaving a white gap under it), cards sit straight so they don't overlap, and the text has even padding */
  .pp .pp-hh-cards { gap: 16px !important; }
  .pp .pp-hh-card { rotate: 0deg !important; }
  .pp .pp-hh-pic:not(.pp-biz-ui) { aspect-ratio: 16 / 9 !important; }
  .pp .pp-hh-meta { padding: 14px 18px 18px !important; gap: 6px !important; }

  /* readable small print and comfortable inline links */
  .pp .eyebrow, .pp .pp-forline span { font-size: 12.5px !important; }
  .pp :is(p, li) a[href^="mailto:"], .pp :is(p, li) a[href^="tel:"] { display: inline-block; padding-block: 8px; }

  /* pages that open with a form: get to the first field fast */
  .pp .pp-phototop { height: 84px !important; min-height: 0 !important; }
  html[data-page="contact"] .pp-pagehead .pp-photo-wrap { display: none !important; }
  html[data-page="contact"] .pp-pagehead { padding-top: 92px !important; padding-bottom: 0 !important; }
  html[data-page="contact"] .pp-pagehead h1 { font-size: 1.9rem !important; margin-bottom: 6px !important; }
  html[data-page="contact"] .pp-contact-sec { padding-top: 16px !important; }
  html[data-page="contact"] .pp-contact-copy :is(h2, .lede) { display: none !important; }
  html[data-page="contact"] .pp-contact-copy { gap: 4px !important; margin-bottom: 8px !important; }
  html[data-page="contact"] .pp-contact-copy p { margin: 0 !important; font-size: 14px; }
  html[data-page="contact"] .pp-contact-box { padding-top: 18px !important; }
  html[data-page="contact"] .pp-seal-mark { display: none !important; }
  /* the sticky "Partner with us" bar must not sit on top of the form someone is filling in */
  html:is([data-page="contact"], [data-page="book"]) .pp-sticky { display: none !important; }
}

/* ---------- Demo / apply form, when the intro stacks above the form (tablet and phone):
   less to scroll past before the first field. Desktop (two columns) is unchanged. ---------- */
@media (max-width: 980px) {
  #demo.dt .dt-story { padding: 24px 24px 16px !important; }
  #demo.dt .pp-seal-mark { display: none !important; }
  #demo.dt .dt-h { max-width: none !important; margin-top: 0 !important; font-size: clamp(26px, 6.4vw, 34px) !important; }
  #demo.dt .dt-h em { white-space: nowrap; } /* keep "30-minute demo." together; the full stop was wrapping alone */
  #demo.dt .dt-lede { max-width: none !important; margin-top: 6px !important; font-size: 15.5px !important; }
  /* the three steps as one compact row */
  #demo.dt .dt-list { max-width: none !important; margin-top: 12px !important; display: flex !important; flex-wrap: wrap; gap: 6px 16px !important; font-size: 13.5px !important; }
  #demo.dt .dt-list li { gap: 7px !important; }
  #demo.dt .dt-list i { width: 22px !important; height: 22px !important; border-radius: 7px !important; font-size: 11.5px !important; }
  /* email / phone: one small line */
  #demo.dt .dt-story .pp-contact { margin: 10px 0 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 0 16px; font-size: 14px; }
  #demo.dt .dt-story .pp-contact li { margin: 0 !important; }
  #demo.dt .dt-story .pp-contact a { padding-block: 6px; }
  #demo.dt .dt-foot { padding-top: 8px !important; }
  #demo.dt .dt-talk { margin-bottom: 12px !important; }
  #demo.dt .dt-panel { padding: 20px 24px 24px !important; }
}
@media (max-width: 760px) {
  #demo.dt .dt-story { padding: 20px 18px 12px !important; }
  #demo.dt .dt-panel { padding: 16px 18px 20px !important; }
}

/* Partner forms: mobile number and "… you look after today" share a row (the phone field spanned the full width).
   Phones keep one column (the grid is already single-column there). The contact form is unchanged. */
.pp [data-pp-form] .pp-fgrid > .pp-telf.pp-full { grid-column: auto; }

/* ---------- Dropdown arrows: one chevron, 16px in from the edge, and room reserved so text never runs
   into it (the time-zone picker used the browser's arrow tight against the border; the dial-code arrow
   touched the code). Right-to-left pages mirror it. ---------- */
.pp select:not(.pp-dial-native) {
  -webkit-appearance: none !important; appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6070' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-size: 16px 16px !important;
  background-position: right 16px center !important;
  padding-right: 46px !important; padding-left: 16px !important;
  text-overflow: ellipsis;
}
[dir="rtl"] .pp select:not(.pp-dial-native), .pp [dir="rtl"] select:not(.pp-dial-native) {
  background-position: left 16px center !important; padding-left: 46px !important; padding-right: 16px !important;
}
/* time-zone picker shown after the form: same height and corners as the other fields */
.pp select[data-tz] { height: 44px; min-height: 44px; border: 1px solid var(--line, #E4DDD1); border-radius: 12px; background-color: #fff; font: inherit; font-size: 15px; color: var(--ink, #1c1a17); max-width: 100%; }
/* dial-code picker: arrow 12px in, and space between the code and the arrow */
.pp .pp-tel .pp-dialbtn {
  width: auto !important; min-width: 112px !important; max-width: 128px !important;
  padding-left: 12px !important; padding-right: 36px !important;
  background-position: right 12px center !important; background-size: 14px 14px !important;
}

/* Campaign pages (/c-hot, /c-edu): no "1 Fill in the form / 2 Pick a demo time / 3 …" steps beside the form;
   they made the left side much taller than the form. The intro, email and phone stay. */
html:is([data-page="campaign"], [data-page="campaignedu"]) #demo.dt .dt-list { display: none !important; }
html:is([data-page="campaign"], [data-page="campaignedu"]) #demo.dt .dt-story .pp-contact { margin-top: 28px !important; }
@media (min-width: 981px) {
  html:is([data-page="campaign"], [data-page="campaignedu"]) #demo.dt .dt-story { justify-content: center; padding-bottom: 48px !important; }
}

/* Contact form: official email and mobile/WhatsApp share a row (the phone field spanned the full width). */
.pp [data-pp-contact] .pp-fgrid > .pp-telf { grid-column: auto !important; }
/* contact form fields are 52px tall; the phone box was 48px, so the email/phone row didn't line up */
.pp [data-pp-contact] .pp-tel .pp-dial, .pp [data-pp-contact] .pp-tel .pp-dialbtn, .pp [data-pp-contact] .pp-tel input { height: 52px !important; min-height: 52px !important; }

/* ==========================================================================
   nowfloats.com accents (26 Nov): charcoal ink, the same gold tints, and the
   site's highlight: a solid cream block behind the words (like selected text)
   instead of the yellow highlighter band and its shimmer.
   ========================================================================== */
:root {
  --ink: #2b2b2b;           /* nowfloats.com --nf-ink-900 */
  --ink-2: #4a4a4a;         /* --nf-ink */
  --amber: #ffb900;         /* --nf-gold */
  --amber-hover: #e6a700;   /* --nf-gold-600 */
  --amber-tint: #fffaf0;    /* --nf-gold-50 */
  --amber-tint-2: #fff1cc;  /* --nf-gold-100 */
  --nf-hl: #ffe9a6;         /* nowfloats.com --nf-hl: highlight block */
}

::selection {
  background: var(--nf-hl);
  color: #2b2b2b;
}

/* Every highlighted phrase in a heading. The :is(#nf-hl#nf-hl) argument never
   matches; it only lifts specificity above the export's #hero / #demo rules so
   this one look wins everywhere without !important (which would freeze the
   sweep-in animation below). */
.pp :is(h1, h2, .h2, h3, #nf-hl#nf-hl) em,
.pp :is(#founding-h, #nf-hl#nf-hl) b {
  font-style: normal;
  font-weight: inherit; /* same weight as the rest of the heading */
  color: var(--ink) !important;
  background-image: linear-gradient(var(--nf-hl), var(--nf-hl));
  background-repeat: no-repeat;
  background-position: 0 0;
  /* --hl (0..1) is set by site.js from scroll: fills as the phrase rises,
     full by the middle of the screen; full without JS or with reduced motion */
  background-size: calc(var(--hl, 1) * 100%) 100%;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  padding: 0 .08em;
  margin: 0 -.04em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: none;
  transition: background-size .6s cubic-bezier(.22, 1, .36, 1);
}

[dir='rtl'] .pp :is(h1, h2, .h2, h3, #nf-hl#nf-hl) em,
[dir='rtl'] .pp :is(#founding-h, #nf-hl#nf-hl) b {
  background-position: 100% 0;
}


/* Keep the cream block behind every letter: heading lines overlap a little,
   so the block of a lower line would otherwise cover the descenders of the
   line above. The mark goes one layer down inside its isolated heading. */
.pp :is(h1, h2, .h2, h3):has(em),
.pp #founding-h {
  isolation: isolate;
}

.pp :is(h1, h2, .h2, h3, #nf-hl#nf-hl) em,
.pp :is(#founding-h, #nf-hl#nf-hl) b {
  position: relative;
  z-index: -1;
}

/* before site.js measures, highlights start empty (only when it runs) */
html.pp-hl .pp :is(h1, h2, .h2, h3, #nf-hl#nf-hl) em,
html.pp-hl .pp :is(#founding-h, #nf-hl#nf-hl) b {
  --hl: 0;
}

/* ==========================================================================
   nowfloats.com art direction (26 Nov): the partner pages now look like
   www.nowfloats.com and its careers page. White paper with a faint hairline
   grid, charcoal ink, gold only as an accent, the site's "print" buttons
   (gold + halftone, ink keyline, hard offset shadow), keyline secondary
   buttons, a flat full-width header with a hairline edge, uppercase
   eyebrows with a gold rule, medium-weight display headings, flat hairline
   cards. Content and layout are unchanged. The :is(#nf#nf) arguments never
   match; they only lift specificity over the export's id-based rules.
   ========================================================================== */
:root {
  --bg: #ffffff;
  --bg-deep: #fafaf8;
  --surface: #ffffff;
  --muted: #666666;
  --faint: #8c8a85;
  --line: #e7e5e0;
  --line-2: #d4d1ca;
  --glass: #ffffff;
  --glass-strong: #ffffff;
  --glass-solid: #ffffff;
  --glass-edge: #e7e5e0;
  --lav-ink: #8a6300;        /* eyebrows were purple; nowfloats gold-700 */
  --focus: #ffb900;
  --on-amber: #2b2b2b;
  --shadow-1: none;
  --shadow-2: none;
  --shadow-3: 0 30px 60px -28px rgba(43, 43, 43, .22);
  --shadow-amber: none;
  --nf-ease: cubic-bezier(.22, 1, .36, 1);
}

/* paper: white with the site's hairline grid (beats the export's warm body.pp ground) */
html:not([data-theme='dark']) body:is(.pp, #nf#nf), html:not([data-theme='dark']) body {
  background-color: #fff !important;
  background-image:
    linear-gradient(rgba(43, 43, 43, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 43, 43, .05) 1px, transparent 1px) !important;
  background-size: 96px 96px !important;
  background-attachment: fixed !important;
}
:focus-visible { outline: 3px solid #ffb900; outline-offset: 2px; }

/* header: one flat white bar across the page, hairline bottom edge */
.pp .nav, .pp :is(.nav, #nf#nf).nav {
  padding-top: 0;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e7e5e0;
}
.pp :is(.nav-bar, #nf#nf) {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  min-height: 72px;
  padding-inline: 0;
}
.pp .nav-links a { color: #2b2b2b; font-weight: 500; }
.pp .nav-links a:hover { color: #2b2b2b; text-decoration: underline; text-decoration-color: #e6a700; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* buttons: nowfloats.com .nf-btn */
.pp :is(.btn, #nf#nf) {
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: -.005em;
  transition: transform .25s var(--nf-ease), box-shadow .25s var(--nf-ease), background-color .25s var(--nf-ease);
}
.pp :is(.btn-amber, #nf#nf) {
  color: #2b2b2b;
  border: 1px solid #2b2b2b;
  background:
    radial-gradient(rgba(43, 43, 43, .13) .7px, transparent .9px) 0 0 / 4px 4px,
    linear-gradient(180deg, #ffc934 0%, #ffb900 55%, #f2a900 100%);
  box-shadow: 4px 4px 0 #2b2b2b;
}
.pp :is(.btn-amber, #nf#nf):hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #2b2b2b; filter: none; }
.pp :is(.btn-amber, #nf#nf):active { transform: translate(4px, 4px); box-shadow: 0 0 0 #2b2b2b; }
.pp :is(.btn-sm, #nf#nf).btn-amber { box-shadow: 3px 3px 0 #2b2b2b; }
.pp :is(.btn-glass, #nf#nf) {
  color: #2b2b2b;
  background: #fff;
  border: 1px solid #2b2b2b;
  box-shadow: 0 0 0 #ffb900;
}
.pp :is(.btn-glass, #nf#nf):hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 #ffb900; background: #fff; }
.pp .pp-login, .pp .pp-lang-btn { border-radius: 12px; }

/* eyebrows: uppercase, letter-spaced, led by a short gold rule */
.pp :is(.eyebrow, #nf#nf) {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  color: #4a4a4a;
}
.pp :is(.eyebrow, #nf#nf) .dot { display: none; }
.pp :is(.eyebrow, #nf#nf)::before {
  content: "";
  width: 28px;
  height: 1px;
  flex: none;
  background: #ffb900;
}

/* display headings: the site's medium weight and tight tracking */
.pp :is(h1, #nf#nf), .pp :is(h1, #nf#nf) em, .pp :is(.h2, h2, #nf#nf), .pp :is(.h2, h2, #nf#nf) em {
  font-weight: 500 !important;
  letter-spacing: -.04em !important;
}

/* cards: flat, hairline, 16px corners */
.pp :is(.card, .gcard, .tile, .feat, .kpi, .pp-card, #nf#nf):not(.btn) {
  border-color: #e7e5e0;
  box-shadow: none;
}

/* form submit buttons (book / contact / apply): same print-style primary */
.pp :is(.dt-cta, #nf#nf) {
  border-radius: 12px;
  color: #2b2b2b;
  border: 1px solid #2b2b2b;
  background:
    radial-gradient(rgba(43, 43, 43, .13) .7px, transparent .9px) 0 0 / 4px 4px,
    linear-gradient(180deg, #ffc934 0%, #ffb900 55%, #f2a900 100%);
  box-shadow: 4px 4px 0 #2b2b2b;
  font-weight: 600;
  transition: transform .25s var(--nf-ease), box-shadow .25s var(--nf-ease);
}
.pp :is(.dt-cta, #nf#nf):hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #2b2b2b; filter: none; }

@media (prefers-reduced-motion: reduce) {
  .pp :is(.btn, .dt-cta, #nf#nf), .pp :is(.btn, .dt-cta, #nf#nf):hover { transform: none !important; }
}

/* the export re-declares its warm tokens on body.pp; bring them to nowfloats.com */
html:not([data-theme='dark']) body:is(.pp, #nf#nf) {
  --ink: #2b2b2b; --muted: #666666; --faint: #8c8a85; --line: #e7e5e0;
  --nf-input: #d4d1ca; --nf-seg: #f3f2ee; --nf-link: #8a6300;
  --nf-orange: #e6a700; --nf-grad: linear-gradient(90deg, #ffc934, #ffb900 55%, #e6a700);
}

/* header brand: NowFloats wordmark | PARTNER (as "NowFloats | CAREER" on nowfloats.com) */
.pp :is(.pp-nf-brand, #nf#nf) .wm {
  display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 14px;
  text-decoration: none; width: auto; height: auto;
}
.pp :is(.pp-nf-brand, #nf#nf) .pp-nf-mark { display: block; width: 150px !important; height: auto !important; max-width: none; }
.pp :is(.pp-nf-brand, #nf#nf) .pp-nf-sep { display: block; width: 1.5px; height: 26px; background: #2b2b2b; flex: none; }
.pp :is(.pp-nf-brand, #nf#nf) .pp-nf-sect {
  display: block; font-size: 13px !important; font-weight: 700 !important; line-height: 1;
  letter-spacing: .18em !important; text-transform: uppercase !important; color: #2b2b2b; white-space: nowrap;
}
.pp :is(.pp-nf-brand, #nf#nf) .wm:hover .pp-nf-sect { color: #4a4a4a; }
@media (max-width: 479px) {
  .pp :is(.pp-nf-brand, #nf#nf) .wm { gap: 10px; }
  .pp :is(.pp-nf-brand, #nf#nf) .pp-nf-mark { width: 118px !important; }
  .pp :is(.pp-nf-brand, #nf#nf) .pp-nf-sep { height: 20px; }
  .pp :is(.pp-nf-brand, #nf#nf) .pp-nf-sect { font-size: 11px !important; letter-spacing: .14em !important; }
}
html[data-theme='dark'] .pp .pp-nf-mark { filter: invert(1); }
html[data-theme='dark'] .pp .pp-nf-sep { background: #fff; }
html[data-theme='dark'] .pp .pp-nf-sect { color: #fff; }
