:root {
  --ink: #000000;
  --slate: #4d4d4d;
  --soft: #858585;
  --mist: #f4f4f2;
  --line: #e4e4e2;
  --up: #00b36b;
  --down: #e8372f;
  --amber: #fb8b1e;
  --up-text: #007a48;
  --up-tint: #e2f6ec;
  --black-hover: #2b2b2b;
  --band: #000000;
  --white: #ffffff;

  --font: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 16px;
  --shadow-ui: 0 50px 100px -20px rgba(0, 0, 0, 0.18), 0 30px 60px -30px rgba(0, 0, 0, 0.26);
  --shadow-chip: 0 13px 27px -5px rgba(0, 0, 0, 0.18), 0 8px 16px -8px rgba(0, 0, 0, 0.24);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--slate);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }

:focus-visible { outline: 2px solid var(--up-text); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-s);
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* Vertical guide rails, as on stripe.com */
.rails {
  position: absolute; inset: 0 0 auto; height: 100%; pointer-events: none; z-index: 0;
  max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; justify-content: space-between;
}
.rails span { width: 1px; background: repeating-linear-gradient(to bottom, var(--line) 0 4px, transparent 4px 8px); opacity: 0.7; }
.rails span:first-child, .rails span:last-child { background: var(--line); opacity: 0.5; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-size: 0.9375rem; font-weight: 600; text-decoration: none;
  padding: 11px 18px; border-radius: 999px; border: 1px solid transparent;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
  white-space: nowrap;
}
.btn--sm { padding: 7px 14px; font-size: 0.875rem; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--black-hover); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--soft); }

.chev { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.chev__line { opacity: 0; transition: opacity 150ms ease; }
.chev__tip { transition: transform 150ms ease; }
.btn:hover .chev__line { opacity: 1; }
.btn:hover .chev__tip { transform: translateX(3px); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.72); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); transition: box-shadow 200ms ease; }
.nav.is-stuck { box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.wordmark { font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; font-stretch: 90%; }
.nav nav { margin-left: auto; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { text-decoration: none; font-size: 0.9375rem; font-weight: 500; color: var(--ink); opacity: 0.8; }
.nav__links a:hover { opacity: 1; }

/* Hero */
.hero { position: relative; z-index: 1; padding: clamp(40px, 7vw, 96px) 0 0; overflow: hidden; }
.ribbon { position: absolute; pointer-events: none; }
.ribbon--hero {
  top: -120px; left: 0; right: 0; width: 100%; height: calc(100% + 40px);
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.08) 44%, #000 64%), linear-gradient(to bottom, #000 72%, transparent 92%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.08) 44%, #000 64%), linear-gradient(to bottom, #000 72%, transparent 92%);
  mask-composite: intersect;
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 24px; align-items: end; }
.hero__copy { padding-bottom: clamp(32px, 6vw, 88px); }

.ticker { font-size: 0.9375rem; color: var(--ink); margin-bottom: 28px; }
.ticker__num { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--up-text); }

.hero__title {
  font-size: clamp(2.25rem, 4.4vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 600;
  font-stretch: 92%;
  max-width: 19ch;
}
.hero__title-soft { display: inline; color: #7a7a7a; font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero__visual { position: relative; align-self: end; }
.hero__portrait { width: 142%; max-width: 780px; margin-left: -8%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.16)); }

.chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.94); border-radius: var(--radius-m); padding: 12px 16px;
  box-shadow: var(--shadow-chip); font-size: 0.8125rem; line-height: 1.35; color: var(--slate);
  max-width: 260px;
}
.chip strong { display: block; color: var(--ink); font-weight: 600; font-size: 0.875rem; }
.chip img { width: 56px; height: auto; flex: none; }
.chip--a { left: -12%; bottom: 20%; }
.chip--b { right: -2%; bottom: 5%; }
.chip__badge {
  flex: none; font-size: 0.6875rem; font-weight: 600; color: var(--up-text);
  background: var(--up-tint); border-radius: 4px; padding: 3px 6px;
}


/* Logo strip */
.logos { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 0 36px; }
/* Full-bleed white band with an edge-to-edge top line, drawn above the hero chart */
.logos::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: #fff; border-top: 1px solid var(--line); }
.logos img { height: 26px; width: auto; filter: grayscale(1); opacity: 0.72; mix-blend-mode: multiply; }
.logos img.logo--tall { height: 44px; }

/* Sections */
.section { position: relative; z-index: 1; padding: clamp(72px, 10vw, 128px) 0; }
.section--tint { background: var(--mist); }
.section__head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head h2 { font-size: clamp(2rem, 3.6vw, 2.875rem); line-height: 1.08; letter-spacing: -0.03em; font-stretch: 92%; }
.section__head p { margin-top: 18px; font-size: 1.125rem; max-width: 56ch; }
.section__head--dark h2 { color: #fff; }
.section__head--dark p { color: #b3b3b3; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.tile {
  grid-column: span 5; background: var(--mist); border-radius: var(--radius-l);
  padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 32px; overflow: hidden;
}
.tile--wide { grid-column: span 7; }
.tile--full { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 48px; }
.tile__text h3 { font-size: 1.375rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.tile__text p { max-width: 48ch; }

.ui {
  margin-top: auto; background: #fff; border-radius: var(--radius-m); box-shadow: var(--shadow-ui);
  font-size: 0.875rem; color: var(--ink);
}
.ui__bar { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 0.8125rem; }
.ui__dim { color: var(--soft); font-weight: 500; }

.pipe { padding: 8px 16px 12px; }
.pipe li { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f0f0ee; }
.pipe li:last-child { border-bottom: 0; }
.pipe__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); flex: none; box-shadow: 0 0 0 3px var(--up-tint); }
.pill { margin-left: auto; font-style: normal; font-size: 0.75rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #efefed; color: var(--slate); }
.pill--lead { background: var(--up-tint); color: var(--up-text); }
.pill--live { background: #e6f7ee; color: #127a43; }

.checks { padding: 8px 16px 14px; }
.checks li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f0f0ee; }
.checks li:last-child { border-bottom: 0; }
.checks svg { width: 18px; height: 18px; flex: none; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; background: var(--ink); border-radius: 50%; padding: 2px; }

.meters { padding: 6px 16px 14px; }
.meters > div { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 12px 0; border-bottom: 1px solid #f0f0ee; }
.meters > div:last-child { border-bottom: 0; }
.meters dt { color: var(--slate); }
.meters dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.meter { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: #efefed; position: relative; overflow: hidden; }
.meter::after { content: ""; position: absolute; inset: 0; width: calc(var(--v) * 100%); border-radius: inherit; background: linear-gradient(90deg, #00a862, #2fd894); }

/* Numbers band */
.band { position: relative; z-index: 1; background: var(--band); color: #b3b3b3; padding: clamp(72px, 10vw, 128px) 0; overflow: hidden; }
.band::before {
  content: ""; position: absolute; inset: auto -10% -60% 30%; height: 120%;
  background: radial-gradient(closest-side, rgba(251, 139, 30, 0.2), transparent 70%), radial-gradient(closest-side at 70% 40%, rgba(251, 139, 30, 0.1), transparent 70%);
  pointer-events: none;
}
.band .wrap { position: relative; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, 0.12); }
.stats > div { padding: 28px 24px 28px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-direction: column-reverse; gap: 4px; }
.stats dd { color: #fff; font-size: clamp(1.875rem, 3.4vw, 2.75rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; font-stretch: 90%; }
.stats dt { font-size: 0.9375rem; }

.flow { margin-top: clamp(48px, 6vw, 72px); }
.flow h3 { color: #fff; font-size: 1.125rem; margin-bottom: 20px; }
.flow__steps { display: flex; flex-wrap: wrap; gap: 10px; counter-reset: step; }
.flow__steps li {
  counter-increment: step; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e6e6e6; font-size: 0.9375rem;
}
.flow__steps li::before {
  content: counter(step); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); font-size: 0.75rem; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums;
}

/* Events */
.event img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-m); background: var(--mist); }
.event h3 { font-size: 1.1875rem; line-height: 1.25; letter-spacing: -0.015em; margin: 6px 0 8px; }
.event p { font-size: 0.9375rem; }
.event__with { margin-top: 18px; font-size: 0.8125rem !important; font-weight: 600; color: var(--up-text); }
.event__stat { margin-top: 12px; color: var(--soft); }
.event__stat strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.event__stat strong + strong, .event__stat strong:not(:first-child) { margin-left: 10px; }

.event--feature {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.event--feature img { aspect-ratio: 16 / 10; border-radius: var(--radius-l); box-shadow: var(--shadow-ui); }
.event--feature .event__with { margin-top: 0; }
.event--feature h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.025em; margin: 8px 0 14px; }
.event--feature p { font-size: 1.0625rem; }
.event--feature .event__stat { font-size: 1rem; margin-top: 18px; }

.events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }

/* Partner wall */
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: var(--radius-l); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.wall li { display: grid; place-items: center; height: 112px; padding: 20px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wall li:nth-child(4n) { border-right: 0; }
.wall li:nth-last-child(-n + 4) { border-bottom: 0; }
.wall img { max-height: 34px; max-width: 140px; width: auto; object-fit: contain; }
.wall img.logo--padded { max-height: 60px; max-width: 170px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.feature { border-left: 1px solid var(--line); padding-left: 20px; position: relative; }
.feature::before { content: ""; position: absolute; left: -1px; top: 2px; height: 22px; width: 1px; background: var(--up); }
.feature h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.feature p { font-size: 0.9375rem; }
.link { display: inline-block; margin-top: 12px; font-size: 0.9375rem; font-weight: 600; color: var(--up-text); text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote { margin: 0; background: #fff; border-radius: var(--radius-l); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; box-shadow: 0 0 0 1px var(--line); }
.quote blockquote { margin: 0; color: var(--ink); font-size: 1.125rem; line-height: 1.45; letter-spacing: -0.01em; }
.quote figcaption { font-size: 0.875rem; }
.quote figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.quote--mom { grid-column: 1 / -1; background: transparent; box-shadow: none; border-top: 1px solid var(--line); border-radius: 0; padding: 32px 0 0; flex-direction: row; align-items: end; }
.quote--mom blockquote { font-style: italic; color: var(--slate); max-width: 52ch; }
.quote--mom figcaption { flex: none; text-align: right; }

/* Contact */
.contact { position: relative; z-index: 1; overflow: hidden; padding: clamp(88px, 12vw, 160px) 0; background: #fff; }
.ribbon--contact {
  inset: 0 0 0 auto; width: min(70vw, 1000px); height: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 40%), linear-gradient(to bottom, transparent 0%, #000 30%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 40%), linear-gradient(to bottom, transparent 0%, #000 30%);
  mask-composite: intersect;
}
.contact__inner { position: relative; }
.contact h2 { font-size: clamp(2.75rem, 6vw, 4.5rem); letter-spacing: -0.04em; line-height: 1; font-stretch: 90%; }
.contact__inner > p { margin-top: 20px; font-size: 1.1875rem; max-width: 44ch; color: var(--ink); }
.contact__list { display: flex; flex-wrap: wrap; gap: 20px 48px; margin-top: 56px; }
.contact__list dt { font-size: 0.8125rem; color: var(--soft); }
.contact__list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 3px; }

.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); background: #fff; }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; font-size: 0.875rem; color: var(--soft); }

/* Page-load moment: hero only */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > *, .hero__visual { animation: rise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero__copy > :nth-child(2) { animation-delay: 80ms; }
  .hero__copy > :nth-child(3) { animation-delay: 160ms; }
  .hero__visual { animation-delay: 220ms; }
  .chip--a { animation: rise 700ms 650ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .chip--b { animation: rise 700ms 800ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Scroll reveals: each block rises into place once, the first time it comes
   into view, with blocks arriving together staggered by --i. main.js tags them and
   removes the tag when done, so hover styles are untouched afterwards. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0; transform: translateY(20px);
    transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  /* Network meters fill from empty once their card is in */
  .js .meter[data-reveal]::after { transform: scaleX(0); transform-origin: left; transition: transform 1100ms 300ms cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js .meter[data-reveal].is-in::after { transform: none; }
  .js .meter[data-reveal] { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__copy { padding-bottom: 32px; }
  .hero__visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .hero__portrait { width: 100%; max-width: none; margin: 0; }
  .ribbon--hero { top: 46%; width: 100%; height: 44%; opacity: 0.55; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent 88%); mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent 88%); }
  .chip--a { left: 0; bottom: 18%; }
  .chip--b { right: 0; bottom: 4%; }
  .tile, .tile--wide { grid-column: 1 / -1; }
  .tile--full { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event--feature { grid-template-columns: 1fr; }
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wall li:nth-child(4n) { border-right: 1px solid var(--line); }
  .wall li:nth-child(3n) { border-right: 0; }
  .wall li:nth-last-child(-n + 4) { border-bottom: 1px solid var(--line); }
  .wall li:nth-last-child(-n + 1) { border-bottom: 0; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: 1fr; }
  .rails span:nth-child(2), .rails span:nth-child(4) { display: none; }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav nav { margin-left: auto; }
  .hero__title { font-size: 2.25rem; }
  .chip { padding: 10px 12px; max-width: 210px; font-size: 0.75rem; }
  .chip img { width: 44px; }
  .chip { max-width: calc(50% - 4px); flex-direction: column; align-items: flex-start; gap: 6px; }
  .chip--a { left: 0; bottom: 3%; }
  .chip--b { right: 0; bottom: 3%; }
  .logos { justify-content: center; gap: 20px 28px; padding: 28px 0; }
  .logos img { height: 20px; }
  .logos img.logo--tall { height: 36px; }
  .events { grid-template-columns: 1fr; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wall li { height: 92px; padding: 16px; }
  .wall li:nth-child(3n) { border-right: 1px solid var(--line); }
  .wall li:nth-child(2n) { border-right: 0; }
  .wall li:nth-last-child(-n + 2) { border-bottom: 0; }
  .wall img { max-width: 110px; max-height: 28px; }
  .features { grid-template-columns: 1fr; }
  .quote--mom { flex-direction: column; align-items: flex-start; }
  .quote--mom figcaption { text-align: left; }
  .footer__inner { flex-direction: column; }
  .btn { padding: 11px 16px; }
}

/* Bloomberg update */
.section--flush { padding-top: 0; }
.tile--half { grid-column: span 6; }
.chip img.chip__logo--bloomberg { width: 84px; }
.logos img.logo--bloomberg { height: 20px; opacity: 0.5; }
@media (max-width: 960px) { .tile--half { grid-column: 1 / -1; } }
@media (max-width: 640px) { .logos img.logo--bloomberg { height: 16px; } }
.chip img.chip__logo--pnp { display: block; width: 86px; height: auto; margin-bottom: 4px; }
@media (max-width: 640px) { .chip img.chip__logo--pnp { width: 72px; } }
.chip--b .chip__badge { background: none; padding: 0; color: var(--soft); font-weight: 500; }

/* Numbers band: Terminal amber on black */
.stats dt { color: var(--amber); }
.flow__steps li::before { background: var(--amber); color: #000; }
.ticker__num { letter-spacing: 0.01em; }
.rails span:first-child { visibility: hidden; }
