

@font-face { font-family: "Geist"; src: url("brand/Geist-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bitter"; src: url("brand/Bitter-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --px-ink: #0a211f;
  --px-paper: #f3f3f3;
  --px-teal: #19546e;
  --px-violet: #883fff;
  --px-pink: #ff74b3;
  --px-yellow: #ffec86;
  --px-blue: #0084ff;
  --px-lime: #cdff4d;
  /* BRAND SWITCH. The page takes its look from the six lines below: the warm gradient (pink to red to orange) with dark
     text on it; the quotes sit on the plain dark ink.
     For the Prosus Ventures look, use the six lines in the comment under them, and put the Prosus Ventures logo files back in the
     header and the footer of index.html (brand/prosus-ventures-black.svg and brand/prosus-ventures-white.svg, 734 x 101). */
  --px-g-brand: linear-gradient(180deg, #ff74b3 0%, #ff3820 40%, #fa6615 58%, #f6840e 75%, #f3a507 92%, #f3a507 100%);
  --px-g-brand-top: #ff74b3;
  --px-on-brand: #0a211f;
  --px-on-brand-inverse: #ffffff;
  --px-logo-on-brand: brightness(0);
  --px-quote-ground: #0a211f;
  /* The Prosus Ventures gradient. In the current look it is used in one place only: the Prosus Ventures contact card. */
  --px-g-ventures: linear-gradient(180deg, #000000 0%, #000000 36%, #000102 40%, #030a0d 44%, #071419 48%, #0a1d24 52%, #102730 56%, #14303b 60%, #193a48 64%, #1d4353 68%, #2a4b5e 72%, #405169 76%, #5a5674 80%, #765e80 84%, #92648b 88%, #af6c97 92%, #cb73a3 96%, #e87baf 100%);
  /* Prosus Ventures look:
  --px-g-brand: linear-gradient(180deg, #000000 0%, #000000 36%, #000102 40%, #030a0d 44%, #071419 48%, #0a1d24 52%, #102730 56%, #14303b 60%, #193a48 64%, #1d4353 68%, #2a4b5e 72%, #405169 76%, #5a5674 80%, #765e80 84%, #92648b 88%, #af6c97 92%, #cb73a3 96%, #e87baf 100%);
  --px-g-brand-top: #000;
  --px-on-brand: #f3f3f3;
  --px-on-brand-inverse: #0a211f;
  --px-logo-on-brand: brightness(0) invert(1);
  --px-quote-ground: var(--px-g-brand);
  */

  --ink: #0a211f;
  --muted: #47605d;
  --rule: #d3dad8;
  --bg: #f3f3f3;
  --button-bg: #0a211f;
  --button-ink: #ffffff;
  --focus: #883fff;
  --font: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Bitter", Georgia, "Times New Roman", serif;
}

h1, h2, h3 { font-weight: 500; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.05; }
.flair { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }

/* header: continues the top of the gradient; the two logos and the x take the text colour of the gradient */
.site-header { border-bottom: 0; background: var(--px-g-brand-top); }
.cobrand .logo-pv { height: 21px; }
.cobrand .logo-dm { height: 17px; filter: brightness(0); }
.cobrand .x { color: var(--px-ink); }
.site-header .cobrand .logo-pv, .site-header .cobrand .logo-dm { filter: var(--px-logo-on-brand); }
.site-header .cobrand .x { color: var(--px-on-brand); }

/* hero: a cover slide of the deck, with the report's own picture set into it */
.hero { padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); background: var(--px-g-brand); color: var(--px-on-brand); }
.hero h1, .hero .kicker { color: var(--px-on-brand); }
.hero .wrap { max-width: var(--wide); }
.hero h1 { font-size: clamp(3rem, 8.6vw, 7rem); letter-spacing: -0.045em; line-height: 0.94; max-width: 12ch; margin-bottom: 1.25rem; }
.hero h1 .flair { display: block; letter-spacing: -0.035em; }
.kicker { color: var(--px-ink); font-weight: 500; margin-bottom: 2.5rem; }
.hero-img { border-radius: 20px; }

/* sections */
.intro { padding-top: clamp(3rem, 7vw, 5rem); }
.chapter { border-top: 0; padding-top: clamp(3rem, 7vw, 5rem); }
/* chapter numbers, as on the deck's section slides; the last words of each heading are in the serif (.flair) */
main { counter-reset: section; }
.chapter h2::before { counter-increment: section; content: counter(section, decimal-leading-zero) "."; display: block; font-size: 1.25rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-bottom: 0.9rem; }
.button { border-radius: 999px; padding: 0.75rem 1.4rem; font-weight: 500; }
.button:hover { background: var(--px-violet); text-decoration: none; }

/* tiles and films */
.tile img, .film-poster img { border-radius: 16px; }
.tile h3 { font-weight: 500; }
.film-title { font-weight: 500; }
.play { background: rgba(10, 33, 31, 0.7); }

/* stat callouts: white cards on the paper ground */
.stats { border-top: 0; padding-top: 0; gap: 0.9rem; }
.stats li { background: #fff; border-radius: 16px; padding: 1.1rem 1.2rem 1rem; }
.stat-num { font-size: 2.3rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 0.35rem; }

/* charts: the report's images on a white card */
.chart img { border: 0; border-radius: 16px; background: #fff; }
.cap-title { font-weight: 500; }

/* quotes: the deck's dark quote slide, full width */
.quote-block { background: var(--px-quote-ground); color: #f3f3f3; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(5rem, 11vw, 8rem); margin: clamp(2rem, 5vw, 4rem) 0; }
.quote-block .wrap { max-width: var(--wide); }
.quote blockquote { font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.32; font-weight: 500; letter-spacing: -0.02em; }
.quote-block .role { color: #c3cdd0; }
.name { font-weight: 500; }

/* placeholder boxes, about, alerts and footer */
.placeholder { border-radius: 16px; }
.about { border-top: 0; }
.partner h3 { font-weight: 500; }
.alerts { border-top: 0; }
.site-footer { background: var(--px-ink); color: #c3cdd0; border-top: 0; margin-top: 4rem; }
.site-footer .cobrand .logo-dm { filter: brightness(0) invert(1); }
.site-footer .cobrand .x { color: #c3cdd0; }

/* One content width for the whole page: text, charts, quotes and cards share the same left and right edge. */
:root { --measure: 68rem; --wide: 68rem; }

/* one source line under a row of number cards, not one in every card */
.stats-source { margin: 0.7rem 0 0; }

/* the slot for the podcast video, as on the short and the interactive version */
.podcast-slot { padding: clamp(2rem, 5vw, 3.5rem) 0 0; }
.podcast { aspect-ratio: 16 / 9; border-radius: 20px; background: var(--px-ink); display: grid; place-items: center; }
.podcast-label { margin: 0; color: #f3f3f3; font-size: 1.1rem; font-weight: 500; }
.podcast-player { position: relative; overflow: hidden; background: #000; }
.podcast-player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; cursor: pointer; }
/* top-left corner: the video has subtitles burned in at the bottom, and during the silent preview those are what people read */
.podcast-play { position: absolute; left: 1rem; top: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1.3rem 0.7rem 1rem; border: 0; border-radius: 999px; background: rgba(10, 33, 31, 0.85); color: #fff; font: inherit; font-weight: 500; cursor: pointer; white-space: nowrap; }
.podcast-play:hover, .podcast-play:focus-visible { background: var(--px-violet); }
.podcast-play[hidden] { display: none; }
/* the stream could not load: a plain message, no play icon, wraps inside the player on a phone */
.podcast-play:disabled { cursor: default; background: rgba(10, 33, 31, 0.85); border-radius: 14px; white-space: normal; max-width: calc(100% - 2rem); padding-left: 1.3rem; text-align: left; }
.podcast-play:disabled svg { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* the Toqan picture under the partner case: same left edge as the text, never wider than the picture is on a laptop */
.partner-shot { margin: 1.5rem 0 0; }
.partner-shot img { display: block; width: 100%; max-width: 46rem; height: auto; border-radius: 16px; }
.partner-shot figcaption { margin-top: 0.6rem; color: var(--muted); font-size: 0.95rem; }

/* Cookie choice (consent.js): a small card at the bottom left with two equal buttons; "Cookie settings" in the footer opens it again. */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 1000; box-sizing: border-box; max-width: calc(100vw - 32px); display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; padding: 0.55rem 0.6rem 0.55rem 1rem; background: #fff; color: var(--px-ink); border: 1px solid #d5dcda; border-radius: 14px; box-shadow: 0 4px 18px rgba(10, 33, 31, 0.12); font-size: 0.85rem; line-height: 1.35; }
.consent[hidden] { display: none; }
.consent-text { margin: 0; }
.consent-text a { color: inherit; text-decoration: underline; }
.consent-buttons { display: flex; gap: 0.5rem; }
.consent-button { font: inherit; font-weight: 500; min-width: 5.5rem; padding: 0.4rem 0.9rem; border-radius: 999px; border: 1px solid var(--px-ink); background: var(--px-ink); color: #fff; cursor: pointer; }
.consent-button:hover, .consent-button:focus-visible { background: var(--px-violet); border-color: var(--px-violet); }
@media (max-width: 40rem) { .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
.site-footer .cookie-settings { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
