/* Brand v2: full-width shell + iconography on supporting pages. Loaded last on every page. */
:root{--shell:min(1680px,calc(100vw - 2*clamp(20px,4vw,72px)));--content:var(--shell);--orange:#ff986a;--green:#3fae7a;--deep:#365c47}

/* ---------- Full width ---------- */
.enterprise-header>div,.home-hero>.hero-inner,.hero-inner,
.enterprise-section:not(#hero):not(#valuation):not(.buyer-rail),.buyer-rail,
.page-heading,.page-content,footer,.closing-inner,
#site-root>.enterprise-section:last-of-type>.closing-inner,
.assessment-section .section-intro,.assessment-section>div[data-word],
[style*="max-width:1240px"],[style*="max-width:1160px"]{max-width:var(--shell)!important;width:100%}
.assessment-section>div[style*="max-width:1000px"]{max-width:min(1240px,var(--shell))!important}
.page-heading h1{max-width:min(1100px,100%)}
.section-intro{max-width:min(1100px,var(--shell))}
.editorial-note{max-width:min(1100px,100%)}
@media(min-width:1500px){
 .landing-sections>.editorial-section.landing-section{column-gap:110px}
 .page-heading.landing-hero{column-gap:110px}
}

/* ---------- Inner-page hero ---------- */
.v2-hero{position:relative;isolation:isolate;overflow:visible}
.v2-rosette{position:absolute;z-index:-1;pointer-events:none;width:clamp(420px,44vw,760px);height:auto;aspect-ratio:1;right:-6%;top:50%;transform:translateY(-50%);opacity:.55;-webkit-mask-image:radial-gradient(circle at 50% 50%,#000 30%,transparent 70%);mask-image:radial-gradient(circle at 50% 50%,#000 30%,transparent 70%)}
.v2-rosette-core{fill:#ff986a14}
.v2-hero-glow{position:absolute;z-index:-2;inset:-120px -10% auto auto;width:70%;height:640px;pointer-events:none;
 background:radial-gradient(closest-side,#365c4740,transparent 70%),radial-gradient(closest-side at 70% 60%,#ff986a12,transparent 70%)}
@keyframes v2spin{to{transform:translateY(-50%) rotate(368deg)}}
@media(prefers-reduced-motion:reduce){.v2-rosette{animation:none}}
.v2-eyebrow-ico{display:inline-block;vertical-align:-2px;margin-right:8px;color:var(--orange)}
.v2-hero .landing-hero-visual{position:relative}
.v2-hero .landing-hero-visual::before{content:"";position:absolute;inset:18px -18px -18px 18px;border:1px solid #0a8f5c26;border-radius:16px;z-index:-1}

/* ---------- Logo strip ---------- */
.v2-logo-strip{max-width:var(--shell);margin:8px auto 0;padding:22px clamp(20px,4vw,72px) 0;display:flex;align-items:center;gap:28px;flex-wrap:wrap;border-top:1px solid #ffffff10}
.v2-logo-label{font:11px 'Geist Mono',ui-monospace,monospace;letter-spacing:.12em;text-transform:uppercase;color:#8b968f}
.v2-logo-row{display:flex;gap:10px;flex-wrap:wrap;flex:1}
.v2-logo{display:inline-flex;align-items:center;gap:9px;padding:8px 14px 8px 9px;border:1px solid #ffffff14;border-radius:999px;background:#ffffff06;font-size:13px;color:#dfe5e1}
.v2-logo img{width:22px;height:22px;object-fit:contain;border-radius:5px;background:#fff;padding:3px}
.v2-logo-note{font-size:11px;color:#6f7a73}

/* ---------- At a glance ---------- */
.v2-glance{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:64px 0 0}
.v2-glance-card{position:relative;display:flex;flex-direction:column;gap:10px;padding:24px 22px 26px;border:1px solid #ffffff12;border-radius:14px;
 background:linear-gradient(160deg,#182019,#121517 60%);color:inherit;text-decoration:none;transition:border-color .25s,transform .25s}
.v2-glance-card:hover{border-color:#0a8f5c55;transform:translateY(-2px)}
.v2-glance-card small{font:11px 'Geist Mono',ui-monospace,monospace;letter-spacing:.1em;text-transform:uppercase;color:#8b968f}
.v2-glance-card strong{font-weight:500;font-size:17px;line-height:1.3;letter-spacing:-.01em;color:#eef1ee}
.v2-glance-card i{position:absolute;right:18px;top:20px;font-style:normal;color:#6f7a73}
.v2-glance-ico,.v2-sec-ico,.v2-card-ico{display:grid;place-items:center;width:44px;height:44px;border-radius:11px;color:var(--green);
 background:radial-gradient(circle at 30% 25%,#365c4799,#1b2620);border:1px solid #0a8f5c30;box-shadow:inset 0 1px 0 #ffffff12}
.editorial-section-heading .eyebrow{display:inline-flex;align-items:center;gap:10px}.v2-sec-ico{width:36px;height:36px;border-radius:10px}
.v2-card-ico{width:40px;height:40px;margin-bottom:14px}
.landing-sections>.editorial-section:nth-child(even) .v2-sec-ico{color:var(--orange);background:radial-gradient(circle at 30% 25%,#ff986a33,#22191a);border-color:#ff986a33}
@media(max-width:1000px){.v2-glance{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.v2-glance{grid-template-columns:1fr}.v2-rosette{right:-40%;opacity:.6}.v2-logo-strip{gap:14px}}

/* ---------- Icons inside illustrative graphics ---------- */
.lp-node.v2-node{width:44px;height:44px;flex-basis:44px;border-radius:11px;position:relative;color:var(--accent)}
.lp-node.v2-node em{position:absolute;right:-6px;bottom:-6px;font:9px 'Geist Mono',monospace;font-style:normal;background:var(--ink);color:#fff;border-radius:6px;padding:2px 4px;line-height:1}
.lp-record .v2-node-ico{position:absolute;left:18px;top:18px;color:var(--accent)}
.lp-record{padding-left:52px!important}
.lp-satellite span{display:grid;place-items:center;color:var(--accent)}
.lp-compare-cols span .v2-node-ico,.lp-matrix-table th .v2-node-ico{vertical-align:-3px;margin-right:7px;color:var(--accent)}
.lp-graphic>figcaption{display:flex;align-items:center;gap:8px}
.v2-cap-ico{color:var(--accent);flex:0 0 auto}
.lp-graphic::after{content:"";position:absolute;z-index:-1;right:-60px;bottom:-60px;width:220px;height:220px;opacity:.5;
 background:url("/brand-mark-dark.svg") center/contain no-repeat;filter:opacity(.07)}

/* ---------- Homepage fixes ---------- */
/* Calculator: use the full width, no layout jump when the estimate gets longer. */
.assessment-section>div[style*="max-width:1000px"],.assessment-section>div[style*="max-width: 1000px"]{max-width:var(--shell)!important;margin-top:40px!important}
.assessment-section>div[style*="1000px"]>div{min-height:470px;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)!important}
body.v2-home [data-dc-tpl="203"]{flex-wrap:nowrap!important;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:clamp(26px,2.7vw,42px)!important}
.assessment-section{padding-bottom:clamp(72px,8vw,120px)!important}

@media(max-width:760px){
 body.v2-home [data-dc-tpl="203"]{flex-wrap:wrap!important;white-space:normal;min-height:2.1em;font-size:30px!important}
 .assessment-section>div[style*="1000px"]>div{min-height:0;grid-template-columns:minmax(0,1fr)!important}
}
/* Buyer rail: 17 companies, horizontally scrollable with edge fade. */
.x-rail-wrap{padding-top:clamp(40px,5vw,72px)!important;border-top:1px solid #ffffff10}
.buyer-logos.x-rail{display:flex!important;flex-wrap:nowrap!important;gap:10px!important;overflow-x:auto;scroll-snap-type:x proximity;padding:4px 2px 14px;
 scrollbar-width:thin;scrollbar-color:#ffffff22 transparent;-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent);mask-image:linear-gradient(90deg,#000 88%,transparent)}
.buyer-logos.x-rail .buyer-logo{flex:0 0 auto;scroll-snap-align:start;display:inline-flex!important;align-items:center;gap:12px;padding:12px 18px 12px 12px!important;
 border:1px solid #ffffff12;border-radius:14px;background:#ffffff05;white-space:nowrap;transition:border-color .2s,background .2s}
.buyer-logos.x-rail .buyer-logo:hover{border-color:#0a8f5c66;background:#0a8f5c0d}
.buyer-logos.x-rail .buyer-logo img{border-radius:6px;object-fit:contain}
.buyer-logos.x-rail .buyer-logo span{background:#fff;border-radius:8px;padding:4px;display:grid;place-items:center}
/* Buyer rail as an auto-scrolling marquee */
.buyer-logos.x-rail{overflow:hidden!important;gap:0!important;padding:6px 0 10px!important;
 -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.x-rail-row{display:flex;flex:0 0 auto;gap:22px;padding-right:22px;animation:xRail 55s linear infinite}
.buyer-logos.x-rail:hover .x-rail-row{animation-play-state:paused}
@keyframes xRail{to{transform:translateX(-100%)}}
@media(prefers-reduced-motion:reduce){.x-rail-row{animation:none}.buyer-logos.x-rail{overflow-x:auto!important}}

/* ===== Navigation v2: bigger, iconized, plain links for How it works / Resources ===== */
.mega-trigger{font-size:14.5px!important;color:#d4ddd7!important;padding:10px 13px!important;border-radius:9px;text-decoration:none}
.mega-trigger:hover,.mega-trigger[aria-expanded="true"]{color:#fff!important;background:#ffffff0d}
a.mega-link::after{content:none}
.mega-intro{font-size:18px!important}
.mega-column h2{font:500 11px/1 'Geist Mono',ui-monospace,monospace!important;letter-spacing:.14em!important;color:#8b968f!important;margin:0 0 14px!important}
.mega-column{display:flex;flex-direction:column;gap:4px}
.mega-column a{display:flex!important;align-items:center;gap:12px;padding:8px 10px 8px 6px!important;border-radius:10px;font-size:15.5px!important;line-height:1.3!important;color:#e6ece8!important;text-decoration:none;transition:background .15s}
.mega-column a:hover{background:#ffffff0a;color:#fff!important}
.mega-ico{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:9px;color:#3fae7a;background:#0f1211;border:1px solid #ffffff1c}
.mega-column a:hover .mega-ico{border-color:#0a8f5c66}
.mega-columns{gap:28px 40px!important}
/* Contact inside menus must look like any other link (an old header rule made it a big white button). */
.mega-shell a[href="/contact/"],.nav-drawer a[href="/contact/"]{background:transparent!important;color:#e6ece8!important;border:0!important;box-shadow:none!important;width:auto!important;
 padding:8px 10px 8px 6px!important;font-size:15.5px!important;border-radius:10px!important;display:flex!important}
/* Mobile drawer */
.nav-drawer a,.nav-drawer summary{font-size:17px}
.drawer-top-link{display:flex;justify-content:space-between;align-items:center;padding:16px 4px;border-bottom:1px solid #ffffff14;color:#eef1ee;text-decoration:none;font-size:18px!important}
.drawer-company{display:flex;gap:18px;flex-wrap:wrap;padding:18px 4px 6px}
.drawer-company a{padding:4px 0!important;color:#9aa59e!important;font-size:15px!important}
.drawer-actions{display:grid;gap:10px}
.drawer-ai{padding:13px;border-radius:10px;border:1px solid #ffffff2a;background:transparent;color:#eef1ee;font:500 15px Geist,system-ui,sans-serif;cursor:pointer}
.nav-drawer .drawer-top-link{padding:16px 0!important;font-size:17px!important;font-weight:400}
.nav-drawer .drawer-company a,.nav-drawer .drawer-company a[href="/contact/"]{padding:4px 0!important;color:#9aa59e!important;font-size:15px!important;display:inline!important}
/* All four top-level menu items identical, whether button (dropdown) or link. */
html body .enterprise-header nav.mega-triggers > .mega-trigger{font:400 14.5px/1.2 Geist,Helvetica,Arial,sans-serif!important;letter-spacing:0!important;
 color:#d4ddd7!important;padding:10px 13px!important;height:39px;display:inline-flex!important;align-items:center;gap:7px;border-radius:9px!important;background:transparent}
html body .enterprise-header nav.mega-triggers > .mega-trigger:hover,html body .enterprise-header nav.mega-triggers > .mega-trigger[aria-expanded="true"]{color:#fff!important;background:#ffffff0d!important}
/* Phone menu: plain links match the dropdown rows exactly. */
.nav-drawer summary,.nav-drawer .drawer-top-link{font:400 17px/1.3 Geist,Helvetica,Arial,sans-serif!important;color:#eef1ee!important;padding:16px 0!important;letter-spacing:0!important}


/* Compact mega menu (2026-10-22): narrower panel, tighter rows, smaller icons */
html body .enterprise-header .mega-shell{width:min(1060px,calc(100vw - 48px))!important;max-width:1060px!important}
html body .enterprise-header .mega-panel{grid-template-columns:minmax(0,1fr) 260px!important}
html body .enterprise-header .mega-main{padding:22px 24px 20px!important}
html body .enterprise-header .mega-intro{font-size:14px!important;margin:0 0 14px!important;color:#9aa59e!important}
html body .enterprise-header .mega-columns{gap:6px 28px!important}
html body .enterprise-header .mega-column{gap:1px}
html body .enterprise-header .mega-column h2{margin:0 0 8px!important;font-size:10.5px!important}
html body .enterprise-header .mega-column a{padding:5px 8px 5px 4px!important;font-size:14px!important;gap:10px;border-radius:8px}
html body .enterprise-header .mega-ico{flex:0 0 26px;width:26px;height:26px;border-radius:7px}
html body .enterprise-header .mega-ico svg{width:14px;height:14px}
html body .enterprise-header .mega-feature{padding:22px!important}
html body .enterprise-header .mega-feature h3,html body .enterprise-header .mega-feature strong{font-size:18px!important}


/* nav: Live deal tracker as a filled box, last item of the main menu (static, no animation) */
html body .enterprise-header nav.mega-triggers > a.x-deals-nav{display:inline-flex;align-items:center;gap:8px;margin-left:8px;padding:8px 13px 8px 9px!important;border-radius:8px!important;background:#1b2a22!important;color:#dff7ea!important;font-weight:500!important}
html body .enterprise-header nav.mega-triggers > a.x-deals-nav:hover{background:#22382c!important;color:#fff!important}
.x-deals-ico{color:#3fae7a;flex:0 0 auto}
