/* MidMarketCo. Cool white ground, deep navy ink, one teal accent (the hub in the mark), sans display.
   No warm paper and no serif display type (owned-site rule, 2026-11-17). */
:root{--navy:#14213d;--ink:#0f172a;--text:#334155;--muted:#64748b;--teal:#0f9d8f;--teal-d:#0b7c71;--teal-50:#e7f6f4;
  --slate-50:#f6f8fb;--slate-100:#eef2f7;--line:#e3e8ef;--r:16px;--sh:0 1px 2px rgba(15,23,42,.06),0 8px 24px rgba(15,23,42,.08);
  --sh-lg:0 2px 4px rgba(15,23,42,.06),0 22px 50px rgba(20,33,61,.18)}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;font:16px/1.6 Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--text);background:#fff;-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:Manrope,Inter,system-ui,sans-serif;color:var(--ink);letter-spacing:-.02em;margin:0}
h1{font-size:clamp(2rem,4.1vw,3.1rem);line-height:1.08;font-weight:800;margin-bottom:16px}
h2{font-size:clamp(1.55rem,2.8vw,2.25rem);line-height:1.15;font-weight:800}
h3{font-size:1.1rem;font-weight:700}
p{margin:.6em 0}a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.eyebrow{display:inline-block;font:600 .78rem/1.3 Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--teal-d);
  background:var(--teal-50);padding:.42em .85em;border-radius:14px;margin-bottom:14px}
.btn{display:inline-flex;align-items:center;gap:.4em;background:var(--navy);color:#fff;font-weight:600;padding:.85em 1.3em;border-radius:12px;
  transition:transform .15s,box-shadow .15s;box-shadow:0 6px 18px rgba(20,33,61,.22)}
.btn:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(20,33,61,.28)}
.btn-ghost{background:#fff;color:var(--navy);box-shadow:inset 0 0 0 1.5px var(--line)}
.btn-sm{padding:.6em 1em;font-size:.9rem;border-radius:10px}

/* header */
.top{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.86);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line)}
.top-in{display:flex;align-items:center;gap:28px;height:66px}
.brand{display:inline-flex;align-items:center;gap:10px;font:800 1.2rem Manrope,sans-serif;color:var(--navy)}
.brand em{font-style:normal;color:var(--teal)}
.mark{width:32px;height:32px;color:var(--navy)}
.top nav{display:flex;gap:22px;margin-left:auto;font-size:.93rem;font-weight:500}
.top nav a{color:var(--text)}.top nav a:hover{color:var(--teal-d)}

/* hero */
.hero{position:relative;overflow:hidden;background:linear-gradient(180deg,#fff 0%,var(--slate-50) 100%)}
.hero-art{position:absolute;inset:0 0 0 30%;background-size:cover;background-position:center;opacity:.95;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 30%);mask-image:linear-gradient(90deg,transparent 0,#000 30%)}
.hero-in{position:relative;display:grid;grid-template-columns:1.02fr 1fr;gap:40px;align-items:center;padding:72px 24px 84px}
.lede{font-size:1.12rem;color:var(--text);max-width:34em}
.ctas{display:flex;gap:12px;flex-wrap:wrap;margin:26px 0 22px}
.proof{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.hero-screens{position:relative;height:480px}
.frame{position:absolute;margin:0;background:#fff;border-radius:12px;overflow:hidden;box-shadow:var(--sh-lg);border:1px solid rgba(20,33,61,.08)}
.frame img{width:100%}
.f1{top:6px;left:0;width:76%;transform:rotate(-2.2deg)}
.f2{top:118px;right:-6px;width:70%;transform:rotate(1.6deg);z-index:2}
.f3{top:262px;left:9%;width:64%;transform:rotate(-.8deg);z-index:3}
.bar{display:flex;align-items:center;gap:5px;height:26px;padding:0 10px;background:var(--slate-100);border-bottom:1px solid var(--line)}
.bar i{width:8px;height:8px;border-radius:50%;background:#cbd5e1}.bar i:first-child{background:#f87171}.bar i:nth-child(2){background:#fbbf24}.bar i:nth-child(3){background:#34d399}
.bar span{margin-left:8px;font:500 .72rem/1 Inter,sans-serif;color:var(--muted);background:#fff;padding:4px 10px;border-radius:6px;flex:1;max-width:60%}
.stat{position:absolute;z-index:5;background:#fff;border-radius:14px;padding:12px 16px;box-shadow:var(--sh-lg);border-left:4px solid var(--teal)}
.stat b{display:block;font:800 1.55rem/1.1 Manrope,sans-serif;color:var(--navy)}
.stat span{font-size:.8rem;color:var(--muted)}
.s1{top:-6px;right:4%}.s2{bottom:-4px;left:-10px}

/* chips: each property's logo on its own header background. A fixed logo height with a width cap, so a
   long wordmark (Value Creation Partner is 7.8:1) shrinks to fit instead of outweighing a square mark. */
.chip{--lh:46px;--lw:240px;display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--bg,#fff);
  border-radius:10px;overflow:hidden;box-shadow:0 1px 2px rgba(15,23,42,.08),0 4px 12px rgba(15,23,42,.08);border:1px solid rgba(15,23,42,.06)}
.chip img{flex:none;height:var(--lh);width:auto;max-width:var(--lw);object-fit:contain}
.chip-sm{--lh:40px;--lw:210px}.chip-xs{--lh:30px;--lw:170px}
.chip-compose,.chip-mark{height:var(--lh);padding-right:12px}
.chip-compose{padding-left:6px}.chip-compose img{height:calc(var(--lh) - 10px)}
.chip b{font:700 .9rem/1.15 Inter,sans-serif;color:var(--fg,#0f172a);white-space:nowrap}
.chip-sm b{font-size:.85rem}.chip-xs b{font-size:.74rem}

/* sections */
.band{padding:88px 0}.band-alt{background:var(--slate-50)}
.head{max-width:760px;margin-bottom:36px}.head p{color:var(--muted);font-size:1.05rem}

/* the group: constellation */
.constellation{position:relative;width:min(800px,100%);aspect-ratio:1;margin:0 auto}
.constellation>svg{position:absolute;inset:0;width:100%;height:100%}
.ring{fill:none;stroke-width:1.5;stroke-dasharray:4 6}.ring-inner{stroke:var(--teal)}.ring-outer{stroke:#94a3b8}
.ln-inner{stroke:rgba(15,157,143,.35);stroke-width:1.2}.ln-outer{stroke:rgba(100,116,139,.25);stroke-width:1}
.hub{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:168px;height:168px;border-radius:50%;background:#fff;
  box-shadow:0 0 0 10px rgba(15,157,143,.08),var(--sh-lg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center}
.hub .mark{width:48px;height:48px}.hub b{font:800 1.05rem Manrope,sans-serif;color:var(--navy)}.hub span{font-size:.75rem;color:var(--muted)}
.node{position:absolute;transform:translate(-50%,-50%);transition:transform .15s}
.node:hover{transform:translate(-50%,-50%) scale(1.06);z-index:4}
/* every logo on the same card size (build_site.py CARD, which checks they never touch) */
.node .chip{--lh:44px;--lw:170px;width:196px;height:60px;padding:0 12px}
.node-outer .chip{--lh:40px;--lw:150px;width:176px;height:54px}
.node .chip-mark img,.node .chip-compose img{height:34px}
.node .chip b,.lg-item .chip b{font-size:.78rem;white-space:normal;text-align:left}
.logo-grid{display:none}
.legend{display:flex;gap:22px;justify-content:center;margin-top:18px;font-size:.88rem;color:var(--muted)}
.dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:7px;vertical-align:-1px}
.dot-inner{background:var(--teal)}.dot-outer{background:#94a3b8}

/* PE Firm Index readout */
.readout{background:linear-gradient(135deg,#0f1b33 0%,#14213d 55%,#123a4a 100%);color:#cbd5e1;padding:88px 0}
.readout h2{color:#fff}.readout .eyebrow{background:rgba(15,157,143,.18);color:#5eead4}
.readout-in{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;align-items:center}
.readout-art img{border-radius:20px;box-shadow:0 30px 60px rgba(0,0,0,.35)}
.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:22px 0 26px}
.kpis div{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:14px}
.kpis b{display:block;font:800 1.6rem/1.1 Manrope,sans-serif;color:#fff}.kpis span{font-size:.8rem;color:#94a3b8}
.meter{margin:14px 0}.meter-top{display:flex;justify-content:space-between;gap:10px;font-size:.95rem;color:#e2e8f0}
.meter-top b{color:#fff;font-family:Manrope,sans-serif}.meter-top small{color:#94a3b8;font-weight:500}
.track{height:10px;border-radius:99px;background:rgba(255,255,255,.1);margin:8px 0 5px;overflow:hidden}
.fill{height:100%;border-radius:99px;background:linear-gradient(90deg,#14b8a6,#5eead4)}
.meter-note{font-size:.78rem;color:#94a3b8}
.source{font-size:.82rem;color:#94a3b8;border-top:1px solid rgba(255,255,255,.1);padding-top:12px;margin-top:18px}
.source a{color:#5eead4}

/* tiles */
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.tiles-4{grid-template-columns:repeat(4,1fr)}
.tile{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:var(--sh);
  transition:transform .18s,box-shadow .18s}
.tile:hover{transform:translateY(-3px);box-shadow:var(--sh-lg)}
.tile-shot{position:relative;background:var(--slate-100)}
.tile-shot img{width:100%;aspect-ratio:16/9;object-fit:cover;object-position:top}
.tile.compact .tile-shot img{aspect-ratio:16/10}
.tile-body{position:relative;padding:34px 20px 20px;display:flex;flex-direction:column;gap:4px;flex:1}
.tile-body .chip{position:absolute;top:-22px;left:18px}
.label{font:600 .72rem/1 Inter,sans-serif;letter-spacing:.07em;text-transform:uppercase;color:var(--teal-d);margin-top:6px}
.tile p{font-size:.92rem;color:var(--muted);margin:.35em 0 .8em}
.go{margin-top:auto;font-weight:600;font-size:.88rem;color:var(--navy)}
.tile:hover .go{color:var(--teal-d)}
.tile.compact .tile-body{padding-top:30px}.tile.compact h3{font-size:1rem}

/* desks: heading and image on top, the two address families as side-by-side lanes */
.desks-top{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;margin-bottom:36px}
.sub{color:var(--muted);font-size:1.05rem}
.desks-art img{border-radius:20px;box-shadow:var(--sh)}
.desks-note{margin-top:18px;font-size:.95rem;color:var(--muted);background:var(--slate-50);border:1px solid var(--line);border-left:4px solid var(--teal);border-radius:14px;padding:14px 16px}
.desks-note b{color:var(--ink)}
.lanes{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}
.lane{border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:#fff;box-shadow:var(--sh)}
.lane-head{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;padding:12px 18px;background:var(--slate-50);border-bottom:1px solid var(--line)}
.lane-head b{font:800 1rem Manrope,sans-serif;color:var(--navy)}.lane-head span{font-size:.82rem;color:var(--muted)}
.desk{display:grid;grid-template-columns:44px 1fr;gap:14px;padding:16px 18px;border-bottom:1px solid var(--line);transition:background .15s}
.desk:last-child{border-bottom:0}.desk:hover{background:var(--teal-50)}
.ico{width:44px;height:44px;border-radius:12px;background:var(--teal-50);display:flex;align-items:center;justify-content:center}
.ico svg{width:22px;height:22px;fill:none;stroke:var(--teal-d);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.desk-txt{display:flex;flex-direction:column;gap:2px}.desk-txt b{color:var(--ink)}
.desk-txt code{font:600 .85rem/1.3 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--teal-d)}
.desk-txt span{font-size:.88rem;color:var(--muted)}

/* disclosure */
.disc-in{display:grid;grid-template-columns:.85fr 1.15fr;gap:48px;align-items:center}
.disc-art img{border-radius:24px;box-shadow:var(--sh)}
.ptable{margin:22px 0 12px;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:#fff}
.prow{display:grid;grid-template-columns:.9fr 1.4fr;gap:18px;padding:16px 20px;border-bottom:1px solid var(--line)}
.prow:last-child{border-bottom:0}.prow b{color:var(--ink)}.prow span{color:var(--text);font-size:.95rem}
.small{font-size:.88rem;color:var(--muted)}

/* footer */
.foot{background:#0f1b33;color:#94a3b8;padding:40px 0}
.foot-in{display:flex;flex-wrap:wrap;gap:18px 30px;align-items:center}
.foot .brand{color:#fff}.foot .mark{color:#e2e8f0}
.foot-links{display:flex;gap:16px;flex-wrap:wrap;font-size:.9rem}.foot-links a:hover{color:#5eead4}
.foot p{width:100%;margin:0;font-size:.82rem}

/* tablet */
@media (max-width:1000px){
  .top nav{display:none}.top .btn-sm{margin-left:auto}
  .hero-in{grid-template-columns:1fr;padding-top:48px}.hero-art{inset:0;opacity:.26}
  .hero-screens{height:430px;max-width:640px;width:100%;margin:0 auto}
  .constellation{display:none}
  .logo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
  .lg-item{display:block}
  .lg-item .chip{--lh:42px;--lw:100%;display:flex;width:100%;height:62px;padding:0 12px;border-radius:12px}
  .lg-item .chip-mark img,.lg-item .chip-compose img{height:36px}
  .readout-in,.desks-top,.lanes,.disc-in{grid-template-columns:1fr}
  .readout-art{max-width:520px}.desks-art{max-width:560px}.disc-art{max-width:520px}
  .tiles,.tiles-4{grid-template-columns:repeat(2,1fr)}
}
/* phone */
@media (max-width:620px){
  .wrap{padding:0 16px}.band,.readout{padding:60px 0}
  .hero-in{padding:36px 16px 56px;gap:28px}.hero-art{opacity:.18}
  .lg-item .chip{--lh:36px;height:56px;padding:0 10px}.lg-item .chip-mark img,.lg-item .chip-compose img{height:32px}
  .legend{flex-direction:column;align-items:center;gap:6px}
  .hero-screens{height:290px}.f1{width:86%}.f2{width:80%;top:70px}.f3{display:none}
  .s1{top:auto;bottom:-8px;right:0}.s2{display:none}.stat b{font-size:1.25rem}
  .logo-grid{grid-template-columns:repeat(2,1fr)}.lg-item .chip img{height:34px}
  .kpis{grid-template-columns:repeat(2,1fr)}
  .tiles,.tiles-4{grid-template-columns:1fr}
  .prow{grid-template-columns:1fr;gap:4px}
  .proof .chip-xs img{height:26px}
}
