/**
 * Smart Logic AI — site-wide enterprise chrome
 * Aligns nav, footer, heroes, CTAs, and content rails with the homepage system.
 * Requires enterprise-tokens.css linked first.
 * Applied via body.enterprise-site (all public pages).
 */

body.enterprise-site{
  font-family:'Poppins',system-ui,sans-serif;
  background:var(--surface-2);
  color:var(--ink);
  overflow-x:hidden;
}
body.enterprise-site a:focus-visible,
body.enterprise-site button:focus-visible{
  outline:2px solid var(--ep-cyan);
  outline-offset:3px;
}

/* ── Navigation (matches homepage) ── */
body.enterprise-site .nav{
  position:sticky;top:0;z-index:100;
  height:70px;min-height:70px;max-height:70px;
  padding:0 max(var(--ep-side), calc((100% - var(--ep-max)) / 2));
  display:flex;align-items:center;justify-content:space-between;gap:28px;
  width:100%;box-sizing:border-box;
  background:rgba(2,10,20,0.92)!important;
  border-bottom:1px solid var(--ep-border)!important;
  box-shadow:none;
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
}
body.enterprise-site .nav.light,
body.enterprise-site .nav.is-scrolled{
  background:rgba(2,10,20,0.96)!important;
  border-bottom-color:var(--ep-border-strong)!important;
  box-shadow:0 10px 40px rgba(0,0,0,0.35);
}
body.enterprise-site .nav.light .logo-primary,
body.enterprise-site .nav.light .nav-links > a,
body.enterprise-site .nav.light .nav-drop-toggle,
body.enterprise-site .nav.light .nav-secondary{color:var(--ep-text)!important}
body.enterprise-site .nav.light .logo-sub{color:var(--ep-dim)!important}
body.enterprise-site .logo{
  display:flex;flex-direction:column;gap:2px;
  flex:0 0 auto;min-width:170px;max-width:210px;
}
body.enterprise-site .logo-primary{
  font-size:22px;font-weight:800;letter-spacing:-0.035em;
  color:var(--ep-text)!important;line-height:1.05;white-space:nowrap;
}
body.enterprise-site .logo-primary-accent{color:var(--ep-blue-bright)!important}
body.enterprise-site .logo-sub{
  font-size:9.5px;font-weight:500;letter-spacing:.01em;
  color:var(--ep-dim)!important;white-space:nowrap;
  overflow:visible;text-overflow:clip;max-width:none;width:max-content;
}
body.enterprise-site .nav-links{
  position:static;left:auto;transform:none;
  display:flex;align-items:center;justify-content:center;
  flex:1 1 auto;gap:4px 30px;min-width:0;margin:0;padding:0 12px;
}
body.enterprise-site .nav-links > a,
body.enterprise-site .nav-drop > .nav-drop-toggle{
  font-size:14.5px;font-weight:500;letter-spacing:.01em;
  color:rgba(232,241,251,0.88)!important;white-space:nowrap;padding:8px 2px;
  background:none;border:0;cursor:pointer;font-family:inherit;
}
body.enterprise-site .nav-drop-toggle .chev{width:11px;height:11px;opacity:.75}
body.enterprise-site .nav-actions{display:flex;align-items:center;gap:12px;flex:0 0 auto;margin-left:auto}
body.enterprise-site .nav-cta{
  height:43px;padding:0 22px;border-radius:11px;
  background:var(--ep-blue)!important;color:#fff!important;
  font-size:14.5px;font-weight:700;
  box-shadow:var(--ep-shadow-cta)!important;
  border:0;white-space:nowrap;
  display:inline-flex;align-items:center;
}
body.enterprise-site .nav-cta:hover{background:var(--ep-blue-bright)!important;transform:none}
body.enterprise-site .nav-secondary{
  height:40px;padding:0 16px;border-radius:11px;
  border:1px solid rgba(255,255,255,0.16)!important;
  background:transparent!important;color:rgba(232,241,251,0.82)!important;
  font-size:13.5px;font-weight:600;white-space:nowrap;
  display:inline-flex;align-items:center;gap:6px;box-sizing:border-box;
}
body.enterprise-site .nav-drop-panel{
  background:rgba(8,25,43,0.96)!important;
  border:1px solid var(--ep-border-strong)!important;
  border-radius:14px!important;
  box-shadow:var(--ep-shadow)!important;
}
body.enterprise-site .nav.light .nav-drop-panel{
  background:rgba(8,25,43,0.96)!important;
  border-color:var(--ep-border-strong)!important;
}
body.enterprise-site .nav-product:hover{background:rgba(22,139,255,0.08)!important}
body.enterprise-site .nav-product-name{color:var(--ep-text)!important;font-size:14px}
body.enterprise-site .nav-product-desc{color:var(--ep-dim)!important;font-size:12.5px}
body.enterprise-site .nav-toggle{color:var(--ep-text)!important;border-color:rgba(255,255,255,0.18)!important}
body.enterprise-site .mobile-nav{
  top:72px;background:rgba(2,10,20,0.98)!important;
  border-top:1px solid var(--ep-border);
  max-height:calc(100vh - 72px);
}
body.enterprise-site .mobile-nav .mobile-actions .m-demo{
  background:var(--ep-blue)!important;
}

@media (max-width:1100px){
  body.enterprise-site .nav{height:64px;min-height:64px;max-height:64px}
  body.enterprise-site .nav-links{display:none}
  body.enterprise-site .logo{min-width:0;max-width:min(70vw,200px)}
  body.enterprise-site .logo-sub{display:none}
  body.enterprise-site .mobile-nav{top:64px;max-height:calc(100vh - 64px)}
}

/* ── Page heroes ── */
body.enterprise-site .page-hero,
body.enterprise-site .company-hero,
body.enterprise-site .ldr-hero,
body.enterprise-site .co-contact{
  background:
    radial-gradient(ellipse 48% 40% at 16% 18%, rgba(22,139,255,0.18), transparent 60%),
    radial-gradient(ellipse 36% 30% at 84% 16%, rgba(44,212,255,0.08), transparent 55%),
    linear-gradient(180deg,#020A14 0%,#061321 100%)!important;
  border-bottom:1px solid var(--ep-border);
}
body.enterprise-site .page-hero{
  padding:120px max(var(--ep-side), calc((100% - var(--ep-max)) / 2)) 64px;
}
body.enterprise-site .page-hero-inner{
  max-width:760px;margin:0;
}
body.enterprise-site .page-hero h1,
body.enterprise-site .company-hero h1,
body.enterprise-site .ldr-hero h1,
body.enterprise-site .co-name{
  letter-spacing:-0.035em;line-height:1.05;font-weight:800;
}
body.enterprise-site .eyebrow{
  border:1px solid var(--ep-border);
  background:rgba(22,139,255,0.08);
  color:var(--ep-blue-bright);
  font-size:11px;font-weight:700;letter-spacing:.12em;
  padding:7px 14px;
}
body.enterprise-site .breadcrumb a{color:var(--ep-blue-bright)}
body.enterprise-site .breadcrumb a:hover{color:#fff}

/* ── Content rail (content-standard by default; marketing-wide / readable via body class) ── */
body.enterprise-site .sw,
body.enterprise-site .readiness-compact,
body.enterprise-site .playbook-methodology{
  max-width:var(--ep-max);
  width:calc(100% - (var(--ep-side) * 2));
  margin-left:auto;margin-right:auto;
  padding-left:0;padding-right:0;
  box-sizing:border-box;
}
body.enterprise-site .sw{padding-top:72px;padding-bottom:72px}
body.enterprise-site.ep-content-readable .sw,
body.enterprise-site.ep-content-readable .page-hero-inner{
  max-width:var(--ep-max-readable);
}
body.enterprise-site .sk{color:var(--ep-blue)!important;letter-spacing:.14em;font-weight:700}
body.enterprise-site .st{letter-spacing:-0.025em;line-height:1.12;color:var(--ink)}
body.enterprise-site .sc{color:var(--ink-dim);line-height:1.65}

/* ── Cards / FAQ / related ── */
body.enterprise-site .info-card,
body.enterprise-site .faq details,
body.enterprise-site .book-panel,
body.enterprise-site .checklist-result,
body.enterprise-site .table-wrap,
body.enterprise-site .proof-figure{
  border-radius:var(--ep-radius);
  border-color:var(--border);
  box-shadow:0 10px 28px rgba(15,30,50,0.06);
}
body.enterprise-site .related a{
  border-radius:var(--ep-radius-sm);
  border-color:var(--ep-border);
  color:var(--ep-blue);
  background:rgba(22,139,255,0.04);
}
body.enterprise-site .related a:hover{
  border-color:var(--ep-border-strong);
  background:rgba(22,139,255,0.08);
}

/* ── Buttons ── */
body.enterprise-site .btn-primary,
body.enterprise-site .nav-cta,
body.enterprise-site .mobile-nav .mobile-actions .m-demo{
  background:var(--ep-blue)!important;
  background-image:none!important;
  box-shadow:var(--ep-shadow-cta);
  border-radius:12px;
}
body.enterprise-site .btn-primary:hover{background:var(--ep-blue-bright)!important}
body.enterprise-site .btn-ghost{
  border:1px solid var(--ep-border-strong);
  border-radius:12px;
  color:var(--ep-text);
}
body.enterprise-site .btn-ghost:hover{
  border-color:var(--ep-cyan);
  background:rgba(22,139,255,0.08);
}
body.enterprise-site .yt-facade-btn{background:rgba(22,139,255,0.92)}

/* ── CTA band + footer ── */
body.enterprise-site .cta-band,
body.enterprise-site .final-cta-band{
  background:linear-gradient(180deg,#061321 0%,#020A14 100%)!important;
  border-top:1px solid var(--ep-border);
  padding:80px max(var(--ep-side), calc((100% - var(--ep-max)) / 2));
}
body.enterprise-site .footer-full{
  background:var(--ep-bg)!important;
  border-top:1px solid var(--ep-border);
}
body.enterprise-site .footer-top,
body.enterprise-site .footer-bottom{
  max-width:var(--ep-max);
  width:calc(100% - (var(--ep-side) * 2));
  padding-left:0;padding-right:0;
  margin-left:auto;margin-right:auto;
  box-sizing:border-box;
}
body.enterprise-site .footer-logo-accent,
body.enterprise-site .footer-logo-tm{color:var(--ep-blue-bright)!important}
body.enterprise-site .footer-col a:hover{color:var(--ep-blue-bright)}
body.enterprise-site .footer-bottom-badges span{
  border-color:var(--ep-border);
  color:var(--ep-dim);
  border-radius:var(--ep-radius-pill);
}
body.enterprise-site .footer-products-line a{color:var(--ep-blue-bright)}

/* ── Forms / tools ── */
body.enterprise-site .diligence-form input,
body.enterprise-site .diligence-form textarea,
body.enterprise-site .diligence-form select,
body.enterprise-site .matrix-table input{
  border-radius:var(--ep-radius-sm);
  border-color:rgba(15,40,70,0.14);
}
body.enterprise-site .disclaimer{
  border-left-color:var(--ep-blue);
  background:rgba(22,139,255,0.06);
}
body.enterprise-site .checklist-item label:focus-within{
  outline-color:var(--ep-cyan);
}

@media (max-width:900px){
  body.enterprise-site .page-hero{padding-left:var(--ep-side);padding-right:var(--ep-side)}
  body.enterprise-site .sw,
  body.enterprise-site .footer-top,
  body.enterprise-site .footer-bottom,
  body.enterprise-site .cta-band{padding-left:0;padding-right:0}
}
