:root {
  --bg: #000; --fg: #f5f5f7; --sec: #a1a1a6; --tile: #161617; --line: rgba(255,255,255,.14);
  --link: #2997ff; --g1: #2997ff; --g2: #a972ff; --g3: #ff5c8a;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 56px; overflow-x: clip; }
body { font: 17px/1.47 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #000; color: var(--fg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
.light { --bg: #f5f5f7; --fg: #1d1d1f; --sec: #6e6e73; --tile: #fff; --line: rgba(0,0,0,.12);
  --link: #0066cc; --g1: #0071e3; --g2: #7d4cf0; --g3: #e8388a; }
section, header.hero, footer { background: var(--bg); color: var(--fg);
  padding: clamp(76px, 11vw, 140px) max(22px, env(safe-area-inset-right)) clamp(76px, 11vw, 140px) max(22px, env(safe-area-inset-left)); }
.wrap { max-width: 1080px; margin: 0 auto; }
.center { text-align: center; }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 10; height: 48px; padding: 0 max(22px, env(safe-area-inset-right)) 0 max(22px, env(safe-area-inset-left));
  background: rgba(0,0,0,.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.1); color: #f5f5f7; }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 26px; }
.nav .brand { font-weight: 600; font-size: 17px; letter-spacing: -.02em; text-decoration: none; margin-right: auto; }
.nav a.l { font-size: 12px; color: #a1a1a6; text-decoration: none; transition: color .2s; }
.nav a.l:hover { color: #fff; }
@media (max-width: 760px) { .nav a.l.sec { display: none; } .nav .wrap { gap: 16px; } }

.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 980px;
  background: #0071e3; color: #fff; font-size: 17px; text-decoration: none; transition: background .2s, transform .2s var(--ease); }
.pill:active { transform: scale(.97); }
.pill.ghost { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
.pill.sm { min-height: 28px; padding: 0 12px; font-size: 12px; }
@media (hover: hover) { .pill:hover { background: #0077ed; } .pill.ghost:hover { background: var(--link); color: #fff; } }

/* type */
.eyebrow { font-size: clamp(17px, 2vw, 21px); font-weight: 600; color: var(--sec); letter-spacing: -.01em; margin-bottom: 8px; }
h1, h2 { font-weight: 600; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(42px, 8.8vw, 96px); }
h2 { font-size: clamp(34px, 6vw, 64px); }
h3 { font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: -.015em; }
.grad { background: linear-gradient(90deg, var(--g1), var(--g2) 50%, var(--g3)); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; padding-bottom: .12em; display: inline-block; }
.sub { font-size: clamp(18px, 2.3vw, 24px); line-height: 1.38; color: var(--sec); max-width: 780px; margin: 18px auto 0; letter-spacing: -.01em; }
.sec { color: var(--sec); }
.small { font-size: 14px; line-height: 1.43; }
.head { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }

/* hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: 110px; overflow: hidden; }
.aura { position: absolute; left: 50%; top: 38%; width: 120vmax; height: 120vmax; margin: -60vmax 0 0 -60vmax; pointer-events: none;
  background: radial-gradient(closest-side, rgba(120,90,255,.22), rgba(41,151,255,.08) 45%, transparent 70%);
  animation: breathe 9s ease-in-out infinite alternate; will-change: transform, opacity; }
@keyframes breathe { from { transform: scale(.9); opacity: .65; } to { transform: scale(1.08); opacity: 1; } }
.hero .wrap { position: relative; width: 100%; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(44px, 7vw, 84px); }
.stat { padding: 4px 14px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; white-space: nowrap; font-size: clamp(34px, 5vw, 72px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat span { display: block; color: var(--sec); font-size: 14px; line-height: 1.35; max-width: 200px; margin: 6px auto 0; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 26px; } .stat:nth-child(3) { border-left: 0; } }

/* pipeline (sticky scroll) */
.pipe { padding-top: 0; padding-bottom: 0; height: 300vh; }
.pipe-in { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.words { font-size: clamp(32px, 6.4vw, 80px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; margin-top: 10px; }
.words span { color: #333336; transition: color .45s var(--ease); }
.words span.on { color: #f5f5f7; }
.words span.cur { color: var(--g2); }
.bar { height: 2px; background: #2a2a2d; margin-top: clamp(22px, 4vw, 40px); border-radius: 2px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--g1), var(--g2), var(--g3)); transform-origin: 0 50%; transform: scaleX(0); will-change: transform; }
.ends { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 22px; }
.ends div:last-child { text-align: right; }
.ends b { display: block; font-weight: 600; }
@media (max-width: 640px) { .ends { font-size: 14px; gap: 14px; } }

/* tiles */
.grid { display: grid; gap: 12px; }
.tile { position: relative; background: var(--tile); border-radius: 28px; padding: clamp(22px, 2.6vw, 30px); overflow: hidden;
  transition: transform .45s var(--ease); }
section:not(.light) .tile { box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), inset 0 1px 0 rgba(255,255,255,.12); }
.tile p { color: var(--sec); margin-top: 8px; font-size: 15px; line-height: 1.42; }
.tag { font-size: 14px; font-weight: 600; color: var(--link); margin-bottom: 6px; }
.lab { font-size: 12px; font-weight: 600; color: var(--sec); margin-top: 16px !important; }
.hr { border-top: 1px solid var(--line); margin-top: 18px; }
.tile p.ink { color: var(--fg); margin-top: 4px; }
@media (hover: hover) {
  .tile:hover { transform: scale(1.012); }
  .glow .tile::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(140,120,255,.22), transparent 70%); }
  .glow .tile:hover::before { opacity: 1; }
}

.c3 { grid-template-columns: repeat(3, 1fr); }
.c4 { grid-template-columns: repeat(4, 1fr); }
.fit { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
@media (max-width: 900px) { .c4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .c4 { grid-template-columns: 1fr; } }

/* swipe row on phones */
@media (max-width: 820px) {
  .swipe { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -22px; padding: 0 22px 6px; scroll-padding: 0 22px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { scroll-snap-align: start; }
  .c3:not(.swipe) { grid-template-columns: 1fr; }
}

/* grades */
.grades { grid-template-columns: 1.25fr 1fr 1fr 1fr; align-items: center; column-gap: 28px; margin-top: 12px; }
.grade { display: flex; gap: 14px; align-items: center; }
.grade i { font-style: normal; font-size: 60px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.grade b { font-weight: 600; display: block; }
.grade p { margin-top: 1px; }
@media (max-width: 900px) { .grades { grid-template-columns: 1fr; row-gap: 18px; } }

/* segmented control */
.seg { display: inline-flex; padding: 4px; border-radius: 980px; background: #1d1d1f; margin: 0 auto 26px; }
.seg button { font: inherit; font-size: 15px; color: #a1a1a6; background: none; border: 0; min-height: 40px; padding: 0 20px; border-radius: 980px;
  cursor: pointer; transition: background .3s var(--ease), color .3s; -webkit-tap-highlight-color: transparent; }
.seg button[aria-selected="true"] { background: #f5f5f7; color: #1d1d1f; }
.panel[hidden] { display: none; }
.panel { animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cap { text-align: center; color: var(--sec); font-size: 14px; margin-bottom: 18px; }

/* clients */
.split { grid-template-columns: 6fr 7fr; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.rows > div { display: grid; grid-template-columns: 1fr auto; column-gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.rows > div:first-child { border-top: 0; }
.rows b { font-weight: 600; display: block; }
.rows span { color: var(--sec); font-size: 15px; }
.rows i { font-style: normal; font-size: 12px; color: #86868b; white-space: nowrap; padding-top: 4px; }
.quote { font-size: clamp(20px, 2.6vw, 28px); line-height: 1.3; font-weight: 600; letter-spacing: -.02em; max-width: 860px; margin: clamp(36px, 6vw, 64px) auto 0; text-align: center; text-wrap: balance; }

/* footer */
footer { padding-top: 40px; padding-bottom: calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
footer p { font-size: 12px; line-height: 1.5; color: #86868b; margin-bottom: 6px; }
footer a { color: #a1a1a6; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .aura, .panel { animation: none; }
  .pipe { height: auto; padding: 90px 22px; } .pipe-in { position: static; height: auto; }
  .words span { color: #f5f5f7; } .bar { display: none; }
  .tile { transition: none; }
}
