/* ==========================================================================
   JNP Small Business — page: the-numbers (page-specific rules only)
   Figma 49:117 "v2 Portfolio — The numbers (Desktop 1728)". Loads after jnp.css.
   ========================================================================== */

/* --- Shared page helpers ---------------------------------------------------- */
/* Light-surface eyebrows in this design are rust (#C0451E), not orange. */
.numbers-eyebrow-rust { color: var(--jnp-rust); }

.numbers-h2-48 { font-size: 48px; line-height: 54px; letter-spacing: -0.028em; }
.numbers-h2-52 { font-size: 52px; line-height: 58px; letter-spacing: -0.028em; }
.numbers-h2-56 { font-size: 56px; line-height: 62px; letter-spacing: -0.03em; }
.numbers-h2-58 { font-size: 58px; line-height: 62px; letter-spacing: -0.03em; }
.numbers-lede-19 { font-size: 19px; line-height: 32px; }
.numbers-body-31 { line-height: 31px; }
.jnp-sec-ink .numbers-body-31 { color: rgba(255,255,255,.78); }

/* Small grey source lines used across the page */
.numbers-src, .numbers-chart-src {
  font-size: 11.5px; line-height: 18px; color: #8A8799;
}
.jnp-sec-ink .numbers-chart-src { color: rgba(255,255,255,.4); }

/* Full-bleed photo background + directional gradient (hero, next generation) */
.numbers-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.numbers-bg img { width: 100%; height: 100%; object-fit: cover; }
.numbers-bg-scrim { position: absolute; inset: 0; }
.numbers-hero .numbers-bg-scrim { background: linear-gradient(90deg, rgba(19,26,56,.95) 0%, rgba(43,35,80,.76) 48%, rgba(107,58,94,.3) 100%); }
.numbers-nextgen .numbers-bg-scrim { background: linear-gradient(90deg, rgba(19,26,56,.96) 0%, rgba(43,35,80,.84) 55%, rgba(43,35,80,.42) 100%); }
.numbers-hero .jnp-wrap, .numbers-nextgen .jnp-wrap { position: relative; z-index: 1; }

/* --- 01 Hero (49:118) ------------------------------------------------------ */
.numbers-hero { background: var(--jnp-ink); }
.numbers-hero-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.numbers-hero-title { font-size: 76px; line-height: 78px; letter-spacing: -0.035em; max-width: 1180px; }
.numbers-hero-lede { font-size: 20px; line-height: 34px; max-width: 760px; }

/* --- 02 The scale (49:137) ------------------------------------------------- */
.numbers-scale { padding: 112px 0; }
.numbers-scale .jnp-wrap { display: flex; flex-direction: column; gap: 44px; }
.numbers-scale-head { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.numbers-scale-head .jnp-lede { max-width: 820px; }

.numbers-band { position: relative; margin: 0; height: 560px; border-radius: 16px; overflow: hidden; background: var(--jnp-ink); }
.numbers-band > img { width: 100%; height: 100%; object-fit: cover; }
.numbers-band-scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 380px; background: linear-gradient(180deg, rgba(19,26,56,0) 0%, rgba(19,26,56,.68) 40%, rgba(19,26,56,.95) 100%); }
.numbers-band-stats { position: absolute; left: 48px; right: 48px; bottom: 44px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 44px; }
.numbers-band-stat { display: flex; flex-direction: column; gap: 9px; }
.numbers-band-rule { display: block; width: 100%; height: 3px; background: var(--jnp-orange); }
.numbers-band-fig { font-family: var(--jnp-display); font-weight: 700; font-size: 40px; line-height: 1.1; letter-spacing: -0.025em; color: #fff; }
.numbers-band-label { font-size: 14.5px; line-height: 23px; color: rgba(255,255,255,.82); }
.numbers-band-src { font-size: 11px; line-height: 1.3; color: rgba(255,255,255,.5); }

/* --- 03 Going backwards (49:160) ------------------------------------------- */
.numbers-direction { padding: 104px 0; }
.numbers-direction .jnp-wrap { display: flex; flex-direction: column; gap: 52px; }
.numbers-direction-rule { background: rgba(255,255,255,.16); }

/* Giant number + caption (shared with 06 "48%") */
.numbers-heronum { display: flex; align-items: flex-end; gap: 48px; width: 100%; }
.numbers-heronum-fig { font-family: var(--jnp-display); font-weight: 700; font-size: 196px; line-height: 180px; letter-spacing: -0.04em; color: #fff; white-space: nowrap; flex: 0 0 auto; }
.numbers-heronum-fig.is-rust { color: var(--jnp-rust); }
.numbers-heronum-cap { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding-bottom: 30px; }
.numbers-heronum-label { font-size: 22px; line-height: 32px; color: rgba(255,255,255,.85); }
.numbers-heronum-src { font-size: 12px; line-height: 18px; color: rgba(255,255,255,.45); }

.numbers-direction-split { display: grid; grid-template-columns: 620px minmax(0,1fr); gap: 100px; align-items: start; }
.numbers-direction-left { display: flex; flex-direction: column; gap: 22px; }

/* Charts (shared) */
.numbers-chart { margin: 0; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; width: 100%; min-width: 0; }
.numbers-chart-title { font-family: var(--jnp-ui); font-weight: 600; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #8A8799; line-height: 1.2; }
.jnp-sec-ink .numbers-chart-title { color: rgba(255,255,255,.55); }
.numbers-bars { display: flex; gap: 26px; width: 100%; align-items: flex-end; }
.numbers-bar-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.numbers-bars-admin .numbers-bar-col { height: 330px; }
.numbers-bar { display: block; width: 100%; height: var(--h); border-radius: 4px; }
.numbers-bar-muted { background: rgba(255,255,255,.22); }
.numbers-bar-line { background: var(--jnp-line); }
.numbers-bar-rust { background: var(--jnp-rust); }
.numbers-bar-val { font-family: var(--jnp-display); font-weight: 700; font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; color: #fff; }
.numbers-bar-val.is-accent { color: var(--jnp-orange); }
.numbers-bar-year { font-size: 12.5px; line-height: 1.3; color: rgba(255,255,255,.55); }

/* --- 04 Getting paid (49:188) ---------------------------------------------- */
.numbers-paid-split { display: grid; grid-template-columns: 560px minmax(0,1fr); gap: 90px; align-items: start; }
.numbers-paid-photo { height: 640px; border-radius: 16px; }
.numbers-photo-stat { margin: 0; }
.numbers-photo-scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 420px; background: linear-gradient(180deg, rgba(19,26,56,0) 0%, rgba(19,26,56,.62) 38%, rgba(19,26,56,.96) 100%); }
.numbers-photo-overlay { position: absolute; left: 36px; right: 36px; bottom: 30px; max-width: 400px; display: flex; flex-direction: column; gap: 10px; }
.numbers-photo-fig { font-family: var(--jnp-display); font-weight: 700; font-size: 72px; line-height: 74px; letter-spacing: -0.03em; color: #fff; }
.numbers-photo-label { font-size: 17px; line-height: 26px; color: rgba(255,255,255,.85); }
.numbers-photo-src { font-size: 11.5px; line-height: 1.3; color: rgba(255,255,255,.5); margin-top: -2px; }

.numbers-paid-right { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; min-width: 0; }
.numbers-chart-days { padding-top: 10px; gap: 18px; }
.numbers-hbars { display: flex; flex-direction: column; gap: 18px; width: 100%; }
.numbers-hbar-row { display: flex; align-items: center; gap: 16px; width: 100%; }
.numbers-hbar-label { flex: 0 0 120px; font-size: 13.5px; line-height: 1.3; color: var(--jnp-slate); }
.numbers-hbar { display: block; height: 30px; border-radius: 4px; width: var(--w); max-width: 100%; flex: 0 1 auto; }
.numbers-hbar.numbers-bar-muted { background: var(--jnp-line); }
.numbers-hbar-val { font-family: var(--jnp-display); font-weight: 700; font-size: 19px; line-height: 1.2; letter-spacing: -0.015em; color: var(--jnp-slate); white-space: nowrap; }
.numbers-hbar-val.is-accent { color: var(--jnp-rust); }
.numbers-chart-days .numbers-chart-src { max-width: 620px; }

/* --- 05 Red tape (49:210) -------------------------------------------------- */
.numbers-redtape .jnp-wrap { display: flex; flex-direction: column; gap: 56px; }
.numbers-redtape-split { display: grid; grid-template-columns: 600px minmax(0,1fr); gap: 90px; align-items: start; width: 100%; }
.numbers-redtape-left { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.numbers-chart-compliance { gap: 24px; }
.numbers-bars-compliance { gap: 40px; }
.numbers-bars-compliance .numbers-bar { border-radius: 6px; }
.numbers-bars-compliance .numbers-bar-val { font-size: 38px; letter-spacing: -0.025em; }
.numbers-bars-compliance .numbers-bar-val.is-muted { color: var(--jnp-slate); }
.numbers-bars-compliance .numbers-bar-val.is-accent { color: var(--jnp-rust); }
.numbers-bars-compliance .numbers-bar-year { font-size: 13px; color: var(--jnp-slate); }
.numbers-chart-compliance .numbers-chart-src { max-width: 500px; }

.numbers-callout { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; border-radius: 10px; background: var(--jnp-grad-1); white-space: nowrap; }
.numbers-callout strong { font-family: var(--jnp-display); font-weight: 700; font-size: 16px; letter-spacing: -0.005em; color: #fff; }
.numbers-callout span { font-size: 14px; color: rgba(255,255,255,.7); }

/* Supporting stat rows (05 inline figure+text; 06 stacked) */
.numbers-statrow { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; width: 100%; }
.numbers-statrow-item { border-top: 1px solid var(--jnp-line); padding-top: 26px; display: flex; gap: 18px; align-items: flex-start; min-width: 0; }
.numbers-statrow-fig { font-family: var(--jnp-display); font-weight: 700; font-size: 40px; line-height: 1.1; letter-spacing: -0.025em; color: var(--jnp-ink); white-space: nowrap; }
.numbers-statrow-text { flex: 1 1 0; min-width: 0; font-size: 15px; line-height: 24px; color: var(--jnp-slate); }
.numbers-statrow-stacked { gap: 36px; }
.numbers-statrow-stacked .numbers-statrow-item { flex-direction: column; gap: 10px; padding-top: 24px; }
.numbers-statrow-stacked .numbers-statrow-fig { font-size: 38px; }

/* --- 06 Credit and the owner (49:242) -------------------------------------- */
.numbers-credit { padding: 112px 0; }
.numbers-credit .jnp-wrap { display: flex; flex-direction: column; gap: 76px; }
.numbers-credit-split { display: grid; grid-template-columns: 560px minmax(0,1fr); gap: 90px; align-items: center; width: 100%; }
.numbers-credit-photo { margin: 0; height: 620px; border-radius: 16px; }
.numbers-credit-right { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; min-width: 0; }
.numbers-credit-stats { display: flex; flex-direction: column; gap: 26px; width: 100%; }
.numbers-credit-stat { border-top: 1px solid var(--jnp-line); padding-top: 22px; display: flex; gap: 20px; align-items: flex-start; }
.numbers-credit-fig { flex: 0 0 180px; font-family: var(--jnp-display); font-weight: 700; font-size: 36px; line-height: 1.1; letter-spacing: -0.025em; color: var(--jnp-ink); }
.numbers-credit-text { flex: 1 1 0; min-width: 0; font-size: 15.5px; line-height: 25px; color: var(--jnp-slate); }

.numbers-owner { display: flex; flex-direction: column; gap: 40px; align-items: flex-start; width: 100%; }
.numbers-heronum-owner { gap: 52px; }
.numbers-heronum-owner .numbers-heronum-fig { font-size: 184px; line-height: 168px; }
.numbers-heronum-owner .numbers-heronum-cap { padding-bottom: 28px; gap: 12px; }
.numbers-heronum-label.is-display { font-family: var(--jnp-display); font-weight: 700; font-size: 28px; line-height: 38px; letter-spacing: -0.015em; color: var(--jnp-ink); }
.numbers-heronum-owner .numbers-heronum-src { color: #8A8799; }
.numbers-owner-close { max-width: 900px; }

/* --- 07 Next generation (49:274) ------------------------------------------- */
.numbers-nextgen { padding: 126px 0; background: var(--jnp-ink); }
.numbers-nextgen .jnp-wrap { display: flex; flex-direction: column; gap: 34px; align-items: flex-start; }
.numbers-nextgen .numbers-h2-56 { max-width: 1000px; }
.numbers-nextgen-lede { max-width: 720px; }
.numbers-quote { margin: 0; padding-top: 22px; display: flex; gap: 28px; align-items: stretch; width: 100%; }
.numbers-quote-rule { display: block; flex: 0 0 4px; width: 4px; background: var(--jnp-orange); }
.numbers-quote-body { display: flex; flex-direction: column; gap: 18px; max-width: 940px; }
.numbers-quote-text { font-family: var(--jnp-display); font-weight: 500; font-size: 32px; line-height: 44px; letter-spacing: -0.02em; color: #fff; }
.numbers-quote-cite { font-size: 14px; line-height: 1.3; letter-spacing: 0.01em; color: rgba(255,255,255,.6); }

/* --- 08 Close (49:283) ----------------------------------------------------- */
.numbers-close { padding: 120px 0; }
.numbers-close .jnp-wrap { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.numbers-close-title { max-width: 1000px; }
.numbers-close-lede { max-width: 820px; }

/* --- 07 Register (49:289) -------------------------------------------------- */
.numbers-register { padding: 118px 0; }
.numbers-register-split { gap: 110px; }
.numbers-register-left { gap: 22px; }
.numbers-register-body { color: rgba(255,255,255,.78); }
.numbers-register .jnp-btn { padding-left: 36px; padding-right: 36px; }

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 1200px) {
  .numbers-hero-title { font-size: 64px; line-height: 68px; }
  .numbers-h2-52, .numbers-h2-56, .numbers-h2-58 { font-size: 44px; line-height: 50px; }
  .numbers-h2-48 { font-size: 40px; line-height: 46px; }
  .numbers-band { height: 520px; }
  .numbers-band-stats { gap: 28px; left: 36px; right: 36px; }
  .numbers-band-fig { font-size: 34px; }
  .numbers-heronum-fig { font-size: 140px; line-height: 130px; }
  .numbers-heronum-owner .numbers-heronum-fig { font-size: 132px; line-height: 122px; }
  .numbers-heronum-cap { padding-bottom: 18px; }
  .numbers-direction-split, .numbers-paid-split, .numbers-redtape-split, .numbers-credit-split { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; }
  .numbers-paid-photo, .numbers-credit-photo { height: 560px; }
  .numbers-hbar-row { display: grid; grid-template-columns: 120px minmax(0,1fr) auto; }
  .numbers-hbar { width: var(--pct); max-width: none; }
  .numbers-register-split { gap: 60px; }
  .numbers-quote-text { font-size: 28px; line-height: 38px; }
}

@media (max-width: 991px) {
  .numbers-hero-title { font-size: 56px; line-height: 60px; }
  .numbers-h2-52, .numbers-h2-56, .numbers-h2-58 { font-size: 38px; line-height: 44px; }
  .numbers-h2-48 { font-size: 36px; line-height: 42px; }
  .numbers-scale, .numbers-direction, .numbers-credit, .numbers-nextgen, .numbers-close, .numbers-register { padding: 80px 0; }
  .numbers-band { height: auto; min-height: 520px; display: flex; flex-direction: column; }
  .numbers-band > img { position: absolute; inset: 0; }
  .numbers-band-scrim { height: 70%; }
  .numbers-band-stats { position: relative; left: auto; right: auto; bottom: auto; margin: auto 28px 28px; padding-top: 220px; grid-template-columns: 1fr; gap: 20px; }
  .numbers-heronum { flex-direction: column; align-items: flex-start; gap: 16px; }
  .numbers-heronum-fig { font-size: 104px; line-height: 96px; }
  .numbers-heronum-owner .numbers-heronum-fig { font-size: 104px; line-height: 96px; }
  .numbers-heronum-cap { padding-bottom: 0; }
  .numbers-direction-split, .numbers-paid-split, .numbers-redtape-split, .numbers-credit-split { grid-template-columns: 1fr; gap: 48px; }
  .numbers-paid-photo, .numbers-credit-photo { height: 520px; max-width: 560px; width: 100%; }
  .numbers-bars-admin .numbers-bar-col { height: 300px; }
  .numbers-bars-admin .numbers-bar { height: calc(var(--h) * .9); }
  .numbers-bars-compliance .numbers-bar { height: calc(var(--h) * .8); }
  .numbers-bars-compliance .numbers-bar-val { font-size: 32px; }
  .numbers-statrow { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
  .numbers-heronum-label.is-display { font-size: 24px; line-height: 32px; }
  .numbers-quote-text { font-size: 24px; line-height: 34px; }
}

@media (max-width: 767px) {
  .numbers-hero-title { font-size: 44px; line-height: 48px; }
  .numbers-hero-lede { font-size: 18px; line-height: 29px; }
  .numbers-h2-52, .numbers-h2-56, .numbers-h2-58, .numbers-h2-48 { font-size: 32px; line-height: 38px; }
  .numbers-lede-19 { font-size: 18px; line-height: 29px; }
  .numbers-scale, .numbers-direction, .numbers-credit, .numbers-nextgen, .numbers-close, .numbers-register { padding: 64px 0; }
  .numbers-scale .jnp-wrap { gap: 32px; }
  .numbers-band { min-height: 480px; border-radius: 14px; }
  .numbers-band-stats { margin: auto 20px 20px; padding-top: 200px; }
  .numbers-band-fig { font-size: 30px; }
  .numbers-direction .jnp-wrap { gap: 36px; }
  .numbers-heronum-fig, .numbers-heronum-owner .numbers-heronum-fig { font-size: 68px; line-height: 64px; letter-spacing: -0.035em; }
  .numbers-heronum-label { font-size: 18px; line-height: 27px; }
  .numbers-bars { gap: 14px; }
  .numbers-bars-admin .numbers-bar-col { height: 240px; }
  .numbers-bars-admin .numbers-bar { height: calc(var(--h) * .7); }
  .numbers-bars-compliance .numbers-bar { height: calc(var(--h) * .6); }
  .numbers-bar-val { font-size: 20px; }
  .numbers-bars-compliance { gap: 20px; }
  .numbers-bars-compliance .numbers-bar-val { font-size: 26px; }
  .numbers-callout { white-space: normal; flex-wrap: wrap; gap: 6px 12px; }
  .numbers-paid-photo, .numbers-credit-photo { height: 440px; }
  .numbers-photo-overlay { left: 24px; right: 24px; bottom: 22px; }
  .numbers-photo-fig { font-size: 56px; line-height: 58px; }
  .numbers-hbar-row { grid-template-columns: 1fr; gap: 8px; }
  .numbers-hbar-label { flex-basis: auto; }
  .numbers-statrow { grid-template-columns: 1fr; gap: 18px; }
  .numbers-statrow-item { padding-top: 20px; }
  .numbers-statrow-fig { font-size: 34px; }
  .numbers-credit .jnp-wrap { gap: 56px; }
  .numbers-credit-stat { flex-direction: column; gap: 8px; }
  .numbers-credit-fig { flex-basis: auto; }
  .numbers-heronum-label.is-display { font-size: 21px; line-height: 29px; }
  .numbers-quote { gap: 18px; }
  .numbers-quote-text { font-size: 21px; line-height: 30px; }
  .numbers-register-split { gap: 40px; }
  .numbers-register .jnp-btn { width: 100%; }
}
