/* Finfo landing page 2026, version 4 – v3 layout with InterVariable and the Finfo360 Tailwind palette (Blue 500, Slate scale).
   Standalone stylesheet (does not depend on text.css landing-2026.css or landing-2026-v2.css) */

/* InterVariable (Inter 4, rsms.me/inter), self-hosted. SIL Open Font License: media/fonts/Inter-LICENSE.txt */
@font-face {
  font-family: InterVariable;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/fonts/InterVariable.woff2") format("woff2");
}

:root {
  --ink: #0f172a;
  --ink-soft: #64748b;
  --ink-faint: #94a3b8;
  --blue: #3b82f6;
  --blue-deep: #1e40af;
  --navy: #172554;
  --mist: #f1f5f9;
  --rule: #e2e8f0;
  --white: #fff;
  --sans: "InterVariable", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: 32px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  /* Blue glow from the top of the page, as on the Finfo360 sign-in screen (Blue 200-ish #c1d2fc fading out) */
  background: radial-gradient(circle at 50% 0, #c1d2fc 0, rgba(193, 210, 252, 0) min(640px, 85vw)) no-repeat, var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  font-feature-settings: "liga" 1, "calt" 1;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
.display {
  font-size: clamp(2.375rem, 4.6vw, 4rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(1.625rem, 2.5vw, 2.25rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.022em;
  text-wrap: balance;
  max-width: 20em;
}
.h3 { font-size: 1rem; font-weight: 500; line-height: 1.35; }
.lead { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.55; color: var(--ink-soft); max-width: 34em; text-wrap: pretty; }
.small { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-soft); }
.label { font-size: 0.875rem; color: var(--ink-faint); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 22px;
  font: 400 0.9375rem/1 var(--sans);
  text-decoration: none; white-space: nowrap;
  border-radius: 999px; border: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--blue); }
.btn-line { border-color: var(--rule); color: var(--ink); }
.btn-line:hover { border-color: var(--ink-faint); }
.btn-small { height: 36px; padding: 0 16px; font-size: 0.875rem; }
.on-dark .btn-primary { background: var(--white); color: var(--navy); }
.on-dark .btn-primary:hover { background: #dbeafe; }
.on-dark .btn-line { border-color: rgba(255,255,255,.35); color: var(--white); }
.on-dark .btn-line:hover { border-color: rgba(255,255,255,.8); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.site-header.is-stuck {
  background: rgba(255,255,255,.86); border-bottom-color: var(--rule);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 21px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { font-size: 0.875rem; text-decoration: none; color: var(--ink); }
/* Rolling hover: the label slides up and out while a blue copy rises from below */
.nav-link { display: inline-block; overflow: hidden; line-height: 1.4; height: 1.4em; vertical-align: middle; }
.nav-link .roll { display: block; position: relative; transition: transform .55s cubic-bezier(.7, 0, .2, 1); }
.nav-link .roll::after {
  content: attr(data-text);
  content: attr(data-text) / "";
  position: absolute; left: 0; top: 100%;
  color: #2563eb; /* Blue 600 – Blue 500 is too faint over the glow */
}
.nav-link:hover .roll, .nav-link:focus-visible .roll { transform: translateY(-100%); }
.nav-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 7.5vw, 112px) 0 0; text-align: center; }
.hero .display .line { display: block; }
.hero .lead { margin: 30px auto 0; max-width: 30em; }
.hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.hero-stage { margin-top: clamp(48px, 5.5vw, 80px); }
.stage-frame {
  background: #f6b23c url("../media/images/360-panels-20.webp") center 30% / cover no-repeat;
  border-radius: calc(var(--radius) + 10px);
  padding: clamp(16px, 5vw, 72px) clamp(16px, 5vw, 72px) 0;
  overflow: hidden;
}
.shot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(23,37,84,.05), 0 40px 80px -30px rgba(40,20,10,.4);
}
.shot img { width: 100%; }
.stage-frame .shot { border-bottom-left-radius: 0; border-bottom-right-radius: 0; transform-origin: 50% 100%; will-change: transform; }

/* ---------- Client strip ---------- */
.clients { padding: clamp(44px, 5vw, 64px) 0 0; }
.clients .wrap { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: center; }
.clients .label { grid-column: 1 / span 3; max-width: 16em; }
.logos { grid-column: 4 / -1; display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; gap: 28px 48px; }
.logos li { height: 38px; display: flex; align-items: center; }
.logos img { width: 100%; height: 100%; object-fit: contain; object-position: left center; filter: grayscale(1); opacity: .6; transition: opacity .4s var(--ease), filter .4s var(--ease); }
.logos li:hover img { filter: none; opacity: 1; }

/* ---------- Section scaffold ---------- */
.section { padding: clamp(72px, 8.5vw, 124px) 0; }
.row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); }
.row > .label { grid-column: 1 / span 3; padding-top: .7em; }
.row > .body { grid-column: 4 / -1; }
.section .lead { margin-top: 24px; }

/* ---------- Flow: in / record / out ---------- */
.flow {
  margin-top: clamp(44px, 4.5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1.05fr) 88px minmax(0, 1fr);
  align-items: stretch;
}
.flow-list { display: grid; grid-auto-rows: 1fr; }
.flow-list li {
  display: flex; align-items: center;
  min-height: 52px; padding: 10px 0;
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem; line-height: 1.3; color: var(--ink);
}
.flow-list li:last-child { border-bottom: 1px solid var(--rule); }
.flow-out li { justify-content: flex-end; text-align: right; }
.flow-wires { width: 100%; height: 100%; display: block; overflow: visible; }
.flow-wires path { fill: none; vector-effect: non-scaling-stroke; }
.flow-wires .wire { stroke: #cbd5e1; stroke-width: 1; }
.flow-wires .pulse { stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 9 91; stroke-dashoffset: 9; opacity: 0; }
.flow.in .flow-wires .pulse { opacity: 1; animation: pulse 4.2s linear infinite; }
@keyframes pulse { from { stroke-dashoffset: 9; } to { stroke-dashoffset: -100; } }
.js .flow .flow-wires .wire { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease); }
.js .flow.in .flow-wires .wire { stroke-dashoffset: 0; }

.record {
  align-self: center;
  background: var(--blue); color: var(--white);
  border-radius: var(--radius);
  padding: 32px 30px 28px;
  box-shadow: 0 30px 60px -30px rgba(59,130,246,.55);
}
.record img { height: 24px; width: auto; filter: brightness(0) invert(1); }
.record .h3 { margin-top: 26px; font-size: 1.25rem; font-weight: 400; letter-spacing: -0.015em; }
.record ul { margin-top: 16px; border-top: 1px solid rgba(255,255,255,.24); }
.record li { padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.24); font-size: 0.9375rem; color: rgba(255,255,255,.92); }
.record li:last-child { border-bottom: 0; padding-bottom: 0; }

.flow-notes {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1.05fr) 88px minmax(0, 1fr);
}
.flow-notes > div:nth-child(1) { grid-column: 1; }
.flow-notes > div:nth-child(2) { grid-column: 3; }
.flow-notes > div:nth-child(3) { grid-column: 5; }
.flow-notes .h3 { margin-bottom: 6px; }

/* ---------- Finfo360 ---------- */
.platform { background: var(--mist); }
.product-logo { height: 26px; width: auto; margin: 0 auto 30px; }
.tabs { display: inline-flex; gap: 2px; padding: 4px; margin-top: clamp(36px, 4vw, 52px); background: var(--white); border-radius: 999px; box-shadow: 0 0 0 1px var(--rule); }
.tabs button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  height: 34px; padding: 0 16px; border-radius: 999px;
  font: 400 0.875rem/1 var(--sans); color: var(--ink-soft);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.views { margin-top: 18px; display: grid; }
.views img { grid-area: 1 / 1; opacity: 0; transition: opacity .7s var(--ease); }
.views img.is-active { opacity: 1; }
.features { margin-top: clamp(40px, 4.5vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gutter); }
.features li { padding: 22px 0 34px; border-top: 1px solid #cbd5e1; }
.features .small { margin-top: 6px; max-width: 26em; }

/* ---------- Reporting ---------- */
.reporting .row { align-items: center; }
.reporting .copy { grid-column: 1 / span 5; }
.reporting .copy > .label { margin-bottom: 22px; }
.reporting .visual { grid-column: 7 / -1; }
.outputs { margin-top: 40px; border-top: 1px solid var(--rule); }
.outputs li { display: grid; grid-template-columns: 10.5em 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }

.papers {
  position: relative; aspect-ratio: 1 / 1; border-radius: calc(var(--radius) + 6px); overflow: hidden;
  container-type: inline-size;
  background: var(--blue) url("../media/images/360-panels-18.webp") center / cover no-repeat;
}
.paper {
  position: absolute; width: 43%; aspect-ratio: 210 / 297;
  background: var(--white); color: var(--ink);
  border-radius: 4px; padding: 6.5% 5.5%;
  box-shadow: 0 24px 50px -18px rgba(23,37,84,.5);
  font-size: 1.95cqw; line-height: 1.35;
  display: flex; flex-direction: column;
  transition: transform 1.4s var(--ease), opacity 1s var(--ease);
}
.paper-a { left: 6%; top: 5%; transform: rotate(-3deg); }
.paper-b { left: 25%; top: 19%; transform: rotate(-1deg); transition-delay: .12s; }
.paper-c { left: 53%; top: 33%; transform: rotate(2deg); transition-delay: .24s; }
.js .papers:not(.in) .paper { opacity: 0; }
.js .papers:not(.in) .paper-a { transform: translate(22%, 12%) rotate(0deg); }
.js .papers:not(.in) .paper-b { transform: translate(4%, 6%) rotate(0deg); }
.js .papers:not(.in) .paper-c { transform: translate(-18%, -2%) rotate(0deg); }
@media (hover: hover) {
  .papers.in:hover .paper-a { transform: translate(-3%, -2%) rotate(-5deg); }
  .papers.in:hover .paper-c { transform: translate(3%, 2%) rotate(4deg); }
  .papers.in:hover .paper { transition-duration: .9s; transition-delay: 0s; }
}
.paper strong { font-weight: 500; font-size: 1.7em; line-height: 1.1; letter-spacing: -0.02em; display: block; }
.paper .mark { height: 1.5em; width: auto; margin-bottom: 1em; align-self: flex-start; }
.paper .meta { color: var(--ink-soft); margin-top: .5em; }
.paper .bars { display: flex; align-items: flex-end; gap: 6%; height: 26%; margin: 10% 0 8%; }
.paper .bars i { flex: 1; background: var(--blue); border-radius: 1px; }
.paper .lines i { display: block; height: .5em; background: #e2e8f0; border-radius: 1px; margin-top: .55em; }
.paper .lines i:nth-child(3n) { width: 62%; }
.paper .fig { display: flex; justify-content: space-between; border-top: 1px solid var(--rule); padding: .5em 0; }
.paper .fig:first-of-type { margin-top: 8%; }
.paper .fig b { font-weight: 500; }
.paper-b .bars i { background: #1a1a1a; }
.paper-b .mark { filter: grayscale(1) brightness(.2); }

/* ---------- Proof (MoJ) ---------- */
.proof { background: var(--mist); }
.proof .moj { height: 68px; width: auto; margin: 0 auto 36px; }
.facts { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gutter); }
.facts div { border-top: 1px solid #cbd5e1; padding-top: 20px; }
.facts dt { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; }
.facts dd { margin-top: 8px; color: var(--ink-soft); font-size: 0.9375rem; }
.returns { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 8px; }
.returns li { background: var(--white); box-shadow: 0 0 0 1px var(--rule); border-radius: 999px; padding: 7px 15px; font-size: 0.875rem; color: var(--ink-soft); }
.also { margin-top: 48px; max-width: 42em; }

/* ---------- Resources ---------- */
.resources .cols { margin-top: 40px; display: grid; grid-template-columns: 2fr 1fr; column-gap: var(--gutter); }
.resources .h3 { color: var(--ink-faint); font-weight: 400; font-size: 0.875rem; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.doclist a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 15px 0; border-bottom: 1px solid var(--rule);
  text-decoration: none; font-size: 1rem;
  transition: padding-left .45s var(--ease), color .3s var(--ease);
}
.doclist a span:last-child { color: var(--ink-faint); font-size: 0.8125rem; white-space: nowrap; }
.doclist a:hover { padding-left: 8px; color: var(--blue); }

/* ---------- Contact ---------- */
.contact { padding: 0 var(--gutter) clamp(32px, 4vw, 56px); }
.contact .wrap {
  position: relative; overflow: hidden; isolation: isolate;
  max-width: calc(var(--wrap) + 120px);
  padding: clamp(72px, 9vw, 132px) var(--gutter);
  border-radius: calc(var(--radius) + 10px);
  color: var(--white); text-align: center;
  background: var(--navy);
}
.contact .wrap::before {
  content: ""; position: absolute; inset: -6%; z-index: -1;
  background: url("../media/images/360-panels-9.webp") center 45% / cover no-repeat;
  opacity: .6;
  animation: drift 36s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.06) translate(-1.5%, 1.5%); } }
.contact .lead { color: rgba(255,255,255,.82); margin: 22px auto 0; max-width: 28em; }
.contact .hero-actions { margin-top: 40px; }

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0 56px; font-size: 0.875rem; color: var(--ink-soft); }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.site-footer img { height: 20px; width: auto; margin-bottom: 16px; }
.site-footer ul { display: flex; gap: 28px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; color: var(--ink-soft); transition: color .3s var(--ease); }
.site-footer a:hover { color: var(--ink); }

/* ---------- Motion: load and reveal ---------- */
.js .hero .line, .js .hero .lead, .js .hero .hero-actions, .js .hero .stage-frame {
  opacity: 0; transform: translateY(14px);
  animation: rise 1.2s var(--ease) forwards;
}
.js .hero .line:nth-child(2) { animation-delay: .12s; }
.js .hero .lead { animation-delay: .28s; }
.js .hero .hero-actions { animation-delay: .4s; }
.js .hero .stage-frame { animation-delay: .5s; animation-duration: 1.6s; transform: translateY(28px); }
@keyframes rise { to { opacity: 1; transform: none; } }

.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .row > .label, .clients .label { grid-column: 1 / -1; padding-top: 0; margin-bottom: 20px; max-width: none; }
  .row > .body, .logos { grid-column: 1 / -1; }
  .reporting .copy { grid-column: 1 / -1; }
  .reporting .visual { grid-column: 1 / -1; margin-top: 56px; }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  :root { --gutter: 22px; }
  body { font-size: 16px; }
  .nav a:not(.btn) { display: none; }
  .hero-stage .wrap { padding: 0 12px; }
  .logos { grid-template-columns: repeat(3, 1fr); gap: 24px 28px; }
  .logos li { height: 32px; }

  .flow, .flow-notes { grid-template-columns: 1fr; }
  .flow-notes > div:nth-child(n) { grid-column: 1; }
  .flow-notes { gap: 22px; }
  .flow-out li { justify-content: flex-start; text-align: left; }
  .flow-wires { display: none; }
  .flow-gap { height: 44px; position: relative; }
  .flow-gap::before { content: ""; position: absolute; left: 24px; top: 6px; bottom: 6px; border-left: 1px solid #cbd5e1; }

  .features { grid-template-columns: 1fr; }
  .outputs li { grid-template-columns: 1fr; gap: 2px; }
  .facts { grid-template-columns: 1fr; row-gap: 28px; }
  .resources .cols { grid-template-columns: 1fr; row-gap: 44px; }
  .tabs button { padding: 0 13px; }
  .contact { padding-left: 12px; padding-right: 12px; }
}

/* Three view tabs: short labels on narrow screens */
@media (max-width: 520px) {
  .tabs .tab-more { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-link .roll { transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero .line, .js .hero .lead, .js .hero .hero-actions, .js .hero .stage-frame, .js .reveal { opacity: 1; transform: none; }
  .js .papers:not(.in) .paper { opacity: 1; }
  .js .flow .flow-wires .wire { stroke-dashoffset: 0; }
  .flow-wires .pulse { display: none; }
}


/* ================= Version 3: centred layout ================= */
.clients .wrap { display: block; text-align: center; }
.clients .label { max-width: none; margin-bottom: 26px; }
.logos { max-width: 980px; margin: 0 auto; }
.logos img { object-position: center; }

.row { display: block; }
.row > .label, .head > .label { padding-top: 0; margin-bottom: 18px; text-align: center; }
.section .h2 { margin-left: auto; margin-right: auto; text-align: center; }
.section .lead { margin-left: auto; margin-right: auto; text-align: center; }
.platform .body, .proof .body { text-align: center; }
.features, .outputs, .resources .cols { text-align: left; }

.flow-notes > div:nth-child(2) { text-align: center; }
.flow-notes > div:nth-child(3) { text-align: right; }

/* Reporting: centred header, then list and illustration side by side */
.reporting .split { margin-top: clamp(44px, 5vw, 72px); display: grid; grid-template-columns: 5fr 6fr; column-gap: clamp(32px, 6vw, 96px); align-items: center; }
.reporting .outputs { margin-top: 0; }
.reporting .split .visual { grid-column: auto; margin-top: 0; }

/* Proof */
.facts { text-align: center; }
.returns { justify-content: center; margin-top: 36px; }
.also { margin: 36px auto 0; }
.mosaic { margin-top: clamp(40px, 4.5vw, 64px); padding: clamp(18px, 2.6vw, 34px); background: var(--white); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--rule); }
.mosaic canvas { display: block; width: 100%; }
.mosaic figcaption { margin-top: 18px; }
html:not(.js) .mosaic { display: none; }
.mosaic { position: relative; }
.tip {
  position: absolute; z-index: 2; left: 0; top: 0; width: max-content; max-width: 240px;
  padding: 10px 14px 11px; text-align: left;
  background: var(--white); border-radius: 10px;
  box-shadow: 0 0 0 1px var(--rule), 0 14px 34px -10px rgba(23,37,84,.28);
  font-size: 0.8125rem; line-height: 1.4;
  transform: translate(-50%, calc(-100% - 4px)); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.tip.is-open { opacity: 1; visibility: visible; transform: translate(-50%, calc(-100% - 12px)); transition-delay: .25s, .25s, 0s; }
.tip::after {
  content: ""; position: absolute; left: calc(50% + var(--arrow, 0px)); bottom: -5px; width: 10px; height: 10px;
  background: var(--white); transform: translateX(-50%) rotate(45deg);
  box-shadow: 1px 1px 0 var(--rule);
}
.tip-what { display: block; font-weight: 500; font-size: 0.875rem; color: var(--ink); }
.tip-flag { display: flex; align-items: center; gap: 6px; margin-top: 2px; color: #15803d; }
.tip-flag::before {
  content: ""; width: 13px; height: 13px; border-radius: 50%; background: #16a34a
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Cpath d='M3.6 6.8l2 2 3.9-4.3' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.resources .body { max-width: 980px; margin: 0 auto; }

/* ---------- Report illustration, more detail ---------- */
.paper { padding: 5.5% 5.5% 4.5%; }
.paper strong { font-size: 1.55em; }
.paper .p-top { display: flex; justify-content: space-between; align-items: flex-start; color: var(--ink-faint); font-size: .82em; margin-bottom: 1.6em; }
.paper .p-top .mark { margin: 0; }
.paper .p-text { margin-top: 1.6em; font-size: .95em; }
.paper .lines { margin-top: .5em; }
.paper .lines + .lines { margin-top: 1.1em; }
.paper .lines i { height: .42em; margin-top: .62em; }
.paper .lines i:nth-child(3n) { width: 62%; }
.paper .sign { width: 34%; margin-top: 1.4em; fill: none; stroke: var(--ink); stroke-width: 1; stroke-linecap: round; }
.paper .p-foot { margin-top: auto; padding-top: .7em; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; color: var(--ink-faint); font-size: .78em; }

.paper .p-table { margin-top: 1.3em; border-bottom: 1px solid #1a1a1a; }
.paper .p-table div { display: grid; grid-template-columns: 5.2em 1fr auto; align-items: center; gap: .6em; padding: .42em 0; border-top: 1px solid #1a1a1a; font-size: .86em; }
.paper .p-table i { height: .5em; background: linear-gradient(#1a1a1a, #1a1a1a) left / var(--w) 100% no-repeat, #e9e9e9; }
.paper .p-table b { font-weight: 500; }
.paper-b .bars { height: 17%; margin: 9% 0 5%; gap: 4%; }

.paper-c { padding-top: 0; }
.paper .p-band { margin: 0 -6.3% 0; padding: 7% 6.3% 6%; background: var(--blue); color: var(--white); border-radius: 4px 4px 0 0; }
.paper .p-band .mark { filter: brightness(0) invert(1); margin-bottom: 1.1em; }
.paper .p-band .meta { color: rgba(255,255,255,.8); display: block; }
.paper .p-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; margin-top: 1.1em; }
.paper .p-kpis div { background: var(--mist); border-radius: 3px; padding: .6em .55em; display: flex; flex-direction: column; gap: .15em; }
.paper .p-kpis span { color: var(--ink-soft); font-size: .76em; }
.paper .p-kpis b { font-weight: 500; font-size: .92em; white-space: nowrap; letter-spacing: -0.01em; }
.paper .p-kpis em { font-style: normal; font-size: .7em; color: #15803d; background: #dcfce7; border-radius: 2px; padding: .05em .4em; align-self: flex-start; }
.paper .p-cap { margin-top: 1.2em; font-size: .82em; font-weight: 500; }
.paper .stack { display: flex; align-items: flex-end; gap: 3.5%; height: 17%; margin-top: .6em; border-bottom: 1px solid var(--rule); }
.paper .stack i { flex: 1; background: var(--blue); display: flex; flex-direction: column; border-radius: 1px 1px 0 0; overflow: hidden; }
.paper .stack b:nth-child(1) { background: #fbbf24; }
.paper .stack b:nth-child(2) { background: #06b6d4; }
.paper .p-legend { display: flex; gap: 1em; margin-top: .6em; font-size: .7em; color: var(--ink-soft); }
.paper .p-legend span::before { content: ""; display: inline-block; width: .6em; height: .6em; border-radius: 50%; margin-right: .35em; background: var(--blue); }
.paper .p-legend .k2::before { background: #06b6d4; }
.paper .p-legend .k3::before { background: #fbbf24; }

@media (max-width: 1000px) {
  .reporting .split { grid-template-columns: 1fr; row-gap: 48px; }
}
@media (max-width: 760px) {
  .flow-notes > div:nth-child(n) { text-align: left; }
  .facts { text-align: left; }
  .facts div { text-align: center; }
}

/* ---------- Reporting: a small note on per-site editions ---------- */
.each { margin-top: 28px; padding: 22px 24px 24px; background: var(--mist); border-radius: 14px; }
.each .small { margin-top: 6px; max-width: 36em; }
.paper .swap { transition: opacity .45s var(--ease); }
.paper.is-swapping .swap { opacity: 0; }
.paper .stack i { transition: height .9s var(--ease); }

/* ---------- Client logos: endless marquee. Colours are pushed to black but white detail inside each logo is kept ---------- */
.clients .wrap { max-width: none; padding: 0; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee .logos { display: flex; flex: none; align-items: center; gap: 0; max-width: none; margin: 0; }
.marquee .logos li { flex: none; height: 56px; display: flex; align-items: center; padding: 0 clamp(26px, 3.2vw, 46px); }
.marquee .logos img { width: auto; max-width: none; object-fit: contain; filter: grayscale(1) brightness(.6) contrast(6); opacity: 1; transition: none; }
.marquee.is-running .logos { animation: marquee 48s linear infinite; }
.marquee:not(.is-running) { -webkit-mask-image: none; mask-image: none; }
.marquee:not(.is-running) .logos { flex: 1; flex-wrap: wrap; justify-content: center; row-gap: 12px; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (max-width: 760px) {
  .marquee .logos li { height: 48px; padding: 0 22px; }
  .marquee .logos img { transform: scale(.85); }
}
